models

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Lines []*PTXServiceDTORailSpecificationV3LiteTrainLine "json:\"Lines\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine LiteTrainLineList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Line]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train line based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train line

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Networks []*PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork "json:\"Networks\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork LiteTrainNetworkList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Network.Network]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train network network based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train network network

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Operators []*PTXServiceDTORailSpecificationV3LiteTrainOperator "json:\"Operators\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator LiteTrainOperatorList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Operator]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train operator based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train operator

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Routes []*PTXServiceDTORailSpecificationV3LiteTrainRoute "json:\"Routes\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute LiteTrainRouteList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Route]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train route based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train route

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Stations []*PTXServiceDTORailSpecificationV3LiteTrainStation "json:\"Stations\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation LiteTrainStationList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Station]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train station based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train station

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationOfLines []*PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine "json:\"StationOfLines\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine LiteTrainStationOfLineList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.StationOfLine.StationOfLine]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train station of line station of line based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train station of line station of line

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationOfRoutes []*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute "json:\"StationOfRoutes\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute LiteTrainStationOfRouteList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.StationOfRoute.StationOfRoute]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train station of route station of route based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train station of route station of route

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	TrainTypes []*PTXServiceDTORailSpecificationV3LiteTrainTrainType "json:\"TrainTypes\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType LiteTrainTrainTypeList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainBaseWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.TrainType]

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train train type based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train base wrapper p t x service d t o rail specification v3 lite train train type

type PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// DateTime
	//
	// 有效起始日期
	// Required: true
	// Format: date-time
	EffectiveDate *strfmt.DateTime `json:"EffectiveDate"`

	// 有效終止日期
	// Format: date-time
	ExpireDate strfmt.DateTime `json:"ExpireDate,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 來源版號
	SrcVersion string `json:"SrcVersion,omitempty" xml:"String,omitempty"`

	// String
	//
	// 定期性站別時刻表名稱
	TimetableName string `json:"TimetableName,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	TrainTimetables []*PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable "json:\"TrainTimetables\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`

	// String
	//
	// 時刻表適用情形說明
	ValidityDesciption string `json:"ValidityDesciption,omitempty" xml:"String,omitempty"`
}

PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable LiteTrainGeneralTrainTimetableList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainGeneralTrainWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.GeneralTrainTimetable]

func (*PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train general train wrapper p t x service d t o rail specification v3 lite train general train timetable based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train general train wrapper p t x service d t o rail specification v3 lite train general train timetable

type PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// String
	//
	// 有效起始日期
	EffectiveDate string `json:"EffectiveDate,omitempty" xml:"String,omitempty"`

	// String
	//
	// 有效終止日期
	ExpireDate string `json:"ExpireDate,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	ODFares []*PTXServiceDTORailSpecificationV3LiteTrainODFareODFare "json:\"ODFares\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 資料版本
	SrcVersion string `json:"SrcVersion,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare LiteTrainODFareList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainODFareWrapper[PTX.Service.DTO.Rail.Specification.V3.LiteTrain.ODFare.ODFare]

func (*PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train o d fare wrapper p t x service d t o rail specification v3 lite train o d fare o d fare based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train o d fare wrapper p t x service d t o rail specification v3 lite train o d fare o d fare

type PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews added in v0.15.0

type PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Newses []*PTXServiceDTORailSpecificationV3TRATRANewsListNews "json:\"Newses\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews LiteTrainNewsList

swagger:model PTX.API.Rail.Model.LiteTrain.LiteTrainRealTimeWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.TRANewsList.News]

func (*PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) ContextValidate added in v0.15.0

ContextValidate validate this p t x API rail model lite train lite train real time wrapper p t x service d t o rail specification v3 t r a t r a news list news based on the context it is used

func (*PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelLiteTrainLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) Validate added in v0.15.0

Validate validates this p t x API rail model lite train lite train real time wrapper p t x service d t o rail specification v3 t r a t r a news list news

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Lines []*PTXServiceDTORailSpecificationV3TRALine "json:\"Lines\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine TRALineList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.Line]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a line based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALine) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a line

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	LineNetworks []*PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork "json:\"LineNetworks\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork TRALineNetworkList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.LineNetwork.LineNetwork]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a line network line network based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a line network line network

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	LineTransfers []*PTXServiceDTORailSpecificationV3TRALineTransfer "json:\"LineTransfers\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer TRALineTransferList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.LineTransfer]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a line transfer based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRALineTransfer) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a line transfer

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Networks []*PTXServiceDTORailSpecificationV3TRANetworkNetwork "json:\"Networks\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork TRANetworkList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.Network.Network]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a network network based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRANetworkNetwork) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a network network

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Operators []*PTXServiceDTORailSpecificationV3TRAOperator "json:\"Operators\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator TRAOperatorList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.Operator]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a operator based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAOperator) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a operator

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Shapes []*PTXServiceDTORailSpecificationV3TRAShape "json:\"Shapes\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape TRAShapeList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.Shape]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a shape based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAShape) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a shape

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Stations []*PTXServiceDTORailSpecificationV3TRAStation "json:\"Stations\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation TRAStationList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.Station]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStation) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationExits []*PTXServiceDTORailSpecificationV3TRAStationExitStationExit "json:\"StationExits\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit TRAStationExitList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.StationExit.StationExit]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station exit station exit based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationExitStationExit) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station exit station exit

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationFacilities []*PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility "json:\"StationFacilities\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility TRAStationFacilityList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.StationFacility.StationFacility]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station facility station facility based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station facility station facility

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationOfLines []*PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine "json:\"StationOfLines\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine TRAStationOfLineList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.StationOfLine.StationOfLine]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station of line station of line based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station of line station of line

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer "json:\"StationTransfers\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer TRAStationTransferList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.StationTransfer]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station transfer station transfer based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a station transfer station transfer

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType added in v0.7.0

type PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	TrainTypes []*PTXServiceDTORailSpecificationV3TRATrainType "json:\"TrainTypes\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType TRATrainTypeList

swagger:model PTX.API.Rail.Model.TRABaseWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.TrainType]

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a train type based on the context it is used

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRABaseWrapperPTXServiceDTORailSpecificationV3TRATrainType) Validate added in v0.7.0

Validate validates this p t x API rail model t r a base wrapper p t x service d t o rail specification v3 t r a train type

type PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable added in v0.7.0

type PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// DateTime
	//
	// 有效起始日期
	// Required: true
	// Format: date-time
	EffectiveDate *strfmt.DateTime `json:"EffectiveDate"`

	// 有效終止日期
	// Format: date-time
	ExpireDate strfmt.DateTime `json:"ExpireDate,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 來源版號
	SrcVersion string `json:"SrcVersion,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationTimetables []*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable "json:\"StationTimetables\" xml:\"List`1\""

	// String
	//
	// 定期性站別時刻表名稱
	TimetableName string `json:"TimetableName,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`

	// String
	//
	// 時刻表適用情形說明
	ValidityDesciption string `json:"ValidityDesciption,omitempty" xml:"String,omitempty"`
}

PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable TRAGeneralStationTimetableList

swagger:model PTX.API.Rail.Model.TRAGeneralStationWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.GeneralStationTimetable.GeneralStationTimetable]

func (*PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a general station wrapper p t x service d t o rail specification v3 t r a general station timetable general station timetable based on the context it is used

func (*PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRAGeneralStationWrapperPTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) Validate added in v0.7.0

Validate validates this p t x API rail model t r a general station wrapper p t x service d t o rail specification v3 t r a general station timetable general station timetable

type PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable added in v0.7.0

type PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// DateTime
	//
	// 有效起始日期
	// Required: true
	// Format: date-time
	EffectiveDate *strfmt.DateTime `json:"EffectiveDate"`

	// 有效終止日期
	// Format: date-time
	ExpireDate strfmt.DateTime `json:"ExpireDate,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 來源版號
	SrcVersion string `json:"SrcVersion,omitempty" xml:"String,omitempty"`

	// String
	//
	// 定期性站別時刻表名稱
	TimetableName string `json:"TimetableName,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	TrainTimetables []*PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable "json:\"TrainTimetables\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`

	// String
	//
	// 時刻表適用情形說明
	ValidityDesciption string `json:"ValidityDesciption,omitempty" xml:"String,omitempty"`
}

PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable TRAGeneralTrainTimetableList

swagger:model PTX.API.Rail.Model.TRAGeneralTrainWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.GeneralTrainTimetable]

func (*PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a general train wrapper p t x service d t o rail specification v3 t r a general train timetable based on the context it is used

func (*PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRAGeneralTrainWrapperPTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) Validate added in v0.7.0

Validate validates this p t x API rail model t r a general train wrapper p t x service d t o rail specification v3 t r a general train timetable

type PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare added in v0.7.0

type PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// String
	//
	// 有效起始日期
	EffectiveDate string `json:"EffectiveDate,omitempty" xml:"String,omitempty"`

	// String
	//
	// 有效終止日期
	ExpireDate string `json:"ExpireDate,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	ODFares []*PTXServiceDTORailSpecificationV3TRAODFareODFare "json:\"ODFares\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 資料版本
	SrcVersion string `json:"SrcVersion,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare TRAODFareList

swagger:model PTX.API.Rail.Model.TRAODFareWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.ODFare.ODFare]

func (*PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a o d fare wrapper p t x service d t o rail specification v3 t r a o d fare o d fare based on the context it is used

func (*PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRAODFareWrapperPTXServiceDTORailSpecificationV3TRAODFareODFare) Validate added in v0.7.0

Validate validates this p t x API rail model t r a o d fare wrapper p t x service d t o rail specification v3 t r a o d fare o d fare

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert added in v0.7.0

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert struct {

	// Array
	//
	// 資料(陣列)
	// Required: true
	Alerts []*PTXServiceDTORailSpecificationV3TRATRAAlertListAlert "json:\"Alerts\" xml:\"List`1\""

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert TRAAlertList

swagger:model PTX.API.Rail.Model.TRARealTimeWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.Alert]

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a alert list alert based on the context it is used

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAAlertListAlert) Validate added in v0.7.0

Validate validates this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a alert list alert

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews added in v0.7.0

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	Newses []*PTXServiceDTORailSpecificationV3TRATRANewsListNews "json:\"Newses\" xml:\"List`1\""

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews TRANewsList

swagger:model PTX.API.Rail.Model.TRARealTimeWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.TRANewsList.News]

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a news list news based on the context it is used

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews) Validate added in v0.7.0

Validate validates this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a news list news

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard added in v0.7.0

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationLiveBoards []*PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard "json:\"StationLiveBoards\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard TRAStationLiveBoardList

swagger:model PTX.API.Rail.Model.TRARealTimeWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.TRAStationLiveBoardList.StationLiveBoard]

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a station live board list station live board based on the context it is used

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) Validate added in v0.7.0

Validate validates this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a station live board list station live board

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard added in v0.7.0

type PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	TrainLiveBoards []*PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard "json:\"TrainLiveBoards\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard TRATrainLiveBoardList

swagger:model PTX.API.Rail.Model.TRARealTimeWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.TRATrainLiveBoardList.TrainLiveBoard]

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a train live board list train live board based on the context it is used

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRARealTimeWrapperPTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) Validate added in v0.7.0

Validate validates this p t x API rail model t r a real time wrapper p t x service d t o rail specification v3 t r a t r a train live board list train live board

type PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable added in v0.7.0

type PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// DateTime
	//
	// 有效起始日期
	// Required: true
	// Format: date-time
	EffectiveDate *strfmt.DateTime `json:"EffectiveDate"`

	// 有效終止日期
	// Format: date-time
	ExpireDate strfmt.DateTime `json:"ExpireDate,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 來源版號
	SrcVersion string `json:"SrcVersion,omitempty" xml:"String,omitempty"`

	// String
	//
	// 定期性站別時刻表名稱
	TimetableName string `json:"TimetableName,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	TrainTimetables []*PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable "json:\"TrainTimetables\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`

	// String
	//
	// 時刻表適用情形說明
	ValidityDesciption string `json:"ValidityDesciption,omitempty" xml:"String,omitempty"`
}

PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable TRASpecificTrainTimetableList

swagger:model PTX.API.Rail.Model.TRASpecificWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.SpecificTrainTimetable]

func (*PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model t r a specific wrapper p t x service d t o rail specification v3 t r a specific train timetable based on the context it is used

func (*PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTRASpecificWrapperPTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) Validate added in v0.7.0

Validate validates this p t x API rail model t r a specific wrapper p t x service d t o rail specification v3 t r a specific train timetable

type PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable added in v0.7.0

type PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Array
	//
	// 資料(陣列)
	// Required: true
	StationTimetables []*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable "json:\"StationTimetables\" xml:\"List`1\""

	// String
	//
	// 營運日說明(yyyy-MM-dd)
	// Required: true
	TrainDate *string `json:"TrainDate" xml:"String"`

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable TRADailyStationTimeTableList

swagger:model PTX.API.Rail.Model.TraDailyStationWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.DailyStationTimeTable.StationTimetable]

func (*PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model tra daily station wrapper p t x service d t o rail specification v3 t r a daily station time table station timetable based on the context it is used

func (*PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTraDailyStationWrapperPTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) Validate added in v0.7.0

Validate validates this p t x API rail model tra daily station wrapper p t x service d t o rail specification v3 t r a daily station time table station timetable

type PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable added in v0.7.0

type PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// 資料總筆數
	Count int64 `json:"Count,omitempty"`

	// Int32
	//
	// 來源端平台資料更新週期(秒)['-1: 不定期更新']
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// DateTime
	//
	// 來源端平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// String
	//
	// 營運日說明(yyyy-MM-dd)
	// Required: true
	TrainDate *string `json:"TrainDate" xml:"String"`

	// Array
	//
	// 資料(陣列)
	TrainTimetables []*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable "json:\"TrainTimetables\" xml:\"List`1\""

	// Int32
	//
	// 本平台資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// 本平台資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable TRADailyTrainTimeTableList

swagger:model PTX.API.Rail.Model.TraDailyTrainWrapper[PTX.Service.DTO.Rail.Specification.V3.TRA.DailyTrainTimeTable.TrainTimetable]

func (*PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x API rail model tra daily train wrapper p t x service d t o rail specification v3 t r a daily train time table train timetable based on the context it is used

func (*PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTraDailyTrainWrapperPTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) Validate added in v0.7.0

Validate validates this p t x API rail model tra daily train wrapper p t x service d t o rail specification v3 t r a daily train time table train timetable

type PTXAPIRailModelTrainDateList added in v0.13.0

type PTXAPIRailModelTrainDateList struct {

	// String
	//
	// 業管機關簡碼
	// Required: true
	AuthorityCode *string `json:"AuthorityCode" xml:"String"`

	// Int64
	//
	// 資料總筆數
	// Required: true
	Count *int64 `json:"Count"`

	// String
	//
	// 每日時刻表供應最終日期(格式: yyyy-MM-dd)
	// Required: true
	EndDate *string `json:"EndDate" xml:"String"`

	// String
	//
	// 每日時刻表供應起始日期(格式: yyyy-MM-dd)
	// Required: true
	StartDate *string `json:"StartDate" xml:"String"`

	// Array
	//
	// 每日時刻表供應日期清單資料
	// Required: true
	TrainDates []string "json:\"TrainDates\" xml:\"List`1\""

	// Int32
	//
	// [平臺]資料更新週期(秒)
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// DateTime
	//
	// [平臺]資料更新日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIRailModelTrainDateList TrainDateList

swagger:model PTX.API.Rail.Model.TrainDateList

func (*PTXAPIRailModelTrainDateList) ContextValidate added in v0.13.0

func (m *PTXAPIRailModelTrainDateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p t x API rail model train date list based on context it is used

func (*PTXAPIRailModelTrainDateList) MarshalBinary added in v0.13.0

func (m *PTXAPIRailModelTrainDateList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PTXAPIRailModelTrainDateList) UnmarshalBinary added in v0.13.0

func (m *PTXAPIRailModelTrainDateList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PTXAPIRailModelTrainDateList) Validate added in v0.13.0

func (m *PTXAPIRailModelTrainDateList) Validate(formats strfmt.Registry) error

Validate validates this p t x API rail model train date list

type PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable struct {

	// ServiceDay
	//
	// 營運日型態
	// Required: true
	ServiceDay struct {
		PTXServiceDTORailSpecificationV3TRACommonServiceDay
	} `json:"ServiceDay" xml:"ServiceDay"`

	// Array
	//
	// 停靠時間資料
	// Required: true
	StopTimes []*PTXServiceDTORailSpecificationV3TRACommonStopTime "json:\"StopTimes\" xml:\"List`1\""

	// TrainInfo
	//
	// 定期車次資料
	// Required: true
	TrainInfo struct {
		PTXServiceDTORailSpecificationV3TRACommonTrainInfo
	} `json:"TrainInfo" xml:"TrainInfo"`
}

PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable GeneralTrainTimetable

小火車定期時刻表資料型別

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.GeneralTrainTimetable

func (*PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train general train timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train general train timetable

type PTXServiceDTORailSpecificationV3LiteTrainLine added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainLine struct {

	// Boolean
	//
	// 是否位於支線
	// Required: true
	IsBranch *bool `json:"IsBranch"`

	// String
	//
	// 路線顏色
	LineColor string `json:"LineColor,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路線群組
	LineGroup string `json:"LineGroup,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// NameType
	//
	// 路線名稱
	// Required: true
	LineName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineName" xml:"NameType"`

	// String
	//
	// 路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`

	// NameType
	//
	// 路線區間名稱
	// Required: true
	LineSectionName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineSectionName" xml:"NameType"`

	// String
	//
	// 路線群組
	LineURL string `json:"LineURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3LiteTrainLine Line

路線基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Line

func (*PTXServiceDTORailSpecificationV3LiteTrainLine) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train line based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainLine) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainLine) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainLine) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train line

type PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork struct {

	// Array
	//
	// 路線資訊
	// Required: true
	Lines []*PTXServiceDTORailSpecificationV3TRANetworkLine "json:\"Lines\" xml:\"List`1\""

	// String
	//
	// 路網代碼
	// Required: true
	NetworkID *string `json:"NetworkID" xml:"String"`

	// MapNameType
	//
	// 路網圖網址URL
	// Required: true
	NetworkMapURL struct {
		PTXServiceDTORailSpecificationV3TRANetworkMapNameType
	} `json:"NetworkMapURL" xml:"MapNameType"`

	// NameType
	//
	// 路網名稱
	// Required: true
	NetworkName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"NetworkName" xml:"NameType"`

	// String
	//
	// 營運業者代碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork Network

小火車路網資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Network.Network

func (*PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train network network based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train network network

type PTXServiceDTORailSpecificationV3LiteTrainODFareODFare added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainODFareODFare struct {

	// String
	//
	// 迄點車站代碼
	// Required: true
	DestinationStationID *string `json:"DestinationStationID" xml:"String"`

	// NameType
	//
	// 迄點車站名稱
	// Required: true
	DestinationStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"DestinationStationName" xml:"NameType"`

	// Int32
	//
	// 方向 : [0:'順行',1:'逆行']
	Direction int64 `json:"Direction,omitempty"`

	// Array
	//
	// 票價
	// Required: true
	Fares []*PTXServiceDTORailSpecificationV3TRAODFareFare "json:\"Fares\" xml:\"List`1\""

	// String
	//
	// 起點車站代碼
	// Required: true
	OriginStationID *string `json:"OriginStationID" xml:"String"`

	// NameType
	//
	// 起點車站名稱
	// Required: true
	OriginStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OriginStationName" xml:"NameType"`

	// Int32
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	// Required: true
	TrainType *int32 `json:"TrainType"`

	// 起迄站間乘車距離
	TravelDistance float32 `json:"TravelDistance,omitempty"`
}

PTXServiceDTORailSpecificationV3LiteTrainODFareODFare ODFare

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.ODFare.ODFare

func (*PTXServiceDTORailSpecificationV3LiteTrainODFareODFare) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train o d fare o d fare based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainODFareODFare) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainODFareODFare) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainODFareODFare) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train o d fare o d fare

type PTXServiceDTORailSpecificationV3LiteTrainOperator added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainOperator struct {

	// String
	//
	// 營運業者票價查詢網站連結
	FareURL string `json:"FareURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// String
	//
	// 營運業者電子信箱
	OperatorEmail string `json:"OperatorEmail,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者Logo網址
	OperatorLogoURL string `json:"OperatorLogoURL,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`

	// String
	//
	// 營運業者連絡電話
	OperatorPhone string `json:"OperatorPhone,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者網址連結
	OperatorURL string `json:"OperatorURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者訂票電話
	ReservationPhone string `json:"ReservationPhone,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者訂票網站
	ReservationURL string `json:"ReservationURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3LiteTrainOperator Operator

小火車者營運業者基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Operator

func (*PTXServiceDTORailSpecificationV3LiteTrainOperator) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train operator based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainOperator) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainOperator) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainOperator) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train operator

type PTXServiceDTORailSpecificationV3LiteTrainRoute added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainRoute struct {

	// String
	//
	// 營運路線迄站代號
	// Required: true
	EndStationID *string `json:"EndStationID" xml:"String"`

	// NameType
	//
	// 營運路線迄站名稱
	// Required: true
	EndStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"EndStationName" xml:"NameType"`

	// String
	//
	// 營運路線所屬之路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// String
	//
	// 營運路線所屬之路線編號
	LineNo string `json:"LineNo,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者代碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// 路線旅行長度
	RouteDistance float32 `json:"RouteDistance,omitempty"`

	// String
	//
	// 營運路線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

	// NameType
	//
	// 營運路線名稱
	// Required: true
	RouteName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"RouteName" xml:"NameType"`

	// Int32
	//
	// 營運路線種類
	// Required: true
	RouteType *int32 `json:"RouteType"`

	// String
	//
	// 營運路線來源網址
	// Required: true
	RouteURL *string `json:"RouteURL" xml:"String"`

	// String
	//
	// 營運路線起站代號
	// Required: true
	StartStationID *string `json:"StartStationID" xml:"String"`

	// NameType
	//
	// 營運路線起站名稱
	// Required: true
	StartStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StartStationName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3LiteTrainRoute Route

營運路線基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Route

func (*PTXServiceDTORailSpecificationV3LiteTrainRoute) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train route based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainRoute) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainRoute) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainRoute) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train route

type PTXServiceDTORailSpecificationV3LiteTrainStation added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainStation struct {

	// String
	//
	// 訂票車站代碼
	ReservationCode string `json:"ReservationCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站地址
	StationAddress string `json:"StationAddress,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站級別 = ['0: 特等', '1: 一等', '2: 二等', '3: 三等', '4: 簡易', '5: 招呼', '6: 號誌', '7:其他']
	// Required: true
	StationClass *string `json:"StationClass" xml:"String"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// String
	//
	// 車站聯絡電話
	StationPhone string `json:"StationPhone,omitempty" xml:"String,omitempty"`

	// PointType
	//
	// 車站座標(WGS84)
	// Required: true
	StationPosition struct {
		PTXServiceDTOSharedSpecificationV3BasePointType
	} `json:"StationPosition" xml:"PointType"`

	// String
	//
	// 車站唯一識別代碼
	// Required: true
	StationUID *string `json:"StationUID" xml:"String"`

	// String
	//
	// 車站資訊說明網址
	StationURL string `json:"StationURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3LiteTrainStation Station

小火車車站資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.Station

func (*PTXServiceDTORailSpecificationV3LiteTrainStation) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train station based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainStation) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStation) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStation) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train station

type PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine struct {

	// String
	//
	// 路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// String
	//
	// 路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`

	// Array
	//
	// 路線車站資訊
	// Required: true
	Stations []*PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation "json:\"Stations\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine StationOfLine

路線車站基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.StationOfLine.StationOfLine

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train station of line station of line based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train station of line station of line

type PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation struct {

	// Single
	//
	// 已累積之里程距離(公里)
	// Required: true
	CumulativeDistance *float32 `json:"CumulativeDistance"`

	// Int32
	//
	// 站序
	// Required: true
	Sequence *int32 `json:"Sequence"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation RouteStation

路線車站資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.StationOfRoute.RouteStation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train station of route route station based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train station of route route station

type PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute struct {

	// Int32
	//
	// 營運路線方向描述(0:去程,1:返程)
	// Required: true
	Direction *int32 `json:"Direction"`

	// String
	//
	// 營運路線所屬之路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// String
	//
	// 營運路線所屬之路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`

	// String
	//
	// 營運路線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

	// NameType
	//
	// 營運路線名稱
	// Required: true
	RouteName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"RouteName" xml:"NameType"`

	// Array
	//
	// 營運路線車站資訊
	// Required: true
	Stations []*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteRouteStation "json:\"Stations\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute StationOfRoute

營運路線車站基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.StationOfRoute.StationOfRoute

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train station of route station of route based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train station of route station of route

type PTXServiceDTORailSpecificationV3LiteTrainTrainType added in v0.11.0

type PTXServiceDTORailSpecificationV3LiteTrainTrainType struct {

	// String
	//
	// 車種簡碼 = ['1: 中興號', '2: 區間', '3: 主題式列車', '5: 阿里山號', '6: 祝客', '7: 祝客(祝山線)', '8: 檜木車廂']
	// Required: true
	TrainTypeCode *string `json:"TrainTypeCode" xml:"String"`

	// String
	//
	// 列車車種代碼
	// Required: true
	TrainTypeID *string `json:"TrainTypeID" xml:"String"`

	// NameType
	//
	// 列車車種名稱
	// Required: true
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3LiteTrainTrainType TrainType

小火車列車車種資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.LiteTrain.TrainType

func (*PTXServiceDTORailSpecificationV3LiteTrainTrainType) ContextValidate added in v0.11.0

ContextValidate validate this p t x service d t o rail specification v3 lite train train type based on the context it is used

func (*PTXServiceDTORailSpecificationV3LiteTrainTrainType) MarshalBinary added in v0.11.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainTrainType) UnmarshalBinary added in v0.11.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3LiteTrainTrainType) Validate added in v0.11.0

Validate validates this p t x service d t o rail specification v3 lite train train type

type PTXServiceDTORailSpecificationV3TRACommonServiceDay added in v0.7.0

type PTXServiceDTORailSpecificationV3TRACommonServiceDay struct {

	// Int32
	//
	// 假日後一日是否營運 : [0:'否',1:'是']
	// Required: true
	DayAfterHoliday *int64 `json:"DayAfterHoliday"`

	// Int32
	//
	// 假日前一日是否營運 : [0:'否',1:'是']
	// Required: true
	DayBeforeHoliday *int64 `json:"DayBeforeHoliday"`

	// Int32
	//
	// 星期五是否營運 : [0:'否',1:'是']
	// Required: true
	Friday *int64 `json:"Friday"`

	// Int32
	//
	// 星期一是否營運 : [0:'否',1:'是']
	// Required: true
	Monday *int64 `json:"Monday"`

	// Int32
	//
	// 國定假日是否營運 : [0:'否',1:'是']
	// Required: true
	NationalHolidays *int64 `json:"NationalHolidays"`

	// Int32
	//
	// 星期六是否營運 : [0:'否',1:'是']
	// Required: true
	Saturday *int64 `json:"Saturday"`

	// String
	//
	// 服務日標籤
	ServiceTag string `json:"ServiceTag,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 星期日是否營運 : [0:'否',1:'是']
	// Required: true
	Sunday *int64 `json:"Sunday"`

	// Int32
	//
	// 星期四是否營運 : [0:'否',1:'是']
	// Required: true
	Thursday *int64 `json:"Thursday"`

	// Int32
	//
	// 星期二是否營運 : [0:'否',1:'是']
	// Required: true
	Tuesday *int64 `json:"Tuesday"`

	// Int32
	//
	// 颱風停止上班上課期間營運營運 : [0:'否',1:'是']
	// Required: true
	TyphoonDay *int64 `json:"TyphoonDay"`

	// Int32
	//
	// 星期三是否營運 : [0:'否',1:'是']
	// Required: true
	Wednesday *int64 `json:"Wednesday"`
}

PTXServiceDTORailSpecificationV3TRACommonServiceDay ServiceDay

服務日型態

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Common.ServiceDay

func (*PTXServiceDTORailSpecificationV3TRACommonServiceDay) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a common service day based on context it is used

func (*PTXServiceDTORailSpecificationV3TRACommonServiceDay) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonServiceDay) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonServiceDay) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a common service day

type PTXServiceDTORailSpecificationV3TRACommonSpecialDay added in v0.7.0

type PTXServiceDTORailSpecificationV3TRACommonSpecialDay struct {

	// String
	//
	// 不連續特殊日期
	Dates string `json:"Dates,omitempty" xml:"String,omitempty"`

	// String
	//
	// 特殊營運描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// 結束日期
	// Format: date-time
	EndDate strfmt.DateTime `json:"EndDate,omitempty"`

	// Int32
	//
	// 營運服務狀態代碼 : [0:'停止營運',1:'正常營運',2:'加班營運']
	ServiceStatus int64 `json:"ServiceStatus,omitempty"`

	// 開始日期
	// Format: date-time
	StartDate strfmt.DateTime `json:"StartDate,omitempty"`
}

PTXServiceDTORailSpecificationV3TRACommonSpecialDay SpecialDay

特定日期

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Common.SpecialDay

func (*PTXServiceDTORailSpecificationV3TRACommonSpecialDay) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a common special day based on context it is used

func (*PTXServiceDTORailSpecificationV3TRACommonSpecialDay) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonSpecialDay) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonSpecialDay) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a common special day

type PTXServiceDTORailSpecificationV3TRACommonStopTime added in v0.7.0

type PTXServiceDTORailSpecificationV3TRACommonStopTime struct {

	// String
	//
	// 到站時間(格式: HH:mm)
	// Required: true
	ArrivalTime *string `json:"ArrivalTime" xml:"String"`

	// String
	//
	// 離站時間(格式: HH:mm)
	// Required: true
	DepartureTime *string `json:"DepartureTime" xml:"String"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// Int32
	//
	// 停靠站序(由1開始)
	// Required: true
	StopSequence *int32 `json:"StopSequence"`
}

PTXServiceDTORailSpecificationV3TRACommonStopTime StopTime

停靠時間資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Common.StopTime

func (*PTXServiceDTORailSpecificationV3TRACommonStopTime) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a common stop time based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRACommonStopTime) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonStopTime) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonStopTime) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a common stop time

type PTXServiceDTORailSpecificationV3TRACommonTrainInfo added in v0.7.0

type PTXServiceDTORailSpecificationV3TRACommonTrainInfo struct {

	// Int32
	//
	// 是否人車同行班次(置於攜車袋之自行車各級列車均可乘車) : [0:'否',1:'是']
	// Required: true
	BikeFlag *int64 `json:"BikeFlag"`

	// Int32
	//
	// 是否設有哺(集)乳室車廂 : [0:'否',1:'是']
	// Required: true
	BreastFeedFlag *int64 `json:"BreastFeedFlag"`

	// Int32
	//
	// 是否提供小客車 : [0:'否',1:'是']
	// Required: true
	CarFlag *int64 `json:"CarFlag"`

	// Int32
	//
	// 是否為每日行駛 : [0:'否',1:'是']
	// Required: true
	DailyFlag *int64 `json:"DailyFlag"`

	// Int32
	//
	// 是否提供訂便當服務 : [0:'否',1:'是']
	// Required: true
	DiningFlag *int64 `json:"DiningFlag"`

	// Int32
	//
	// 行駛方向 : [0:'順行',1:'逆行']
	// Required: true
	Direction *int64 `json:"Direction"`

	// String
	//
	// 列車終點車站代號
	EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 列車終點車站名稱
	EndingStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"EndingStationName,omitempty" xml:"NameType,omitempty"`

	// Int32
	//
	// 是否為加班車 : [0:'否',1:'是']
	// Required: true
	ExtraTrainFlag *int64 `json:"ExtraTrainFlag"`

	// String
	//
	// 附註說明
	Note string `json:"Note,omitempty" xml:"String,omitempty"`

	// String
	//
	// 跨夜車站代碼
	OverNightStationID string `json:"OverNightStationID,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 是否提供行李服務 : [0:'否',1:'是']
	// Required: true
	PackageServiceFlag *int64 `json:"PackageServiceFlag"`

	// String
	//
	// 營運路線代碼
	RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 列車起點車站代號
	StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 列車起點車站名稱
	StartingStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StartingStationName,omitempty" xml:"NameType,omitempty"`

	// String
	//
	// 車次代碼
	// Required: true
	TrainNo *string `json:"TrainNo" xml:"String"`

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種代嗎
	TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車種名稱
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"`

	// String
	//
	// 車次之目的地方向描述
	TripHeadSign string `json:"TripHeadSign,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線']
	TripLine int64 `json:"TripLine,omitempty"`

	// Int32
	//
	// 是否設身障旅客專用座位車 : [0:'否',1:'是']
	// Required: true
	WheelChairFlag *int64 `json:"WheelChairFlag"`
}

PTXServiceDTORailSpecificationV3TRACommonTrainInfo TrainInfo

車次定期資料型別(時刻表用)

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Common.TrainInfo

func (*PTXServiceDTORailSpecificationV3TRACommonTrainInfo) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a common train info based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRACommonTrainInfo) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonTrainInfo) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRACommonTrainInfo) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a common train info

type PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable struct {

	// Int32
	//
	// 行駛方向 : [0:'順行',1:'逆行']
	Direction int64 `json:"Direction,omitempty"`

	// String
	//
	// 營運路線代碼
	RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站代碼
	StationID string `json:"StationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車站名稱
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName,omitempty" xml:"NameType,omitempty"`

	// Array
	//
	// 目的站車站名稱
	// Required: true
	TimeTables []*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable "json:\"TimeTables\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable StationTimetable

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyStationTimeTable.StationTimetable

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a daily station time table station timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableStationTimetable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily station time table station timetable

type PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable struct {

	// String
	//
	// 到站時刻
	ArrivalTime string `json:"ArrivalTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 發車時刻
	DepartureTime string `json:"DepartureTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 目的站車站代號
	DestinationStationID string `json:"DestinationStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 目的站車站名稱
	DestinationStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"DestinationStationName,omitempty" xml:"NameType,omitempty"`

	// Int32
	//
	// 發車順序
	// Required: true
	Sequence *int32 `json:"Sequence"`

	// String
	//
	// 車次代碼
	TrainNo string `json:"TrainNo,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種代嗎
	TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車種名稱
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"`
}

PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable TimeTable

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyStationTimeTable.TimeTable

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a daily station time table time table based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyStationTimeTableTimeTable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily station time table time table

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection struct {

	// SectionAmong
	//
	// 乘客目的站所屬區間
	// Required: true
	EndSection struct {
		PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong
	} `json:"EndSection" xml:"SectionAmong"`

	// SectionAmong
	//
	// 乘客出發站所屬區間
	// Required: true
	StartSection struct {
		PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong
	} `json:"StartSection" xml:"SectionAmong"`
}

PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection DiningFlagSection

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyTrainTimeTable.DiningFlagSection

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a daily train time table dining flag section based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily train time table dining flag section

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong struct {

	// String
	//
	// 迄站車站代碼
	// Required: true
	EndStationID *string `json:"EndStationID" xml:"String"`

	// String
	//
	// 起站車站代碼
	// Required: true
	StartStationID *string `json:"StartStationID" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong SectionAmong

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyTrainTimeTable.SectionAmong

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a daily train time table section among based on context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableSectionAmong) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily train time table section among

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime struct {

	// String
	//
	// 到站時間
	ArrivalTime string `json:"ArrivalTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 離站時間
	DepartureTime string `json:"DepartureTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// Int32
	//
	// 停靠站序
	// Required: true
	StopSequence *int32 `json:"StopSequence"`
}

PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime StopTime

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyTrainTimeTable.StopTime

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a daily train time table stop time based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily train time table stop time

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo struct {

	// Int32
	//
	// 是否人車同行班次(置於攜車袋之自行車各級列車均可乘車) : [0:'否',1:'是']
	// Required: true
	BikeFlag *int64 `json:"BikeFlag"`

	// Int32
	//
	// 是否設有哺(集)乳室車廂 : [0:'否',1:'是']
	// Required: true
	BreastFeedFlag *int64 `json:"BreastFeedFlag"`

	// Int32
	//
	// 是否提供小汽車上火車服務 : [0:'否',1:'是']
	CarFlag int64 `json:"CarFlag,omitempty"`

	// Int32
	//
	// 是否每日行駛 : [0:'否',1:'是']
	// Required: true
	DailyFlag *int64 `json:"DailyFlag"`

	// Int32
	//
	// 是否提供訂便當服務 : [0:'否',1:'是']
	// Required: true
	DiningFlag *int64 `json:"DiningFlag"`

	// DiningFlagSection[]
	//
	// 提供訂便當服務之車站區間
	DiningFlagSections []*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableDiningFlagSection `json:"DiningFlagSections" xml:"DiningFlagSection[]"`

	// Int32
	//
	// 行駛方向 : [0:'順行',1:'逆行']
	// Required: true
	Direction *int64 `json:"Direction"`

	// String
	//
	// 車次之終點站車站代號
	EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車次之終點站車站名稱
	// Required: true
	EndingStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"EndingStationName" xml:"NameType"`

	// Int32
	//
	// 是否為加班車 : [0:'否',1:'是']
	// Required: true
	ExtraTrainFlag *int64 `json:"ExtraTrainFlag"`

	// String
	//
	// 附註說明
	Note string `json:"Note,omitempty" xml:"String,omitempty"`

	// String
	//
	// 跨夜車站代碼
	OverNightStationID string `json:"OverNightStationID,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 是否提供行李服務 : [0:'否',1:'是']
	// Required: true
	PackageServiceFlag *int64 `json:"PackageServiceFlag"`

	// String
	//
	// 營運路線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

	// String
	//
	// 車次之起始站車站代號
	StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車次之起始站車站名稱
	// Required: true
	StartingStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StartingStationName" xml:"NameType"`

	// String
	//
	// 車次代碼
	// Required: true
	TrainNo *string `json:"TrainNo" xml:"String"`

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種代嗎
	TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車種名稱
	// Required: true
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName" xml:"NameType"`

	// String
	//
	// 車次之目的地方向描述
	TripHeadSign string `json:"TripHeadSign,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線']
	TripLine int64 `json:"TripLine,omitempty"`

	// Int32
	//
	// 是否設身障旅客專用座位車 : [0:'否',1:'是']
	// Required: true
	WheelChairFlag *int64 `json:"WheelChairFlag"`
}

PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo TrainInfo

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyTrainTimeTable.TrainInfo

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a daily train time table train info based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily train time table train info

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable struct {

	// Array
	//
	// 停靠站資料
	// Required: true
	StopTimes []*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableStopTime "json:\"StopTimes\" xml:\"List`1\""

	// TrainInfo
	//
	// 車次資料
	// Required: true
	TrainInfo struct {
		PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainInfo
	} `json:"TrainInfo" xml:"TrainInfo"`
}

PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable TrainTimetable

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.DailyTrainTimeTable.TrainTimetable

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a daily train time table train timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRADailyTrainTimeTableTrainTimetable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a daily train time table train timetable

type PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable struct {

	// Int32
	//
	// 行駛方向 : [0:'順行',1:'逆行']
	// Required: true
	Direction *int64 `json:"Direction"`

	// String
	//
	// 營運路線代碼
	RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"`

	// ServiceDay
	//
	// 服務日型態
	// Required: true
	ServiceDay struct {
		PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay
	} `json:"ServiceDay" xml:"ServiceDay"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName,omitempty" xml:"NameType,omitempty"`

	// Array
	//
	// 車次停靠站資料
	// Required: true
	Timetables []*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable "json:\"Timetables\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable GeneralStationTimetable

車站站別時刻表資料型別

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.GeneralStationTimetable.GeneralStationTimetable

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a general station timetable general station timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableGeneralStationTimetable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a general station timetable general station timetable

type PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay struct {

	// 假日後一日營運與否
	DayAfterHoliday bool `json:"DayAfterHoliday,omitempty"`

	// 假日前一日營運與否
	DayBeforeHoliday bool `json:"DayBeforeHoliday,omitempty"`

	// Boolean
	//
	// 星期五營運與否
	// Required: true
	Friday *bool `json:"Friday"`

	// Boolean
	//
	// 星期一營運與否
	// Required: true
	Monday *bool `json:"Monday"`

	// 國定假日營運與否
	NationalHolidays bool `json:"NationalHolidays,omitempty"`

	// Boolean
	//
	// 星期六營運與否
	// Required: true
	Saturday *bool `json:"Saturday"`

	// String
	//
	// 服務日標籤
	ServiceTag string `json:"ServiceTag,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 星期日營運與否
	// Required: true
	Sunday *bool `json:"Sunday"`

	// Boolean
	//
	// 星期四營運與否
	// Required: true
	Thursday *bool `json:"Thursday"`

	// Boolean
	//
	// 星期二營運與否
	// Required: true
	Tuesday *bool `json:"Tuesday"`

	// 颱風停止上班上課期間營運與否
	TyphoonDay bool `json:"TyphoonDay,omitempty"`

	// Boolean
	//
	// 星期三營運與否
	// Required: true
	Wednesday *bool `json:"Wednesday"`
}

PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay ServiceDay

服務日型態

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.GeneralStationTimetable.ServiceDay

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a general station timetable service day based on context it is used

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableServiceDay) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a general station timetable service day

type PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable struct {

	// String
	//
	// 到站時刻
	ArrivalTime string `json:"ArrivalTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 發車時刻
	DepartureTime string `json:"DepartureTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 目的站車站代號
	DestinationStationID string `json:"DestinationStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 目的站車站
	DestinationStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"DestinationStationName,omitempty" xml:"NameType,omitempty"`

	// Int32
	//
	// 發車順序
	Sequence int32 `json:"Sequence,omitempty"`

	// String
	//
	// 車次代碼
	TrainNo string `json:"TrainNo,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種代嗎
	TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車種名稱
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName,omitempty" xml:"NameType,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable Timetable

車次停靠站資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.GeneralStationTimetable.Timetable

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a general station timetable timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralStationTimetableTimetable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a general station timetable timetable

type PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable struct {

	// ServiceDay
	//
	// 營運日型態
	// Required: true
	ServiceDay struct {
		PTXServiceDTORailSpecificationV3TRACommonServiceDay
	} `json:"ServiceDay" xml:"ServiceDay"`

	// Array
	//
	// 停靠時間資料
	// Required: true
	StopTimes []*PTXServiceDTORailSpecificationV3TRACommonStopTime "json:\"StopTimes\" xml:\"List`1\""

	// TrainInfo
	//
	// 定期車次資料
	// Required: true
	TrainInfo struct {
		PTXServiceDTORailSpecificationV3TRACommonTrainInfo
	} `json:"TrainInfo" xml:"TrainInfo"`
}

PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable GeneralTrainTimetable

定期時刻表資料型別

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.GeneralTrainTimetable

func (*PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a general train timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAGeneralTrainTimetable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a general train timetable

type PTXServiceDTORailSpecificationV3TRALine added in v0.7.0

type PTXServiceDTORailSpecificationV3TRALine struct {

	// Boolean
	//
	// 是否位於支線
	// Required: true
	IsBranch *bool `json:"IsBranch"`

	// String
	//
	// 路線顏色
	LineColor string `json:"LineColor,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路線群組
	LineGroup string `json:"LineGroup,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// NameType
	//
	// 路線名稱
	// Required: true
	LineName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineName" xml:"NameType"`

	// String
	//
	// 路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`

	// NameType
	//
	// 路線區間名稱
	// Required: true
	LineSectionName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineSectionName" xml:"NameType"`

	// String
	//
	// 路線群組
	LineURL string `json:"LineURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRALine Line

路線基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Line

func (*PTXServiceDTORailSpecificationV3TRALine) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a line based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRALine) MarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRALine) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALine) UnmarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRALine) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALine) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a line

type PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork added in v0.7.0

type PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork struct {

	// String
	//
	// 路線編號
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// NameType
	//
	// 路線名稱
	// Required: true
	LineName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineName" xml:"NameType"`

	// Array
	//
	// 路線站點間線段資訊
	LineSegments []*PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment "json:\"LineSegments\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork LineNetwork

路線網路拓撲基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.LineNetwork.LineNetwork

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a line network line network based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineNetwork) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a line network line network

type PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment added in v0.7.0

type PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment struct {

	// Single
	//
	// 站間距離
	// Required: true
	Distance *float32 `json:"Distance"`

	// String
	//
	// 線段起點站代碼
	// Required: true
	FromStationID *string `json:"FromStationID" xml:"String"`

	// String
	//
	// 線段代碼
	// Required: true
	LineSegmentID *string `json:"LineSegmentID" xml:"String"`

	// NameType
	//
	// 路段名稱
	// Required: true
	LineSegmentName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineSegmentName" xml:"NameType"`

	// String
	//
	// 線段種類 = ['M: 主路線', 'B: 分支路線']
	// Required: true
	SegmentType *string `json:"SegmentType" xml:"String"`

	// String
	//
	// 線段迄點站代碼
	// Required: true
	ToStationID *string `json:"ToStationID" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment LineSegment

路線站點間線段資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.LineNetwork.LineSegment

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a line network line segment based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALineNetworkLineSegment) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a line network line segment

type PTXServiceDTORailSpecificationV3TRALineTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRALineTransfer struct {

	// String
	//
	// 路線間轉乘(起)之路線代碼
	// Required: true
	FromLineID *string `json:"FromLineID" xml:"String"`

	// NameType
	//
	// 路線間轉乘(起)之路線名稱
	// Required: true
	FromLineName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"FromLineName" xml:"NameType"`

	// String
	//
	// 路線間轉乘(起)之車站代碼
	// Required: true
	FromStationID *string `json:"FromStationID" xml:"String"`

	// NameType
	//
	// 路線間轉乘(起)之車站名稱
	// Required: true
	FromStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"FromStationName" xml:"NameType"`

	// Double
	//
	// 轉乘耗時參考時間(分)
	// Required: true
	MinTransferTime *float64 `json:"MinTransferTime"`

	// String
	//
	// 路線間轉乘(迄)之路線代碼
	// Required: true
	ToLineID *string `json:"ToLineID" xml:"String"`

	// NameType
	//
	// 路線間轉乘(迄)之路線名稱
	// Required: true
	ToLineName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"ToLineName" xml:"NameType"`

	// String
	//
	// 路線間轉乘(迄)之車站代碼
	// Required: true
	ToStationID *string `json:"ToStationID" xml:"String"`

	// NameType
	//
	// 路線間轉乘(迄)之車站名稱
	// Required: true
	ToStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"ToStationName" xml:"NameType"`

	// String
	//
	// 轉乘方式文字描述
	// Required: true
	TransferDescription *string `json:"TransferDescription" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRALineTransfer LineTransfer

路線站間轉乘基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.LineTransfer

func (*PTXServiceDTORailSpecificationV3TRALineTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a line transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRALineTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALineTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRALineTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a line transfer

type PTXServiceDTORailSpecificationV3TRANetworkLine added in v0.7.0

type PTXServiceDTORailSpecificationV3TRANetworkLine struct {

	// String
	//
	// 路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// String
	//
	// 路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRANetworkLine Line

路線基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Network.Line

func (*PTXServiceDTORailSpecificationV3TRANetworkLine) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a network line based on context it is used

func (*PTXServiceDTORailSpecificationV3TRANetworkLine) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRANetworkLine) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRANetworkLine) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a network line

type PTXServiceDTORailSpecificationV3TRANetworkMapNameType added in v0.7.0

type PTXServiceDTORailSpecificationV3TRANetworkMapNameType struct {

	// String
	//
	// 路網圖網址(英文版)
	En string `json:"En,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路網圖名稱
	MapName string `json:"MapName,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路網圖網址(中文版)
	ZhTw string `json:"Zh_tw,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRANetworkMapNameType MapNameType

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Network.MapNameType

func (*PTXServiceDTORailSpecificationV3TRANetworkMapNameType) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a network map name type based on context it is used

func (*PTXServiceDTORailSpecificationV3TRANetworkMapNameType) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRANetworkMapNameType) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRANetworkMapNameType) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a network map name type

type PTXServiceDTORailSpecificationV3TRANetworkNetwork added in v0.7.0

type PTXServiceDTORailSpecificationV3TRANetworkNetwork struct {

	// Array
	//
	// 路線資訊
	// Required: true
	Lines []*PTXServiceDTORailSpecificationV3TRANetworkLine "json:\"Lines\" xml:\"List`1\""

	// String
	//
	// 路網代碼
	// Required: true
	NetworkID *string `json:"NetworkID" xml:"String"`

	// MapNameType
	//
	// 路網圖網址URL
	// Required: true
	NetworkMapURL struct {
		PTXServiceDTORailSpecificationV3TRANetworkMapNameType
	} `json:"NetworkMapURL" xml:"MapNameType"`

	// NameType
	//
	// 路網名稱
	// Required: true
	NetworkName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"NetworkName" xml:"NameType"`

	// String
	//
	// 營運業者代碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRANetworkNetwork Network

路網資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Network.Network

func (*PTXServiceDTORailSpecificationV3TRANetworkNetwork) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a network network based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRANetworkNetwork) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRANetworkNetwork) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRANetworkNetwork) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a network network

type PTXServiceDTORailSpecificationV3TRAODFareFare added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAODFareFare struct {

	// Int32
	//
	// 艙等 = ['1: 標準座車廂', '2: 商務座車廂', '3: 自由座車廂']
	// Required: true
	CabinClass *int32 `json:"CabinClass"`

	// Int32
	//
	// 費率等級 = ['1: 成人', '2: 學生', '3: 孩童', '4: 敬老', '5: 愛心', '6: 愛心孩童', '7: 愛心優待/愛心陪伴', '8: 團體', '9: 軍警']
	// Required: true
	FareClass *int32 `json:"FareClass"`

	// Int32
	//
	// 計費價格(新台幣)
	// Required: true
	Price *int32 `json:"Price"`

	// Int32
	//
	// 票種類型 = ['1: 一般票', '2: 來回票', '3: 電子票證', '4: 回數票', '5: 定期票(30天期)', '6: 定期票(60天期)', '7: 早鳥票']
	// Required: true
	TicketType *int32 `json:"TicketType"`
}

PTXServiceDTORailSpecificationV3TRAODFareFare Fare

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.ODFare.Fare

func (*PTXServiceDTORailSpecificationV3TRAODFareFare) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a o d fare fare based on context it is used

func (*PTXServiceDTORailSpecificationV3TRAODFareFare) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAODFareFare) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAODFareFare) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a o d fare fare

type PTXServiceDTORailSpecificationV3TRAODFareODFare added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAODFareODFare struct {

	// String
	//
	// 迄點車站代碼
	// Required: true
	DestinationStationID *string `json:"DestinationStationID" xml:"String"`

	// NameType
	//
	// 迄點車站名稱
	// Required: true
	DestinationStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"DestinationStationName" xml:"NameType"`

	// Int32
	//
	// 方向 : [0:'順行',1:'逆行']
	Direction int64 `json:"Direction,omitempty"`

	// Array
	//
	// 票價
	// Required: true
	Fares []*PTXServiceDTORailSpecificationV3TRAODFareFare "json:\"Fares\" xml:\"List`1\""

	// String
	//
	// 起點車站代碼
	// Required: true
	OriginStationID *string `json:"OriginStationID" xml:"String"`

	// NameType
	//
	// 起點車站名稱
	// Required: true
	OriginStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OriginStationName" xml:"NameType"`

	// Int32
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	// Required: true
	TrainType *int32 `json:"TrainType"`

	// 起迄站間乘車距離
	TravelDistance float32 `json:"TravelDistance,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAODFareODFare ODFare

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.ODFare.ODFare

func (*PTXServiceDTORailSpecificationV3TRAODFareODFare) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a o d fare o d fare based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAODFareODFare) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAODFareODFare) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAODFareODFare) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a o d fare o d fare

type PTXServiceDTORailSpecificationV3TRAOperator added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAOperator struct {

	// String
	//
	// 營運業者票價查詢網站連結
	FareURL string `json:"FareURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// String
	//
	// 營運業者電子信箱
	OperatorEmail string `json:"OperatorEmail,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者Logo網址
	OperatorLogoURL string `json:"OperatorLogoURL,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`

	// String
	//
	// 營運業者連絡電話
	OperatorPhone string `json:"OperatorPhone,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者網址連結
	OperatorURL string `json:"OperatorURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者訂票電話
	ReservationPhone string `json:"ReservationPhone,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運業者訂票網站
	ReservationURL string `json:"ReservationURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAOperator Operator

營運業者基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Operator

func (*PTXServiceDTORailSpecificationV3TRAOperator) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a operator based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAOperator) MarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRAOperator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAOperator) UnmarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRAOperator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAOperator) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a operator

type PTXServiceDTORailSpecificationV3TRAShape added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAShape struct {

	// String
	//
	// well-known text,為路線軌跡資料
	// Required: true
	Geometry *string `json:"Geometry" xml:"String"`

	// String
	//
	// 路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// NameType
	//
	// 路線名稱
	// Required: true
	LineName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"LineName" xml:"NameType"`

	// String
	//
	// 路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`

	// DateTime
	//
	// 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXServiceDTORailSpecificationV3TRAShape Shape

線型資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Shape

func (*PTXServiceDTORailSpecificationV3TRAShape) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a shape based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAShape) MarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRAShape) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAShape) UnmarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRAShape) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAShape) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a shape

type PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable added in v0.7.0

type PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable struct {

	// SpecialDay
	//
	// 營運日型態
	// Required: true
	SpecialDay struct {
		PTXServiceDTORailSpecificationV3TRACommonSpecialDay
	} `json:"SpecialDay" xml:"SpecialDay"`

	// Array
	//
	// 停靠時間資料
	// Required: true
	StopTimes []*PTXServiceDTORailSpecificationV3TRACommonStopTime "json:\"StopTimes\" xml:\"List`1\""

	// TrainInfo
	//
	// 定期車次資料
	// Required: true
	TrainInfo struct {
		PTXServiceDTORailSpecificationV3TRACommonTrainInfo
	} `json:"TrainInfo" xml:"TrainInfo"`
}

PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable SpecificTrainTimetable

特殊車次時刻表資料型別

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.SpecificTrainTimetable

func (*PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a specific train timetable based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRASpecificTrainTimetable) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a specific train timetable

type PTXServiceDTORailSpecificationV3TRAStation added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStation struct {

	// String
	//
	// 訂票車站代碼
	ReservationCode string `json:"ReservationCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站地址
	StationAddress string `json:"StationAddress,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站級別 = ['0: 特等', '1: 一等', '2: 二等', '3: 三等', '4: 簡易', '5: 招呼', '6: 號誌', 'A: 貨運', 'B: 基地', 'X: 非車']
	StationClass string `json:"StationClass,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// String
	//
	// 車站聯絡電話
	StationPhone string `json:"StationPhone,omitempty" xml:"String,omitempty"`

	// PointType
	//
	// 車站座標(WGS84)
	// Required: true
	StationPosition struct {
		PTXServiceDTOSharedSpecificationV3BasePointType
	} `json:"StationPosition" xml:"PointType"`

	// String
	//
	// 車站唯一識別代碼
	// Required: true
	StationUID *string `json:"StationUID" xml:"String"`

	// String
	//
	// 車站資訊說明網址
	StationURL string `json:"StationURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAStation Station

車站資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.Station

func (*PTXServiceDTORailSpecificationV3TRAStation) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStation) MarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRAStation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStation) UnmarshalBinary added in v0.7.0

func (m *PTXServiceDTORailSpecificationV3TRAStation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStation) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station

type PTXServiceDTORailSpecificationV3TRAStationExitExit added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationExitExit struct {

	// String
	//
	// 出入口所在道路路段方位角
	Bearing string `json:"Bearing,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 是否有電梯
	Elevator bool `json:"Elevator,omitempty"`

	// Int32
	//
	// 是否有電扶梯 = ['0: 沒有', '1: 雙向皆有', '2: 出站有', '3: 入站有']
	// Required: true
	Escalator *int32 `json:"Escalator"`

	// String
	//
	// 出入口代碼
	// Required: true
	ExitID *string `json:"ExitID" xml:"String"`

	// NameType
	//
	// 出入口名稱
	// Required: true
	ExitName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"ExitName" xml:"NameType"`

	// PointType
	//
	// 出入口座標
	// Required: true
	ExitPosition struct {
		PTXServiceDTOSharedSpecificationV3BasePointType
	} `json:"ExitPosition" xml:"PointType"`

	// String
	//
	// 地址描述
	LocationDescription string `json:"LocationDescription,omitempty" xml:"String,omitempty"`

	// String
	//
	// 出入口所在道路名稱
	RoadName string `json:"RoadName,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 是否有樓梯
	Stair bool `json:"Stair,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAStationExitExit Exit

車站出入口

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationExit.Exit

func (*PTXServiceDTORailSpecificationV3TRAStationExitExit) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station exit exit based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationExitExit) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationExitExit) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationExitExit) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station exit exit

type PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL struct {

	// String
	//
	// 樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車站出入口簡圖名稱
	// Required: true
	MapName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"MapName" xml:"NameType"`

	// String
	//
	// 車站出入口簡圖網址
	MapURL string `json:"MapURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL ExitMapURL

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationExit.ExitMapURL

func (*PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station exit exit map URL based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station exit exit map URL

type PTXServiceDTORailSpecificationV3TRAStationExitStationExit added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationExitStationExit struct {

	// Array
	//
	// 車站出入口簡圖網址連結資訊
	ExitMapURLs []*PTXServiceDTORailSpecificationV3TRAStationExitExitMapURL "json:\"ExitMapURLs\" xml:\"List`1\""

	// Array
	//
	// 車站出入口
	// Required: true
	Exits []*PTXServiceDTORailSpecificationV3TRAStationExitExit "json:\"Exits\" xml:\"List`1\""

	// String
	//
	// 出入口所屬車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationExitStationExit StationExit

車站出入口資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationExit.StationExit

func (*PTXServiceDTORailSpecificationV3TRAStationExitStationExit) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station exit station exit based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationExitStationExit) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationExitStationExit) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationExitStationExit) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station exit station exit

type PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo struct {

	// String
	//
	// 位置描述
	// Required: true
	Description *string `json:"Description" xml:"String"`

	// String
	//
	// 樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo FacilityInfo

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationFacility.FacilityInfo

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a station facility facility info based on context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station facility facility info

type PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL struct {

	// String
	//
	// 樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車站設施簡圖名稱
	// Required: true
	MapName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"MapName" xml:"NameType"`

	// String
	//
	// 車站設施簡圖網址
	// Required: true
	MapURL *string `json:"MapURL" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL FacilityMapURL

車站設施簡圖網址連結資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationFacility.FacilityMapURL

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station facility facility map URL based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station facility facility map URL

type PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility struct {

	// Array
	//
	// 飲水機位置資訊
	// Required: true
	DrinkingFountains []*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo "json:\"DrinkingFountains\" xml:\"List`1\""

	// Array
	//
	// 無障礙電梯位置資訊
	// Required: true
	Elevators []*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo "json:\"Elevators\" xml:\"List`1\""

	// Array
	//
	// 車站出入口
	// Required: true
	FacilityMapURLs []*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityMapURL "json:\"FacilityMapURLs\" xml:\"List`1\""

	// Array
	//
	// 詢問處位置資訊
	// Required: true
	InformationSpots []*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo "json:\"InformationSpots\" xml:\"List`1\""

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// Array
	//
	// 廁所位置資訊
	// Required: true
	Toilets []*PTXServiceDTORailSpecificationV3TRAStationFacilityFacilityInfo "json:\"Toilets\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility StationFacility

車站設施資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationFacility.StationFacility

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station facility station facility based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationFacilityStationFacility) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station facility station facility

type PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation struct {

	// Single
	//
	// 已累積之里程距離(公里)
	// Required: true
	CumulativeDistance *float32 `json:"CumulativeDistance"`

	// Int32
	//
	// 站序
	// Required: true
	Sequence *int32 `json:"Sequence"`

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation LineStation

路線車站資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationOfLine.LineStation

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station of line line station based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station of line line station

type PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine struct {

	// String
	//
	// 路線代碼
	// Required: true
	LineID *string `json:"LineID" xml:"String"`

	// String
	//
	// 路線編號
	// Required: true
	LineNo *string `json:"LineNo" xml:"String"`

	// Array
	//
	// 路線車站資訊
	// Required: true
	Stations []*PTXServiceDTORailSpecificationV3TRAStationOfLineLineStation "json:\"Stations\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine StationOfLine

路線車站基本資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationOfLine.StationOfLine

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station of line station of line based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationOfLineStationOfLine) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station of line station of line

type PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer struct {

	// String
	//
	// 機場代碼
	// Required: true
	AirportID *string `json:"AirportID" xml:"String"`

	// NameType
	//
	// 機場名稱
	// Required: true
	AirportName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"AirportName" xml:"NameType"`

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`

	// String
	//
	// 機場營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 機場營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer AirportTransfer

航空運具轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.AirportTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer airport transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer airport transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer struct {

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`

	// String
	//
	// 公共自行車營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 公共自行車營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`

	// String
	//
	// 公共自行車租借站位代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 公共自行車租借站位名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer BikeTransfer

公共自行車轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.BikeTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer bike transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer bike transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer struct {

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘公車開往方向
	// Required: true
	Destination *string `json:"Destination" xml:"String"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`

	// String
	//
	// 公車營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 公車營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`

	// String
	//
	// 轉乘公車所在月台
	Platform string `json:"Platform,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘公車路線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

	// NameType
	//
	// 轉乘公車路線名稱
	// Required: true
	RouteName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"RouteName" xml:"NameType"`

	// String
	//
	// 轉乘公車站牌代碼
	// Required: true
	StopID *string `json:"StopID" xml:"String"`

	// NameType
	//
	// 轉乘公車站牌名稱
	// Required: true
	StopName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StopName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer BusTransfer

公車運具轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.BusTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer bus transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer bus transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer struct {

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 計程車招呼站代碼
	FerryStationID string `json:"FerryStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 計程車招呼站名稱
	// Required: true
	FerryStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"FerryStationName" xml:"NameType"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`

	// String
	//
	// 航運營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 航運營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer FerryTransfer

航運轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.FerryTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer ferry transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer ferry transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferMapURL added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferMapURL struct {

	// String
	//
	// 樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// String
	//
	// 地圖名稱
	// Required: true
	MapName *string `json:"MapName" xml:"String"`

	// String
	//
	// 地圖簡圖連結
	// Required: true
	MapURL *string `json:"MapURL" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferMapURL MapURL

轉乘地圖簡圖連結資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.MapURL

func (*PTXServiceDTORailSpecificationV3TRAStationTransferMapURL) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a station transfer map URL based on context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferMapURL) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferMapURL) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferMapURL) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer map URL

type PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer struct {

	// String
	//
	// 停車場代碼
	// Required: true
	CarParkID *string `json:"CarParkID" xml:"String"`

	// NameType
	//
	// 停車場名稱
	// Required: true
	CarParkName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"CarParkName" xml:"NameType"`

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer ParkingTransfer

停車場轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.ParkingTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer parking transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer parking transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer struct {

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`

	// String
	//
	// 軌道營運業者簡碼
	// Required: true
	OperatorCode *string `json:"OperatorCode" xml:"String"`

	// NameType
	//
	// 軌道營運業者名稱
	// Required: true
	OperatorName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"OperatorName" xml:"NameType"`

	// String
	//
	// 軌道場站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 軌道場站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer RailTransfer

軌道轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.RailTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer rail transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer rail transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer struct {

	// Array
	//
	// 外部轉乘地圖簡圖連結資訊
	// Required: true
	ExteriorMapURLs []*PTXServiceDTORailSpecificationV3TRAStationTransferMapURL "json:\"ExteriorMapURLs\" xml:\"List`1\""

	// Array
	//
	// 車站內部地圖簡圖連結資訊
	// Required: true
	InteriorMapURLs []*PTXServiceDTORailSpecificationV3TRAStationTransferMapURL "json:\"InteriorMapURLs\" xml:\"List`1\""

	// String
	//
	// 車站代碼
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// String
	//
	// 轉乘文字描述
	TransferDescription string `json:"TransferDescription,omitempty" xml:"String,omitempty"`

	// Array
	//
	// 跨運具轉乘資訊
	// Required: true
	Transfers []*PTXServiceDTORailSpecificationV3TRAStationTransferTransfer "json:\"Transfers\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer StationTransfer

車站跨運具轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.StationTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer station transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferStationTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer station transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer struct {

	// String
	//
	// 轉乘描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 轉乘樓層
	FloorLevel string `json:"FloorLevel,omitempty" xml:"String,omitempty"`

	// 是否為站內或站外轉乘
	IsOnSiteTransfer bool `json:"IsOnSiteTransfer,omitempty"`

	// 最短轉乘時間
	MinTransferTime float64 `json:"MinTransferTime,omitempty"`

	// String
	//
	// 運具種類代碼
	// Required: true
	Mode *string `json:"Mode" xml:"String"`

	// String
	//
	// 計程車招呼站代碼
	TaxiStopID string `json:"TaxiStopID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 計程車招呼站名稱
	// Required: true
	TaxiStopName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TaxiStopName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer TaxiTransfer

計程車轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.TaxiTransfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer taxi transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer taxi transfer

type PTXServiceDTORailSpecificationV3TRAStationTransferTransfer added in v0.7.0

type PTXServiceDTORailSpecificationV3TRAStationTransferTransfer struct {

	// Array
	//
	// 航空運具轉乘資訊
	// Required: true
	AirportTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferAirportTransfer "json:\"AirportTransfers\" xml:\"List`1\""

	// Array
	//
	// 公共自行車轉乘資訊
	// Required: true
	BikeTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferBikeTransfer "json:\"BikeTransfers\" xml:\"List`1\""

	// Array
	//
	// 公車運具轉乘資訊
	// Required: true
	BusTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferBusTransfer "json:\"BusTransfers\" xml:\"List`1\""

	// String
	//
	// 出口代碼
	// Required: true
	ExitID *string `json:"ExitID" xml:"String"`

	// String
	//
	// 出口名稱
	// Required: true
	ExitName *string `json:"ExitName" xml:"String"`

	// Array
	//
	// 航運轉乘資訊
	// Required: true
	FerryTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferFerryTransfer "json:\"FerryTransfers\" xml:\"List`1\""

	// Array
	//
	// 停車場轉乘資訊
	// Required: true
	ParkingTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferParkingTransfer "json:\"ParkingTransfers\" xml:\"List`1\""

	// Array
	//
	// 軌道轉乘資訊
	// Required: true
	RailTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferRailTransfer "json:\"RailTransfers\" xml:\"List`1\""

	// Array
	//
	// 計程車轉乘資訊
	// Required: true
	TaxiTransfers []*PTXServiceDTORailSpecificationV3TRAStationTransferTaxiTransfer "json:\"TaxiTransfers\" xml:\"List`1\""
}

PTXServiceDTORailSpecificationV3TRAStationTransferTransfer Transfer

跨運具轉乘資訊

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.StationTransfer.Transfer

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTransfer) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a station transfer transfer based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTransfer) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTransfer) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRAStationTransferTransfer) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a station transfer transfer

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlert added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlert struct {

	// String
	//
	// 通阻訊息代碼
	// Required: true
	AlertID *string `json:"AlertID" xml:"String"`

	// String
	//
	// 通阻訊息網址連結
	AlertURL string `json:"AlertURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 通阻訊息說明
	// Required: true
	Description *string `json:"Description" xml:"String"`

	// Int32
	//
	// 影響方向 : [0:'南下',1:'北上',2:'雙向']
	Direction int64 `json:"Direction,omitempty"`

	// String
	//
	// 影響說明
	Effect string `json:"Effect,omitempty" xml:"String,omitempty"`

	// 訊息結束日期時間
	// Format: date-time
	EndTime strfmt.DateTime `json:"EndTime,omitempty"`

	// Int32
	//
	// 影響等級程度 : [1:'重度',2:'中度',3:'輕度']
	Level int64 `json:"Level,omitempty"`

	// 消息發佈日期時間
	// Format: date-time
	PublishTime strfmt.DateTime `json:"PublishTime,omitempty"`

	// String
	//
	// 影響原因
	Reason string `json:"Reason,omitempty" xml:"String,omitempty"`

	// AlertScope
	//
	// 影響範圍
	Scope struct {
		PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope
	} `json:"Scope,omitempty" xml:"AlertScope,omitempty"`

	// 訊息起始日期時間
	// Format: date-time
	StartTime strfmt.DateTime `json:"StartTime,omitempty"`

	// Int32
	//
	// 營運狀況 : [0:'全線營運停止',1:'全線營運正常',2:'有異常狀況']
	// Required: true
	Status *int64 `json:"Status"`

	// String
	//
	// 通阻訊息標題
	// Required: true
	Title *string `json:"Title" xml:"String"`

	// DateTime
	//
	// 消息更新日期時間
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlert Alert

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.Alert

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlert) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a t r a alert list alert based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlert) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlert) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlert) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope struct {

	// AlertScopeLineSection[]
	//
	// 受影響的路線區間
	LineSections []*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection `json:"LineSections" xml:"AlertScopeLineSection[]"`

	// AlertScopeLine[]
	//
	// 受影響的實體路線
	Lines []*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine `json:"Lines" xml:"AlertScopeLine[]"`

	// AlertScopeNetwork
	//
	// 受影響的路網
	NetworkList struct {
		PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork
	} `json:"NetworkList,omitempty" xml:"AlertScopeNetwork,omitempty"`

	// AlertScopeRoute[]
	//
	// 受影響的營運路線
	Routes []*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute `json:"Routes" xml:"AlertScopeRoute[]"`

	// AlertScopeStation[]
	//
	// 受影響的車站
	Stations []*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation `json:"Stations" xml:"AlertScopeStation[]"`

	// AlertScopeTrain[]
	//
	// 受影響的車次
	Trains []*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain `json:"Trains" xml:"AlertScopeTrain[]"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope AlertScope

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScope

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a t r a alert list alert scope based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScope) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine struct {

	// String
	//
	// 實體路線代碼
	LineID string `json:"LineID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 實體路線名稱
	LineName string `json:"LineName,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine AlertScopeLine

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScopeLine

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope line based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLine) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope line

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection struct {

	// String
	//
	// 影響區間輔助描述
	Description string `json:"Description,omitempty" xml:"String,omitempty"`

	// String
	//
	// 區間迄站車站代碼
	EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 區間迄站車站名稱
	EndingStationName string `json:"EndingStationName,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路線區間所在路線代碼
	LineID string `json:"LineID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 區間起站車站代碼
	StartingStationID string `json:"StartingStationID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 區間起站車站名稱
	StartingStationName string `json:"StartingStationName,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection AlertScopeLineSection

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScopeLineSection

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope line section based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeLineSection) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope line section

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork struct {

	// String
	//
	// 路網代碼
	NetworkID string `json:"NetworkID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 路網名稱
	NetworkName string `json:"NetworkName,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork AlertScopeNetwork

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScopeNetwork

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope network based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeNetwork) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope network

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute struct {

	// String
	//
	// 營運路線代碼
	RouteID string `json:"RouteID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 營運路線名稱
	RouteName string `json:"RouteName,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute AlertScopeRoute

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScopeRoute

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope route based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeRoute) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope route

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation struct {

	// String
	//
	// 車站代碼
	StationID string `json:"StationID,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站名稱
	StationName string `json:"StationName,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation AlertScopeStation

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScopeStation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope station based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeStation) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope station

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain struct {

	// String
	//
	// 受影響的車次
	TrainNo string `json:"TrainNo,omitempty" xml:"String,omitempty"`
}

PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain AlertScopeTrain

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAAlertList.AlertScopeTrain

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope train based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAAlertListAlertScopeTrain) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a alert list alert scope train

type PTXServiceDTORailSpecificationV3TRATRANewsListNews added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRANewsListNews struct {

	// String
	//
	// 附件網址連結
	AttachmentURL string `json:"AttachmentURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 發布單位
	Department string `json:"Department,omitempty" xml:"String,omitempty"`

	// String
	//
	// 內容描述
	// Required: true
	Description *string `json:"Description" xml:"String"`

	// 消息結束日期時間
	// Format: date-time
	EndTime strfmt.DateTime `json:"EndTime,omitempty"`

	// Int32
	//
	// 語系 : [1:'Zh_tw',2:'En_us',3:'Zh_cn',4:'Ja',5:'Ko',99:'Other']
	// Required: true
	Language *int64 `json:"Language"`

	// Int32
	//
	// 消息類別 : [1:'最新消息',2:'新聞稿',3:'營運資訊',4:'轉乘資訊',5:'活動訊息',6:'系統公告',7:'新服務上架',8:'API修正',9:'來源異常',99:'其他']
	// Required: true
	NewsCategory *int64 `json:"NewsCategory"`

	// String
	//
	// 消息代碼
	// Required: true
	NewsID *string `json:"NewsID" xml:"String"`

	// String
	//
	// 消息網址連結
	NewsURL string `json:"NewsURL,omitempty" xml:"String,omitempty"`

	// DateTime
	//
	// 消息發佈日期時間
	// Required: true
	// Format: date-time
	PublishTime *strfmt.DateTime `json:"PublishTime"`

	// 消息起始日期時間
	// Format: date-time
	StartTime strfmt.DateTime `json:"StartTime,omitempty"`

	// String
	//
	// 消息標題
	// Required: true
	Title *string `json:"Title" xml:"String"`

	// DateTime
	//
	// 本筆資料之更新日期時間
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXServiceDTORailSpecificationV3TRATRANewsListNews News

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRANewsList.News

func (*PTXServiceDTORailSpecificationV3TRATRANewsListNews) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o rail specification v3 t r a t r a news list news based on context it is used

func (*PTXServiceDTORailSpecificationV3TRATRANewsListNews) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRANewsListNews) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRANewsListNews) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a news list news

type PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard struct {

	// Int32
	//
	// 延誤分鐘
	// Required: true
	DelayTime *int32 `json:"DelayTime"`

	// Int32
	//
	// 行駛方向 : [0:'順行',1:'逆行']
	Direction int64 `json:"Direction,omitempty"`

	// String
	//
	// 終點站代碼
	EndingStationID string `json:"EndingStationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 終點站名稱
	// Required: true
	EndingStationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"EndingStationName" xml:"NameType"`

	// String
	//
	// 停靠月台(00代表當時尚未確定停靠的月台,待確定好停靠的月台後,就會更新Platfrom。)
	Platform string `json:"Platform,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 列車狀態 : [0:'準點',1:'誤點',2:'取消']
	RunningStatus int64 `json:"RunningStatus,omitempty"`

	// String
	//
	// 表訂到站時刻
	ScheduleArrivalTime string `json:"ScheduleArrivalTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 表定離站時刻
	ScheduleDepartureTime string `json:"ScheduleDepartureTime,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車站代號
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// String
	//
	// 車次代碼
	// Required: true
	TrainNo *string `json:"TrainNo" xml:"String"`

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種代嗎
	TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車種名稱
	// Required: true
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName" xml:"NameType"`

	// Int32
	//
	// 山海線類型 : [0:'不經山海線',1:'山線',2:'海線',3:'成追線']
	TripLine int64 `json:"TripLine,omitempty"`

	// DateTime
	//
	// 本筆資料之更新日期時間
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard StationLiveBoard

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRAStationLiveBoardList.StationLiveBoard

func (*PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a t r a station live board list station live board based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRAStationLiveBoardListStationLiveBoard) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a station live board list station live board

type PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard struct {

	// Int32
	//
	// 延誤分鐘
	// Required: true
	DelayTime *int32 `json:"DelayTime"`

	// String
	//
	// 車站代號
	StationID string `json:"StationID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車站名稱
	// Required: true
	StationName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"StationName" xml:"NameType"`

	// String
	//
	// 車次代碼
	TrainNo string `json:"TrainNo,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 列車目前所在之車站狀態 : [0:'進站中',1:'在站上',2:'已離站']
	TrainStationStatus int64 `json:"TrainStationStatus,omitempty"`

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	TrainTypeCode string `json:"TrainTypeCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 車種代嗎
	TrainTypeID string `json:"TrainTypeID,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 車種名稱
	// Required: true
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName" xml:"NameType"`

	// DateTime
	//
	// 本筆位置資料之更新日期時間
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard TrainLiveBoard

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TRATrainLiveBoardList.TrainLiveBoard

func (*PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a t r a train live board list train live board based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATRATrainLiveBoardListTrainLiveBoard) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a t r a train live board list train live board

type PTXServiceDTORailSpecificationV3TRATrainType added in v0.7.0

type PTXServiceDTORailSpecificationV3TRATrainType struct {

	// String
	//
	// 車種簡碼 = ['1: 太魯閣', '2: 普悠瑪', '3: 自強', '4: 莒光', '5: 復興', '6: 區間', '7: 普快', '10: 區間快']
	// Required: true
	TrainTypeCode *string `json:"TrainTypeCode" xml:"String"`

	// String
	//
	// 列車車種代碼
	// Required: true
	TrainTypeID *string `json:"TrainTypeID" xml:"String"`

	// NameType
	//
	// 列車車種名稱
	// Required: true
	TrainTypeName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TrainTypeName" xml:"NameType"`
}

PTXServiceDTORailSpecificationV3TRATrainType TrainType

列車車種資料

swagger:model PTX.Service.DTO.Rail.Specification.V3.TRA.TrainType

func (*PTXServiceDTORailSpecificationV3TRATrainType) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o rail specification v3 t r a train type based on the context it is used

func (*PTXServiceDTORailSpecificationV3TRATrainType) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATrainType) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTORailSpecificationV3TRATrainType) Validate added in v0.7.0

Validate validates this p t x service d t o rail specification v3 t r a train type

type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth added in v0.12.0

type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth struct {

	// Inbound
	//
	// 本平台資料來源轉入狀態
	Inbound struct {
		PTXServiceDTOSharedSpecificationV3BaseInbound
	} `json:"Inbound,omitempty" xml:"Inbound,omitempty"`

	// Outbound
	//
	// 本平台API狀態
	Outbound struct {
		PTXServiceDTOSharedSpecificationV3BaseOutbound
	} `json:"Outbound,omitempty" xml:"Outbound,omitempty"`

	// String
	//
	// API服務代碼
	// Required: true
	ServiceID *string `json:"ServiceID" xml:"String"`

	// String
	//
	// API服務中文名稱
	// Required: true
	ServiceName *string `json:"ServiceName" xml:"String"`
}

PTXServiceDTOSharedSpecificationV3BaseDisplayHealth DisplayHealth

API服務健康狀態

swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.DisplayHealth

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) ContextValidate added in v0.12.0

ContextValidate validate this p t x service d t o shared specification v3 base display health based on the context it is used

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) Validate added in v0.12.0

Validate validates this p t x service d t o shared specification v3 base display health

type PTXServiceDTOSharedSpecificationV3BaseInbound added in v0.12.0

type PTXServiceDTOSharedSpecificationV3BaseInbound struct {

	// DateTime
	//
	// 檢核時間
	// Required: true
	// Format: date-time
	CheckTime *strfmt.DateTime `json:"CheckTime"`

	// String
	//
	// 檢核失敗原因
	Reason string `json:"Reason,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 檢核結果狀態 : [0:'失敗',1:'成功']
	// Required: true
	Status *int64 `json:"Status"`
}

PTXServiceDTOSharedSpecificationV3BaseInbound Inbound

本平台資料來源轉入狀態

swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.Inbound

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) ContextValidate added in v0.12.0

ContextValidate validates this p t x service d t o shared specification v3 base inbound based on context it is used

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) Validate added in v0.12.0

Validate validates this p t x service d t o shared specification v3 base inbound

type PTXServiceDTOSharedSpecificationV3BaseNameType added in v0.7.0

type PTXServiceDTOSharedSpecificationV3BaseNameType struct {

	// String
	//
	// 英文名稱
	En string `json:"En,omitempty" xml:"String,omitempty"`

	// String
	//
	// 中文繁體名稱
	ZhTw string `json:"Zh_tw,omitempty" xml:"String,omitempty"`
}

PTXServiceDTOSharedSpecificationV3BaseNameType NameType

swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.NameType

func (*PTXServiceDTOSharedSpecificationV3BaseNameType) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o shared specification v3 base name type based on context it is used

func (*PTXServiceDTOSharedSpecificationV3BaseNameType) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseNameType) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseNameType) Validate added in v0.7.0

Validate validates this p t x service d t o shared specification v3 base name type

type PTXServiceDTOSharedSpecificationV3BaseOutbound added in v0.12.0

type PTXServiceDTOSharedSpecificationV3BaseOutbound struct {

	// DateTime
	//
	// 檢核時間
	// Required: true
	// Format: date-time
	CheckTime *strfmt.DateTime `json:"CheckTime"`

	// String
	//
	// 檢核失敗原因
	Reason string `json:"Reason,omitempty" xml:"String,omitempty"`

	// Int32
	//
	// 檢核結果狀態 : [0:'失敗',1:'成功']
	// Required: true
	Status *int64 `json:"Status"`
}

PTXServiceDTOSharedSpecificationV3BaseOutbound Outbound

本平台API狀態

swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.Outbound

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) ContextValidate added in v0.12.0

ContextValidate validates this p t x service d t o shared specification v3 base outbound based on context it is used

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) Validate added in v0.12.0

Validate validates this p t x service d t o shared specification v3 base outbound

type PTXServiceDTOSharedSpecificationV3BasePointType added in v0.7.0

type PTXServiceDTOSharedSpecificationV3BasePointType struct {

	// 位置緯度(WGS84)
	PositionLat float64 `json:"PositionLat,omitempty"`

	// 位置經度(WGS84)
	PositionLon float64 `json:"PositionLon,omitempty"`
}

PTXServiceDTOSharedSpecificationV3BasePointType PointType

座標資料型別

swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.PointType

func (*PTXServiceDTOSharedSpecificationV3BasePointType) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o shared specification v3 base point type based on context it is used

func (*PTXServiceDTOSharedSpecificationV3BasePointType) MarshalBinary added in v0.7.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BasePointType) UnmarshalBinary added in v0.7.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BasePointType) Validate added in v0.7.0

Validate validates this p t x service d t o shared specification v3 base point type

Source Files

Jump to

Keyboard shortcuts

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