Documentation ¶
Index ¶
- type MOTCAPIBusDALBusServiceDTOVersion3BusA1Data
- type MOTCAPIBusDALBusServiceDTOVersion3BusA2Data
- type MOTCAPIBusDALBusServiceDTOVersion3BusAlert
- type MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable
- type MOTCAPIBusDALBusServiceDTOVersion3BusDepot
- type MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute
- func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) MarshalBinary() ([]byte, error)
- func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) UnmarshalBinary(b []byte) error
- func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) Validate(formats strfmt.Registry) error
- type MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo
- type MOTCAPIBusDALBusServiceDTOVersion3BusN1Data
- type MOTCAPIBusDALBusServiceDTOVersion3BusNetwork
- type MOTCAPIBusDALBusServiceDTOVersion3BusNews
- type MOTCAPIBusDALBusServiceDTOVersion3BusOperator
- type MOTCAPIBusDALBusServiceDTOVersion3BusRoute
- type MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare
- type MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork
- type MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime
- type MOTCAPIBusDALBusServiceDTOVersion3BusSchedule
- type MOTCAPIBusDALBusServiceDTOVersion3BusShape
- type MOTCAPIBusDALBusServiceDTOVersion3BusStation
- type MOTCAPIBusDALBusServiceDTOVersion3BusStop
- type MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute
- type MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute
- type MOTCAPIBusDALBusServiceDTOVersion3BusVehicle
- type MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot
- type MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute
- type ServiceDTOVersion3BaseDisplayHealth
- type ServiceDTOVersion3BaseInbound
- type ServiceDTOVersion3BaseNameType
- type ServiceDTOVersion3BaseOutbound
- type ServiceDTOVersion3BasePointType
- type ServiceDTOVersion3BusA1Data
- type ServiceDTOVersion3BusA2Data
- type ServiceDTOVersion3BusAlert
- type ServiceDTOVersion3BusDailyTimeTable
- type ServiceDTOVersion3BusDepot
- type ServiceDTOVersion3BusDisplayStopOfRoute
- type ServiceDTOVersion3BusDisplayStopOfRouteStop
- type ServiceDTOVersion3BusFirstLastTripInfo
- type ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip
- type ServiceDTOVersion3BusFirstLastTripInfoServiceDay
- type ServiceDTOVersion3BusN1Data
- type ServiceDTOVersion3BusNetwork
- type ServiceDTOVersion3BusNetworkLBSMapURL
- type ServiceDTOVersion3BusNetworkMapURL
- type ServiceDTOVersion3BusNews
- type ServiceDTOVersion3BusODFare
- type ServiceDTOVersion3BusODFareFare
- type ServiceDTOVersion3BusODFareOD
- type ServiceDTOVersion3BusOperator
- type ServiceDTOVersion3BusRoute
- type ServiceDTOVersion3BusRouteFare
- type ServiceDTOVersion3BusRouteNetwork
- type ServiceDTOVersion3BusRouteNetworkSegment
- type ServiceDTOVersion3BusRouteOperator
- type ServiceDTOVersion3BusRouteStop
- type ServiceDTOVersion3BusS2STravelTime
- type ServiceDTOVersion3BusS2STravelTimeTravelTime
- type ServiceDTOVersion3BusSchedule
- type ServiceDTOVersion3BusScheduleDatePeriod
- type ServiceDTOVersion3BusScheduleDates
- type ServiceDTOVersion3BusScheduleServiceDay
- type ServiceDTOVersion3BusScheduleSpecialDay
- type ServiceDTOVersion3BusScheduleStopTime
- type ServiceDTOVersion3BusScheduleTimeTable
- type ServiceDTOVersion3BusScope
- type ServiceDTOVersion3BusScopeRoute
- type ServiceDTOVersion3BusScopeStop
- type ServiceDTOVersion3BusScopeSubRoute
- type ServiceDTOVersion3BusScopeTrip
- type ServiceDTOVersion3BusSectionFare
- type ServiceDTOVersion3BusSectionFareBufferZone
- type ServiceDTOVersion3BusSectionFareFare
- type ServiceDTOVersion3BusSectionFareFareBufferZone
- type ServiceDTOVersion3BusServiceType
- type ServiceDTOVersion3BusShape
- type ServiceDTOVersion3BusStageFare
- type ServiceDTOVersion3BusStageFareDiscountPeriod
- type ServiceDTOVersion3BusStageFareFare
- type ServiceDTOVersion3BusStageFareServiceDay
- type ServiceDTOVersion3BusStageFareStage
- type ServiceDTOVersion3BusStation
- type ServiceDTOVersion3BusStop
- type ServiceDTOVersion3BusStopOfRoute
- type ServiceDTOVersion3BusStopOfRouteOperator
- type ServiceDTOVersion3BusStopOfRouteStop
- type ServiceDTOVersion3BusStopTime
- type ServiceDTOVersion3BusSubRoute
- type ServiceDTOVersion3BusSubRouteOperator
- type ServiceDTOVersion3BusSubRouteStop
- type ServiceDTOVersion3BusTimeTable
- type ServiceDTOVersion3BusVehicle
- type ServiceDTOVersion3BusVehicleDepot
- type ServiceDTOVersion3BusVehicleDepotVehicle
- type ServiceDTOVersion3BusVehicleRoute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusA1Data ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusA1Data struct { // 資料(陣列) // Required: true A1Datas []*ServiceDTOVersion3BusA1Data `json:"A1Datas"` // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusA1Data BusA1DataList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.A1Data]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusA1Data) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusA1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusA1Data) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusA1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusA2Data ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusA2Data struct { // 資料(陣列) // Required: true A2Datas []*ServiceDTOVersion3BusA2Data `json:"A2Datas"` // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusA2Data BusA2DataList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.A2Data]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusA2Data) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusA2Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusA2Data) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusA2Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusAlert ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusAlert struct { // 資料(陣列) // Required: true Alerts []*ServiceDTOVersion3BusAlert `json:"Alerts"` // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusAlert BusAlertList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Alert]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusAlert) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusAlert) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusAlert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true DailyTimeTables []*ServiceDTOVersion3BusDailyTimeTable `json:"DailyTimeTables"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable BusDailyTimeTableList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.DailyTimeTable]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDailyTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusDepot ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusDepot struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Depots []*ServiceDTOVersion3BusDepot `json:"Depots"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusDepot BusDepotList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Depot]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusDepot) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDepot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusDepot) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDepot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true DisplayStopOfRoutes []*ServiceDTOVersion3BusDisplayStopOfRoute `json:"DisplayStopOfRoutes"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute BusDisplayStopOfRouteList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.DisplayStopOfRoute]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusDisplayStopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true FirstLastTripInfos []*ServiceDTOVersion3BusFirstLastTripInfo `json:"FirstLastTripInfos"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo BusFirstLastTripInfoList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.FirstLastTripInfo]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusFirstLastTripInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusN1Data ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusN1Data struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true N1Datas []*ServiceDTOVersion3BusN1Data `json:"N1Datas"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusN1Data BusN1DataList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.N1Data]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusN1Data) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusN1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusN1Data) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusN1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusNetwork ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusNetwork struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Networks []*ServiceDTOVersion3BusNetwork `json:"Networks"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusNetwork BusNetworkList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Network]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusNetwork) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusNetwork) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusNews ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusNews struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Newses []*ServiceDTOVersion3BusNews `json:"Newses"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusNews BusNewsList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.News]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusNews) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusNews) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusNews) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusNews) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusOperator ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusOperator struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Operators []*ServiceDTOVersion3BusOperator `json:"Operators"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusOperator BusOperatorList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Operator]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusOperator) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusOperator) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusRoute ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusRoute struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Routes []*ServiceDTOVersion3BusRoute `json:"Routes"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusRoute BusRouteList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Route]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusRoute) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusRoute) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true RouteFares []*ServiceDTOVersion3BusRouteFare `json:"RouteFares"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare BusRouteFareList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.RouteFare]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusRouteFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true RouteNetworks []*ServiceDTOVersion3BusRouteNetwork `json:"RouteNetworks"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork BusRouteNetworkList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.RouteNetwork]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusRouteNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true S2STravelTimes []*ServiceDTOVersion3BusS2STravelTime `json:"S2STravelTimes"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime BusS2STravelTimeList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.S2STravelTime]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusS2STravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusSchedule ¶ added in v0.3.0
type MOTCAPIBusDALBusServiceDTOVersion3BusSchedule struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Schedules []*ServiceDTOVersion3BusSchedule `json:"Schedules"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusSchedule BusScheduleList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Schedule]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusSchedule) MarshalBinary ¶ added in v0.3.0
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusSchedule) UnmarshalBinary ¶ added in v0.3.0
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusShape ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusShape struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 資料(陣列) // Required: true Shapes []*ServiceDTOVersion3BusShape `json:"Shapes"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusShape BusShapeList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Shape]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusShape) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusShape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusShape) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusShape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusStation ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusStation struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // 資料(陣列) // Required: true Stations []*ServiceDTOVersion3BusStation `json:"Stations"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusStation BusStationList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Station]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusStation) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusStation) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusStop ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusStop struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // 資料(陣列) // Required: true Stops []*ServiceDTOVersion3BusStop `json:"Stops"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusStop BusStopList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Stop]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusStop) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusStop) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // 資料(陣列) // Required: true StopOfRoutes []*ServiceDTOVersion3BusStopOfRoute `json:"StopOfRoutes"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute BusStopOfRouteList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.StopOfRoute]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusStopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // 資料(陣列) // Required: true SubRoutes []*ServiceDTOVersion3BusSubRoute `json:"SubRoutes"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute BusSubRouteList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.SubRoute]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusSubRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusVehicle ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusVehicle struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料(陣列) // Required: true Vehicles []*ServiceDTOVersion3BusVehicle `json:"Vehicles"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusVehicle BusVehicleList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.Vehicle]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusVehicle) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusVehicle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusVehicle) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusVehicle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料(陣列) // Required: true VehicleDepots []*ServiceDTOVersion3BusVehicleDepot `json:"VehicleDepots"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot BusVehicleDepotList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.VehicleDepot]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusVehicleDepot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute ¶
type MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute struct { // 業管機關簡碼 // Required: true AuthorityCode *string `json:"AuthorityCode"` // 資料總筆數 Count int64 `json:"Count,omitempty"` // 來源端平台資料更新週期(秒)['-1: 不定期更新'] // Required: true SrcUpdateInterval *int32 `json:"SrcUpdateInterval"` // DateTime // // [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true SrcUpdateTime *string `json:"SrcUpdateTime"` // [平臺]資料更新週期(秒) // Required: true UpdateInterval *int32 `json:"UpdateInterval"` // DateTime // // [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true UpdateTime *string `json:"UpdateTime"` // 資料(陣列) // Required: true VehicleRoutes []*ServiceDTOVersion3BusVehicleRoute `json:"VehicleRoutes"` // 資料版本編號 VersionID int32 `json:"VersionID,omitempty"` }
MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute BusVehicleRouteList
swagger:model MOTC.API.Bus.DAL.Bus[Service.DTO.Version3.Bus.VehicleRoute]
func (*MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute) MarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute) UnmarshalBinary ¶
func (m *MOTCAPIBusDALBusServiceDTOVersion3BusVehicleRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BaseDisplayHealth ¶ added in v0.5.0
type ServiceDTOVersion3BaseDisplayHealth struct { // Inbound // // 本平台資料來源轉入狀態 Inbound *ServiceDTOVersion3BaseInbound `json:"Inbound,omitempty"` // Outbound // // 本平台API狀態 Outbound *ServiceDTOVersion3BaseOutbound `json:"Outbound,omitempty"` // API服務代碼 // Required: true ServiceID *string `json:"ServiceID"` // API服務中文名稱 // Required: true ServiceName *string `json:"ServiceName"` }
ServiceDTOVersion3BaseDisplayHealth DisplayHealth
API服務健康狀態 ¶
swagger:model Service.DTO.Version3.Base.DisplayHealth
func (*ServiceDTOVersion3BaseDisplayHealth) MarshalBinary ¶ added in v0.5.0
func (m *ServiceDTOVersion3BaseDisplayHealth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BaseDisplayHealth) UnmarshalBinary ¶ added in v0.5.0
func (m *ServiceDTOVersion3BaseDisplayHealth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BaseInbound ¶ added in v0.3.0
type ServiceDTOVersion3BaseInbound struct { // DateTime // // 檢核時間 // Required: true CheckTime *string `json:"CheckTime"` // 檢核失敗原因 Reason string `json:"Reason,omitempty"` // integer // // 檢核結果狀態 : [0:'失敗',1:'成功'] // Required: true Status *int32 `json:"Status"` }
ServiceDTOVersion3BaseInbound Inbound
本平台資料來源轉入狀態
swagger:model Service.DTO.Version3.Base.Inbound
func (*ServiceDTOVersion3BaseInbound) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BaseInbound) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BaseInbound) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BaseInbound) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BaseNameType ¶
type ServiceDTOVersion3BaseNameType struct { // 英文名稱 En string `json:"En,omitempty"` // 中文繁體名稱 ZhTw string `json:"Zh_tw,omitempty"` }
ServiceDTOVersion3BaseNameType NameType
名稱資料型別
swagger:model Service.DTO.Version3.Base.NameType
func (*ServiceDTOVersion3BaseNameType) MarshalBinary ¶
func (m *ServiceDTOVersion3BaseNameType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BaseNameType) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BaseNameType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BaseOutbound ¶ added in v0.3.0
type ServiceDTOVersion3BaseOutbound struct { // DateTime // // 檢核時間 // Required: true CheckTime *string `json:"CheckTime"` // 檢核失敗原因 Reason string `json:"Reason,omitempty"` // integer // // 檢核結果狀態 : [0:'失敗',1:'成功'] // Required: true Status *int32 `json:"Status"` }
ServiceDTOVersion3BaseOutbound Outbound
本平台API狀態
swagger:model Service.DTO.Version3.Base.Outbound
func (*ServiceDTOVersion3BaseOutbound) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BaseOutbound) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BaseOutbound) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BaseOutbound) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BasePointType ¶
type ServiceDTOVersion3BasePointType struct { // 位置緯度(WGS84) PositionLat float64 `json:"PositionLat,omitempty"` // 位置經度(WGS84) PositionLon float64 `json:"PositionLon,omitempty"` }
ServiceDTOVersion3BasePointType PointType
座標資料型別
swagger:model Service.DTO.Version3.Base.PointType
func (*ServiceDTOVersion3BasePointType) MarshalBinary ¶
func (m *ServiceDTOVersion3BasePointType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BasePointType) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BasePointType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusA1Data ¶
type ServiceDTOVersion3BusA1Data struct { // 方位角 // Required: true Azimuth *float64 `json:"Azimuth"` // PointType // // 車輛位置經度 // Required: true BusPosition *ServiceDTOVersion3BasePointType `json:"BusPosition"` // integer // // 行車狀況 : [0:'正常',1:'車禍',2:'故障',3:'塞車',4:'緊急求援',5:'加油',90:'不明',91:'去回不明',98:'偏移路線',99:'非營運狀態',100:'客滿',101:'包車出租',255:'未知'] // Required: true BusStatus *int32 `json:"BusStatus"` // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // integer // // 勤務狀態 : [0:'正常',1:'開始',2:'結束'] // Required: true DutyStatus *int32 `json:"DutyStatus"` // DateTime // // 車機系統紀錄時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) GPSTime string `json:"GPSTime,omitempty"` // DateTime // // 車機系統傳送日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) GPSTransTime string `json:"GPSTransTime,omitempty"` // integer // // 資料型態種類 : [0:'未知',1:'定期',2:'非定期'] MessageType int32 `json:"MessageType,omitempty"` // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // NameType // // 營運業者名稱 OperatorName *ServiceDTOVersion3BaseNameType `json:"OperatorName,omitempty"` // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb"` // DateTime // // 來源端平台接收時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true RecTime *string `json:"RecTime"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName,omitempty"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 RouteUID string `json:"RouteUID,omitempty"` // 行駛速度(kph) // Required: true Speed *float64 `json:"Speed"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` // DateTime // // 來源端平台資料傳出時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true TransTime *string `json:"TransTime"` // 班次代碼 TripID string `json:"TripID,omitempty"` // integer // // 車輛種類 : [1:'一般',2:'復康巴士',3:'專車',4:'其他'] VehicleType int32 `json:"VehicleType,omitempty"` }
ServiceDTOVersion3BusA1Data A1Data
swagger:model Service.DTO.Version3.Bus.A1Data
func (*ServiceDTOVersion3BusA1Data) MarshalBinary ¶
func (m *ServiceDTOVersion3BusA1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusA1Data) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusA1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusA2Data ¶
type ServiceDTOVersion3BusA2Data struct { // integer // // 進站離站 : [0:'離站',1:'進站'] // Required: true A2EventType *int32 `json:"A2EventType"` // integer // // 行車狀況 : [0:'正常',1:'車禍',2:'故障',3:'塞車',4:'緊急求援',5:'加油',90:'不明',91:'去回不明',98:'偏移路線',99:'非營運狀態',100:'客滿',101:'包車出租',255:'未知'] BusStatus int32 `json:"BusStatus,omitempty"` // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // integer // // 勤務狀態 : [0:'正常',1:'開始',2:'結束'] DutyStatus int32 `json:"DutyStatus,omitempty"` // DateTime // // 車機系統紀錄時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) GPSTime string `json:"GPSTime,omitempty"` // DateTime // // 車機系統傳送日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) GPSTransTime string `json:"GPSTransTime,omitempty"` // integer // // 資料型態種類 : [0:'未知',1:'定期',2:'非定期'] MessageType int32 `json:"MessageType,omitempty"` // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // NameType // // 營運業者名稱 OperatorName *ServiceDTOVersion3BaseNameType `json:"OperatorName,omitempty"` // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb"` // DateTime // // 來源端平台接收時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true RecTime *string `json:"RecTime"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName,omitempty"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 RouteUID string `json:"RouteUID,omitempty"` // 地區既用中之站牌代號(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 StopUID string `json:"StopUID,omitempty"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` // DateTime // // 來源端平台資料傳出時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true TransTime *string `json:"TransTime"` // 班次代碼 TripID string `json:"TripID,omitempty"` // integer // // 車輛種類 : [1:'一般',2:'復康巴士',3:'專車',4:'其他'] VehicleType int32 `json:"VehicleType,omitempty"` }
ServiceDTOVersion3BusA2Data A2Data
swagger:model Service.DTO.Version3.Bus.A2Data
func (*ServiceDTOVersion3BusA2Data) MarshalBinary ¶
func (m *ServiceDTOVersion3BusA2Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusA2Data) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusA2Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusAlert ¶
type ServiceDTOVersion3BusAlert struct { // 通阻事件原單位發布代碼 // Required: true AlertID *string `json:"AlertID"` // 詳細描述網站連結 AlertURL string `json:"AlertURL,omitempty"` // 事件描述 Description string `json:"Description,omitempty"` // 影響方向 Direction string `json:"Direction,omitempty"` // DateTime // // 結束日期時間 EndTime string `json:"EndTime,omitempty"` // DateTime // // 消息公告日期時間 PublishTime string `json:"PublishTime,omitempty"` // Scope // // 通阻影響範圍 // Required: true Scope *ServiceDTOVersion3BusScope `json:"Scope"` // DateTime // // [來源端平臺]此筆資料最後更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) SrcUpdateTime string `json:"SrcUpdateTime,omitempty"` // DateTime // // 開始日期時間 StartTime string `json:"StartTime,omitempty"` // 通阻標題 Title string `json:"Title,omitempty"` }
ServiceDTOVersion3BusAlert Alert
swagger:model Service.DTO.Version3.Bus.Alert
func (*ServiceDTOVersion3BusAlert) MarshalBinary ¶
func (m *ServiceDTOVersion3BusAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusAlert) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusAlert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusDailyTimeTable ¶
type ServiceDTOVersion3BusDailyTimeTable struct { // DateTime // // 適用日期 // Required: true Date *string `json:"Date"` // integer // // 去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` // 預定班表 Timetables []*ServiceDTOVersion3BusTimeTable `json:"Timetables"` }
ServiceDTOVersion3BusDailyTimeTable DailyTimeTable
每日時刻表資料
swagger:model Service.DTO.Version3.Bus.DailyTimeTable
func (*ServiceDTOVersion3BusDailyTimeTable) MarshalBinary ¶
func (m *ServiceDTOVersion3BusDailyTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusDailyTimeTable) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusDailyTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusDepot ¶
type ServiceDTOVersion3BusDepot struct { // 營業所地址 // Required: true DepotAddress *string `json:"DepotAddress"` // 營業所代碼 // Required: true DepotID *string `json:"DepotID"` // NameType // // 營業所名稱 // Required: true DepotName *ServiceDTOVersion3BaseNameType `json:"DepotName"` // 營業所電話 // Required: true DepotPhone *string `json:"DepotPhone"` // PointType // // 營業所位置 // Required: true DepotPosition *ServiceDTOVersion3BasePointType `json:"DepotPosition"` // 營業所唯一識別代碼,規則為 {業管機關簡碼} + {DepotID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true DepotUID *string `json:"DepotUID"` }
ServiceDTOVersion3BusDepot Depot
swagger:model Service.DTO.Version3.Bus.Depot
func (*ServiceDTOVersion3BusDepot) MarshalBinary ¶
func (m *ServiceDTOVersion3BusDepot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusDepot) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusDepot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusDisplayStopOfRoute ¶
type ServiceDTOVersion3BusDisplayStopOfRoute struct { // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 路線站序資料 // Required: true Stops []*ServiceDTOVersion3BusDisplayStopOfRouteStop `json:"Stops"` }
ServiceDTOVersion3BusDisplayStopOfRoute DisplayStopOfRoute
swagger:model Service.DTO.Version3.Bus.DisplayStopOfRoute
func (*ServiceDTOVersion3BusDisplayStopOfRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusDisplayStopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusDisplayStopOfRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusDisplayStopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusDisplayStopOfRouteStop ¶
type ServiceDTOVersion3BusDisplayStopOfRouteStop struct { // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 // Required: true StopName *ServiceDTOVersion3BaseNameType `json:"StopName"` // PointType // // 站牌位置 // Required: true StopPosition *ServiceDTOVersion3BasePointType `json:"StopPosition"` // 路線經過站牌之順序 // Required: true StopSequence *int32 `json:"StopSequence"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` }
ServiceDTOVersion3BusDisplayStopOfRouteStop Stop
路線站序資料
swagger:model Service.DTO.Version3.Bus.DisplayStopOfRoute.Stop
func (*ServiceDTOVersion3BusDisplayStopOfRouteStop) MarshalBinary ¶
func (m *ServiceDTOVersion3BusDisplayStopOfRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusDisplayStopOfRouteStop) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusDisplayStopOfRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusFirstLastTripInfo ¶
type ServiceDTOVersion3BusFirstLastTripInfo struct { // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] Direction int32 `json:"Direction,omitempty"` // 路線首末班車資訊 // Required: true FirstLastTrips []*ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip `json:"FirstLastTrips"` // 營運業者代碼 OperatorID string `json:"OperatorID,omitempty"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` }
ServiceDTOVersion3BusFirstLastTripInfo FirstLastTripInfo
swagger:model Service.DTO.Version3.Bus.FirstLastTripInfo
func (*ServiceDTOVersion3BusFirstLastTripInfo) MarshalBinary ¶
func (m *ServiceDTOVersion3BusFirstLastTripInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusFirstLastTripInfo) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusFirstLastTripInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip ¶
type ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip struct { // 頭班車發車時間(HH:mm) // Required: true FirstTripDepTime *string `json:"FirstTripDepTime"` // 末班車發車時間(HH:mm) // Required: true LastTripDepTime *string `json:"LastTripDepTime"` // ServiceDay // // 服務日型態 // Required: true ServiceDay *ServiceDTOVersion3BusFirstLastTripInfoServiceDay `json:"ServiceDay"` }
ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip FirstLastTrip
swagger:model Service.DTO.Version3.Bus.FirstLastTripInfo.FirstLastTrip
func (*ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip) MarshalBinary ¶
func (m *ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusFirstLastTripInfoFirstLastTrip) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusFirstLastTripInfoServiceDay ¶
type ServiceDTOVersion3BusFirstLastTripInfoServiceDay struct { // 國定假日後一日營運與否 DayAfterNationalHoliday bool `json:"DayAfterNationalHoliday,omitempty"` // 國定假日前一日營運與否 DayBeforeNationalHoliday bool `json:"DayBeforeNationalHoliday,omitempty"` // 星期五營運與否 Friday bool `json:"Friday,omitempty"` // 星期一營運與否 Monday bool `json:"Monday,omitempty"` // 國定假日營運與否 NationalHolidays bool `json:"NationalHolidays,omitempty"` // 星期六營運與否 Saturday bool `json:"Saturday,omitempty"` // 服務日標籤 ServiceTag string `json:"ServiceTag,omitempty"` // 星期日營運與否 Sunday bool `json:"Sunday,omitempty"` // 星期四營運與否 Thursday bool `json:"Thursday,omitempty"` // 星期二營運與否 Tuesday bool `json:"Tuesday,omitempty"` // 颱風停止上班上課期間營運與否 TyphoonDay bool `json:"TyphoonDay,omitempty"` // 星期三營運與否 Wednesday bool `json:"Wednesday,omitempty"` }
ServiceDTOVersion3BusFirstLastTripInfoServiceDay ServiceDay
swagger:model Service.DTO.Version3.Bus.FirstLastTripInfo.ServiceDay
func (*ServiceDTOVersion3BusFirstLastTripInfoServiceDay) MarshalBinary ¶
func (m *ServiceDTOVersion3BusFirstLastTripInfoServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusFirstLastTripInfoServiceDay) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusFirstLastTripInfoServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusN1Data ¶
type ServiceDTOVersion3BusN1Data struct { // 車輛目前所在站牌代碼 CurrentStop string `json:"CurrentStop,omitempty"` // DateTime // // 系統演算該筆預估到站資料的時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) DataTime string `json:"DataTime,omitempty"` // 迄點站站牌ID代碼 DestinationStopID string `json:"DestinationStopID,omitempty"` // NameType // // 迄點站站牌名稱 DestinationStopName *ServiceDTOVersion3BaseNameType `json:"DestinationStopName,omitempty"` // integer // // 車輛去返程(該方向指的是此公車運具目前所在路線的去返程方向,非指站牌所在路線的去返程方向,使用時請加值業者多加注意) : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 到站時間預估(秒) [當StopStatus値為1~4或PlateNumb値為-1時,EstimateTime値為空値; 反之,EstimateTime有値] EstimateTime int32 `json:"EstimateTime,omitempty"` // 是否為末班車 IsLastBus bool `json:"IsLastBus,omitempty"` // 車牌號碼 [値為値為-1時,表示目前該站牌無車輛行駛] PlateNumb string `json:"PlateNumb,omitempty"` // DateTime // // 來源端平台接收時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true RecTime *string `json:"RecTime"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName,omitempty"` // 路線唯一識別代碼,規則為 {業管機關代碼} + {RouteID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 RouteUID string `json:"RouteUID,omitempty"` // 預排班表時間 ScheduledTime string `json:"ScheduledTime,omitempty"` // 路線經過站牌之順序 StopCountDown int32 `json:"StopCountDown,omitempty"` // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // integer // // 車輛狀態備註 : [0:'正常',1:'尚未發車',2:'交管不停靠',3:'末班車已過',4:'今日未營運'] StopStatus int32 `json:"StopStatus,omitempty"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 StopUID string `json:"StopUID,omitempty"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` // DateTime // // 來源端平台資料傳出時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true TransTime *string `json:"TransTime"` }
ServiceDTOVersion3BusN1Data N1Data
swagger:model Service.DTO.Version3.Bus.N1Data
func (*ServiceDTOVersion3BusN1Data) MarshalBinary ¶
func (m *ServiceDTOVersion3BusN1Data) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusN1Data) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusN1Data) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusNetwork ¶
type ServiceDTOVersion3BusNetwork struct { // 適地性路網圖資網址URL LBSMapURLs []*ServiceDTOVersion3BusNetworkLBSMapURL `json:"LBSMapURLs"` // 公車路網代碼 // Required: true NetworkID *string `json:"NetworkID"` // NetworkMapURL // // 路網圖網址URL // Required: true NetworkMapURL *ServiceDTOVersion3BusNetworkMapURL `json:"NetworkMapURL"` // NameType // // 路網名稱 // Required: true NetworkName *ServiceDTOVersion3BaseNameType `json:"NetworkName"` }
ServiceDTOVersion3BusNetwork Network
swagger:model Service.DTO.Version3.Bus.Network
func (*ServiceDTOVersion3BusNetwork) MarshalBinary ¶
func (m *ServiceDTOVersion3BusNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusNetwork) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusNetworkLBSMapURL ¶
type ServiceDTOVersion3BusNetworkLBSMapURL struct { // 路網圖網址URL(英文版) En string `json:"En,omitempty"` // PointType // // 適地性圖資貼放的位置 LBSLocation *ServiceDTOVersion3BasePointType `json:"LBSLocation,omitempty"` // 路網圖 MapName string `json:"MapName,omitempty"` // 路網圖網址URL(中文版) ZhTw string `json:"Zh_tw,omitempty"` }
ServiceDTOVersion3BusNetworkLBSMapURL LBSMapURL
swagger:model Service.DTO.Version3.Bus.Network.LBSMapURL
func (*ServiceDTOVersion3BusNetworkLBSMapURL) MarshalBinary ¶
func (m *ServiceDTOVersion3BusNetworkLBSMapURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusNetworkLBSMapURL) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusNetworkLBSMapURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusNetworkMapURL ¶
type ServiceDTOVersion3BusNetworkMapURL struct { // 路網圖名稱 // Required: true MapName *string `json:"MapName"` // NameType // // 路網圖網址URL // Required: true MapNameURL *ServiceDTOVersion3BaseNameType `json:"MapNameURL"` }
ServiceDTOVersion3BusNetworkMapURL NetworkMapURL
swagger:model Service.DTO.Version3.Bus.NetworkMapURL
func (*ServiceDTOVersion3BusNetworkMapURL) MarshalBinary ¶
func (m *ServiceDTOVersion3BusNetworkMapURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusNetworkMapURL) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusNetworkMapURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusNews ¶
type ServiceDTOVersion3BusNews struct { // 相關網站連結 AttachmentURL string `json:"AttachmentURL,omitempty"` // 發布單位 Department string `json:"Department,omitempty"` // 內容描述 // Required: true Description *string `json:"Description"` // DateTime // // 結束時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) EndTime string `json:"EndTime,omitempty"` // 語系 // Required: true Language *string `json:"Language"` // 消息類別= ['1: 最新消息', '2: 新聞稿', '3: 營運資訊', '4: 轉乘資訊', '5: 活動訊息', '6: 系統公告', '99: 其他'] // Required: true NewsCategory *string `json:"NewsCategory"` // 最新消息原單位發布代碼 // Required: true NewsID *string `json:"NewsID"` // 報導網站連結 NewsURL string `json:"NewsURL,omitempty"` // DateTime // // 消息公告日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) // Required: true PublishTime *string `json:"PublishTime"` // DateTime // // [來源端平臺]此筆資料最後更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) SrcUpdateTime string `json:"SrcUpdateTime,omitempty"` // DateTime // // 開始時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) StartTime string `json:"StartTime,omitempty"` // 消息標題 // Required: true Title *string `json:"Title"` }
ServiceDTOVersion3BusNews News
swagger:model Service.DTO.Version3.Bus.News
func (*ServiceDTOVersion3BusNews) MarshalBinary ¶
func (m *ServiceDTOVersion3BusNews) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusNews) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusNews) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusODFare ¶
type ServiceDTOVersion3BusODFare struct { // OD // // 計費迄點 // Required: true DestinationStops *ServiceDTOVersion3BusODFareOD `json:"DestinationStops"` // integer // // 方向性描述 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 計費價格 // Required: true Fares []*ServiceDTOVersion3BusODFareFare `json:"Fares"` // OD // // 計費起點 // Required: true OriginStops *ServiceDTOVersion3BusODFareOD `json:"OriginStops"` }
ServiceDTOVersion3BusODFare ODFare
swagger:model Service.DTO.Version3.Bus.ODFare
func (*ServiceDTOVersion3BusODFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusODFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusODFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusODFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusODFareFare ¶
type ServiceDTOVersion3BusODFareFare struct { // integer // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待或愛心陪伴',8:'團體',9:'軍警',10:'由各運業者自行定義的半票'] // Required: true FareClass *int32 `json:"FareClass"` // 計費價格 // Required: true Price *string `json:"Price"` // integer // // 票種類型 : [1:'一般票',2:'來回票',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期',7:'早鳥票',8:'定期票90天期'] // Required: true TicketType *int32 `json:"TicketType"` }
ServiceDTOVersion3BusODFareFare Fare
swagger:model Service.DTO.Version3.Bus.ODFare.Fare
func (*ServiceDTOVersion3BusODFareFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusODFareFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusODFareFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusODFareFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusODFareOD ¶
type ServiceDTOVersion3BusODFareOD struct { // 計費起點站牌代碼 // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` }
ServiceDTOVersion3BusODFareOD OD
swagger:model Service.DTO.Version3.Bus.ODFare.OD
func (*ServiceDTOVersion3BusODFareOD) MarshalBinary ¶
func (m *ServiceDTOVersion3BusODFareOD) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusODFareOD) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusODFareOD) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusOperator ¶
type ServiceDTOVersion3BusOperator struct { // 營運業者票價查詢網站連結 FareURL string `json:"FareURL,omitempty"` // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者電子信箱 // Required: true OperatorEmail *string `json:"OperatorEmail"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // 營運業者Logo網址 OperatorLogoURL string `json:"OperatorLogoURL,omitempty"` // NameType // // 營運業者名稱 // Required: true OperatorName *ServiceDTOVersion3BaseNameType `json:"OperatorName"` // 營運業者編號[交通部票證資料系統定義] OperatorNo string `json:"OperatorNo,omitempty"` // 營運業者連絡電話 // Required: true OperatorPhone *string `json:"OperatorPhone"` // 營運業者網址鏈結 // Required: true OperatorURL *string `json:"OperatorUrl"` // 訂票連絡電話 ReservationPhone string `json:"ReservationPhone,omitempty"` // 訂票網址鏈結 ReservationURL string `json:"ReservationUrl,omitempty"` // 營運業者所屬業管子機關簡碼 SubAuthorityCode string `json:"SubAuthorityCode,omitempty"` }
ServiceDTOVersion3BusOperator Operator
swagger:model Service.DTO.Version3.Bus.Operator
func (*ServiceDTOVersion3BusOperator) MarshalBinary ¶
func (m *ServiceDTOVersion3BusOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusOperator) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusRoute ¶
type ServiceDTOVersion3BusRoute struct { // NameType // // 路線起站名稱 // Required: true DepartureStopName *ServiceDTOVersion3BaseNameType `json:"DepartureStopName"` // NameType // // 路線迄站名稱 // Required: true DestinationStopName *ServiceDTOVersion3BaseNameType `json:"DestinationStopName"` // Stop // // 終點站牌 // Required: true EndStop *ServiceDTOVersion3BusRouteStop `json:"EndStop"` // NameType // // 計費緩衝區敘述 FareBufferZoneDescription *ServiceDTOVersion3BaseNameType `json:"FareBufferZoneDescription,omitempty"` // 收費資訊說明網址 FareURL string `json:"FareURL,omitempty"` // 實際上是否有多條附屬路線。(此欄位值與SubRoutes結構並無強烈的絕對關聯。詳細說明請參閱swagger上方的【資料服務使用注意事項】) // Required: true HasSubRoutes *bool `json:"HasSubRoutes"` // 是否為環狀線 // Required: true IsCircular *bool `json:"IsCircular"` // 路線公車動態資訊網址 LiveBusURL string `json:"LiveBusURL,omitempty"` // 營運業者 // Required: true Operators []*ServiceDTOVersion3BusRouteOperator `json:"Operators"` // 路線描述 RouteDescription string `json:"RouteDescription,omitempty"` // 路線旅行長度 RouteDistance float32 `json:"RouteDistance,omitempty"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線長名稱 RouteLongName *ServiceDTOVersion3BaseNameType `json:"RouteLongName,omitempty"` // 路線簡圖網址 RouteMapImageURL string `json:"RouteMapImageURL,omitempty"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // integer // // 公車路線類別 : [11:'市區公車',12:'公路客運',13:'國道客運'] // Required: true RouteType *int32 `json:"RouteType"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 路線資訊說明網址 RouteURL string `json:"RouteURL,omitempty"` // ServiceType // // 公車路線服務類型 // Required: true ServiceType *ServiceDTOVersion3BusServiceType `json:"ServiceType"` // Stop // // 起始站牌 // Required: true StartStop *ServiceDTOVersion3BusRouteStop `json:"StartStop"` // NameType // // 票價描述 // Required: true TicketPriceDescription *ServiceDTOVersion3BaseNameType `json:"TicketPriceDescription"` }
ServiceDTOVersion3BusRoute Route
路線資料型別
swagger:model Service.DTO.Version3.Bus.Route
func (*ServiceDTOVersion3BusRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusRouteFare ¶
type ServiceDTOVersion3BusRouteFare struct { // integer // // 描述該路線計費方式 : [0:'段次計費',1:'起迄站間計費',2:'計費站區間計費'] // Required: true FarePricingType *int32 `json:"FarePricingType"` // integer // // 該收費方式是否應用到所有附屬路線 : [0:'否',1:'是'] // Required: true IsForAllSubRoutes *int32 `json:"IsForAllSubRoutes"` // integer // // 是否為免費公車 : [0:'否',1:'是'] // Required: true IsFreeBus *int32 `json:"IsFreeBus"` // 起迄站間計費 ODFares []*ServiceDTOVersion3BusODFare `json:"ODFares"` // 營運業者代碼 OperatorID string `json:"OperatorID,omitempty"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName,omitempty"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 段次計費 SectionFares []*ServiceDTOVersion3BusSectionFare `json:"SectionFares"` // 計費站區間計費 StageFares []*ServiceDTOVersion3BusStageFare `json:"StageFares"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` }
ServiceDTOVersion3BusRouteFare RouteFare
swagger:model Service.DTO.Version3.Bus.RouteFare
func (*ServiceDTOVersion3BusRouteFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusRouteFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusRouteNetwork ¶
type ServiceDTOVersion3BusRouteNetwork struct { // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 站間線段序號 // Required: true Segments []*ServiceDTOVersion3BusRouteNetworkSegment `json:"Segments"` }
ServiceDTOVersion3BusRouteNetwork RouteNetwork
swagger:model Service.DTO.Version3.Bus.RouteNetwork
func (*ServiceDTOVersion3BusRouteNetwork) MarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusRouteNetwork) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusRouteNetworkSegment ¶
type ServiceDTOVersion3BusRouteNetworkSegment struct { // 站間線段距離 // Required: true Distance *float32 `json:"Distance"` // 表BusStop唯一碼(起點站牌) // Required: true FromStopID *string `json:"FromStopID"` // 站間線段序號 // Required: true Sequence *float32 `json:"Sequence"` // 表BusStop唯一碼(迄點站牌) // Required: true ToStopID *string `json:"ToStopID"` }
ServiceDTOVersion3BusRouteNetworkSegment Segment
swagger:model Service.DTO.Version3.Bus.RouteNetwork.Segment
func (*ServiceDTOVersion3BusRouteNetworkSegment) MarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteNetworkSegment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusRouteNetworkSegment) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteNetworkSegment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusRouteOperator ¶
type ServiceDTOVersion3BusRouteOperator struct { // 平台代碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // NameType // // 營運業者代碼 // Required: true OperatorName *ServiceDTOVersion3BaseNameType `json:"OperatorName"` // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo"` }
ServiceDTOVersion3BusRouteOperator Operator
營運業者資訊
swagger:model Service.DTO.Version3.Bus.Route.Operator
func (*ServiceDTOVersion3BusRouteOperator) MarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusRouteOperator) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusRouteStop ¶
type ServiceDTOVersion3BusRouteStop struct { // 站牌代碼 // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 // Required: true StopName *ServiceDTOVersion3BaseNameType `json:"StopName"` }
ServiceDTOVersion3BusRouteStop Stop
swagger:model Service.DTO.Version3.Bus.Route.Stop
func (*ServiceDTOVersion3BusRouteStop) MarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusRouteStop) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusS2STravelTime ¶
type ServiceDTOVersion3BusS2STravelTime struct { // 路線代碼 // Required: true RouteID *string `json:"RouteID"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 附屬路線代碼 SubRouteID string `json:"SubRouteID,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` // 站間運行時間資訊 // Required: true TravelTimes []*ServiceDTOVersion3BusS2STravelTimeTravelTime `json:"TravelTimes"` }
ServiceDTOVersion3BusS2STravelTime S2STravelTime
swagger:model Service.DTO.Version3.Bus.S2STravelTime
func (*ServiceDTOVersion3BusS2STravelTime) MarshalBinary ¶
func (m *ServiceDTOVersion3BusS2STravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusS2STravelTime) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusS2STravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusS2STravelTimeTravelTime ¶
type ServiceDTOVersion3BusS2STravelTimeTravelTime struct { // 站間距離 // Required: true Distance *float32 `json:"Distance"` // 起站站牌代碼 // Required: true FromStopID *string `json:"FromStopID"` // 站間預估行駛時間 // Required: true RunTime *int32 `json:"RunTime"` // 站間序號 // Required: true Sequence *int32 `json:"Sequence"` // 起站停靠時間 // Required: true StopTime *int32 `json:"StopTime"` // 迄站站牌代碼 // Required: true ToStopID *string `json:"ToStopID"` }
ServiceDTOVersion3BusS2STravelTimeTravelTime TravelTime
swagger:model Service.DTO.Version3.Bus.S2STravelTime.TravelTime
func (*ServiceDTOVersion3BusS2STravelTimeTravelTime) MarshalBinary ¶
func (m *ServiceDTOVersion3BusS2STravelTimeTravelTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusS2STravelTimeTravelTime) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusS2STravelTimeTravelTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSchedule ¶ added in v0.3.0
type ServiceDTOVersion3BusSchedule struct { // integer // // 去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 營運班表說明網址 ScheduleURL string `json:"ScheduleURL,omitempty"` // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` // 預定時刻表 Timetables []*ServiceDTOVersion3BusScheduleTimeTable `json:"Timetables"` }
ServiceDTOVersion3BusSchedule Schedule
營運班表資料
swagger:model Service.DTO.Version3.Bus.Schedule
func (*ServiceDTOVersion3BusSchedule) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSchedule) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScheduleDatePeriod ¶ added in v0.3.0
type ServiceDTOVersion3BusScheduleDatePeriod struct { // 結束日期 // Required: true EndDate *string `json:"EndDate"` // 開始日期 // Required: true StartDate *string `json:"StartDate"` }
ServiceDTOVersion3BusScheduleDatePeriod DatePeriod
swagger:model Service.DTO.Version3.Bus.Schedule.DatePeriod
func (*ServiceDTOVersion3BusScheduleDatePeriod) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleDatePeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScheduleDatePeriod) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleDatePeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScheduleDates ¶ added in v0.3.0
type ServiceDTOVersion3BusScheduleDates struct { // 特殊日期 // Required: true Date *string `json:"Date"` }
ServiceDTOVersion3BusScheduleDates Dates
swagger:model Service.DTO.Version3.Bus.Schedule.Dates
func (*ServiceDTOVersion3BusScheduleDates) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleDates) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScheduleDates) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleDates) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScheduleServiceDay ¶ added in v0.3.0
type ServiceDTOVersion3BusScheduleServiceDay struct { // 國定假日後一日營運與否 DayAfterHoliday bool `json:"DayAfterHoliday,omitempty"` // 國定假日前一日營運與否 DayBeforeHoliday bool `json:"DayBeforeHoliday,omitempty"` // 星期五營運與否 Friday bool `json:"Friday,omitempty"` // 星期一營運與否 Monday bool `json:"Monday,omitempty"` // 國定假日營運與否 NationalHolidays bool `json:"NationalHolidays,omitempty"` // 星期六營運與否 Saturday bool `json:"Saturday,omitempty"` // 服務日標籤 ServiceTag string `json:"ServiceTag,omitempty"` // 星期日營運與否 Sunday bool `json:"Sunday,omitempty"` // 星期四營運與否 Thursday bool `json:"Thursday,omitempty"` // 星期二營運與否 Tuesday bool `json:"Tuesday,omitempty"` // 颱風停止上班上課期間營運與否 TyphoonDay bool `json:"TyphoonDay,omitempty"` // 星期三營運與否 Wednesday bool `json:"Wednesday,omitempty"` }
ServiceDTOVersion3BusScheduleServiceDay ServiceDay
swagger:model Service.DTO.Version3.Bus.Schedule.ServiceDay
func (*ServiceDTOVersion3BusScheduleServiceDay) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScheduleServiceDay) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScheduleSpecialDay ¶ added in v0.3.0
type ServiceDTOVersion3BusScheduleSpecialDay struct { // DatePeriod // // 連續特殊日期 // Required: true DatePeriod *ServiceDTOVersion3BusScheduleDatePeriod `json:"DatePeriod"` // Dates // // 不連續特殊日期 // Required: true Dates *ServiceDTOVersion3BusScheduleDates `json:"Dates"` // 特殊營運描述 // Required: true Description *string `json:"Description"` // 營運服務狀態代碼0=停止營運, 1=正常營運 , 2=加班營運 // Required: true ServiceStatus *int32 `json:"ServiceStatus"` }
ServiceDTOVersion3BusScheduleSpecialDay SpecialDay
swagger:model Service.DTO.Version3.Bus.Schedule.SpecialDay
func (*ServiceDTOVersion3BusScheduleSpecialDay) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleSpecialDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScheduleSpecialDay) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleSpecialDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScheduleStopTime ¶ added in v0.3.0
type ServiceDTOVersion3BusScheduleStopTime struct { // 到站時間,格式為:HH:mm // Required: true ArrivalTime *string `json:"ArrivalTime"` // 離站時間,格式為:HH:mm // Required: true DepartureTime *string `json:"DepartureTime"` // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // 路線經過站牌之順序(由1開始) // Required: true StopSequence *int32 `json:"StopSequence"` // 站牌唯一識別代碼,規則為 {業管機關代碼} + {StopID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` }
ServiceDTOVersion3BusScheduleStopTime StopTime
swagger:model Service.DTO.Version3.Bus.Schedule.StopTime
func (*ServiceDTOVersion3BusScheduleStopTime) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleStopTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScheduleStopTime) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleStopTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScheduleTimeTable ¶ added in v0.3.0
type ServiceDTOVersion3BusScheduleTimeTable struct { // 該路線班次是否使用低地板公車車輛 IsLowFloor string `json:"IsLowFloor,omitempty"` // ServiceDay // // 服務日型態 // Required: true ServiceDay *ServiceDTOVersion3BusScheduleServiceDay `json:"ServiceDay"` // 例外營運日 // Required: true SpecialDays []*ServiceDTOVersion3BusScheduleSpecialDay `json:"SpecialDays"` // 公車停靠時間資料 // Required: true StopTimes []*ServiceDTOVersion3BusScheduleStopTime `json:"StopTimes"` // 班次代碼,為無意義之編碼 TripID string `json:"TripID,omitempty"` }
ServiceDTOVersion3BusScheduleTimeTable TimeTable
swagger:model Service.DTO.Version3.Bus.Schedule.TimeTable
func (*ServiceDTOVersion3BusScheduleTimeTable) MarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScheduleTimeTable) UnmarshalBinary ¶ added in v0.3.0
func (m *ServiceDTOVersion3BusScheduleTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScope ¶
type ServiceDTOVersion3BusScope struct { // 路線資料 Routes []*ServiceDTOVersion3BusScopeRoute `json:"Routes"` // 站牌資料 Stops []*ServiceDTOVersion3BusScopeStop `json:"Stops"` // 附屬路線資料 SubRoutes []*ServiceDTOVersion3BusScopeSubRoute `json:"SubRoutes"` // 班次代碼資料 TripIDs []*ServiceDTOVersion3BusScopeTrip `json:"TripIDs"` }
ServiceDTOVersion3BusScope Scope
通阻影響範圍
swagger:model Service.DTO.Version3.Bus.Scope
func (*ServiceDTOVersion3BusScope) MarshalBinary ¶
func (m *ServiceDTOVersion3BusScope) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScope) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusScope) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScopeRoute ¶
type ServiceDTOVersion3BusScopeRoute struct { // 地區既用中之班次代碼(為原資料內碼) RouteID string `json:"RouteID,omitempty"` // NameType // // 路線名稱 RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName,omitempty"` }
ServiceDTOVersion3BusScopeRoute Route
路線資料
swagger:model Service.DTO.Version3.Bus.Scope.Route
func (*ServiceDTOVersion3BusScopeRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScopeRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScopeStop ¶
type ServiceDTOVersion3BusScopeStop struct { // 地區既用中之站牌代碼(為原資料內碼) StopID string `json:"StopID,omitempty"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` }
ServiceDTOVersion3BusScopeStop Stop
站牌資料
swagger:model Service.DTO.Version3.Bus.Scope.Stop
func (*ServiceDTOVersion3BusScopeStop) MarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScopeStop) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScopeSubRoute ¶
type ServiceDTOVersion3BusScopeSubRoute struct { // 地區既用中之附屬班次代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` }
ServiceDTOVersion3BusScopeSubRoute SubRoute
附屬路線資料
swagger:model Service.DTO.Version3.Bus.Scope.SubRoute
func (*ServiceDTOVersion3BusScopeSubRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeSubRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScopeSubRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeSubRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusScopeTrip ¶
type ServiceDTOVersion3BusScopeTrip struct { // 地區既用中之班次代碼(為原資料內碼) TripID string `json:"TripID,omitempty"` }
ServiceDTOVersion3BusScopeTrip Trip
班次代碼資料
swagger:model Service.DTO.Version3.Bus.Scope.Trip
func (*ServiceDTOVersion3BusScopeTrip) MarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeTrip) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusScopeTrip) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusScopeTrip) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSectionFare ¶
type ServiceDTOVersion3BusSectionFare struct { // 緩衝區資訊 // Required: true BufferZones []*ServiceDTOVersion3BusSectionFareBufferZone `json:"BufferZones"` // 每段收費資訊 // Required: true Fares []*ServiceDTOVersion3BusSectionFareFare `json:"Fares"` }
ServiceDTOVersion3BusSectionFare SectionFare
swagger:model Service.DTO.Version3.Bus.SectionFare
func (*ServiceDTOVersion3BusSectionFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSectionFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSectionFareBufferZone ¶
type ServiceDTOVersion3BusSectionFareBufferZone struct { // 收費緩衝區描述 BufferZoneDescription string `json:"BufferZoneDescription,omitempty"` // integer // // 方向性描述 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // FareBufferZone // // 緩衝區訖點 // Required: true FareBufferZoneDestination *ServiceDTOVersion3BusSectionFareFareBufferZone `json:"FareBufferZoneDestination"` // FareBufferZone // // 緩衝區起點 // Required: true FareBufferZoneOrigin *ServiceDTOVersion3BusSectionFareFareBufferZone `json:"FareBufferZoneOrigin"` // 緩衝區順序 // Required: true SectionSequence *string `json:"SectionSequence"` // 緩衝區代號 ZoneID string `json:"ZoneID,omitempty"` }
ServiceDTOVersion3BusSectionFareBufferZone BufferZone
swagger:model Service.DTO.Version3.Bus.SectionFare.BufferZone
func (*ServiceDTOVersion3BusSectionFareBufferZone) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFareBufferZone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSectionFareBufferZone) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFareBufferZone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSectionFareFare ¶
type ServiceDTOVersion3BusSectionFareFare struct { // integer // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待或愛心陪伴',8:'團體',9:'軍警',10:'由各運業者自行定義的半票'] // Required: true FareClass *int32 `json:"FareClass"` // 計費價格 // Required: true Price *string `json:"Price"` // integer // // 票種類型 : [1:'一般票',2:'來回票',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期',7:'早鳥票',8:'定期票90天期'] // Required: true TicketType *int32 `json:"TicketType"` }
ServiceDTOVersion3BusSectionFareFare Fare
swagger:model Service.DTO.Version3.Bus.SectionFare.Fare
func (*ServiceDTOVersion3BusSectionFareFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFareFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSectionFareFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFareFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSectionFareFareBufferZone ¶
type ServiceDTOVersion3BusSectionFareFareBufferZone struct { // 緩衝區站牌代碼 // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` }
ServiceDTOVersion3BusSectionFareFareBufferZone FareBufferZone
swagger:model Service.DTO.Version3.Bus.SectionFare.FareBufferZone
func (*ServiceDTOVersion3BusSectionFareFareBufferZone) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFareFareBufferZone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSectionFareFareBufferZone) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSectionFareFareBufferZone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusServiceType ¶
type ServiceDTOVersion3BusServiceType struct { // 是否為活動接駁車 // Required: true IsActivityShuttleBus *bool `json:"IsActivityShuttleBus"` // 是否為機場接駁車 // Required: true IsAirportShuttleBus *bool `json:"IsAirportShuttleBus"` // 是否為BRT公車 // Required: true IsBRTBus *bool `json:"IsBRTBus"` // 是否為免費公車 // Required: true IsFreeBus *bool `json:"IsFreeBus"` // 是否為醫療公車 // Required: true IsMedicalBus *bool `json:"IsMedicalBus"` // 是否為捷運接駁車 // Required: true IsMetroShuttleBus *bool `json:"IsMetroShuttleBus"` // 是否為夜間公車 // Required: true IsNightBus *bool `json:"IsNightBus"` // 是否為高鐵接駁車 // Required: true IsTHSRShuttleBus *bool `json:"IsTHSRShuttleBus"` // 是否為台鐵接駁車 // Required: true IsTRAShuttleBus *bool `json:"IsTRAShuttleBus"` // 是否為台灣好行公車 // Required: true IsTaiwanTripBus *bool `json:"IsTaiwanTripBus"` // 是否為觀光巴士 // Required: true IsTourBus *bool `json:"IsTourBus"` // 是否為遊覽車 // Required: true IsTouristBus *bool `json:"IsTouristBus"` // 是否為幹線公車 // Required: true IsTrunkBus *bool `json:"IsTrunkBus"` }
ServiceDTOVersion3BusServiceType ServiceType
swagger:model Service.DTO.Version3.Bus.ServiceType
func (*ServiceDTOVersion3BusServiceType) MarshalBinary ¶
func (m *ServiceDTOVersion3BusServiceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusServiceType) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusServiceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusShape ¶
type ServiceDTOVersion3BusShape struct { // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 公車線型資料(WKT) // Required: true Geometry *string `json:"Geometry"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID"` // NameType // // 附屬路線名稱 // Required: true SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true SubRouteUID *string `json:"SubRouteUID"` }
ServiceDTOVersion3BusShape Shape
swagger:model Service.DTO.Version3.Bus.Shape
func (*ServiceDTOVersion3BusShape) MarshalBinary ¶
func (m *ServiceDTOVersion3BusShape) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusShape) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusShape) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStageFare ¶
type ServiceDTOVersion3BusStageFare struct { // Stage // // 訖點計費站 // Required: true DestinationStage *ServiceDTOVersion3BusStageFareStage `json:"DestinationStage"` // integer // // 方向性描述 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 票價內容 // Required: true Fares []*ServiceDTOVersion3BusStageFareFare `json:"Fares"` // Stage // // 起點計費站 // Required: true OriginStage *ServiceDTOVersion3BusStageFareStage `json:"OriginStage"` }
ServiceDTOVersion3BusStageFare StageFare
swagger:model Service.DTO.Version3.Bus.StageFare
func (*ServiceDTOVersion3BusStageFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStageFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStageFareDiscountPeriod ¶
type ServiceDTOVersion3BusStageFareDiscountPeriod struct { // 結束時間(HH:mm制) // Required: true EndTime *string `json:"EndTime"` // ServiceDay // // 營運日型態 // Required: true ServiceDay *ServiceDTOVersion3BusStageFareServiceDay `json:"ServiceDay"` // 開始時間(HH:mm制) // Required: true StartTime *string `json:"StartTime"` }
ServiceDTOVersion3BusStageFareDiscountPeriod DiscountPeriod
優惠時段
swagger:model Service.DTO.Version3.Bus.StageFare.DiscountPeriod
func (*ServiceDTOVersion3BusStageFareDiscountPeriod) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareDiscountPeriod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStageFareDiscountPeriod) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareDiscountPeriod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStageFareFare ¶
type ServiceDTOVersion3BusStageFareFare struct { // 優惠時段 DiscountPeriods []*ServiceDTOVersion3BusStageFareDiscountPeriod `json:"DiscountPeriods"` // integer // // 費率等級 : [1:'成人',2:'學生',3:'孩童',4:'敬老',5:'愛心',6:'愛心孩童',7:'愛心優待或愛心陪伴',8:'團體',9:'軍警',10:'由各運業者自行定義的半票'] FareClass int32 `json:"FareClass,omitempty"` // 票價名稱 // Required: true FareName *string `json:"FareName"` // 計費價格 Price string `json:"Price,omitempty"` // integer // // 票種類型 : [1:'一般票',2:'來回票',3:'電子票證',4:'回數票',5:'定期票30天期',6:'定期票60天期',7:'早鳥票',8:'定期票90天期'] // Required: true TicketType *int32 `json:"TicketType"` }
ServiceDTOVersion3BusStageFareFare Fare
票價內容
swagger:model Service.DTO.Version3.Bus.StageFare.Fare
func (*ServiceDTOVersion3BusStageFareFare) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareFare) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStageFareFare) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareFare) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStageFareServiceDay ¶
type ServiceDTOVersion3BusStageFareServiceDay struct { // integer // // 假日後一日是否營運 : [0:'否',1:'是'] DayAfterHoliday int32 `json:"DayAfterHoliday,omitempty"` // integer // // 假日前一日是否營運 : [0:'否',1:'是'] DayBeforeHoliday int32 `json:"DayBeforeHoliday,omitempty"` // integer // // 星期五是否營運 : [0:'否',1:'是'] // Required: true Friday *int32 `json:"Friday"` // integer // // 星期一是否營運 : [0:'否',1:'是'] // Required: true Monday *int32 `json:"Monday"` // integer // // 國定假日是否營運 : [0:'否',1:'是'] NationalHolidays int32 `json:"NationalHolidays,omitempty"` // integer // // 星期六是否營運 : [0:'否',1:'是'] // Required: true Saturday *int32 `json:"Saturday"` // 服務日標籤 // Required: true ServiceTag *string `json:"ServiceTag"` // integer // // 星期日是否營運 : [0:'否',1:'是'] // Required: true Sunday *int32 `json:"Sunday"` // integer // // 星期四是否營運 : [0:'否',1:'是'] // Required: true Thursday *int32 `json:"Thursday"` // integer // // 星期二是否營運 : [0:'否',1:'是'] // Required: true Tuesday *int32 `json:"Tuesday"` // integer // // 颱風停止上班上課期間是否營運 : [0:'否',1:'是'] TyphoonDay int32 `json:"TyphoonDay,omitempty"` // integer // // 星期三是否營運 : [0:'否',1:'是'] // Required: true Wednesday *int32 `json:"Wednesday"` }
ServiceDTOVersion3BusStageFareServiceDay ServiceDay
服務日型態
swagger:model Service.DTO.Version3.Bus.StageFare.ServiceDay
func (*ServiceDTOVersion3BusStageFareServiceDay) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareServiceDay) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStageFareServiceDay) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareServiceDay) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStageFareStage ¶
type ServiceDTOVersion3BusStageFareStage struct { // 計費訖點站牌代碼 StopID string `json:"StopID,omitempty"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` }
ServiceDTOVersion3BusStageFareStage Stage
計費站
swagger:model Service.DTO.Version3.Bus.StageFare.Stage
func (*ServiceDTOVersion3BusStageFareStage) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareStage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStageFareStage) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStageFareStage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStation ¶
type ServiceDTOVersion3BusStation struct { // 方位角,E:東行;W:西行;S:南行;N:北行;SE:東南行;NE:東北行;SW:西南行;NW:西北行 Bearing string `json:"Bearing,omitempty"` // 站牌所在道路上之路名。 RoadName string `json:"RoadName,omitempty"` // 站位地址 StationAddress string `json:"StationAddress,omitempty"` // 站牌詳細說明描述 StationDescription string `json:"StationDescription,omitempty"` // 站位代碼 // Required: true StationID *string `json:"StationID"` // NameType // // 站位名稱 // Required: true StationName *ServiceDTOVersion3BaseNameType `json:"StationName"` // PointType // // 站位位置 // Required: true StationPosition *ServiceDTOVersion3BasePointType `json:"StationPosition"` // 站位唯一識別代碼,規則為 {業管機關簡碼} + {StationID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StationUID *string `json:"StationUID"` }
ServiceDTOVersion3BusStation Station
swagger:model Service.DTO.Version3.Bus.Station
func (*ServiceDTOVersion3BusStation) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStation) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStop ¶
type ServiceDTOVersion3BusStop struct { // 方位角,E:東行;W:西行;S:南行;N:北行;SE:東南行;NE:東北行;SW:西南行;NW:西北行 Bearing string `json:"Bearing,omitempty"` // 站牌權管所屬縣市之代碼(國際ISO 3166-2 三碼城市代碼)[若為公路/國道客運路線則為空值] CityCode string `json:"CityCode,omitempty"` // 路名 RoadName string `json:"RoadName,omitempty"` // 站位代碼 StationID string `json:"StationID,omitempty"` // 站位唯一識別代碼,規則為 {業管機關簡碼} + {StationID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 StationUID string `json:"StationUID,omitempty"` // 站牌地址 StopAddress string `json:"StopAddress,omitempty"` // 站牌簡碼 StopCode string `json:"StopCode,omitempty"` // 站牌詳細說明描述 StopDescription string `json:"StopDescription,omitempty"` // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 // Required: true StopName *ServiceDTOVersion3BaseNameType `json:"StopName"` // PointType // // 站牌位置 // Required: true StopPosition *ServiceDTOVersion3BasePointType `json:"StopPosition"` // 站牌唯一識別代碼,規則為 {業管機關簡碼} + {StopID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` // 站牌資訊說明網址 StopURL string `json:"StopURL,omitempty"` }
ServiceDTOVersion3BusStop Stop
swagger:model Service.DTO.Version3.Bus.Stop
func (*ServiceDTOVersion3BusStop) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStop) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStopOfRoute ¶
type ServiceDTOVersion3BusStopOfRoute struct { // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // 營運業者 Operators []*ServiceDTOVersion3BusStopOfRouteOperator `json:"Operators"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 所有經過站牌 // Required: true Stops []*ServiceDTOVersion3BusStopOfRouteStop `json:"Stops"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 附屬路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` }
ServiceDTOVersion3BusStopOfRoute StopOfRoute
swagger:model Service.DTO.Version3.Bus.StopOfRoute
func (*ServiceDTOVersion3BusStopOfRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStopOfRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStopOfRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStopOfRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStopOfRouteOperator ¶
type ServiceDTOVersion3BusStopOfRouteOperator struct { // 平台代碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // NameType // // 營運業者代碼 // Required: true OperatorName *ServiceDTOVersion3BaseNameType `json:"OperatorName"` // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo"` }
ServiceDTOVersion3BusStopOfRouteOperator Operator
營運業者資訊
swagger:model Service.DTO.Version3.Bus.StopOfRoute.Operator
func (*ServiceDTOVersion3BusStopOfRouteOperator) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStopOfRouteOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStopOfRouteOperator) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStopOfRouteOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStopOfRouteStop ¶
type ServiceDTOVersion3BusStopOfRouteStop struct { // integer // // 上下車站別 : [-1:'可下車',0:'可上下車',1:'可上車'] // Required: true BoardingType *int32 `json:"BoardingType"` // 累積行駛距離 CumulativeDistance string `json:"CumulativeDistance,omitempty"` // 是否為分段點 IsSectionPoint bool `json:"IsSectionPoint,omitempty"` // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 // Required: true StopName *ServiceDTOVersion3BaseNameType `json:"StopName"` // PointType // // 站牌位置 // Required: true StopPosition *ServiceDTOVersion3BasePointType `json:"StopPosition"` // 路線經過站牌之順序 // Required: true StopSequence *int32 `json:"StopSequence"` }
ServiceDTOVersion3BusStopOfRouteStop Stop
swagger:model Service.DTO.Version3.Bus.StopOfRoute.Stop
func (*ServiceDTOVersion3BusStopOfRouteStop) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStopOfRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStopOfRouteStop) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStopOfRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusStopTime ¶
type ServiceDTOVersion3BusStopTime struct { // 到站時間,格式為:HH:mm // Required: true ArrivalTime *string `json:"ArrivalTime"` // 離站時間,格式為:HH:mm // Required: true DepartureTime *string `json:"DepartureTime"` // 地區既用中之站牌代碼(為原資料內碼) // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 StopName *ServiceDTOVersion3BaseNameType `json:"StopName,omitempty"` // 路線經過站牌之順序(由1開始) // Required: true StopSequence *int32 `json:"StopSequence"` // 站牌唯一識別代碼,規則為 {業管機關代碼} + {StopID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true StopUID *string `json:"StopUID"` }
ServiceDTOVersion3BusStopTime StopTime
swagger:model Service.DTO.Version3.Bus.StopTime
func (*ServiceDTOVersion3BusStopTime) MarshalBinary ¶
func (m *ServiceDTOVersion3BusStopTime) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusStopTime) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusStopTime) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSubRoute ¶
type ServiceDTOVersion3BusSubRoute struct { // NameType // // 路線起站名稱 DepartureStopName *ServiceDTOVersion3BaseNameType `json:"DepartureStopName,omitempty"` // NameType // // 路線迄站名稱 DestinationStopName *ServiceDTOVersion3BaseNameType `json:"DestinationStopName,omitempty"` // integer // // 車輛去返程 : [0:'去程',1:'返程',2:'迴圈',255:'未知'] // Required: true Direction *int32 `json:"Direction"` // Stop // // 終點站牌 EndStop *ServiceDTOVersion3BusSubRouteStop `json:"EndStop,omitempty"` // 車頭描述 HeadSign string `json:"HeadSign,omitempty"` // 營運業者 // Required: true Operators []*ServiceDTOVersion3BusSubRouteOperator `json:"Operators"` // 機關定義路線代碼 // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // Stop // // 起始站牌 StartStop *ServiceDTOVersion3BusSubRouteStop `json:"StartStop,omitempty"` // 地區既用中之附屬路線代碼(為原資料內碼) // Required: true SubRouteID *string `json:"SubRouteID"` // NameType // // 附屬路線長名稱 SubRouteLongName *ServiceDTOVersion3BaseNameType `json:"SubRouteLongName,omitempty"` // NameType // // 附屬路線名稱 // Required: true SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true SubRouteUID *string `json:"SubRouteUID"` }
ServiceDTOVersion3BusSubRoute SubRoute
swagger:model Service.DTO.Version3.Bus.SubRoute
func (*ServiceDTOVersion3BusSubRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSubRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSubRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSubRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSubRouteOperator ¶
type ServiceDTOVersion3BusSubRouteOperator struct { // 平台代碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // NameType // // 營運業者代碼 // Required: true OperatorName *ServiceDTOVersion3BaseNameType `json:"OperatorName"` // 營運業者編號[交通部票證資料系統定義] // Required: true OperatorNo *string `json:"OperatorNo"` }
ServiceDTOVersion3BusSubRouteOperator Operator
swagger:model Service.DTO.Version3.Bus.SubRoute.Operator
func (*ServiceDTOVersion3BusSubRouteOperator) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSubRouteOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSubRouteOperator) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSubRouteOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusSubRouteStop ¶
type ServiceDTOVersion3BusSubRouteStop struct { // 站牌代碼 // Required: true StopID *string `json:"StopID"` // NameType // // 站牌名稱 // Required: true StopName *ServiceDTOVersion3BaseNameType `json:"StopName"` }
ServiceDTOVersion3BusSubRouteStop Stop
swagger:model Service.DTO.Version3.Bus.SubRoute.Stop
func (*ServiceDTOVersion3BusSubRouteStop) MarshalBinary ¶
func (m *ServiceDTOVersion3BusSubRouteStop) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusSubRouteStop) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusSubRouteStop) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusTimeTable ¶
type ServiceDTOVersion3BusTimeTable struct { // 公車停靠時間資料 // Required: true StopTimes []*ServiceDTOVersion3BusStopTime `json:"StopTimes"` // 班次代碼,為無意義之編碼 TripID string `json:"TripID,omitempty"` }
ServiceDTOVersion3BusTimeTable TimeTable
swagger:model Service.DTO.Version3.Bus.TimeTable
func (*ServiceDTOVersion3BusTimeTable) MarshalBinary ¶
func (m *ServiceDTOVersion3BusTimeTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusTimeTable) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusTimeTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusVehicle ¶
type ServiceDTOVersion3BusVehicle struct { // 讀卡機配置(1:前門刷卡;2:前後門刷卡) // Required: true CardReaderLayout *int32 `json:"CardReaderLayout"` // 是否有升降或斜坡板設備 // Required: true HasLiftOrRamp *bool `json:"HasLiftOrRamp"` // 是否有提供Wifi服務 // Required: true HasWifi *bool `json:"HasWifi"` // 車機代號 InBoxID string `json:"InBoxID,omitempty"` // 是否為電動公車 // Required: true IsElectric *bool `json:"IsElectric"` // 是否為油電混合公車 // Required: true IsHybrid *bool `json:"IsHybrid"` // 是否為低地板 // Required: true IsLowFloor *bool `json:"IsLowFloor"` // 營運業者簡碼 // Required: true OperatorCode *string `json:"OperatorCode"` // 營運業者代碼 // Required: true OperatorID *string `json:"OperatorID"` // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb"` // DateTime // // 購入時間 PurchaseTime string `json:"PurchaseTime,omitempty"` // integer // // 車輛型別 : [1:'大型巴士',2:'中型巴士',3:'小型巴士',4:'雙層巴士',5:'雙節巴士',6:'計程車'] // Required: true VehicleClass *int32 `json:"VehicleClass"` // integer // // 車輛種類 : [1:'一般',2:'復康巴士',3:'專車',4:'其他'] // Required: true VehicleType *int32 `json:"VehicleType"` }
ServiceDTOVersion3BusVehicle Vehicle
swagger:model Service.DTO.Version3.Bus.Vehicle
func (*ServiceDTOVersion3BusVehicle) MarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusVehicle) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusVehicleDepot ¶
type ServiceDTOVersion3BusVehicleDepot struct { // 營業所代碼 // Required: true DepotID *string `json:"DepotID"` // NameType // // 營業所名稱 // Required: true DepotName *ServiceDTOVersion3BaseNameType `json:"DepotName"` // 車輛 // Required: true Vehicles []*ServiceDTOVersion3BusVehicleDepotVehicle `json:"Vehicles"` }
ServiceDTOVersion3BusVehicleDepot VehicleDepot
swagger:model Service.DTO.Version3.Bus.VehicleDepot
func (*ServiceDTOVersion3BusVehicleDepot) MarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicleDepot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusVehicleDepot) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicleDepot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusVehicleDepotVehicle ¶
type ServiceDTOVersion3BusVehicleDepotVehicle struct { // 車牌號碼 PlateNumb string `json:"PlateNumb,omitempty"` }
ServiceDTOVersion3BusVehicleDepotVehicle Vehicle
swagger:model Service.DTO.Version3.Bus.VehicleDepot.Vehicle
func (*ServiceDTOVersion3BusVehicleDepotVehicle) MarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicleDepotVehicle) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusVehicleDepotVehicle) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicleDepotVehicle) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceDTOVersion3BusVehicleRoute ¶
type ServiceDTOVersion3BusVehicleRoute struct { // 車牌號碼 // Required: true PlateNumb *string `json:"PlateNumb"` // 地區既用中之路線代碼(為原資料內碼) // Required: true RouteID *string `json:"RouteID"` // NameType // // 路線名稱 // Required: true RouteName *ServiceDTOVersion3BaseNameType `json:"RouteName"` // 路線唯一識別代碼,規則為 {業管機關簡碼} + {RouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 // Required: true RouteUID *string `json:"RouteUID"` // 地區既用中之附屬路線代碼(為原資料內碼) SubRouteID string `json:"SubRouteID,omitempty"` // NameType // // 路線名稱 SubRouteName *ServiceDTOVersion3BaseNameType `json:"SubRouteName,omitempty"` // 附屬路線唯一識別代碼,規則為 {業管機關簡碼} + {SubRouteID},其中 {業管機關簡碼} 可於Authority API中的AuthorityCode欄位查詢 SubRouteUID string `json:"SubRouteUID,omitempty"` }
ServiceDTOVersion3BusVehicleRoute VehicleRoute
swagger:model Service.DTO.Version3.Bus.VehicleRoute
func (*ServiceDTOVersion3BusVehicleRoute) MarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicleRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceDTOVersion3BusVehicleRoute) UnmarshalBinary ¶
func (m *ServiceDTOVersion3BusVehicleRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_a1_data.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_a2_data.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_alert.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_daily_time_table.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_depot.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_display_stop_of_route.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_first_last_trip_info.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_n1_data.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_network.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_news.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_operator.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_route.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_route_fare.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_route_network.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_s2_s_travel_time.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_schedule.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_shape.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_station.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_stop.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_stop_of_route.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_sub_route.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_vehicle.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_vehicle_depot.go
- m_o_t_c_api_bus_d_a_l_bus_service_d_t_o_version3_bus_vehicle_route.go
- service_d_t_o_version3_base_display_health.go
- service_d_t_o_version3_base_inbound.go
- service_d_t_o_version3_base_name_type.go
- service_d_t_o_version3_base_outbound.go
- service_d_t_o_version3_base_point_type.go
- service_d_t_o_version3_bus_a1_data.go
- service_d_t_o_version3_bus_a2_data.go
- service_d_t_o_version3_bus_alert.go
- service_d_t_o_version3_bus_daily_time_table.go
- service_d_t_o_version3_bus_depot.go
- service_d_t_o_version3_bus_display_stop_of_route.go
- service_d_t_o_version3_bus_display_stop_of_route_stop.go
- service_d_t_o_version3_bus_first_last_trip_info.go
- service_d_t_o_version3_bus_first_last_trip_info_first_last_trip.go
- service_d_t_o_version3_bus_first_last_trip_info_service_day.go
- service_d_t_o_version3_bus_n1_data.go
- service_d_t_o_version3_bus_network.go
- service_d_t_o_version3_bus_network_l_b_s_map_url.go
- service_d_t_o_version3_bus_network_map_url.go
- service_d_t_o_version3_bus_news.go
- service_d_t_o_version3_bus_o_d_fare.go
- service_d_t_o_version3_bus_o_d_fare_fare.go
- service_d_t_o_version3_bus_o_d_fare_o_d.go
- service_d_t_o_version3_bus_operator.go
- service_d_t_o_version3_bus_route.go
- service_d_t_o_version3_bus_route_fare.go
- service_d_t_o_version3_bus_route_network.go
- service_d_t_o_version3_bus_route_network_segment.go
- service_d_t_o_version3_bus_route_operator.go
- service_d_t_o_version3_bus_route_stop.go
- service_d_t_o_version3_bus_s2_s_travel_time.go
- service_d_t_o_version3_bus_s2_s_travel_time_travel_time.go
- service_d_t_o_version3_bus_schedule.go
- service_d_t_o_version3_bus_schedule_date_period.go
- service_d_t_o_version3_bus_schedule_dates.go
- service_d_t_o_version3_bus_schedule_service_day.go
- service_d_t_o_version3_bus_schedule_special_day.go
- service_d_t_o_version3_bus_schedule_stop_time.go
- service_d_t_o_version3_bus_schedule_time_table.go
- service_d_t_o_version3_bus_scope.go
- service_d_t_o_version3_bus_scope_route.go
- service_d_t_o_version3_bus_scope_stop.go
- service_d_t_o_version3_bus_scope_sub_route.go
- service_d_t_o_version3_bus_scope_trip.go
- service_d_t_o_version3_bus_section_fare.go
- service_d_t_o_version3_bus_section_fare_buffer_zone.go
- service_d_t_o_version3_bus_section_fare_fare.go
- service_d_t_o_version3_bus_section_fare_fare_buffer_zone.go
- service_d_t_o_version3_bus_service_type.go
- service_d_t_o_version3_bus_shape.go
- service_d_t_o_version3_bus_stage_fare.go
- service_d_t_o_version3_bus_stage_fare_discount_period.go
- service_d_t_o_version3_bus_stage_fare_fare.go
- service_d_t_o_version3_bus_stage_fare_service_day.go
- service_d_t_o_version3_bus_stage_fare_stage.go
- service_d_t_o_version3_bus_station.go
- service_d_t_o_version3_bus_stop.go
- service_d_t_o_version3_bus_stop_of_route.go
- service_d_t_o_version3_bus_stop_of_route_operator.go
- service_d_t_o_version3_bus_stop_of_route_stop.go
- service_d_t_o_version3_bus_stop_time.go
- service_d_t_o_version3_bus_sub_route.go
- service_d_t_o_version3_bus_sub_route_operator.go
- service_d_t_o_version3_bus_sub_route_stop.go
- service_d_t_o_version3_bus_time_table.go
- service_d_t_o_version3_bus_vehicle.go
- service_d_t_o_version3_bus_vehicle_depot.go
- service_d_t_o_version3_bus_vehicle_depot_vehicle.go
- service_d_t_o_version3_bus_vehicle_route.go