Documentation ¶
Index ¶
- type PTXServiceDTOBusSpecificationV3A1Data
- func (m *PTXServiceDTOBusSpecificationV3A1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3A1Data) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3A1Data) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3A1Data) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3A2Data
- func (m *PTXServiceDTOBusSpecificationV3A2Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3A2Data) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3A2Data) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3A2Data) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Alert
- func (m *PTXServiceDTOBusSpecificationV3Alert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Alert) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Alert) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Alert) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3DailyTimeTable
- func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Depot
- func (m *PTXServiceDTOBusSpecificationV3Depot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Depot) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Depot) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Depot) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3DisplayStopOfRoute
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3FirstLastTripInfo
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3N1Data
- func (m *PTXServiceDTOBusSpecificationV3N1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3N1Data) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3N1Data) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3N1Data) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Network
- func (m *PTXServiceDTOBusSpecificationV3Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Network) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Network) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Network) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3NetworkLBSMapURL
- func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3NetworkMapURL
- func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3News
- func (m *PTXServiceDTOBusSpecificationV3News) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3News) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3News) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3News) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Operator
- func (m *PTXServiceDTOBusSpecificationV3Operator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Operator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Operator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Operator) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Route
- func (m *PTXServiceDTOBusSpecificationV3Route) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Route) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Route) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Route) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFare
- func (m *PTXServiceDTOBusSpecificationV3RouteFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareODFare
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareODFareOD
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareSectionFare
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareStageFare
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteFareStageFareStage
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteNetwork
- func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteNetworkSegment
- func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteOperator
- func (m *PTXServiceDTOBusSpecificationV3RouteOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteOperator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteOperator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteOperator) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3RouteStop
- func (m *PTXServiceDTOBusSpecificationV3RouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3RouteStop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3RouteStop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3RouteStop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3S2STravelTime
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Schedule
- func (m *PTXServiceDTOBusSpecificationV3Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Schedule) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Schedule) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Schedule) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScheduleDatePeriod
- func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScheduleServiceDay
- func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScheduleSpecialDay
- func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScheduleStopTime
- func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScheduleTimeTable
- func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Scope
- func (m *PTXServiceDTOBusSpecificationV3Scope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Scope) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Scope) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Scope) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScopeRoute
- func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScopeStop
- func (m *PTXServiceDTOBusSpecificationV3ScopeStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeStop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScopeStop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeStop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScopeSubRoute
- func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ScopeTrip
- func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3ServiceType
- func (m *PTXServiceDTOBusSpecificationV3ServiceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3ServiceType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3ServiceType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3ServiceType) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Shape
- func (m *PTXServiceDTOBusSpecificationV3Shape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Shape) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Shape) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Shape) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Station
- func (m *PTXServiceDTOBusSpecificationV3Station) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Station) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Station) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Station) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Stop
- func (m *PTXServiceDTOBusSpecificationV3Stop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Stop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Stop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Stop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3StopOfRoute
- func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3StopOfRouteOperator
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3StopOfRouteStop
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3StopTime
- func (m *PTXServiceDTOBusSpecificationV3StopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3StopTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3StopTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3StopTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3SubRoute
- func (m *PTXServiceDTOBusSpecificationV3SubRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3SubRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3SubRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3SubRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3SubRouteOperator
- func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3SubRouteStop
- func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3TimeTable
- func (m *PTXServiceDTOBusSpecificationV3TimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3TimeTable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3TimeTable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3TimeTable) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3Vehicle
- func (m *PTXServiceDTOBusSpecificationV3Vehicle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3Vehicle) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3Vehicle) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3Vehicle) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3VehicleDepot
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3VehicleDepotVehicle
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3VehicleRoute
- func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) Validate(formats strfmt.Registry) error
- type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) 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 PTXServiceDTOSharedSpecificationV3BaseNameType
- func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) 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
- type PTXServiceDTOSharedSpecificationV3BasePointType
- func (m *PTXServiceDTOSharedSpecificationV3BasePointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PTXServiceDTOSharedSpecificationV3BasePointType) MarshalBinary() ([]byte, error)
- func (m *PTXServiceDTOSharedSpecificationV3BasePointType) UnmarshalBinary(b []byte) error
- func (m *PTXServiceDTOSharedSpecificationV3BasePointType) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PTXServiceDTOBusSpecificationV3A1Data ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3A1Data struct { // Double // // 方位角 // Required: true Azimuth *float64 `json:"Azimuth"` // PointType // // 車輛位置經度 // Required: true BusPosition struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"BusPosition" xml:"PointType"` // Int32 // // 行車狀況 : [0:'正常',1:'車禍',2:'故障',3:'塞車',4:'緊急求援',5:'加油',90:'不明',91:'去回不明',98:'偏移路線',99:'非營運狀態',100:'客滿',101:'包車出租',255:'未知'] // Required: true BusStatus *int64 `json:"BusStatus"` // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Int32 // // 勤務狀態 : [0:'正常',1:'開始',2:'結束'] // Required: true DutyStatus *int64 `json:"DutyStatus"` // 車機系統紀錄時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time GPSTime strfmt.DateTime `json:"GPSTime,omitempty"` // 車機系統傳送日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time GPSTransTime strfmt.DateTime `json:"GPSTransTime,omitempty"` // Int32 // // 資料型態種類 : [0:'未知',1:'定期',2:'非定期'] MessageType int64 `json:"MessageType,omitempty"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // NameType // // 營運業者名稱 OperatorName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"OperatorName,omitempty" xml:"NameType,omitempty"` // String // // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb" xml:"String"` // DateTime // // 來源端平台接收時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time RecTime *strfmt.DateTime `json:"RecTime"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName,omitempty" xml:"NameType,omitempty"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 RouteUID string `json:"RouteUID,omitempty" xml:"String,omitempty"` // Double // // 行駛速度(kph) // Required: true Speed *float64 `json:"Speed"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` // DateTime // // 來源端平台資料傳出時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time TransTime *strfmt.DateTime `json:"TransTime"` // String // // 班次代碼 TripID string `json:"TripID,omitempty" xml:"String,omitempty"` // Int32 // // 車輛種類 : [1:'一般',2:'復康巴士',3:'專車',4:'其他'] VehicleType int64 `json:"VehicleType,omitempty"` }
PTXServiceDTOBusSpecificationV3A1Data A1Data
swagger:model PTX.Service.DTO.Bus.Specification.V3.A1Data
func (*PTXServiceDTOBusSpecificationV3A1Data) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3A1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 a1 data based on the context it is used
func (*PTXServiceDTOBusSpecificationV3A1Data) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3A1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3A1Data) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3A1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3A2Data ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3A2Data struct { // Int32 // // 進站離站 : [0:'離站',1:'進站'] // Required: true A2EventType *int64 `json:"A2EventType"` // Int32 // // 行車狀況 : [0:'正常',1:'車禍',2:'故障',3:'塞車',4:'緊急求援',5:'加油',90:'不明',91:'去回不明',98:'偏移路線',99:'非營運狀態',100:'客滿',101:'包車出租',255:'未知'] BusStatus int64 `json:"BusStatus,omitempty"` // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Int32 // // 勤務狀態 : [0:'正常',1:'開始',2:'結束'] DutyStatus int64 `json:"DutyStatus,omitempty"` // 車機系統紀錄時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time GPSTime strfmt.DateTime `json:"GPSTime,omitempty"` // 車機系統傳送日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time GPSTransTime strfmt.DateTime `json:"GPSTransTime,omitempty"` // Int32 // // 資料型態種類 : [0:'未知',1:'定期',2:'非定期'] MessageType int64 `json:"MessageType,omitempty"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // NameType // // 營運業者名稱 OperatorName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"OperatorName,omitempty" xml:"NameType,omitempty"` // String // // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb" xml:"String"` // DateTime // // 來源端平台接收時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time RecTime *strfmt.DateTime `json:"RecTime"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName,omitempty" xml:"NameType,omitempty"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 RouteUID string `json:"RouteUID,omitempty" xml:"String,omitempty"` // String // // 地區既用中之站牌代號(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 StopUID string `json:"StopUID,omitempty" xml:"String,omitempty"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` // DateTime // // 來源端平台資料傳出時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time TransTime *strfmt.DateTime `json:"TransTime"` // String // // 班次代碼 TripID string `json:"TripID,omitempty" xml:"String,omitempty"` // Int32 // // 車輛種類 : [1:'一般',2:'復康巴士',3:'專車',4:'其他'] VehicleType int64 `json:"VehicleType,omitempty"` }
PTXServiceDTOBusSpecificationV3A2Data A2Data
swagger:model PTX.Service.DTO.Bus.Specification.V3.A2Data
func (*PTXServiceDTOBusSpecificationV3A2Data) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3A2Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 a2 data based on the context it is used
func (*PTXServiceDTOBusSpecificationV3A2Data) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3A2Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3A2Data) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3A2Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Alert ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Alert struct { // String // // 通阻事件原單位發布代碼 // Required: true AlertID *string `json:"AlertID" xml:"String"` // String // // 詳細描述網站連結 AlertURL string `json:"AlertURL,omitempty" xml:"String,omitempty"` // String // // 事件描述 Description string `json:"Description,omitempty" xml:"String,omitempty"` // String // // 影響方向 Direction string `json:"Direction,omitempty" xml:"String,omitempty"` // 結束日期時間 // Format: date-time EndTime strfmt.DateTime `json:"EndTime,omitempty"` // DateTime // // 消息公告日期時間 // Format: date-time PublishTime strfmt.DateTime `json:"PublishTime,omitempty"` // Scope // // 通阻影響範圍 // Required: true Scope struct { PTXServiceDTOBusSpecificationV3Scope } `json:"Scope" xml:"Scope"` // DateTime // // [來源端平臺]此筆資料最後更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time SrcUpdateTime strfmt.DateTime `json:"SrcUpdateTime,omitempty"` // 開始日期時間 // Format: date-time StartTime strfmt.DateTime `json:"StartTime,omitempty"` // String // // 通阻標題 Title string `json:"Title,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3Alert Alert
swagger:model PTX.Service.DTO.Bus.Specification.V3.Alert
func (*PTXServiceDTOBusSpecificationV3Alert) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Alert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 alert based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Alert) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Alert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Alert) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Alert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3DailyTimeTable ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3DailyTimeTable struct { // DateTime // // 適用日期 // Required: true // Format: date-time Date *strfmt.DateTime `json:"Date"` // Int32 // // 去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID" xml:"String"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` // Array // // 預定班表 Timetables []*PTXServiceDTOBusSpecificationV3TimeTable "json:\"Timetables\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3DailyTimeTable DailyTimeTable
每日時刻表資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.DailyTimeTable
func (*PTXServiceDTOBusSpecificationV3DailyTimeTable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 daily time table based on the context it is used
func (*PTXServiceDTOBusSpecificationV3DailyTimeTable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3DailyTimeTable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3DailyTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Depot ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Depot struct { // String // // 營業所地址 // Required: true DepotAddress *string `json:"DepotAddress" xml:"String"` // String // // 營業所代碼 // Required: true DepotID *string `json:"DepotID" xml:"String"` // NameType // // 營業所名稱 // Required: true DepotName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DepotName" xml:"NameType"` // String // // 營業所電話 // Required: true DepotPhone *string `json:"DepotPhone" xml:"String"` // PointType // // 營業所位置 // Required: true DepotPosition struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"DepotPosition" xml:"PointType"` // String // // 營業所唯一識別代碼,規則為 {業管機關簡碼} + {DepotID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true DepotUID *string `json:"DepotUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3Depot Depot
swagger:model PTX.Service.DTO.Bus.Specification.V3.Depot
func (*PTXServiceDTOBusSpecificationV3Depot) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Depot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 depot based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Depot) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Depot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Depot) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Depot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3DisplayStopOfRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3DisplayStopOfRoute struct { // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // Array // // 路線站序資料 // Required: true Stops []*PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop "json:\"Stops\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3DisplayStopOfRoute DisplayStopOfRoute
swagger:model PTX.Service.DTO.Bus.Specification.V3.DisplayStopOfRoute
func (*PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 display stop of route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop struct { // String // // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 // Required: true StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName" xml:"NameType"` // PointType // // 站牌位置 // Required: true StopPosition struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"StopPosition" xml:"PointType"` // Int32 // // 路線經過站牌之順序 // Required: true StopSequence *int32 `json:"StopSequence"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop Stop
路線站序資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.DisplayStopOfRoute+Stop
func (*PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 display stop of route stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3DisplayStopOfRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3FirstLastTripInfo ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3FirstLastTripInfo struct { // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Array // // 路線首末班車資訊 // Required: true FirstLastTrips []*PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip "json:\"FirstLastTrips\" xml:\"List`1\"" // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3FirstLastTripInfo FirstLastTripInfo
swagger:model PTX.Service.DTO.Bus.Specification.V3.FirstLastTripInfo
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 first last trip info based on the context it is used
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip struct { // String // // 頭班車發車時間(HH:mm) // Required: true FirstTripDepTime *string `json:"FirstTripDepTime" xml:"String"` // String // // 末班車發車時間(HH:mm) // Required: true LastTripDepTime *string `json:"LastTripDepTime" xml:"String"` // ServiceDay // // 服務日型態 // Required: true ServiceDay struct { PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay } `json:"ServiceDay" xml:"ServiceDay"` }
PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip FirstLastTrip
swagger:model PTX.Service.DTO.Bus.Specification.V3.FirstLastTripInfo+FirstLastTrip
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 first last trip info first last trip based on the context it is used
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoFirstLastTrip) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 first last trip info first last trip
type PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay struct { // 國定假日後一日營運與否 DayAfterNationalHoliday bool `json:"DayAfterNationalHoliday,omitempty"` // 國定假日前一日營運與否 DayBeforeNationalHoliday bool `json:"DayBeforeNationalHoliday,omitempty"` // Boolean // // 星期五營運與否 // Required: true Friday *bool `json:"Friday"` // Boolean // // 星期一營運與否 // Required: true Monday *bool `json:"Monday"` // 國定假日營運與否 NationalHolidays bool `json:"NationalHolidays,omitempty"` // 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"` // 颱風停止上班上課期間營運與否 TyphoonDay bool `json:"TyphoonDay,omitempty"` // Boolean // // 星期三營運與否 // Required: true Wednesday *bool `json:"Wednesday"` }
PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay ServiceDay
swagger:model PTX.Service.DTO.Bus.Specification.V3.FirstLastTripInfo+ServiceDay
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 first last trip info service day based on context it is used
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3FirstLastTripInfoServiceDay) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 first last trip info service day
type PTXServiceDTOBusSpecificationV3N1Data ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3N1Data struct { // String // // 車輛目前所在站牌代碼 CurrentStop string `json:"CurrentStop,omitempty" xml:"String,omitempty"` // 系統演算該筆預估到站資料的時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time DataTime strfmt.DateTime `json:"DataTime,omitempty"` // String // // 迄點站站牌ID代碼 DestinationStopID string `json:"DestinationStopID,omitempty" xml:"String,omitempty"` // NameType // // 迄點站站牌名稱 DestinationStopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DestinationStopName,omitempty" xml:"NameType,omitempty"` // Int32 // // 車輛去返程(該方向指的是此公車運具目前所在路線的去返程方向,非指站牌所在路線的去返程方向,使用時請加值業者多加注意) : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // 到站時間預估(秒) [當StopStatus値為1~4或PlateNumb値為-1時,EstimateTime値為空値; 反之,EstimateTime有値] EstimateTime int32 `json:"EstimateTime,omitempty"` // 是否為末班車 IsLastBus bool `json:"IsLastBus,omitempty"` // String // // 車牌號碼 [値為値為-1時,表示目前該站牌無車輛行駛] PlateNumb string `json:"PlateNumb,omitempty" xml:"String,omitempty"` // DateTime // // 來源端平台接收時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time RecTime *strfmt.DateTime `json:"RecTime"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName,omitempty" xml:"NameType,omitempty"` // String // // 路線唯一識別代碼,規則為 {業管機關代碼} + {RouteID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 RouteUID string `json:"RouteUID,omitempty" xml:"String,omitempty"` // String // // 預排班表時間 ScheduledTime string `json:"ScheduledTime,omitempty" xml:"String,omitempty"` // 路線經過站牌之順序 StopCountDown int32 `json:"StopCountDown,omitempty"` // String // // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // Int32 // // 車輛狀態備註 : [0:'正常',1:'尚未發車',2:'交管不停靠',3:'末班車已過',4:'今日未營運'] StopStatus int64 `json:"StopStatus,omitempty"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 StopUID string `json:"StopUID,omitempty" xml:"String,omitempty"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` // DateTime // // 來源端平台資料傳出時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time TransTime *strfmt.DateTime `json:"TransTime"` }
PTXServiceDTOBusSpecificationV3N1Data N1Data
swagger:model PTX.Service.DTO.Bus.Specification.V3.N1Data
func (*PTXServiceDTOBusSpecificationV3N1Data) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3N1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 n1 data based on the context it is used
func (*PTXServiceDTOBusSpecificationV3N1Data) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3N1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3N1Data) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3N1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Network ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Network struct { // Array // // 適地性路網圖資網址URL LBSMapURLs []*PTXServiceDTOBusSpecificationV3NetworkLBSMapURL "json:\"LBSMapURLs\" xml:\"List`1\"" // String // // 公車路網代碼 // Required: true NetworkID *string `json:"NetworkID" xml:"String"` // NetworkMapURL // // 路網圖網址URL // Required: true NetworkMapURL struct { PTXServiceDTOBusSpecificationV3NetworkMapURL } `json:"NetworkMapURL" xml:"NetworkMapURL"` // NameType // // 路網名稱 // Required: true NetworkName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"NetworkName" xml:"NameType"` }
PTXServiceDTOBusSpecificationV3Network Network
swagger:model PTX.Service.DTO.Bus.Specification.V3.Network
func (*PTXServiceDTOBusSpecificationV3Network) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 network based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Network) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Network) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Network) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Network) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3NetworkLBSMapURL ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3NetworkLBSMapURL struct { // String // // 路網圖網址URL(英文版) En string `json:"En,omitempty" xml:"String,omitempty"` // PointType // // 適地性圖資貼放的位置 LBSLocation struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"LBSLocation,omitempty" xml:"PointType,omitempty"` // String // // 路網圖 MapName string `json:"MapName,omitempty" xml:"String,omitempty"` // String // // 路網圖網址URL(中文版) ZhTw string `json:"Zh_tw,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3NetworkLBSMapURL LBSMapURL
swagger:model PTX.Service.DTO.Bus.Specification.V3.Network+LBSMapURL
func (*PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 network l b s map URL based on the context it is used
func (*PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3NetworkLBSMapURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3NetworkMapURL ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3NetworkMapURL struct { // String // // 路網圖名稱 // Required: true MapName *string `json:"MapName" xml:"String"` // NameType // // 路網圖網址URL // Required: true MapNameURL struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"MapNameURL" xml:"NameType"` }
PTXServiceDTOBusSpecificationV3NetworkMapURL NetworkMapURL
swagger:model PTX.Service.DTO.Bus.Specification.V3.NetworkMapURL
func (*PTXServiceDTOBusSpecificationV3NetworkMapURL) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 network map URL based on the context it is used
func (*PTXServiceDTOBusSpecificationV3NetworkMapURL) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3NetworkMapURL) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3NetworkMapURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3News ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3News 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"` // 結束時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time EndTime strfmt.DateTime `json:"EndTime,omitempty"` // String // // 語系 // Required: true Language *string `json:"Language" xml:"String"` // String // // 消息類別= ['1: 最新消息', '2: 新聞稿', '3: 營運資訊', '4: 轉乘資訊', '5: 活動訊息', '6: 系統公告', '99: 其他'] // Required: true NewsCategory *string `json:"NewsCategory" xml:"String"` // String // // 最新消息原單位發布代碼 // Required: true NewsID *string `json:"NewsID" xml:"String"` // String // // 報導網站連結 NewsURL string `json:"NewsURL,omitempty" xml:"String,omitempty"` // DateTime // // 消息公告日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time PublishTime *strfmt.DateTime `json:"PublishTime"` // DateTime // // [來源端平臺]此筆資料最後更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time SrcUpdateTime strfmt.DateTime `json:"SrcUpdateTime,omitempty"` // 開始時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Format: date-time StartTime strfmt.DateTime `json:"StartTime,omitempty"` // String // // 消息標題 // Required: true Title *string `json:"Title" xml:"String"` }
PTXServiceDTOBusSpecificationV3News News
swagger:model PTX.Service.DTO.Bus.Specification.V3.News
func (*PTXServiceDTOBusSpecificationV3News) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3News) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 news based on context it is used
func (*PTXServiceDTOBusSpecificationV3News) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3News) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3News) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3News) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Operator ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Operator struct { // String // // 營運業者票價查詢網站連結 FareURL string `json:"FareURL,omitempty" xml:"String,omitempty"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者電子信箱 // Required: true OperatorEmail *string `json:"OperatorEmail" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 營運業者Logo網址 OperatorLogoURL string `json:"OperatorLogoURL,omitempty" xml:"String,omitempty"` // NameType // // 營運業者名稱 // Required: true OperatorName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"OperatorName" xml:"NameType"` // String // // 營運業者編號[交通部票證資料系統定義] OperatorNo string `json:"OperatorNo,omitempty" xml:"String,omitempty"` // String // // 營運業者連絡電話 // Required: true OperatorPhone *string `json:"OperatorPhone" xml:"String"` // String // // 營運業者網址鏈結 // Required: true OperatorURL *string `json:"OperatorUrl" xml:"String"` // String // // 訂票連絡電話 ReservationPhone string `json:"ReservationPhone,omitempty" xml:"String,omitempty"` // String // // 訂票網址鏈結 ReservationURL string `json:"ReservationUrl,omitempty" xml:"String,omitempty"` // String // // 營運業者所屬業管子機關簡碼 SubAuthorityCode string `json:"SubAuthorityCode,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3Operator Operator
swagger:model PTX.Service.DTO.Bus.Specification.V3.Operator
func (*PTXServiceDTOBusSpecificationV3Operator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Operator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 operator based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Operator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Operator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Operator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Operator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Route ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Route struct { // NameType // // 路線起站名稱 // Required: true DepartureStopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DepartureStopName" xml:"NameType"` // NameType // // 路線迄站名稱 // Required: true DestinationStopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DestinationStopName" xml:"NameType"` // Stop // // 終點站牌 // Required: true EndStop struct { PTXServiceDTOBusSpecificationV3RouteStop } `json:"EndStop" xml:"Stop"` // NameType // // 計費緩衝區敘述 FareBufferZoneDescription struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"FareBufferZoneDescription,omitempty" xml:"NameType,omitempty"` // String // // 收費資訊說明網址 FareURL string `json:"FareURL,omitempty" xml:"String,omitempty"` // Boolean // // 實際上是否有多條附屬路線。(此欄位值與SubRoutes結構並無強烈的絕對關聯。詳細說明請參閱swagger上方的【資料服務使用注意事項】) // Required: true HasSubRoutes *bool `json:"HasSubRoutes"` // Boolean // // 是否為環狀線 // Required: true IsCircular *bool `json:"IsCircular"` // String // // 路線公車動態資訊網址 LiveBusURL string `json:"LiveBusURL,omitempty" xml:"String,omitempty"` // Array // // 營運業者 // Required: true Operators []*PTXServiceDTOBusSpecificationV3RouteOperator "json:\"Operators\" xml:\"List`1\"" // String // // 路線描述 RouteDescription string `json:"RouteDescription,omitempty" xml:"String,omitempty"` // 路線旅行長度 RouteDistance float32 `json:"RouteDistance,omitempty"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線長名稱 RouteLongName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteLongName,omitempty" xml:"NameType,omitempty"` // String // // 路線簡圖網址 RouteMapImageURL string `json:"RouteMapImageURL,omitempty" xml:"String,omitempty"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // Int32 // // 公車路線類別 : [11:'市區公車',12:'公路客運',13:'國道客運'] // Required: true RouteType *int64 `json:"RouteType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 路線資訊說明網址 RouteURL string `json:"RouteURL,omitempty" xml:"String,omitempty"` // ServiceType // // 公車路線服務類型 // Required: true ServiceType struct { PTXServiceDTOBusSpecificationV3ServiceType } `json:"ServiceType" xml:"ServiceType"` // Stop // // 起始站牌 // Required: true StartStop struct { PTXServiceDTOBusSpecificationV3RouteStop } `json:"StartStop" xml:"Stop"` // NameType // // 票價描述 // Required: true TicketPriceDescription struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"TicketPriceDescription" xml:"NameType"` }
PTXServiceDTOBusSpecificationV3Route Route
路線資料型別
swagger:model PTX.Service.DTO.Bus.Specification.V3.Route
func (*PTXServiceDTOBusSpecificationV3Route) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Route) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Route) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Route) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Route) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Route) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFare ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFare struct { // Int32 // // 描述該路線計費方式 : [0:'段次計費',1:'起迄站間計費',2:'計費站區間計費'] // Required: true FarePricingType *int64 `json:"FarePricingType"` // Int32 // // 該收費方式是否應用到所有附屬路線 : [0:'否',1:'是'] // Required: true IsForAllSubRoutes *int64 `json:"IsForAllSubRoutes"` // Int32 // // 是否為免費公車 : [0:'否',1:'是'] // Required: true IsFreeBus *int64 `json:"IsFreeBus"` // Array // // 起迄站間計費 ODFares []*PTXServiceDTOBusSpecificationV3RouteFareODFare "json:\"ODFares\" xml:\"List`1\"" // String // // 營運業者代碼 OperatorID string `json:"OperatorID,omitempty" xml:"String,omitempty"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName,omitempty" xml:"NameType,omitempty"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // Array // // 段次計費 SectionFares []*PTXServiceDTOBusSpecificationV3RouteFareSectionFare "json:\"SectionFares\" xml:\"List`1\"" // Array // // 計費站區間計費 StageFares []*PTXServiceDTOBusSpecificationV3RouteFareStageFare "json:\"StageFares\" xml:\"List`1\"" // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3RouteFare RouteFare
每日時刻表資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare
func (*PTXServiceDTOBusSpecificationV3RouteFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFareODFare ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareODFare struct { // OD // // 計費迄點 // Required: true DestinationStops struct { PTXServiceDTOBusSpecificationV3RouteFareODFareOD } `json:"DestinationStops" xml:"OD"` // Int32 // // 方向性描述 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Array // // 計費價格 // Required: true Fares []*PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD "json:\"Fares\" xml:\"List`1\"" // OD // // 計費起點 // Required: true OriginStops struct { PTXServiceDTOBusSpecificationV3RouteFareODFareOD } `json:"OriginStops" xml:"OD"` }
PTXServiceDTOBusSpecificationV3RouteFareODFare ODFare
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+ODFare
func (*PTXServiceDTOBusSpecificationV3RouteFareODFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare o d fare based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareODFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareODFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD struct { // Int32 // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待或愛心陪伴',8:'團體',9:'軍警',10:'由各運業者自行定義的半票'] // Required: true FareClass *int64 `json:"FareClass"` // String // // 計費價格 // Required: true Price *string `json:"Price" xml:"String"` // Int32 // // 票種類型 : [1:'一般票',2:'來回票',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期',7:'早鳥票',8:'定期票90天期'] // Required: true TicketType *int64 `json:"TicketType"` }
PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD FareOD
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+ODFare+FareOD
func (*PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 route fare o d fare fare o d based on context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareFareOD) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFareODFareOD ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareODFareOD struct { // String // // 計費起點站牌代碼 // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3RouteFareODFareOD OD
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+ODFare+OD
func (*PTXServiceDTOBusSpecificationV3RouteFareODFareOD) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare o d fare o d based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareODFareOD) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareODFareOD) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareODFareOD) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFareSectionFare ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareSectionFare struct { // Array // // 緩衝區資訊 // Required: true BufferZones []*PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone "json:\"BufferZones\" xml:\"List`1\"" // Array // // 每段收費資訊 // Required: true Fares []*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection "json:\"Fares\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3RouteFareSectionFare SectionFare
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+SectionFare
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare section fare based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone struct { // String // // 收費緩衝區描述 BufferZoneDescription string `json:"BufferZoneDescription,omitempty" xml:"String,omitempty"` // Int32 // // 方向性描述 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // FareBufferZone // // 緩衝區訖點 // Required: true FareBufferZoneDestination struct { PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone } `json:"FareBufferZoneDestination" xml:"FareBufferZone"` // FareBufferZone // // 緩衝區起點 // Required: true FareBufferZoneOrigin struct { PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone } `json:"FareBufferZoneOrigin" xml:"FareBufferZone"` // String // // 緩衝區順序 // Required: true SectionSequence *string `json:"SectionSequence" xml:"String"` // String // // 緩衝區代號 ZoneID string `json:"ZoneID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone BufferZone
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+SectionFare+BufferZone
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare section fare buffer zone based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareBufferZone) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 route fare section fare buffer zone
type PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone struct { // String // // 緩衝區站牌代碼 // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone FareBufferZone
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+SectionFare+FareBufferZone
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare section fare fare buffer zone based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareBufferZone) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 route fare section fare fare buffer zone
type PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection struct { // Int32 // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待或愛心陪伴',8:'團體',9:'軍警',10:'由各運業者自行定義的半票'] // Required: true FareClass *int64 `json:"FareClass"` // String // // 計費價格 // Required: true Price *string `json:"Price" xml:"String"` // Int32 // // 票種類型 : [1:'一般票',2:'來回票',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期',7:'早鳥票',8:'定期票90天期'] // Required: true TicketType *int64 `json:"TicketType"` }
PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection FareSection
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+SectionFare+FareSection
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 route fare section fare fare section based on context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareSectionFareFareSection) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 route fare section fare fare section
type PTXServiceDTOBusSpecificationV3RouteFareStageFare ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareStageFare struct { // Stage // // 訖點計費站 // Required: true DestinationStage struct { PTXServiceDTOBusSpecificationV3RouteFareStageFareStage } `json:"DestinationStage" xml:"Stage"` // Int32 // // 方向性描述 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Array // // 票價內容 // Required: true Fares []*PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage "json:\"Fares\" xml:\"List`1\"" // Stage // // 起點計費站 // Required: true OriginStage struct { PTXServiceDTOBusSpecificationV3RouteFareStageFareStage } `json:"OriginStage" xml:"Stage"` }
PTXServiceDTOBusSpecificationV3RouteFareStageFare StageFare
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+StageFare
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare stage fare based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod struct { // String // // 結束時間(HH:mm制) // Required: true EndTime *string `json:"EndTime" xml:"String"` // ServiceDay // // 營運日型態 // Required: true ServiceDay struct { PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // String // // 開始時間(HH:mm制) // Required: true StartTime *string `json:"StartTime" xml:"String"` }
PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod DiscountPeriod
優惠時段
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+StageFare+DiscountPeriod
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare stage fare discount period based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 route fare stage fare discount period
type PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage struct { // Array // // 優惠時段 DiscountPeriods []*PTXServiceDTOBusSpecificationV3RouteFareStageFareDiscountPeriod "json:\"DiscountPeriods\" xml:\"List`1\"" // Int32 // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待或愛心陪伴',8:'團體',9:'軍警',10:'由各運業者自行定義的半票'] FareClass int64 `json:"FareClass,omitempty"` // String // // 票價名稱 // Required: true FareName *string `json:"FareName" xml:"String"` // String // // 計費價格 Price string `json:"Price,omitempty" xml:"String,omitempty"` // Int32 // // 票種類型 : [1:'一般票',2:'來回票',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期',7:'早鳥票',8:'定期票90天期'] // Required: true TicketType *int64 `json:"TicketType"` }
PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage FareStage
票價內容
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+StageFare+FareStage
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare stage fare fare stage based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareFareStage) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 route fare stage fare fare stage
type PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay struct { // Int32 // // 假日後一日是否營運 : [0:'否',1:'是'] DayAfterHoliday int64 `json:"DayAfterHoliday,omitempty"` // Int32 // // 假日前一日是否營運 : [0:'否',1:'是'] DayBeforeHoliday int64 `json:"DayBeforeHoliday,omitempty"` // Int32 // // 星期五是否營運 : [0:'否',1:'是'] // Required: true Friday *int64 `json:"Friday"` // Int32 // // 星期一是否營運 : [0:'否',1:'是'] // Required: true Monday *int64 `json:"Monday"` // Int32 // // 國定假日是否營運 : [0:'否',1:'是'] NationalHolidays int64 `json:"NationalHolidays,omitempty"` // Int32 // // 星期六是否營運 : [0:'否',1:'是'] // Required: true Saturday *int64 `json:"Saturday"` // String // // 服務日標籤 // Required: true ServiceTag *string `json:"ServiceTag" xml:"String"` // 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:'是'] TyphoonDay int64 `json:"TyphoonDay,omitempty"` // Int32 // // 星期三是否營運 : [0:'否',1:'是'] // Required: true Wednesday *int64 `json:"Wednesday"` }
PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay ServiceDay
服務日型態
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+StageFare+ServiceDay
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 route fare stage fare service day based on context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareServiceDay) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 route fare stage fare service day
type PTXServiceDTOBusSpecificationV3RouteFareStageFareStage ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteFareStageFareStage struct { // String // // 計費訖點站牌代碼 StopID string `json:"StopID,omitempty" xml:"String,omitempty"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3RouteFareStageFareStage Stage
計費站
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteFare+StageFare+Stage
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route fare stage fare stage based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteFareStageFareStage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteNetwork ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteNetwork struct { // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // Array // // 站間線段序號 // Required: true Segments []*PTXServiceDTOBusSpecificationV3RouteNetworkSegment "json:\"Segments\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3RouteNetwork RouteNetwork
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteNetwork
func (*PTXServiceDTOBusSpecificationV3RouteNetwork) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route network based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteNetwork) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteNetwork) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteNetworkSegment ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteNetworkSegment struct { // Single // // 站間線段距離 // Required: true Distance *float32 `json:"Distance"` // String // // 表BusStop唯一碼(起點站牌) // Required: true FromStopID *string `json:"FromStopID" xml:"String"` // Single // // 站間線段序號 // Required: true Sequence *float32 `json:"Sequence"` // String // // 表BusStop唯一碼(迄點站牌) // Required: true ToStopID *string `json:"ToStopID" xml:"String"` }
PTXServiceDTOBusSpecificationV3RouteNetworkSegment Segment
swagger:model PTX.Service.DTO.Bus.Specification.V3.RouteNetwork+Segment
func (*PTXServiceDTOBusSpecificationV3RouteNetworkSegment) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 route network segment based on context it is used
func (*PTXServiceDTOBusSpecificationV3RouteNetworkSegment) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteNetworkSegment) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteNetworkSegment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteOperator ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteOperator struct { // String // // 平台代碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // NameType // // 營運業者代碼 // Required: true OperatorName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"OperatorName" xml:"NameType"` // String // // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo" xml:"String"` }
PTXServiceDTOBusSpecificationV3RouteOperator Operator
營運業者資訊
swagger:model PTX.Service.DTO.Bus.Specification.V3.Route+Operator
func (*PTXServiceDTOBusSpecificationV3RouteOperator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route operator based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteOperator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteOperator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3RouteStop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3RouteStop struct { // String // // 站牌代碼 // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 // Required: true StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName" xml:"NameType"` }
PTXServiceDTOBusSpecificationV3RouteStop Stop
swagger:model PTX.Service.DTO.Bus.Specification.V3.Route+Stop
func (*PTXServiceDTOBusSpecificationV3RouteStop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3RouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 route stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3RouteStop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3RouteStop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3RouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3S2STravelTime ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3S2STravelTime struct { // String // // 路線代碼 // Required: true RouteID *string `json:"RouteID" xml:"String"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 附屬路線代碼 SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` // Array // // 站間運行時間資訊 // Required: true TravelTimes []*PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime "json:\"TravelTimes\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3S2STravelTime S2STravelTime
swagger:model PTX.Service.DTO.Bus.Specification.V3.S2STravelTime
func (*PTXServiceDTOBusSpecificationV3S2STravelTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 s2 s travel time based on the context it is used
func (*PTXServiceDTOBusSpecificationV3S2STravelTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3S2STravelTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3S2STravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime struct { // Single // // 站間距離 // Required: true Distance *float32 `json:"Distance"` // String // // 起站站牌代碼 // Required: true FromStopID *string `json:"FromStopID" xml:"String"` // Int32 // // 站間預估行駛時間 // Required: true RunTime *int32 `json:"RunTime"` // Int32 // // 站間序號 // Required: true Sequence *int32 `json:"Sequence"` // Int32 // // 起站停靠時間 // Required: true StopTime *int32 `json:"StopTime"` // String // // 迄站站牌代碼 // Required: true ToStopID *string `json:"ToStopID" xml:"String"` }
PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime TravelTime
swagger:model PTX.Service.DTO.Bus.Specification.V3.S2STravelTime+TravelTime
func (*PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 s2 s travel time travel time based on context it is used
func (*PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3S2STravelTimeTravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Schedule ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Schedule struct { // Int32 // // 去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 營運班表說明網址 ScheduleURL string `json:"ScheduleURL,omitempty" xml:"String,omitempty"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID" xml:"String"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` // Array // // 預定時刻表 Timetables []*PTXServiceDTOBusSpecificationV3ScheduleTimeTable "json:\"Timetables\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3Schedule Schedule
營運班表資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.Schedule
func (*PTXServiceDTOBusSpecificationV3Schedule) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 schedule based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Schedule) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Schedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Schedule) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Schedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScheduleDatePeriod ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScheduleDatePeriod struct { // String // // 結束日期 // Required: true EndDate *string `json:"EndDate" xml:"String"` // String // // 開始日期 // Required: true StartDate *string `json:"StartDate" xml:"String"` }
PTXServiceDTOBusSpecificationV3ScheduleDatePeriod DatePeriod
swagger:model PTX.Service.DTO.Bus.Specification.V3.Schedule+DatePeriod
func (*PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 schedule date period based on context it is used
func (*PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleDatePeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScheduleServiceDay ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScheduleServiceDay struct { // Int32 // // 國定假日後一日營運與否 : [0:'否',1:'是'] DayAfterHoliday int64 `json:"DayAfterHoliday,omitempty"` // Int32 // // 國定假日前一日營運與否 : [0:'否',1:'是'] DayBeforeHoliday int64 `json:"DayBeforeHoliday,omitempty"` // Int32 // // 星期五營運與否 : [0:'否',1:'是'] Friday int64 `json:"Friday,omitempty"` // Int32 // // 星期一營運與否 : [0:'否',1:'是'] Monday int64 `json:"Monday,omitempty"` // Int32 // // 國定假日營運與否 : [0:'否',1:'是'] NationalHolidays int64 `json:"NationalHolidays,omitempty"` // Int32 // // 星期六營運與否 : [0:'否',1:'是'] Saturday int64 `json:"Saturday,omitempty"` // String // // 服務日標籤 ServiceTag string `json:"ServiceTag,omitempty" xml:"String,omitempty"` // Int32 // // 星期日營運與否 : [0:'否',1:'是'] Sunday int64 `json:"Sunday,omitempty"` // Int32 // // 星期四營運與否 : [0:'否',1:'是'] Thursday int64 `json:"Thursday,omitempty"` // Int32 // // 星期二營運與否 : [0:'否',1:'是'] Tuesday int64 `json:"Tuesday,omitempty"` // Int32 // // 颱風停止上班上課期間營運與否 : [0:'否',1:'是'] TyphoonDay int64 `json:"TyphoonDay,omitempty"` // Int32 // // 星期三營運與否 : [0:'否',1:'是'] Wednesday int64 `json:"Wednesday,omitempty"` }
PTXServiceDTOBusSpecificationV3ScheduleServiceDay ServiceDay
swagger:model PTX.Service.DTO.Bus.Specification.V3.Schedule+ServiceDay
func (*PTXServiceDTOBusSpecificationV3ScheduleServiceDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 schedule service day based on context it is used
func (*PTXServiceDTOBusSpecificationV3ScheduleServiceDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScheduleServiceDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScheduleSpecialDay ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScheduleSpecialDay struct { // DatePeriod // // 連續特殊日期 // Required: true DatePeriod struct { PTXServiceDTOBusSpecificationV3ScheduleDatePeriod } `json:"DatePeriod" xml:"DatePeriod"` // Array // // 不連續特殊日期 // Required: true Dates []string "json:\"Dates\" xml:\"List`1\"" // String // // 特殊營運描述 // Required: true Description *string `json:"Description" xml:"String"` // Int32 // // 營運服務狀態代碼0=停止營運, 1=正常營運 , 2=加班營運 : [0:'正常營運',1:'加班營運',2:'取消/停駛營運'] // Required: true ServiceStatus *int64 `json:"ServiceStatus"` }
PTXServiceDTOBusSpecificationV3ScheduleSpecialDay SpecialDay
swagger:model PTX.Service.DTO.Bus.Specification.V3.Schedule+SpecialDay
func (*PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 schedule special day based on the context it is used
func (*PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleSpecialDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScheduleStopTime ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScheduleStopTime struct { // String // // 到站時間,格式為:HH:mm // Required: true ArrivalTime *string `json:"ArrivalTime" xml:"String"` // String // // 離站時間,格式為:HH:mm // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // String // // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // Int32 // // 路線經過站牌之順序(由1開始) // Required: true StopSequence *int32 `json:"StopSequence"` // String // // 站牌唯一識別代碼,規則為 {業管機關代碼} + {StopID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3ScheduleStopTime StopTime
swagger:model PTX.Service.DTO.Bus.Specification.V3.Schedule+StopTime
func (*PTXServiceDTOBusSpecificationV3ScheduleStopTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 schedule stop time based on the context it is used
func (*PTXServiceDTOBusSpecificationV3ScheduleStopTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScheduleStopTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleStopTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScheduleTimeTable ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScheduleTimeTable struct { // String // // 該路線班次是否使用低地板公車車輛 IsLowFloor string `json:"IsLowFloor,omitempty" xml:"String,omitempty"` // ServiceDay // // 服務日型態 // Required: true ServiceDay struct { PTXServiceDTOBusSpecificationV3ScheduleServiceDay } `json:"ServiceDay" xml:"ServiceDay"` // Array // // 例外營運日 // Required: true SpecialDays []*PTXServiceDTOBusSpecificationV3ScheduleSpecialDay "json:\"SpecialDays\" xml:\"List`1\"" // Array // // 公車停靠時間資料 // Required: true StopTimes []*PTXServiceDTOBusSpecificationV3ScheduleStopTime "json:\"StopTimes\" xml:\"List`1\"" // String // // 班次代碼,為無意義之編碼 TripID string `json:"TripID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3ScheduleTimeTable TimeTable
swagger:model PTX.Service.DTO.Bus.Specification.V3.Schedule+TimeTable
func (*PTXServiceDTOBusSpecificationV3ScheduleTimeTable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 schedule time table based on the context it is used
func (*PTXServiceDTOBusSpecificationV3ScheduleTimeTable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScheduleTimeTable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScheduleTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Scope ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Scope struct { // Array // // 路線資料 Routes []*PTXServiceDTOBusSpecificationV3ScopeRoute "json:\"Routes\" xml:\"List`1\"" // Array // // 站牌資料 Stops []*PTXServiceDTOBusSpecificationV3ScopeStop "json:\"Stops\" xml:\"List`1\"" // Array // // 附屬路線資料 SubRoutes []*PTXServiceDTOBusSpecificationV3ScopeSubRoute "json:\"SubRoutes\" xml:\"List`1\"" // Array // // 班次代碼資料 TripIDs []*PTXServiceDTOBusSpecificationV3ScopeTrip "json:\"TripIDs\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3Scope Scope
通阻影響範圍
swagger:model PTX.Service.DTO.Bus.Specification.V3.Scope
func (*PTXServiceDTOBusSpecificationV3Scope) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Scope) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 scope based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Scope) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Scope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Scope) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Scope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScopeRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScopeRoute struct { // String // // 地區既用中之班次代碼(為原資料內碼) RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"` // NameType // // 路線名稱 RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName,omitempty" xml:"NameType,omitempty"` }
PTXServiceDTOBusSpecificationV3ScopeRoute Route
路線資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.Scope+Route
func (*PTXServiceDTOBusSpecificationV3ScopeRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 scope route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3ScopeRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScopeRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScopeStop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScopeStop struct { // String // // 地區既用中之站牌代碼(為原資料內碼) StopID string `json:"StopID,omitempty" xml:"String,omitempty"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` }
PTXServiceDTOBusSpecificationV3ScopeStop Stop
站牌資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.Scope+Stop
func (*PTXServiceDTOBusSpecificationV3ScopeStop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScopeStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 scope stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3ScopeStop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScopeStop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScopeSubRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScopeSubRoute struct { // String // // 地區既用中之附屬班次代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` }
PTXServiceDTOBusSpecificationV3ScopeSubRoute SubRoute
附屬路線資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.Scope+SubRoute
func (*PTXServiceDTOBusSpecificationV3ScopeSubRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 scope sub route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3ScopeSubRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScopeSubRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeSubRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ScopeTrip ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ScopeTrip struct { // String // // 地區既用中之班次代碼(為原資料內碼) TripID string `json:"TripID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3ScopeTrip Trip
班次代碼資料
swagger:model PTX.Service.DTO.Bus.Specification.V3.Scope+Trip
func (*PTXServiceDTOBusSpecificationV3ScopeTrip) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 scope trip based on context it is used
func (*PTXServiceDTOBusSpecificationV3ScopeTrip) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ScopeTrip) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ScopeTrip) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3ServiceType ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3ServiceType struct { // Boolean // // 是否為活動接駁車 // Required: true IsActivityShuttleBus *bool `json:"IsActivityShuttleBus"` // Boolean // // 是否為機場接駁車 // Required: true IsAirportShuttleBus *bool `json:"IsAirportShuttleBus"` // Boolean // // 是否為BRT公車 // Required: true IsBRTBus *bool `json:"IsBRTBus"` // Boolean // // 是否為免費公車 // Required: true IsFreeBus *bool `json:"IsFreeBus"` // Boolean // // 是否為醫療公車 // Required: true IsMedicalBus *bool `json:"IsMedicalBus"` // Boolean // // 是否為捷運接駁車 // Required: true IsMetroShuttleBus *bool `json:"IsMetroShuttleBus"` // Boolean // // 是否為夜間公車 // Required: true IsNightBus *bool `json:"IsNightBus"` // Boolean // // 是否為高鐵接駁車 // Required: true IsTHSRShuttleBus *bool `json:"IsTHSRShuttleBus"` // Boolean // // 是否為台鐵接駁車 // Required: true IsTRAShuttleBus *bool `json:"IsTRAShuttleBus"` // Boolean // // 是否為台灣好行公車 // Required: true IsTaiwanTripBus *bool `json:"IsTaiwanTripBus"` // Boolean // // 是否為觀光巴士 // Required: true IsTourBus *bool `json:"IsTourBus"` // Boolean // // 是否為遊覽車 // Required: true IsTouristBus *bool `json:"IsTouristBus"` // Boolean // // 是否為幹線公車 // Required: true IsTrunkBus *bool `json:"IsTrunkBus"` }
PTXServiceDTOBusSpecificationV3ServiceType ServiceType
swagger:model PTX.Service.DTO.Bus.Specification.V3.ServiceType
func (*PTXServiceDTOBusSpecificationV3ServiceType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3ServiceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 service type based on context it is used
func (*PTXServiceDTOBusSpecificationV3ServiceType) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ServiceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3ServiceType) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3ServiceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Shape ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Shape struct { // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // String // // 公車線型資料(WKT) // Required: true Geometry *string `json:"Geometry" xml:"String"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID" xml:"String"` // NameType // // 附屬路線名稱 // Required: true SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName" xml:"NameType"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true SubRouteUID *string `json:"SubRouteUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3Shape Shape
swagger:model PTX.Service.DTO.Bus.Specification.V3.Shape
func (*PTXServiceDTOBusSpecificationV3Shape) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Shape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 shape based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Shape) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Shape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Shape) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Shape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Station ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Station struct { // String // // 方位角,E:東行;W:西行;S:南行;N:北行;SE:東南行;NE:東北行;SW:西南行;NW:西北行 Bearing string `json:"Bearing,omitempty" xml:"String,omitempty"` // String // // 站牌所在道路上之路名。 RoadName string `json:"RoadName,omitempty" xml:"String,omitempty"` // String // // 站位地址 StationAddress string `json:"StationAddress,omitempty" xml:"String,omitempty"` // String // // 站牌詳細說明描述 StationDescription string `json:"StationDescription,omitempty" xml:"String,omitempty"` // String // // 站位代碼 // Required: true StationID *string `json:"StationID" xml:"String"` // NameType // // 站位名稱 // Required: true StationName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StationName" xml:"NameType"` // PointType // // 站位位置 // Required: true StationPosition struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"StationPosition" xml:"PointType"` // String // // 站位唯一識別代碼,規則為 {業管機關簡碼} + {StationID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StationUID *string `json:"StationUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3Station Station
swagger:model PTX.Service.DTO.Bus.Specification.V3.Station
func (*PTXServiceDTOBusSpecificationV3Station) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Station) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 station based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Station) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Station) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Station) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Station) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Stop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Stop struct { // String // // 方位角,E:東行;W:西行;S:南行;N:北行;SE:東南行;NE:東北行;SW:西南行;NW:西北行 Bearing string `json:"Bearing,omitempty" xml:"String,omitempty"` // String // // 站牌權管所屬縣市之代碼(國際ISO 3166-2 三碼城市代碼)[若為公路/國道客運路線則為空值] CityCode string `json:"CityCode,omitempty" xml:"String,omitempty"` // String // // 路名 RoadName string `json:"RoadName,omitempty" xml:"String,omitempty"` // String // // 站位代碼 StationID string `json:"StationID,omitempty" xml:"String,omitempty"` // String // // 站位唯一識別代碼,規則為 {業管機關簡碼} + {StationID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 StationUID string `json:"StationUID,omitempty" xml:"String,omitempty"` // String // // 站牌地址 StopAddress string `json:"StopAddress,omitempty" xml:"String,omitempty"` // String // // 站牌簡碼 StopCode string `json:"StopCode,omitempty" xml:"String,omitempty"` // String // // 站牌詳細說明描述 StopDescription string `json:"StopDescription,omitempty" xml:"String,omitempty"` // String // // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 // Required: true StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName" xml:"NameType"` // PointType // // 站牌位置 // Required: true StopPosition struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"StopPosition" xml:"PointType"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` // String // // 站牌資訊說明網址 StopURL string `json:"StopURL,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3Stop Stop
swagger:model PTX.Service.DTO.Bus.Specification.V3.Stop
func (*PTXServiceDTOBusSpecificationV3Stop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Stop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3Stop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Stop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Stop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Stop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3StopOfRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3StopOfRoute struct { // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Array // // 營運業者 Operators []*PTXServiceDTOBusSpecificationV3StopOfRouteOperator "json:\"Operators\" xml:\"List`1\"" // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // Array // // 所有經過站牌 // Required: true Stops []*PTXServiceDTOBusSpecificationV3StopOfRouteStop "json:\"Stops\" xml:\"List`1\"" // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 附屬路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3StopOfRoute StopOfRoute
swagger:model PTX.Service.DTO.Bus.Specification.V3.StopOfRoute
func (*PTXServiceDTOBusSpecificationV3StopOfRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 stop of route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3StopOfRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3StopOfRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3StopOfRouteOperator ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3StopOfRouteOperator struct { // String // // 平台代碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // NameType // // 營運業者代碼 // Required: true OperatorName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"OperatorName" xml:"NameType"` // String // // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo" xml:"String"` }
PTXServiceDTOBusSpecificationV3StopOfRouteOperator Operator
營運業者資訊
swagger:model PTX.Service.DTO.Bus.Specification.V3.StopOfRoute+Operator
func (*PTXServiceDTOBusSpecificationV3StopOfRouteOperator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 stop of route operator based on the context it is used
func (*PTXServiceDTOBusSpecificationV3StopOfRouteOperator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3StopOfRouteOperator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRouteOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3StopOfRouteStop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3StopOfRouteStop struct { // Int32 // // 上下車站別 : [-1:'可下車',0:'可上下車',1:'可上車'] // Required: true BoardingType *int64 `json:"BoardingType"` // String // // 累積行駛距離 CumulativeDistance string `json:"CumulativeDistance,omitempty" xml:"String,omitempty"` // Boolean // // 是否為分段點 IsSectionPoint bool `json:"IsSectionPoint,omitempty"` // String // // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 // Required: true StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName" xml:"NameType"` // PointType // // 站牌位置 // Required: true StopPosition struct { PTXServiceDTOSharedSpecificationV3BasePointType } `json:"StopPosition" xml:"PointType"` // Int32 // // 路線經過站牌之順序 // Required: true StopSequence *int32 `json:"StopSequence"` // String // // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3StopOfRouteStop Stop
swagger:model PTX.Service.DTO.Bus.Specification.V3.StopOfRoute+Stop
func (*PTXServiceDTOBusSpecificationV3StopOfRouteStop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 stop of route stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3StopOfRouteStop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3StopOfRouteStop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopOfRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3StopTime ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3StopTime struct { // String // // 到站時間,格式為:HH:mm // Required: true ArrivalTime *string `json:"ArrivalTime" xml:"String"` // String // // 離站時間,格式為:HH:mm // Required: true DepartureTime *string `json:"DepartureTime" xml:"String"` // String // // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName,omitempty" xml:"NameType,omitempty"` // Int32 // // 路線經過站牌之順序(由1開始) // Required: true StopSequence *int32 `json:"StopSequence"` // String // // 站牌唯一識別代碼,規則為 {業管機關代碼} + {StopID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3StopTime StopTime
swagger:model PTX.Service.DTO.Bus.Specification.V3.StopTime
func (*PTXServiceDTOBusSpecificationV3StopTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3StopTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 stop time based on the context it is used
func (*PTXServiceDTOBusSpecificationV3StopTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3StopTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3StopTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3SubRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3SubRoute struct { // NameType // // 路線起站名稱 DepartureStopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DepartureStopName,omitempty" xml:"NameType,omitempty"` // NameType // // 路線迄站名稱 DestinationStopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DestinationStopName,omitempty" xml:"NameType,omitempty"` // Int32 // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int64 `json:"Direction"` // Stop // // 終點站牌 EndStop struct { PTXServiceDTOBusSpecificationV3SubRouteStop } `json:"EndStop,omitempty" xml:"Stop,omitempty"` // String // // 車頭描述 HeadSign string `json:"HeadSign,omitempty" xml:"String,omitempty"` // Array // // 營運業者 // Required: true Operators []*PTXServiceDTOBusSpecificationV3SubRouteOperator "json:\"Operators\" xml:\"List`1\"" // String // // 機關定義路線代碼 // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // Stop // // 起始站牌 StartStop struct { PTXServiceDTOBusSpecificationV3SubRouteStop } `json:"StartStop,omitempty" xml:"Stop,omitempty"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID" xml:"String"` // NameType // // 附屬路線長名稱 SubRouteLongName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteLongName,omitempty" xml:"NameType,omitempty"` // NameType // // 附屬路線名稱 // Required: true SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName" xml:"NameType"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true SubRouteUID *string `json:"SubRouteUID" xml:"String"` }
PTXServiceDTOBusSpecificationV3SubRoute SubRoute
swagger:model PTX.Service.DTO.Bus.Specification.V3.SubRoute
func (*PTXServiceDTOBusSpecificationV3SubRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3SubRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 sub route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3SubRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3SubRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3SubRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3SubRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3SubRouteOperator ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3SubRouteOperator struct { // String // // 平台代碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // NameType // // 營運業者代碼 // Required: true OperatorName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"OperatorName" xml:"NameType"` // String // // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo" xml:"String"` }
PTXServiceDTOBusSpecificationV3SubRouteOperator Operator
swagger:model PTX.Service.DTO.Bus.Specification.V3.SubRoute+Operator
func (*PTXServiceDTOBusSpecificationV3SubRouteOperator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 sub route operator based on the context it is used
func (*PTXServiceDTOBusSpecificationV3SubRouteOperator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3SubRouteOperator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3SubRouteOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3SubRouteStop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3SubRouteStop struct { // String // // 站牌代碼 // Required: true StopID *string `json:"StopID" xml:"String"` // NameType // // 站牌名稱 // Required: true StopName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"StopName" xml:"NameType"` }
PTXServiceDTOBusSpecificationV3SubRouteStop Stop
swagger:model PTX.Service.DTO.Bus.Specification.V3.SubRoute+Stop
func (*PTXServiceDTOBusSpecificationV3SubRouteStop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 sub route stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3SubRouteStop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3SubRouteStop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3SubRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3TimeTable ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3TimeTable struct { // Array // // 公車停靠時間資料 // Required: true StopTimes []*PTXServiceDTOBusSpecificationV3StopTime "json:\"StopTimes\" xml:\"List`1\"" // String // // 班次代碼,為無意義之編碼 TripID string `json:"TripID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3TimeTable TimeTable
swagger:model PTX.Service.DTO.Bus.Specification.V3.TimeTable
func (*PTXServiceDTOBusSpecificationV3TimeTable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3TimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 time table based on the context it is used
func (*PTXServiceDTOBusSpecificationV3TimeTable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3TimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3TimeTable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3TimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3Vehicle ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3Vehicle struct { // Int32 // // 讀卡機配置(1:前門刷卡;2:前後門刷卡) // Required: true CardReaderLayout *int32 `json:"CardReaderLayout"` // Boolean // // 是否有升降或斜坡板設備 // Required: true HasLiftOrRamp *bool `json:"HasLiftOrRamp"` // Boolean // // 是否有提供Wifi服務 // Required: true HasWifi *bool `json:"HasWifi"` // String // // 車機代號 InBoxID string `json:"InBoxID,omitempty" xml:"String,omitempty"` // Boolean // // 是否為電動公車 // Required: true IsElectric *bool `json:"IsElectric"` // Boolean // // 是否為油電混合公車 // Required: true IsHybrid *bool `json:"IsHybrid"` // Boolean // // 是否為低地板 // Required: true IsLowFloor *bool `json:"IsLowFloor"` // String // // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode" xml:"String"` // String // // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID" xml:"String"` // String // // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb" xml:"String"` // 購入時間 // Format: date-time PurchaseTime strfmt.DateTime `json:"PurchaseTime,omitempty"` // Int32 // // 車輛型別 : [1:'大型巴士',2:'中型巴士',3:'小型巴士',4:'雙層巴士',5:'雙節巴士',6:'計程車'] // Required: true VehicleClass *int64 `json:"VehicleClass"` // Int32 // // 車輛種類 : [1:'一般',2:'復康巴士',3:'專車',4:'其他'] // Required: true VehicleType *int64 `json:"VehicleType"` }
PTXServiceDTOBusSpecificationV3Vehicle Vehicle
swagger:model PTX.Service.DTO.Bus.Specification.V3.Vehicle
func (*PTXServiceDTOBusSpecificationV3Vehicle) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3Vehicle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 vehicle based on context it is used
func (*PTXServiceDTOBusSpecificationV3Vehicle) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Vehicle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3Vehicle) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3Vehicle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3VehicleDepot ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3VehicleDepot struct { // String // // 營業所代碼 // Required: true DepotID *string `json:"DepotID" xml:"String"` // NameType // // 營業所名稱 // Required: true DepotName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"DepotName" xml:"NameType"` // Array // // 車輛 // Required: true Vehicles []*PTXServiceDTOBusSpecificationV3VehicleDepotVehicle "json:\"Vehicles\" xml:\"List`1\"" }
PTXServiceDTOBusSpecificationV3VehicleDepot VehicleDepot
swagger:model PTX.Service.DTO.Bus.Specification.V3.VehicleDepot
func (*PTXServiceDTOBusSpecificationV3VehicleDepot) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 vehicle depot based on the context it is used
func (*PTXServiceDTOBusSpecificationV3VehicleDepot) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3VehicleDepot) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3VehicleDepot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3VehicleDepotVehicle ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3VehicleDepotVehicle struct { // String // // 車牌號碼 PlateNumb string `json:"PlateNumb,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3VehicleDepotVehicle Vehicle
swagger:model PTX.Service.DTO.Bus.Specification.V3.VehicleDepot+Vehicle
func (*PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o bus specification v3 vehicle depot vehicle based on context it is used
func (*PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3VehicleDepotVehicle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3VehicleRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3VehicleRoute struct { // String // // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb" xml:"String"` // String // // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID" xml:"String"` // NameType // // 路線名稱 // Required: true RouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"RouteName" xml:"NameType"` // String // // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID" xml:"String"` // String // // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty" xml:"String,omitempty"` // NameType // // 路線名稱 SubRouteName struct { PTXServiceDTOSharedSpecificationV3BaseNameType } `json:"SubRouteName,omitempty" xml:"NameType,omitempty"` // String // // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3VehicleRoute VehicleRoute
swagger:model PTX.Service.DTO.Bus.Specification.V3.VehicleRoute
func (*PTXServiceDTOBusSpecificationV3VehicleRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 vehicle route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3VehicleRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3VehicleRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3VehicleRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // DateTime // // 有效起始日期 // Required: true // Format: date-time EffectiveDate *strfmt.DateTime `json:"EffectiveDate"` // 有效終止日期 // Format: date-time ExpireDate strfmt.DateTime `json:"ExpireDate,omitempty"` // String // // 公車定期營運班表名稱 ScheduleName string `json:"ScheduleName,omitempty" xml:"String,omitempty"` // Array // // 資料列表 // Required: true Schedules []*PTXServiceDTOBusSpecificationV3Schedule "json:\"Schedules\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // String // // 時刻表適用情形說明 ValidityDesciption string `json:"ValidityDesciption,omitempty" xml:"String,omitempty"` }
PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule BusScheduleList
定期型 wrapper (有生效的起迄時間資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusGWrapper[PTX.Service.DTO.Bus.Specification.V3.Schedule]
func (*PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus g wrapper p t x service d t o bus specification v3 schedule based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusGWrapperPTXServiceDTOBusSpecificationV3Schedule) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus g wrapper p t x service d t o bus specification v3 schedule
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true Depots []*PTXServiceDTOBusSpecificationV3Depot "json:\"Depots\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot BusDepotList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Depot]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 depot based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Depot) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 depot
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true DisplayStopOfRoutes []*PTXServiceDTOBusSpecificationV3DisplayStopOfRoute "json:\"DisplayStopOfRoutes\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute BusDisplayStopOfRouteList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.DisplayStopOfRoute]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 display stop of route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3DisplayStopOfRoute) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 display stop of route
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true FirstLastTripInfos []*PTXServiceDTOBusSpecificationV3FirstLastTripInfo "json:\"FirstLastTripInfos\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo BusFirstLastTripInfoList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.FirstLastTripInfo]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 first last trip info based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3FirstLastTripInfo) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 first last trip info
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true Networks []*PTXServiceDTOBusSpecificationV3Network "json:\"Networks\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network BusNetworkList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Network]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 network based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Network) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 network
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true Operators []*PTXServiceDTOBusSpecificationV3Operator "json:\"Operators\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator BusOperatorList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Operator]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 operator based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Operator) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 operator
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true Routes []*PTXServiceDTOBusSpecificationV3Route "json:\"Routes\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route BusRouteList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Route]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Route) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 route
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true RouteNetworks []*PTXServiceDTOBusSpecificationV3RouteNetwork "json:\"RouteNetworks\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork BusRouteNetworkList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.RouteNetwork]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 route network based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3RouteNetwork) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 route network
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true S2STravelTimes []*PTXServiceDTOBusSpecificationV3S2STravelTime "json:\"S2STravelTimes\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime BusS2STravelTimeList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.S2STravelTime]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 s2 s travel time based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3S2STravelTime) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 s2 s travel time
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true Shapes []*PTXServiceDTOBusSpecificationV3Shape "json:\"Shapes\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape BusShapeList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Shape]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 shape based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Shape) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 shape
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station struct { // 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"` // Array // // 資料列表 // Required: true Stations []*PTXServiceDTOBusSpecificationV3Station "json:\"Stations\" xml:\"List`1\"" // Int32 // // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station BusStationList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Station]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 station based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Station) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 station
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop struct { // 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"` // Array // // 資料列表 // Required: true Stops []*PTXServiceDTOBusSpecificationV3Stop "json:\"Stops\" xml:\"List`1\"" // Int32 // // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop BusStopList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Stop]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 stop based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Stop) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 stop
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute struct { // 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"` // Array // // 資料列表 // Required: true StopOfRoutes []*PTXServiceDTOBusSpecificationV3StopOfRoute "json:\"StopOfRoutes\" xml:\"List`1\"" // Int32 // // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute BusStopOfRouteList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.StopOfRoute]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 stop of route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3StopOfRoute) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 stop of route
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute struct { // 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"` // Array // // 資料列表 // Required: true SubRoutes []*PTXServiceDTOBusSpecificationV3SubRoute "json:\"SubRoutes\" xml:\"List`1\"" // Int32 // // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute BusSubRouteList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.SubRoute]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 sub route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3SubRoute) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 sub route
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle struct { // 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Array // // 資料列表 // Required: true Vehicles []*PTXServiceDTOBusSpecificationV3Vehicle "json:\"Vehicles\" xml:\"List`1\"" // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle BusVehicleList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.Vehicle]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 vehicle based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3Vehicle) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 vehicle
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot struct { // 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Array // // 資料列表 // Required: true VehicleDepots []*PTXServiceDTOBusSpecificationV3VehicleDepot "json:\"VehicleDepots\" xml:\"List`1\"" // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot BusVehicleDepotList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.VehicleDepot]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 vehicle depot based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleDepot) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 vehicle depot
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute struct { // 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` // Array // // 資料列表 // Required: true VehicleRoutes []*PTXServiceDTOBusSpecificationV3VehicleRoute "json:\"VehicleRoutes\" xml:\"List`1\"" // Int32 // // 資料版本編號 // Required: true VersionID *int32 `json:"VersionID"` }
PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute BusVehicleRouteList
版本 wrapper (具有版本資訊)
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusVWrapper[PTX.Service.DTO.Bus.Specification.V3.VehicleRoute]
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 vehicle route based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusVWrapperPTXServiceDTOBusSpecificationV3VehicleRoute) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus v wrapper p t x service d t o bus specification v3 vehicle route
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data struct { // Array // // 資料列表 // Required: true A1Datas []*PTXServiceDTOBusSpecificationV3A1Data "json:\"A1Datas\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data BusA1DataList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.A1Data]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 a1 data based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A1Data) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 a1 data
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data struct { // Array // // 資料列表 // Required: true A2Datas []*PTXServiceDTOBusSpecificationV3A2Data "json:\"A2Datas\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data BusA2DataList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.A2Data]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 a2 data based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3A2Data) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 a2 data
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert struct { // Array // // 資料列表 // Required: true Alerts []*PTXServiceDTOBusSpecificationV3Alert "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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert BusAlertList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.Alert]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 alert based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3Alert) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 alert
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true DailyTimeTables []*PTXServiceDTOBusSpecificationV3DailyTimeTable "json:\"DailyTimeTables\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable BusDailyTimeTableList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.DailyTimeTable]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 daily time table based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3DailyTimeTable) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 daily time table
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true N1Datas []*PTXServiceDTOBusSpecificationV3N1Data "json:\"N1Datas\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data BusN1DataList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.N1Data]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 n1 data based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3N1Data) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 n1 data
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true Newses []*PTXServiceDTOBusSpecificationV3News "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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News BusNewsList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.News]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 news based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3News) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 news
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare ¶ added in v0.7.0
type PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare struct { // String // // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode" xml:"String"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // Array // // 資料列表 // Required: true RouteFares []*PTXServiceDTOBusSpecificationV3RouteFare "json:\"RouteFares\" 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"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true // Format: date-time UpdateTime *strfmt.DateTime `json:"UpdateTime"` }
PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare BusRouteFareList
基本 wrapper
swagger:model PTX.Service.DTO.Bus.Specification.V3.Wrapper.BusWrapper[PTX.Service.DTO.Bus.Specification.V3.RouteFare]
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 route fare based on the context it is used
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) Validate ¶ added in v0.7.0
func (m *PTXServiceDTOBusSpecificationV3WrapperBusWrapperPTXServiceDTOBusSpecificationV3RouteFare) Validate(formats strfmt.Registry) error
Validate validates this p t x service d t o bus specification v3 wrapper bus wrapper p t x service d t o bus specification v3 route fare
type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth ¶ added in v0.7.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.9.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.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BaseInbound ¶ added in v0.7.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.9.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.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BaseNameType ¶ added in v0.7.0
type PTXServiceDTOSharedSpecificationV3BaseNameType struct { // // 英文名稱 En string `json:"En,omitempty" xml:"String,omitempty"` // // 中文繁體名稱 ZhTw string `json:"Zh_tw,omitempty" xml:"String,omitempty"` }
PTXServiceDTOSharedSpecificationV3BaseNameType NameType
swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.NameType
func (*PTXServiceDTOSharedSpecificationV3BaseNameType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v3 base name type based on context it is used
func (*PTXServiceDTOSharedSpecificationV3BaseNameType) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseNameType) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseNameType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BaseOutbound ¶ added in v0.7.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.9.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.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PTXServiceDTOSharedSpecificationV3BasePointType ¶ added in v0.7.0
type PTXServiceDTOSharedSpecificationV3BasePointType struct { float64 `json:"PositionLat,omitempty"` PositionLon float64 `json:"PositionLon,omitempty"` }PositionLat
PTXServiceDTOSharedSpecificationV3BasePointType PointType
座標資料型別
swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.PointType
func (*PTXServiceDTOSharedSpecificationV3BasePointType) ContextValidate ¶ added in v0.9.0
func (m *PTXServiceDTOSharedSpecificationV3BasePointType) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this p t x service d t o shared specification v3 base point type based on context it is used
func (*PTXServiceDTOSharedSpecificationV3BasePointType) MarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BasePointType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PTXServiceDTOSharedSpecificationV3BasePointType) UnmarshalBinary ¶ added in v0.7.0
func (m *PTXServiceDTOSharedSpecificationV3BasePointType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- p_t_x_service_d_t_o_bus_specification_v3_a1_data.go
- p_t_x_service_d_t_o_bus_specification_v3_a2_data.go
- p_t_x_service_d_t_o_bus_specification_v3_alert.go
- p_t_x_service_d_t_o_bus_specification_v3_daily_time_table.go
- p_t_x_service_d_t_o_bus_specification_v3_depot.go
- p_t_x_service_d_t_o_bus_specification_v3_display_stop_of_route.go
- p_t_x_service_d_t_o_bus_specification_v3_display_stop_of_route_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_first_last_trip_info.go
- p_t_x_service_d_t_o_bus_specification_v3_first_last_trip_info_first_last_trip.go
- p_t_x_service_d_t_o_bus_specification_v3_first_last_trip_info_service_day.go
- p_t_x_service_d_t_o_bus_specification_v3_n1_data.go
- p_t_x_service_d_t_o_bus_specification_v3_network.go
- p_t_x_service_d_t_o_bus_specification_v3_network_l_b_s_map_url.go
- p_t_x_service_d_t_o_bus_specification_v3_network_map_url.go
- p_t_x_service_d_t_o_bus_specification_v3_news.go
- p_t_x_service_d_t_o_bus_specification_v3_operator.go
- p_t_x_service_d_t_o_bus_specification_v3_route.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_o_d_fare.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_o_d_fare_fare_o_d.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_o_d_fare_o_d.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_section_fare.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_section_fare_buffer_zone.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_section_fare_fare_buffer_zone.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_section_fare_fare_section.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_stage_fare.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_stage_fare_discount_period.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_stage_fare_fare_stage.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_stage_fare_service_day.go
- p_t_x_service_d_t_o_bus_specification_v3_route_fare_stage_fare_stage.go
- p_t_x_service_d_t_o_bus_specification_v3_route_network.go
- p_t_x_service_d_t_o_bus_specification_v3_route_network_segment.go
- p_t_x_service_d_t_o_bus_specification_v3_route_operator.go
- p_t_x_service_d_t_o_bus_specification_v3_route_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_s2_s_travel_time.go
- p_t_x_service_d_t_o_bus_specification_v3_s2_s_travel_time_travel_time.go
- p_t_x_service_d_t_o_bus_specification_v3_schedule.go
- p_t_x_service_d_t_o_bus_specification_v3_schedule_date_period.go
- p_t_x_service_d_t_o_bus_specification_v3_schedule_service_day.go
- p_t_x_service_d_t_o_bus_specification_v3_schedule_special_day.go
- p_t_x_service_d_t_o_bus_specification_v3_schedule_stop_time.go
- p_t_x_service_d_t_o_bus_specification_v3_schedule_time_table.go
- p_t_x_service_d_t_o_bus_specification_v3_scope.go
- p_t_x_service_d_t_o_bus_specification_v3_scope_route.go
- p_t_x_service_d_t_o_bus_specification_v3_scope_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_scope_sub_route.go
- p_t_x_service_d_t_o_bus_specification_v3_scope_trip.go
- p_t_x_service_d_t_o_bus_specification_v3_service_type.go
- p_t_x_service_d_t_o_bus_specification_v3_shape.go
- p_t_x_service_d_t_o_bus_specification_v3_station.go
- p_t_x_service_d_t_o_bus_specification_v3_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_stop_of_route.go
- p_t_x_service_d_t_o_bus_specification_v3_stop_of_route_operator.go
- p_t_x_service_d_t_o_bus_specification_v3_stop_of_route_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_stop_time.go
- p_t_x_service_d_t_o_bus_specification_v3_sub_route.go
- p_t_x_service_d_t_o_bus_specification_v3_sub_route_operator.go
- p_t_x_service_d_t_o_bus_specification_v3_sub_route_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_time_table.go
- p_t_x_service_d_t_o_bus_specification_v3_vehicle.go
- p_t_x_service_d_t_o_bus_specification_v3_vehicle_depot.go
- p_t_x_service_d_t_o_bus_specification_v3_vehicle_depot_vehicle.go
- p_t_x_service_d_t_o_bus_specification_v3_vehicle_route.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_g_wrapper_p_t_x_service_d_t_o_bus_specification_v3_schedule.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_depot.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_display_stop_of_route.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_first_last_trip_info.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_network.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_operator.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_route.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_route_network.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_s2_s_travel_time.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_shape.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_station.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_stop.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_stop_of_route.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_sub_route.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_vehicle.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_vehicle_depot.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_v_wrapper_p_t_x_service_d_t_o_bus_specification_v3_vehicle_route.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_a1_data.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_a2_data.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_alert.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_daily_time_table.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_n1_data.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_news.go
- p_t_x_service_d_t_o_bus_specification_v3_wrapper_bus_wrapper_p_t_x_service_d_t_o_bus_specification_v3_route_fare.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_name_type.go
- p_t_x_service_d_t_o_shared_specification_v3_base_outbound.go
- p_t_x_service_d_t_o_shared_specification_v3_base_point_type.go