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 PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition added in v0.9.0

type PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition struct {

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

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數  [該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// Int32
	//
	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// [平臺]資料更新週期(秒)<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為中心端更新資料的週期"></span>
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為中心端處理完後提供資料的更新時間"></span>
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition ShipLivePositionList

swagger:model PTX.API.Ship.Model.ShipLiveWrapper[PTX.Service.DTO.Ship.Specification.V3.LivePosition]

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition) ContextValidate added in v0.9.0

ContextValidate validate this p t x API ship model ship live wrapper p t x service d t o ship specification v3 live position based on the context it is used

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition) MarshalBinary added in v0.9.0

MarshalBinary interface implementation

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition) UnmarshalBinary added in v0.9.0

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3LivePosition) Validate added in v0.9.0

Validate validates this p t x API ship model ship live wrapper p t x service d t o ship specification v3 live position

type PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News added in v0.14.0

type PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News struct {

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

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數  [該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// Int32
	//
	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

	// Int32
	//
	// [平臺]資料更新週期(秒)<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為中心端更新資料的週期"></span>
	// Required: true
	UpdateInterval *int32 `json:"UpdateInterval"`

	// [平臺]資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為中心端處理完後提供資料的更新時間"></span>
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News ShipNewsList

swagger:model PTX.API.Ship.Model.ShipLiveWrapper[PTX.Service.DTO.Ship.Specification.V3.News]

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News) ContextValidate added in v0.14.0

ContextValidate validate this p t x API ship model ship live wrapper p t x service d t o ship specification v3 news based on the context it is used

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News) Validate added in v0.14.0

Validate validates this p t x API ship model ship live wrapper p t x service d t o ship specification v3 news

type PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority

type PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority struct {

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

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority ShipAuthorityList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Shared.Specification.V3.Base.Authority]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority) ContextValidate added in v0.9.0

ContextValidate validate this p t x API ship model ship wrapper p t x service d t o shared specification v3 base authority based on the context it is used

func (*PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority) MarshalBinary

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOSharedSpecificationV3BaseAuthority) Validate

Validate validates this p t x API ship model ship wrapper p t x service d t o shared specification v3 base authority

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule added in v0.14.0

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule ShipDailyScheduleList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.DailySchedule]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule) ContextValidate added in v0.14.0

ContextValidate validate this p t x API ship model ship wrapper p t x service d t o ship specification v3 daily schedule based on the context it is used

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule) Validate added in v0.14.0

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 daily schedule

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator ShipOperatorList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.Operator]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator) ContextValidate added in v0.9.0

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

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator) MarshalBinary

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator) Validate

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 operator

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port ShipPortList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.Port]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port) ContextValidate added in v0.9.0

ContextValidate validate this p t x API ship model ship wrapper p t x service d t o ship specification v3 port based on the context it is used

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port) MarshalBinary

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Port) Validate

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 port

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route ShipRouteList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.Route]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route) ContextValidate added in v0.9.0

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

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route) MarshalBinary

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route) Validate

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 route

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule added in v0.14.0

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

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

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule ShipSpecificScheduleList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.SpecificSchedule]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule) ContextValidate added in v0.14.0

ContextValidate validate this p t x API ship model ship wrapper p t x service d t o ship specification v3 specific schedule based on the context it is used

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule) Validate added in v0.14.0

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 specific schedule

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute added in v0.14.0

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute ShipStopOfRouteList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.StopOfRoute]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute) ContextValidate added in v0.14.0

ContextValidate validate this p t x API ship model ship wrapper p t x service d t o ship specification v3 stop of route based on the context it is used

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute) Validate added in v0.14.0

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 stop of route

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel added in v0.14.0

type PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel struct {

	// String
	//
	// 業管機關簡碼
	AuthorityCode string `json:"AuthorityCode,omitempty" xml:"String,omitempty"`

	// 資料總筆數<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的總筆數[該欄位由本平台自動產製]"></span>
	Count int64 `json:"Count,omitempty"`

	// [來源端平臺]資料更新週期(秒)['-1: 不定期更新']<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateInterval [該欄位由本平台自動產製]"></span>
	// Required: true
	SrcUpdateInterval *int32 `json:"SrcUpdateInterval"`

	// [來源端平臺]資料更新時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)<span class="emphasis fas fa-pen" rel="為來源Inbound XML中的UpdateTime [該欄位由本平台自動產製]"></span>
	// Required: true
	// Format: date-time
	SrcUpdateTime *strfmt.DateTime `json:"SrcUpdateTime"`

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

	// XML更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Format: date-time
	UpdateTime strfmt.DateTime `json:"UpdateTime,omitempty"`

	// 資料版本編號<span class="emphasis fas fa-pen" rel="與來源Inbound XML不同,為提供資料的版本編號[該欄位由本平台自動產製]"></span>
	// Required: true
	VersionID *int32 `json:"VersionID"`

	// Array
	//
	// 資料(陣列)
	Vessels []*PTXServiceDTOShipSpecificationV3Vessel "json:\"Vessels\" xml:\"List`1\""
}

PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel ShipVesselList

swagger:model PTX.API.Ship.Model.ShipWrapper[PTX.Service.DTO.Ship.Specification.V3.Vessel]

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel) ContextValidate added in v0.14.0

ContextValidate validate this p t x API ship model ship wrapper p t x service d t o ship specification v3 vessel based on the context it is used

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel) Validate added in v0.14.0

Validate validates this p t x API ship model ship wrapper p t x service d t o ship specification v3 vessel

type PTXServiceDTOSharedSpecificationV3BaseAuthority

type PTXServiceDTOSharedSpecificationV3BaseAuthority struct {

	// String
	//
	// 業管機關地址
	// Required: true
	AuthorityAddress *string `json:"AuthorityAddress" xml:"String"`

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

	// String
	//
	// 業管機關電子信箱
	// Required: true
	AuthorityEmail *string `json:"AuthorityEmail" xml:"String"`

	// NameType
	//
	// 業管機關名稱
	// Required: true
	AuthorityName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"AuthorityName" xml:"NameType"`

	// String
	//
	// 業管機關識別代碼(可參閱: https://oid.nat.gov.tw/OIDWeb/)
	// Required: true
	AuthorityOID *string `json:"AuthorityOID" xml:"String"`

	// String
	//
	// 業管機關連絡電話
	// Required: true
	AuthorityPhone *string `json:"AuthorityPhone" xml:"String"`

	// String
	//
	// 業管機關官網網址
	AuthorityURL string `json:"AuthorityUrl,omitempty" xml:"String,omitempty"`

	// String
	//
	// 業管機關Logo網址
	LogoURL string `json:"LogoURL,omitempty" xml:"String,omitempty"`

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

PTXServiceDTOSharedSpecificationV3BaseAuthority Authority

業管機關

swagger:model PTX.Service.DTO.Shared.Specification.V3.Base.Authority

func (*PTXServiceDTOSharedSpecificationV3BaseAuthority) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o shared specification v3 base authority based on the context it is used

func (*PTXServiceDTOSharedSpecificationV3BaseAuthority) MarshalBinary

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseAuthority) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseAuthority) Validate

Validate validates this p t x service d t o shared specification v3 base authority

type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth added in v0.14.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.14.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.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) Validate added in v0.14.0

Validate validates this p t x service d t o shared specification v3 base display health

type PTXServiceDTOSharedSpecificationV3BaseInbound added in v0.14.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.14.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.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) Validate added in v0.14.0

Validate validates this p t x service d t o shared specification v3 base inbound

type PTXServiceDTOSharedSpecificationV3BaseNameType

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

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseNameType) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseNameType) Validate

Validate validates this p t x service d t o shared specification v3 base name type

type PTXServiceDTOSharedSpecificationV3BaseOutbound added in v0.14.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.14.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.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) Validate added in v0.14.0

Validate validates this p t x service d t o shared specification v3 base outbound

type PTXServiceDTOShipSpecificationV3DailySchedule added in v0.14.0

type PTXServiceDTOShipSpecificationV3DailySchedule struct {

	// String
	//
	// 航行日期
	// Required: true
	Date *string `json:"Date" xml:"String"`

	// Int32
	//
	// 方向性描述 : [0:'去程',1:'返程',2:'迴圈']
	Direction int64 `json:"Direction,omitempty"`

	// Array
	//
	// 發車班距資訊
	Frequencies []*PTXServiceDTOShipSpecificationV3Frequency "json:\"Frequencies\" xml:\"List`1\""

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

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

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

	// Array
	//
	// 營運定期班表資訊
	Timetables []*PTXServiceDTOShipSpecificationV3Timetable "json:\"Timetables\" xml:\"List`1\""
}

PTXServiceDTOShipSpecificationV3DailySchedule DailySchedule

swagger:model PTX.Service.DTO.Ship.Specification.V3.DailySchedule

func (*PTXServiceDTOShipSpecificationV3DailySchedule) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 daily schedule based on the context it is used

func (*PTXServiceDTOShipSpecificationV3DailySchedule) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3DailySchedule) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3DailySchedule) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 daily schedule

type PTXServiceDTOShipSpecificationV3DatePeriod added in v0.14.0

type PTXServiceDTOShipSpecificationV3DatePeriod struct {

	// String
	//
	// 結束日期
	EndDate string `json:"EndDate,omitempty" xml:"String,omitempty"`

	// String
	//
	// 開始日期
	StartDate string `json:"StartDate,omitempty" xml:"String,omitempty"`
}

PTXServiceDTOShipSpecificationV3DatePeriod DatePeriod

swagger:model PTX.Service.DTO.Ship.Specification.V3.DatePeriod

func (*PTXServiceDTOShipSpecificationV3DatePeriod) ContextValidate added in v0.14.0

ContextValidate validates this p t x service d t o ship specification v3 date period based on context it is used

func (*PTXServiceDTOShipSpecificationV3DatePeriod) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3DatePeriod) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3DatePeriod) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 date period

type PTXServiceDTOShipSpecificationV3Dates added in v0.14.0

type PTXServiceDTOShipSpecificationV3Dates struct {

	// String
	//
	// 特殊日期
	Date string `json:"Date,omitempty" xml:"String,omitempty"`
}

PTXServiceDTOShipSpecificationV3Dates Dates

swagger:model PTX.Service.DTO.Ship.Specification.V3.Dates

func (*PTXServiceDTOShipSpecificationV3Dates) ContextValidate added in v0.14.0

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

ContextValidate validates this p t x service d t o ship specification v3 dates based on context it is used

func (*PTXServiceDTOShipSpecificationV3Dates) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Dates) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Dates) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 dates

type PTXServiceDTOShipSpecificationV3Frequency added in v0.14.0

type PTXServiceDTOShipSpecificationV3Frequency struct {

	// String
	//
	// 結束時間
	// Required: true
	EndTime *string `json:"EndTime" xml:"String"`

	// Int32
	//
	// 最大班距時間
	// Required: true
	MaxHeadwayMins *int32 `json:"MaxHeadwayMins"`

	// Int32
	//
	// 最小班距時間
	// Required: true
	MinHeadwayMins *int32 `json:"MinHeadwayMins"`

	// String
	//
	// 尖離峰狀態[0:'離峰',1:'尖峰']
	PeakFlag string `json:"PeakFlag,omitempty" xml:"String,omitempty"`

	// String
	//
	// 開始時間
	// Required: true
	StartTime *string `json:"StartTime" xml:"String"`
}

PTXServiceDTOShipSpecificationV3Frequency Frequency

swagger:model PTX.Service.DTO.Ship.Specification.V3.Frequency

func (*PTXServiceDTOShipSpecificationV3Frequency) ContextValidate added in v0.14.0

ContextValidate validates this p t x service d t o ship specification v3 frequency based on context it is used

func (*PTXServiceDTOShipSpecificationV3Frequency) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Frequency) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Frequency) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 frequency

type PTXServiceDTOShipSpecificationV3LivePosition added in v0.9.0

type PTXServiceDTOShipSpecificationV3LivePosition struct {

	// Single
	//
	// 對地航向(Course Over Ground,單位: degree(度,真北為零)),精度至 1/10 degree
	COG float32 `json:"COG,omitempty"`

	// DateTime
	//
	// GPS 記錄時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)
	// Required: true
	// Format: date-time
	GPSTime *strfmt.DateTime `json:"GPSTime"`

	// String
	//
	// AIS 船舶編號
	// Required: true
	MMSI *string `json:"MMSI" xml:"String"`

	// Int32
	//
	// 航行狀態 : [0:'under way using engine',1:'at anchor',2:'not under command',3:'restricted maneuverability',4:'constrained by her draught',5:'moored',6:'aground',7:'engaged in fishing',8:'under way sailing',9:'reserved for future amendment of navigational status for ships carrying DG, HS, or MP, or IMO hazard or pollutant category C, high speed craft (HSC)',10:'reserved for future amendment of navigational status for ships carrying dangerous goods (DG), harmful substances (HS) or marine pollutants (MP), or IMO hazard or pollutant category A, wing in ground (WIG)',11:'power-driven vessel towing astern (regional use)',12:'power-driven vessel pushing ahead or towing alongside (regional use)',13:'reserved for future use',14:'AIS-SART (active), MOB-AIS, EPIRB-AIS',15:'undefined = default (also used by AIS-SART, MOB-AIS and EPIRB-AIS under test)']
	// Required: true
	NAVSTAT *int64 `json:"NAVSTAT"`

	// Single
	//
	// 對地航速(Speed Over Ground,單位: knot(節,海里/小時)),精度至 1/10 knot
	SOG float32 `json:"SOG,omitempty"`

	// String
	//
	// 船舶代碼
	// Required: true
	VesselID *string `json:"VesselID" xml:"String"`

	// NameType
	//
	// 船舶名稱
	VesselName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"VesselName,omitempty" xml:"NameType,omitempty"`

	// PointType
	//
	// 船舶位置資訊
	// Required: true
	VesselPosition struct {
		PTXServiceDTOShipSpecificationV3PointType
	} `json:"VesselPosition" xml:"PointType"`

	// Int32
	//
	// 船舶種類 : [0:'N/A',20:'WIG',30:'Vessel-Fishing',31:'not under command',32:'Vessel-Tow>200m,breadth>25m',33:'Vessel-Dredge,Underwater OP',34:'Vessel-Diving OP',35:'Vessel-Military OP',36:'Vessel-Sailing',37:'Vessel-Pleasure craft',40:'HSC',50:'Pilot vessel',51:'Search & rescue vessel',52:'Tug',53:'Port tender',54:'Anti-pollution vessel',55:'Law enforcement vessel',58:'Medical transport',59:'Resolution 18(Mob-83)',60:'Passenger ship',70:'Cargo ship',80:'Tanker',90:'Other',101:'Undefined']
	VesselType int64 `json:"VesselType,omitempty"`
}

PTXServiceDTOShipSpecificationV3LivePosition LivePosition

swagger:model PTX.Service.DTO.Ship.Specification.V3.LivePosition

func (*PTXServiceDTOShipSpecificationV3LivePosition) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o ship specification v3 live position based on the context it is used

func (*PTXServiceDTOShipSpecificationV3LivePosition) MarshalBinary added in v0.9.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3LivePosition) UnmarshalBinary added in v0.9.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3LivePosition) Validate added in v0.9.0

Validate validates this p t x service d t o ship specification v3 live position

type PTXServiceDTOShipSpecificationV3News added in v0.14.0

type PTXServiceDTOShipSpecificationV3News struct {

	// String
	//
	// 附件網址連結
	AttachmentURL string `json:"AttachmentURL,omitempty" xml:"String,omitempty"`

	// String
	//
	// 聯絡人
	// Required: true
	ContactName *string `json:"ContactName" xml:"String"`

	// String
	//
	// 發布單位
	// Required: true
	Department *string `json:"Department" xml:"String"`

	// String
	//
	// 內容描述
	// Required: true
	Description *string `json:"Description" xml:"String"`

	// 訊息結束日期時間
	// Required: true
	// Format: date-time
	EndTime *strfmt.DateTime `json:"EndTime"`

	// String
	//
	// 語系
	// Required: true
	Language *string `json:"Language" xml:"String"`

	// Int32
	//
	// 消息類別 : [1:'最新消息',2:'新聞稿',3:'營運資訊',4:'轉乘資訊',5:'活動訊息',6:'系統公告',7:'通阻資訊',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"`

	// String
	//
	// 營運業者代碼
	OperatorID string `json:"OperatorID,omitempty" xml:"String,omitempty"`

	// 消息發佈日期時間
	// Required: true
	// Format: date-time
	PublishTime *strfmt.DateTime `json:"PublishTime"`

	// 訊息起始日期時間
	// Required: true
	// Format: date-time
	StartTime *strfmt.DateTime `json:"StartTime"`

	// String
	//
	// 連絡電話
	// Required: true
	Telephone *string `json:"Telephone" xml:"String"`

	// String
	//
	// 消息標題
	// Required: true
	Title *string `json:"Title" xml:"String"`

	// DateTime
	//
	// 消息更新日期時間
	// Required: true
	// Format: date-time
	UpdateTime *strfmt.DateTime `json:"UpdateTime"`
}

PTXServiceDTOShipSpecificationV3News News

swagger:model PTX.Service.DTO.Ship.Specification.V3.News

func (*PTXServiceDTOShipSpecificationV3News) ContextValidate added in v0.14.0

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

ContextValidate validates this p t x service d t o ship specification v3 news based on context it is used

func (*PTXServiceDTOShipSpecificationV3News) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3News) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3News) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 news

type PTXServiceDTOShipSpecificationV3Operator

type PTXServiceDTOShipSpecificationV3Operator struct {

	// String
	//
	// 統一編號
	BusinessAdminstrationNo string `json:"BusinessAdminstrationNo,omitempty" xml:"String,omitempty"`

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

	// String
	//
	// 營運業者地址
	OperatorAddress string `json:"OperatorAddress,omitempty" xml:"String,omitempty"`

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

	// String
	//
	// 營運業者代碼
	OperatorID string `json:"OperatorID,omitempty" xml:"String,omitempty"`

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

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

	// 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"`
}

PTXServiceDTOShipSpecificationV3Operator Operator

swagger:model PTX.Service.DTO.Ship.Specification.V3.Operator

func (*PTXServiceDTOShipSpecificationV3Operator) ContextValidate added in v0.9.0

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

func (*PTXServiceDTOShipSpecificationV3Operator) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Operator) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Operator) Validate

Validate validates this p t x service d t o ship specification v3 operator

type PTXServiceDTOShipSpecificationV3Operators

type PTXServiceDTOShipSpecificationV3Operators struct {

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

PTXServiceDTOShipSpecificationV3Operators Operators

swagger:model PTX.Service.DTO.Ship.Specification.V3.Operators

func (*PTXServiceDTOShipSpecificationV3Operators) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o ship specification v3 operators based on context it is used

func (*PTXServiceDTOShipSpecificationV3Operators) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Operators) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Operators) Validate

Validate validates this p t x service d t o ship specification v3 operators

type PTXServiceDTOShipSpecificationV3PointType

type PTXServiceDTOShipSpecificationV3PointType struct {

	// Double
	//
	// 位置緯度
	// Required: true
	PositionLat *float64 `json:"PositionLat"`

	// Double
	//
	// 位置經度
	// Required: true
	PositionLon *float64 `json:"PositionLon"`
}

PTXServiceDTOShipSpecificationV3PointType PointType

swagger:model PTX.Service.DTO.Ship.Specification.V3.PointType

func (*PTXServiceDTOShipSpecificationV3PointType) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o ship specification v3 point type based on context it is used

func (*PTXServiceDTOShipSpecificationV3PointType) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3PointType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3PointType) Validate

Validate validates this p t x service d t o ship specification v3 point type

type PTXServiceDTOShipSpecificationV3Port

type PTXServiceDTOShipSpecificationV3Port struct {

	// String
	//
	// 港口所屬城市
	// Required: true
	City *string `json:"City" xml:"String"`

	// String
	//
	// 城市簡碼
	// Required: true
	CityCode *string `json:"CityCode" xml:"String"`

	// String
	//
	// 港口所屬國家
	// Required: true
	Country *string `json:"Country" xml:"String"`

	// String
	//
	// 國家簡碼
	// Required: true
	CountryCode *string `json:"CountryCode" xml:"String"`

	// String
	//
	// 港口地址
	PortAddress string `json:"PortAddress,omitempty" xml:"String,omitempty"`

	// String
	//
	// 港口簡碼
	PortCode string `json:"PortCode,omitempty" xml:"String,omitempty"`

	// String
	//
	// 港口代碼
	// Required: true
	PortID *string `json:"PortID" xml:"String"`

	// NameType
	//
	// 港口名稱
	// Required: true
	PortName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"PortName" xml:"NameType"`

	// String
	//
	// 港口聯繫電話
	PortPhone string `json:"PortPhone,omitempty" xml:"String,omitempty"`

	// PointType
	//
	// 港口位置座標
	// Required: true
	PortPosition struct {
		PTXServiceDTOShipSpecificationV3PointType
	} `json:"PortPosition" xml:"PointType"`

	// String
	//
	// 港口官網網址
	PortURL string `json:"PortURL,omitempty" xml:"String,omitempty"`
}

PTXServiceDTOShipSpecificationV3Port Port

swagger:model PTX.Service.DTO.Ship.Specification.V3.Port

func (*PTXServiceDTOShipSpecificationV3Port) ContextValidate added in v0.9.0

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

ContextValidate validate this p t x service d t o ship specification v3 port based on the context it is used

func (*PTXServiceDTOShipSpecificationV3Port) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Port) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Port) Validate

Validate validates this p t x service d t o ship specification v3 port

type PTXServiceDTOShipSpecificationV3Route

type PTXServiceDTOShipSpecificationV3Route struct {

	// String
	//
	// 航線描述
	// Required: true
	Description *string `json:"Description" xml:"String"`

	// String
	//
	// 航線迄點港口代碼
	// Required: true
	EndPortID *string `json:"EndPortID" xml:"String"`

	// String
	//
	// 航線迄點港口名稱
	// Required: true
	EndPortName *string `json:"EndPortName" xml:"String"`

	// Array
	//
	// 營運業者
	// Required: true
	Operators []*PTXServiceDTOShipSpecificationV3Operators "json:\"Operators\" xml:\"List`1\""

	// Single
	//
	// 航線哩程
	// Required: true
	RouteDistance *float32 `json:"RouteDistance"`

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

	// String
	//
	// 航運路線簡圖網址
	RouteMapURL string `json:"RouteMapURL,omitempty" xml:"String,omitempty"`

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

	// Int32
	//
	// 航線種類 : [1:'國內航線(渡輪、藍色公路)',2:'離島航線',3:'兩岸航線',4:'小三通航線',254:'其他']
	// Required: true
	RouteType *int64 `json:"RouteType"`

	// String
	//
	// 航線起點港口代碼
	// Required: true
	StartPortID *string `json:"StartPortID" xml:"String"`

	// String
	//
	// 航線起點港口名稱
	// Required: true
	StartPortName *string `json:"StartPortName" xml:"String"`

	// NameType
	//
	// 票價描述
	// Required: true
	TicketPriceDescription struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TicketPriceDescription" xml:"NameType"`

	// Array
	//
	// 船舶資訊
	Vessels []*PTXServiceDTOShipSpecificationV3Vessels "json:\"Vessels\" xml:\"List`1\""

	// String
	//
	// 氣象預報連結
	// Required: true
	WeatherURL *string `json:"WeatherURL" xml:"String"`
}

PTXServiceDTOShipSpecificationV3Route Route

swagger:model PTX.Service.DTO.Ship.Specification.V3.Route

func (*PTXServiceDTOShipSpecificationV3Route) ContextValidate added in v0.9.0

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

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

func (*PTXServiceDTOShipSpecificationV3Route) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Route) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Route) Validate

Validate validates this p t x service d t o ship specification v3 route

type PTXServiceDTOShipSpecificationV3ServiceDay

type PTXServiceDTOShipSpecificationV3ServiceDay struct {

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

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

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

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

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

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

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

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

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

PTXServiceDTOShipSpecificationV3ServiceDay ServiceDay

swagger:model PTX.Service.DTO.Ship.Specification.V3.ServiceDay

func (*PTXServiceDTOShipSpecificationV3ServiceDay) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o ship specification v3 service day based on context it is used

func (*PTXServiceDTOShipSpecificationV3ServiceDay) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ServiceDay) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ServiceDay) Validate

Validate validates this p t x service d t o ship specification v3 service day

type PTXServiceDTOShipSpecificationV3ShipDailySchedule added in v0.15.0

type PTXServiceDTOShipSpecificationV3ShipDailySchedule struct {

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

	// String
	//
	// 航行日期
	// Required: true
	Date *string `json:"Date" xml:"String"`

	// Int32
	//
	// 方向性描述 : [0:'去程',1:'返程',2:'迴圈']
	Direction int64 `json:"Direction,omitempty"`

	// Array
	//
	// 發車班距資訊
	Frequencies []*PTXServiceDTOShipSpecificationV3Frequency "json:\"Frequencies\" xml:\"List`1\""

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

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

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

	// Array
	//
	// 營運定期班表資訊
	Timetables []*PTXServiceDTOShipSpecificationV3Timetable "json:\"Timetables\" 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"`
}

PTXServiceDTOShipSpecificationV3ShipDailySchedule ShipDailySchedule

swagger:model PTX.Service.DTO.Ship.Specification.V3.ShipDailySchedule

func (*PTXServiceDTOShipSpecificationV3ShipDailySchedule) ContextValidate added in v0.15.0

ContextValidate validate this p t x service d t o ship specification v3 ship daily schedule based on the context it is used

func (*PTXServiceDTOShipSpecificationV3ShipDailySchedule) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipDailySchedule) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipDailySchedule) Validate added in v0.15.0

Validate validates this p t x service d t o ship specification v3 ship daily schedule

type PTXServiceDTOShipSpecificationV3ShipRoute added in v0.15.0

type PTXServiceDTOShipSpecificationV3ShipRoute struct {

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

	// String
	//
	// 航線描述
	// Required: true
	Description *string `json:"Description" xml:"String"`

	// String
	//
	// 航線迄點港口代碼
	// Required: true
	EndPortID *string `json:"EndPortID" xml:"String"`

	// String
	//
	// 航線迄點港口名稱
	// Required: true
	EndPortName *string `json:"EndPortName" xml:"String"`

	// Array
	//
	// 營運業者
	// Required: true
	Operators []*PTXServiceDTOShipSpecificationV3Operators "json:\"Operators\" xml:\"List`1\""

	// Single
	//
	// 航線哩程
	// Required: true
	RouteDistance *float32 `json:"RouteDistance"`

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

	// String
	//
	// 航運路線簡圖網址
	RouteMapURL string `json:"RouteMapURL,omitempty" xml:"String,omitempty"`

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

	// Int32
	//
	// 航線種類 : [1:'國內航線(渡輪、藍色公路)',2:'離島航線',3:'兩岸航線',4:'小三通航線',254:'其他']
	// Required: true
	RouteType *int64 `json:"RouteType"`

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

	// String
	//
	// 航線起點港口代碼
	// Required: true
	StartPortID *string `json:"StartPortID" xml:"String"`

	// String
	//
	// 航線起點港口名稱
	// Required: true
	StartPortName *string `json:"StartPortName" xml:"String"`

	// NameType
	//
	// 票價描述
	// Required: true
	TicketPriceDescription struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"TicketPriceDescription" xml:"NameType"`

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

	// Array
	//
	// 船舶資訊
	Vessels []*PTXServiceDTOShipSpecificationV3Vessels "json:\"Vessels\" xml:\"List`1\""

	// String
	//
	// 氣象預報連結
	// Required: true
	WeatherURL *string `json:"WeatherURL" xml:"String"`
}

PTXServiceDTOShipSpecificationV3ShipRoute ShipRoute

swagger:model PTX.Service.DTO.Ship.Specification.V3.ShipRoute

func (*PTXServiceDTOShipSpecificationV3ShipRoute) ContextValidate added in v0.15.0

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

func (*PTXServiceDTOShipSpecificationV3ShipRoute) MarshalBinary added in v0.15.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipRoute) UnmarshalBinary added in v0.15.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipRoute) Validate added in v0.15.0

Validate validates this p t x service d t o ship specification v3 ship route

type PTXServiceDTOShipSpecificationV3ShipSpecificSchedule added in v0.15.0

type PTXServiceDTOShipSpecificationV3ShipSpecificSchedule struct {

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

	// Int32
	//
	// 方向性描述 : [0:'去程',1:'返程',2:'迴圈']
	// Required: true
	Direction *int64 `json:"Direction"`

	// String
	//
	// 有效起始日期
	// Required: true
	EffectiveDate *string `json:"EffectiveDate" xml:"String"`

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

	// Array
	//
	// 發車班距資訊
	Frequencies []*PTXServiceDTOShipSpecificationV3SpecialFrequency "json:\"Frequencies\" xml:\"List`1\""

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

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

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

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

	// Array
	//
	// 營運定期班表資訊
	Timetables []*PTXServiceDTOShipSpecificationV3SpecialTimetable "json:\"Timetables\" xml:\"List`1\""

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

PTXServiceDTOShipSpecificationV3ShipSpecificSchedule ShipSpecificSchedule

swagger:model PTX.Service.DTO.Ship.Specification.V3.ShipSpecificSchedule

func (*PTXServiceDTOShipSpecificationV3ShipSpecificSchedule) ContextValidate added in v0.15.0

ContextValidate validate this p t x service d t o ship specification v3 ship specific schedule based on the context it is used

func (*PTXServiceDTOShipSpecificationV3ShipSpecificSchedule) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipSpecificSchedule) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipSpecificSchedule) Validate added in v0.15.0

Validate validates this p t x service d t o ship specification v3 ship specific schedule

type PTXServiceDTOShipSpecificationV3ShipStopOfRoute added in v0.15.0

type PTXServiceDTOShipSpecificationV3ShipStopOfRoute struct {

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

	// Int32
	//
	// 方向性描述 : [0:'去程',1:'返程',2:'迴圈']
	// Required: true
	Direction *int64 `json:"Direction"`

	// Array
	//
	// 營運業者
	// Required: true
	Operators []*PTXServiceDTOShipSpecificationV3Operators "json:\"Operators\" xml:\"List`1\""

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

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

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

	// Array
	//
	// 路線站序資料
	// Required: true
	Stops []*PTXServiceDTOShipSpecificationV3Stops "json:\"Stops\" xml:\"List`1\""

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

PTXServiceDTOShipSpecificationV3ShipStopOfRoute ShipStopOfRoute

swagger:model PTX.Service.DTO.Ship.Specification.V3.ShipStopOfRoute

func (*PTXServiceDTOShipSpecificationV3ShipStopOfRoute) ContextValidate added in v0.15.0

ContextValidate validate this p t x service d t o ship specification v3 ship stop of route based on the context it is used

func (*PTXServiceDTOShipSpecificationV3ShipStopOfRoute) MarshalBinary added in v0.15.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipStopOfRoute) UnmarshalBinary added in v0.15.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3ShipStopOfRoute) Validate added in v0.15.0

Validate validates this p t x service d t o ship specification v3 ship stop of route

type PTXServiceDTOShipSpecificationV3SpecialDays added in v0.14.0

type PTXServiceDTOShipSpecificationV3SpecialDays struct {

	// DatePeriod
	//
	// 連續特殊日期
	DatePeriod struct {
		PTXServiceDTOShipSpecificationV3DatePeriod
	} `json:"DatePeriod,omitempty" xml:"DatePeriod,omitempty"`

	// Dates
	//
	// 不連續特殊日期
	Dates struct {
		PTXServiceDTOShipSpecificationV3Dates
	} `json:"Dates,omitempty" xml:"Dates,omitempty"`

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

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

PTXServiceDTOShipSpecificationV3SpecialDays SpecialDays

swagger:model PTX.Service.DTO.Ship.Specification.V3.SpecialDays

func (*PTXServiceDTOShipSpecificationV3SpecialDays) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 special days based on the context it is used

func (*PTXServiceDTOShipSpecificationV3SpecialDays) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecialDays) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecialDays) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 special days

type PTXServiceDTOShipSpecificationV3SpecialFrequency added in v0.14.0

type PTXServiceDTOShipSpecificationV3SpecialFrequency struct {

	// String
	//
	// 結束時間
	// Required: true
	EndTime *string `json:"EndTime" xml:"String"`

	// Int32
	//
	// 最大班距時間
	// Required: true
	MaxHeadwayMins *int32 `json:"MaxHeadwayMins"`

	// Int32
	//
	// 最小班距時間
	// Required: true
	MinHeadwayMins *int32 `json:"MinHeadwayMins"`

	// String
	//
	// 尖離峰狀態[0:'離峰',1:'尖峰']
	PeakFlag string `json:"PeakFlag,omitempty" xml:"String,omitempty"`

	// ServiceDay
	//
	// 服務日型態
	ServiceDay struct {
		PTXServiceDTOShipSpecificationV3ServiceDay
	} `json:"ServiceDay,omitempty" xml:"ServiceDay,omitempty"`

	// SpecialDays
	//
	// 特殊營運日
	SpecialDays struct {
		PTXServiceDTOShipSpecificationV3SpecialDays
	} `json:"SpecialDays,omitempty" xml:"SpecialDays,omitempty"`

	// String
	//
	// 開始時間
	// Required: true
	StartTime *string `json:"StartTime" xml:"String"`
}

PTXServiceDTOShipSpecificationV3SpecialFrequency SpecialFrequency

swagger:model PTX.Service.DTO.Ship.Specification.V3.SpecialFrequency

func (*PTXServiceDTOShipSpecificationV3SpecialFrequency) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 special frequency based on the context it is used

func (*PTXServiceDTOShipSpecificationV3SpecialFrequency) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecialFrequency) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecialFrequency) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 special frequency

type PTXServiceDTOShipSpecificationV3SpecialTimetable added in v0.14.0

type PTXServiceDTOShipSpecificationV3SpecialTimetable struct {

	// ServiceDay
	//
	// 服務日型態
	ServiceDay struct {
		PTXServiceDTOShipSpecificationV3ServiceDay
	} `json:"ServiceDay,omitempty" xml:"ServiceDay,omitempty"`

	// SpecialDays
	//
	// 特殊營運日
	SpecialDays struct {
		PTXServiceDTOShipSpecificationV3SpecialDays
	} `json:"SpecialDays,omitempty" xml:"SpecialDays,omitempty"`

	// Array
	//
	// 航線停靠資料
	// Required: true
	Stoptimes []*PTXServiceDTOShipSpecificationV3Stoptime "json:\"Stoptimes\" xml:\"List`1\""

	// String
	//
	// 班次代碼
	// Required: true
	TripID *string `json:"TripID" xml:"String"`
}

PTXServiceDTOShipSpecificationV3SpecialTimetable SpecialTimetable

swagger:model PTX.Service.DTO.Ship.Specification.V3.SpecialTimetable

func (*PTXServiceDTOShipSpecificationV3SpecialTimetable) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 special timetable based on the context it is used

func (*PTXServiceDTOShipSpecificationV3SpecialTimetable) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecialTimetable) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecialTimetable) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 special timetable

type PTXServiceDTOShipSpecificationV3SpecificSchedule added in v0.14.0

type PTXServiceDTOShipSpecificationV3SpecificSchedule struct {

	// Int32
	//
	// 方向性描述 : [0:'去程',1:'返程',2:'迴圈']
	// Required: true
	Direction *int64 `json:"Direction"`

	// String
	//
	// 有效起始日期
	// Required: true
	EffectiveDate *string `json:"EffectiveDate" xml:"String"`

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

	// Array
	//
	// 發車班距資訊
	Frequencies []*PTXServiceDTOShipSpecificationV3SpecialFrequency "json:\"Frequencies\" xml:\"List`1\""

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

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

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

	// Array
	//
	// 營運定期班表資訊
	Timetables []*PTXServiceDTOShipSpecificationV3SpecialTimetable "json:\"Timetables\" xml:\"List`1\""
}

PTXServiceDTOShipSpecificationV3SpecificSchedule SpecificSchedule

swagger:model PTX.Service.DTO.Ship.Specification.V3.SpecificSchedule

func (*PTXServiceDTOShipSpecificationV3SpecificSchedule) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 specific schedule based on the context it is used

func (*PTXServiceDTOShipSpecificationV3SpecificSchedule) MarshalBinary added in v0.14.0

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecificSchedule) UnmarshalBinary added in v0.14.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3SpecificSchedule) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 specific schedule

type PTXServiceDTOShipSpecificationV3StopOfRoute added in v0.14.0

type PTXServiceDTOShipSpecificationV3StopOfRoute struct {

	// Int32
	//
	// 方向性描述 : [0:'去程',1:'返程',2:'迴圈']
	// Required: true
	Direction *int64 `json:"Direction"`

	// Array
	//
	// 營運業者
	// Required: true
	Operators []*PTXServiceDTOShipSpecificationV3Operators "json:\"Operators\" xml:\"List`1\""

	// String
	//
	// 航線代碼
	// Required: true
	RouteID *string `json:"RouteID" xml:"String"`

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

	// Array
	//
	// 路線站序資料
	// Required: true
	Stops []*PTXServiceDTOShipSpecificationV3Stops "json:\"Stops\" xml:\"List`1\""
}

PTXServiceDTOShipSpecificationV3StopOfRoute StopOfRoute

swagger:model PTX.Service.DTO.Ship.Specification.V3.StopOfRoute

func (*PTXServiceDTOShipSpecificationV3StopOfRoute) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 stop of route based on the context it is used

func (*PTXServiceDTOShipSpecificationV3StopOfRoute) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3StopOfRoute) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3StopOfRoute) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 stop of route

type PTXServiceDTOShipSpecificationV3Stops added in v0.14.0

type PTXServiceDTOShipSpecificationV3Stops struct {

	// String
	//
	// 港口代碼
	// Required: true
	PortID *string `json:"PortID" xml:"String"`

	// NameType
	//
	// 港口名稱
	// Required: true
	PortName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"PortName" xml:"NameType"`

	// Int32
	//
	// 路線站序
	// Required: true
	StopSequence *int32 `json:"StopSequence"`
}

PTXServiceDTOShipSpecificationV3Stops Stops

swagger:model PTX.Service.DTO.Ship.Specification.V3.Stops

func (*PTXServiceDTOShipSpecificationV3Stops) ContextValidate added in v0.14.0

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

ContextValidate validate this p t x service d t o ship specification v3 stops based on the context it is used

func (*PTXServiceDTOShipSpecificationV3Stops) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Stops) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Stops) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 stops

type PTXServiceDTOShipSpecificationV3Stoptime

type PTXServiceDTOShipSpecificationV3Stoptime struct {

	// String
	//
	// 港口進港時間
	// Required: true
	ArrivalTime *string `json:"ArrivalTime" xml:"String"`

	// String
	//
	// 港口離港時間
	// Required: true
	DepartureTime *string `json:"DepartureTime" xml:"String"`

	// String
	//
	// 停靠港口代碼
	// Required: true
	PortID *string `json:"PortID" xml:"String"`

	// NameType
	//
	// 港口名稱
	// Required: true
	PortName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"PortName" xml:"NameType"`

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

	// Int32
	//
	// 預估航行時間
	// Required: true
	TravelTime *int32 `json:"TravelTime"`
}

PTXServiceDTOShipSpecificationV3Stoptime Stoptime

swagger:model PTX.Service.DTO.Ship.Specification.V3.Stoptime

func (*PTXServiceDTOShipSpecificationV3Stoptime) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o ship specification v3 stoptime based on the context it is used

func (*PTXServiceDTOShipSpecificationV3Stoptime) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Stoptime) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Stoptime) Validate

Validate validates this p t x service d t o ship specification v3 stoptime

type PTXServiceDTOShipSpecificationV3Timetable

type PTXServiceDTOShipSpecificationV3Timetable struct {

	// Array
	//
	// 航線停靠資料
	// Required: true
	Stoptimes []*PTXServiceDTOShipSpecificationV3Stoptime "json:\"Stoptimes\" xml:\"List`1\""

	// String
	//
	// 班次代碼
	// Required: true
	TripID *string `json:"TripID" xml:"String"`
}

PTXServiceDTOShipSpecificationV3Timetable Timetable

swagger:model PTX.Service.DTO.Ship.Specification.V3.Timetable

func (*PTXServiceDTOShipSpecificationV3Timetable) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o ship specification v3 timetable based on the context it is used

func (*PTXServiceDTOShipSpecificationV3Timetable) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Timetable) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Timetable) Validate

Validate validates this p t x service d t o ship specification v3 timetable

type PTXServiceDTOShipSpecificationV3Vessel

type PTXServiceDTOShipSpecificationV3Vessel struct {

	// String
	//
	// 船呼
	CallSign string `json:"CallSign,omitempty" xml:"String,omitempty"`

	// 船舶總噸位
	GrossTonnage float32 `json:"GrossTonnage,omitempty"`

	// String
	//
	// 國際船舶編號
	IMO string `json:"IMO,omitempty" xml:"String,omitempty"`

	// 船長
	Length float32 `json:"Length,omitempty"`

	// 吃水深度
	LoadDraft float32 `json:"LoadDraft,omitempty"`

	// String
	//
	// AIS船舶編號
	MMSI string `json:"MMSI,omitempty" xml:"String,omitempty"`

	// 最大載客數
	MaxPassengerCount int32 `json:"MaxPassengerCount,omitempty"`

	// String
	//
	// 船舶所屬國籍
	// Required: true
	Nationality *string `json:"Nationality" xml:"String"`

	// String
	//
	// 備註
	Note string `json:"Note,omitempty" xml:"String,omitempty"`

	// String
	//
	// 船舶所屬營運業者代碼
	// Required: true
	OperatorID *string `json:"OperatorID" xml:"String"`

	// String
	//
	// 船舶分類
	VesselClass string `json:"VesselClass,omitempty" xml:"String,omitempty"`

	// String
	//
	// 船舶代碼
	// Required: true
	VesselID *string `json:"VesselID" xml:"String"`

	// NameType
	//
	// 船舶名稱
	// Required: true
	VesselName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"VesselName" xml:"NameType"`

	// String
	//
	// 台灣船舶號數
	VesselNo string `json:"VesselNo,omitempty" xml:"String,omitempty"`

	// 船寬
	Width float32 `json:"Width,omitempty"`
}

PTXServiceDTOShipSpecificationV3Vessel Vessel

swagger:model PTX.Service.DTO.Ship.Specification.V3.Vessel

func (*PTXServiceDTOShipSpecificationV3Vessel) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o ship specification v3 vessel based on the context it is used

func (*PTXServiceDTOShipSpecificationV3Vessel) MarshalBinary

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Vessel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Vessel) Validate

Validate validates this p t x service d t o ship specification v3 vessel

type PTXServiceDTOShipSpecificationV3Vessels added in v0.14.0

type PTXServiceDTOShipSpecificationV3Vessels struct {

	// String
	//
	// 船舶代碼
	// Required: true
	VesselID *string `json:"VesselID" xml:"String"`

	// NameType
	//
	// 船舶名稱
	// Required: true
	VesselName struct {
		PTXServiceDTOSharedSpecificationV3BaseNameType
	} `json:"VesselName" xml:"NameType"`
}

PTXServiceDTOShipSpecificationV3Vessels Vessels

swagger:model PTX.Service.DTO.Ship.Specification.V3.Vessels

func (*PTXServiceDTOShipSpecificationV3Vessels) ContextValidate added in v0.14.0

ContextValidate validate this p t x service d t o ship specification v3 vessels based on the context it is used

func (*PTXServiceDTOShipSpecificationV3Vessels) MarshalBinary added in v0.14.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Vessels) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOShipSpecificationV3Vessels) Validate added in v0.14.0

Validate validates this p t x service d t o ship specification v3 vessels

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL