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 PTXServiceDTOAirSpecificationV2Airline added in v0.6.0

type PTXServiceDTOAirSpecificationV2Airline struct {

	// String
	//
	// 航空公司地址
	AirlineAddress string `json:"AirlineAddress,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航空公司電子信箱
	AirlineEmail string `json:"AirlineEmail,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航空公司IATA國際代碼
	AirlineIATA string `json:"AirlineIATA,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航空公司ICAO國際代碼
	AirlineICAO string `json:"AirlineICAO,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航空公司IATA國際代碼
	// Required: true
	AirlineID *string `json:"AirlineID" xml:"String"`

	// NameType
	//
	// 航空公司名稱
	AirlineName struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"AirlineName,omitempty" xml:"NameType,omitempty"`

	// NameType
	//
	// 航空公司簡稱
	AirlineNameAlias struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"AirlineNameAlias,omitempty" xml:"NameType,omitempty"`

	// String
	//
	// 航空公司國籍
	AirlineNationality string `json:"AirlineNationality,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航空公司聯繫電話
	AirlinePhone string `json:"AirlinePhone,omitempty" xml:"String,omitempty"`

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

	// Int32
	//
	// 資料版本編號
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXServiceDTOAirSpecificationV2Airline Airline

航空公司資料

swagger:model PTX.Service.DTO.Air.Specification.V2.Airline

func (*PTXServiceDTOAirSpecificationV2Airline) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o air specification v2 airline based on the context it is used

func (*PTXServiceDTOAirSpecificationV2Airline) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2Airline) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2Airline) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 airline

type PTXServiceDTOAirSpecificationV2Airport added in v0.6.0

type PTXServiceDTOAirSpecificationV2Airport struct {

	// String
	//
	// 機場地址
	AirportAddress string `json:"AirportAddress,omitempty" xml:"String,omitempty"`

	// NameType
	//
	// 機場所屬城市
	AirportCityName struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"AirportCityName,omitempty" xml:"NameType,omitempty"`

	// String
	//
	// 機場IATA國際代碼
	AirportIATA string `json:"AirportIATA,omitempty" xml:"String,omitempty"`

	// String
	//
	// 機場ICAO國際代碼
	AirportICAO string `json:"AirportICAO,omitempty" xml:"String,omitempty"`

	// String
	//
	// 機場IATA國際代碼
	// Required: true
	AirportID *string `json:"AirportID" xml:"String"`

	// NameType
	//
	// 機場中文名稱
	AirportName struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"AirportName,omitempty" xml:"NameType,omitempty"`

	// String
	//
	// 機場國籍
	AirportNationality string `json:"AirportNationality,omitempty" xml:"String,omitempty"`

	// String
	//
	// 機場聯繫電話
	AirportPhone string `json:"AirportPhone,omitempty" xml:"String,omitempty"`

	// PointType
	//
	// 機場位置
	AirportPosition struct {
		PTXServiceDTOSharedSpecificationV2BasePointType
	} `json:"AirportPosition,omitempty" xml:"PointType,omitempty"`

	// String
	//
	// 業管機關代碼(流水號)
	AuthorityID string `json:"AuthorityID,omitempty" xml:"String,omitempty"`

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

	// Int32
	//
	// 資料版本編號
	// Required: true
	VersionID *int32 `json:"VersionID"`
}

PTXServiceDTOAirSpecificationV2Airport Airport

機場資料

swagger:model PTX.Service.DTO.Air.Specification.V2.Airport

func (*PTXServiceDTOAirSpecificationV2Airport) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o air specification v2 airport based on the context it is used

func (*PTXServiceDTOAirSpecificationV2Airport) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2Airport) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2Airport) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 airport

type PTXServiceDTOAirSpecificationV2AirportFIDS added in v0.6.0

type PTXServiceDTOAirSpecificationV2AirportFIDS struct {

	// String
	//
	// 機場IATA國際代碼
	// Required: true
	AirportID *string `json:"AirportID" xml:"String"`

	// Array
	//
	// 抵達航班顯示資料
	FIDSArrival []*PTXServiceDTOAirSpecificationV2FIDSArrival "json:\"FIDSArrival\" xml:\"List`1\""

	// Array
	//
	// 出發航班顯示資料
	FIDSDeparture []*PTXServiceDTOAirSpecificationV2FIDSDeparture "json:\"FIDSDeparture\" xml:\"List`1\""

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

PTXServiceDTOAirSpecificationV2AirportFIDS Airport_FIDS

航班顯示資料(以機場角度)

swagger:model PTX.Service.DTO.Air.Specification.V2.Airport_FIDS

func (*PTXServiceDTOAirSpecificationV2AirportFIDS) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o air specification v2 airport f ID s based on the context it is used

func (*PTXServiceDTOAirSpecificationV2AirportFIDS) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2AirportFIDS) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2AirportFIDS) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 airport f ID s

type PTXServiceDTOAirSpecificationV2CodeShare added in v0.6.0

type PTXServiceDTOAirSpecificationV2CodeShare struct {

	// String
	//
	// 航空公司IATA國際代碼
	// Required: true
	AirlineID *string `json:"AirlineID" xml:"String"`

	// String
	//
	// 航機班號(不包含航空公司的AirlineID,僅有班號數字)
	// Required: true
	FlightNumber *string `json:"FlightNumber" xml:"String"`
}

PTXServiceDTOAirSpecificationV2CodeShare CodeShare

共用班號

swagger:model PTX.Service.DTO.Air.Specification.V2.CodeShare

func (*PTXServiceDTOAirSpecificationV2CodeShare) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o air specification v2 code share based on context it is used

func (*PTXServiceDTOAirSpecificationV2CodeShare) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2CodeShare) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2CodeShare) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 code share

type PTXServiceDTOAirSpecificationV2FIDS added in v0.6.0

type PTXServiceDTOAirSpecificationV2FIDS struct {

	// String
	//
	// 航空器型號
	AcType string `json:"AcType,omitempty" xml:"String,omitempty"`

	// 實際抵達時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ActualArrivalTime strfmt.DateTime `json:"ActualArrivalTime,omitempty"`

	// 實際出發時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ActualDepartureTime strfmt.DateTime `json:"ActualDepartureTime,omitempty"`

	// Int32
	//
	// 航線種類 : [-2:'特殊',1:'國際',2:'國內',3:'兩岸',4:'國際包機',5:'國內包機',6:'兩岸包機']
	AirRouteType int64 `json:"AirRouteType,omitempty"`

	// String
	//
	// 航空公司IATA國際代碼
	// Required: true
	AirlineID *string `json:"AirlineID" xml:"String"`

	// String
	//
	// 目的地機場IATA國際代碼
	// Required: true
	ArrivalAirportID *string `json:"ArrivalAirportID" xml:"String"`

	// String
	//
	// 抵達停機坪(僅貨機提供)
	ArrivalApron string `json:"ArrivalApron,omitempty" xml:"String,omitempty"`

	// String
	//
	// 抵達登機門(僅客機提供)
	ArrivalGate string `json:"ArrivalGate,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班屬性狀態,為該機場觀點的狀態
	ArrivalRemark string `json:"ArrivalRemark,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班屬性狀態(英文)
	ArrivalRemarkEn string `json:"ArrivalRemarkEn,omitempty" xml:"String,omitempty"`

	// String
	//
	// 抵達航廈
	ArrivalTerminal string `json:"ArrivalTerminal,omitempty" xml:"String,omitempty"`

	// String
	//
	// 行李轉盤
	BaggageClaim string `json:"BaggageClaim,omitempty" xml:"String,omitempty"`

	// String
	//
	// 報到櫃檯
	CheckCounter string `json:"CheckCounter,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班共用班號
	CodeShare string `json:"CodeShare,omitempty" xml:"String,omitempty"`

	// String
	//
	// 起點機場IATA國際代碼
	// Required: true
	DepartureAirportID *string `json:"DepartureAirportID" xml:"String"`

	// String
	//
	// 出發停機坪(僅貨機提供)
	DepartureApron string `json:"DepartureApron,omitempty" xml:"String,omitempty"`

	// String
	//
	// 出發登機門(僅客機提供)
	DepartureGate string `json:"DepartureGate,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班屬性狀態,為第三方觀點的狀態(資料來源:民航局)
	DepartureRemark string `json:"DepartureRemark,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班屬性狀態(英文)
	DepartureRemarkEn string `json:"DepartureRemarkEn,omitempty" xml:"String,omitempty"`

	// String
	//
	// 出發航廈
	DepartureTerminal string `json:"DepartureTerminal,omitempty" xml:"String,omitempty"`

	// 預估抵達時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	EstimatedArrivalTime strfmt.DateTime `json:"EstimatedArrivalTime,omitempty"`

	// 預估出發時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	EstimatedDepartureTime strfmt.DateTime `json:"EstimatedDepartureTime,omitempty"`

	// 航班日期(ISO8601格式:yyyy-MM-dd)
	// Required: true
	// Format: date-time
	FlightDate *strfmt.DateTime `json:"FlightDate"`

	// String
	//
	// 航機班號(不包含航空公司的AirlineID,僅有班號數字)
	// Required: true
	FlightNumber *string `json:"FlightNumber" xml:"String"`

	// String
	//
	// 航班屬性
	FlightRemark string `json:"FlightRemark,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班運行狀態,以航班的角度的狀態
	FlightStatus string `json:"FlightStatus,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班運行狀態(英文)
	FlightStatusEn string `json:"FlightStatusEn,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班運行狀態百分比(國內線)
	FlightStatusPC string `json:"FlightStatusPC,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 是否為貨機
	IsCargo bool `json:"IsCargo,omitempty"`

	// 表訂抵達時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ScheduleArrivalTime strfmt.DateTime `json:"ScheduleArrivalTime,omitempty"`

	// 表訂出發時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ScheduleDepartureTime strfmt.DateTime `json:"ScheduleDepartureTime,omitempty"`

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

PTXServiceDTOAirSpecificationV2FIDS FIDS

航班顯示資料

swagger:model PTX.Service.DTO.Air.Specification.V2.FIDS

func (*PTXServiceDTOAirSpecificationV2FIDS) ContextValidate added in v0.9.0

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

ContextValidate validates this p t x service d t o air specification v2 f ID s based on context it is used

func (*PTXServiceDTOAirSpecificationV2FIDS) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2FIDS) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2FIDS) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 f ID s

type PTXServiceDTOAirSpecificationV2FIDSArrival added in v0.6.0

type PTXServiceDTOAirSpecificationV2FIDSArrival struct {

	// String
	//
	// 航空器型號
	AcType string `json:"AcType,omitempty" xml:"String,omitempty"`

	// 實際抵達時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ActualArrivalTime strfmt.DateTime `json:"ActualArrivalTime,omitempty"`

	// Int32
	//
	// 航線種類(目前民航局與桃機的FIDS系統都尚未提供此欄位資料) : [-2:'特殊',1:'國際',2:'國內',3:'兩岸',4:'國際包機',5:'國內包機',6:'兩岸包機']
	AirRouteType int64 `json:"AirRouteType,omitempty"`

	// String
	//
	// 航空公司IATA國際代碼
	// Required: true
	AirlineID *string `json:"AirlineID" xml:"String"`

	// String
	//
	// 停機坪(僅貨機提供)
	Apron string `json:"Apron,omitempty" xml:"String,omitempty"`

	// String
	//
	// 目的地機場IATA國際代碼
	// Required: true
	ArrivalAirportID *string `json:"ArrivalAirportID" xml:"String"`

	// String
	//
	// 航班屬性狀態,為該機場觀點的狀態
	ArrivalRemark string `json:"ArrivalRemark,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班屬性狀態(英文)
	ArrivalRemarkEn string `json:"ArrivalRemarkEn,omitempty" xml:"String,omitempty"`

	// String
	//
	// 行李轉盤(到站FIDS可能有「行李轉盤」資訊, 離站FIDS不會有, 貨機則無此資訊)
	BaggageClaim string `json:"BaggageClaim,omitempty" xml:"String,omitempty"`

	// String
	//
	// 報到櫃檯(離站FIDS可能有「報到櫃台」資訊, 到站FIDS不會有, 貨機則無此資訊)
	CheckCounter string `json:"CheckCounter,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班共用班號
	CodeShare string `json:"CodeShare,omitempty" xml:"String,omitempty"`

	// String
	//
	// 起點機場IATA國際代碼
	// Required: true
	DepartureAirportID *string `json:"DepartureAirportID" xml:"String"`

	// 預估抵達時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	EstimatedArrivalTime strfmt.DateTime `json:"EstimatedArrivalTime,omitempty"`

	// 航班日期(ISO8601格式:yyyy-MM-dd)
	// Required: true
	// Format: date-time
	FlightDate *strfmt.DateTime `json:"FlightDate"`

	// String
	//
	// 航機班號(不包含航空公司的AirlineID,僅有班號數字)
	// Required: true
	FlightNumber *string `json:"FlightNumber" xml:"String"`

	// String
	//
	// 登機門(僅客機提供)
	Gate string `json:"Gate,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 是否為貨機
	IsCargo bool `json:"IsCargo,omitempty"`

	// 表訂抵達時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ScheduleArrivalTime strfmt.DateTime `json:"ScheduleArrivalTime,omitempty"`

	// String
	//
	// 航廈
	Terminal string `json:"Terminal,omitempty" xml:"String,omitempty"`

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

PTXServiceDTOAirSpecificationV2FIDSArrival FIDSArrival

抵達航班顯示資料

swagger:model PTX.Service.DTO.Air.Specification.V2.FIDSArrival

func (*PTXServiceDTOAirSpecificationV2FIDSArrival) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o air specification v2 f ID s arrival based on context it is used

func (*PTXServiceDTOAirSpecificationV2FIDSArrival) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2FIDSArrival) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2FIDSArrival) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 f ID s arrival

type PTXServiceDTOAirSpecificationV2FIDSDeparture added in v0.6.0

type PTXServiceDTOAirSpecificationV2FIDSDeparture struct {

	// String
	//
	// 航空器型號
	AcType string `json:"AcType,omitempty" xml:"String,omitempty"`

	// 實際出發時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ActualDepartureTime strfmt.DateTime `json:"ActualDepartureTime,omitempty"`

	// Int32
	//
	// 航線種類(目前民航局與桃機的FIDS系統都尚未提供此欄位資料) : [-2:'特殊',1:'國際',2:'國內',3:'兩岸',4:'國際包機',5:'國內包機',6:'兩岸包機']
	AirRouteType int64 `json:"AirRouteType,omitempty"`

	// String
	//
	// 航空公司IATA國際代碼
	// Required: true
	AirlineID *string `json:"AirlineID" xml:"String"`

	// String
	//
	// 停機坪(僅貨機提供)
	Apron string `json:"Apron,omitempty" xml:"String,omitempty"`

	// String
	//
	// 目的地機場IATA國際代碼
	// Required: true
	ArrivalAirportID *string `json:"ArrivalAirportID" xml:"String"`

	// String
	//
	// 行李轉盤(到站FIDS可能有「行李轉盤」資訊, 離站FIDS不會有, 貨機則無此資訊)
	BaggageClaim string `json:"BaggageClaim,omitempty" xml:"String,omitempty"`

	// String
	//
	// 報到櫃檯(離站FIDS可能有「報到櫃台」資訊, 到站FIDS不會有, 貨機則無此資訊)
	CheckCounter string `json:"CheckCounter,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班共用班號
	CodeShare string `json:"CodeShare,omitempty" xml:"String,omitempty"`

	// String
	//
	// 起點機場IATA國際代碼
	// Required: true
	DepartureAirportID *string `json:"DepartureAirportID" xml:"String"`

	// String
	//
	// 航班屬性狀態, ,為該機場觀點的狀態
	DepartureRemark string `json:"DepartureRemark,omitempty" xml:"String,omitempty"`

	// String
	//
	// 航班屬性狀態(英文)
	DepartureRemarkEn string `json:"DepartureRemarkEn,omitempty" xml:"String,omitempty"`

	// 預估出發時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	EstimatedDepartureTime strfmt.DateTime `json:"EstimatedDepartureTime,omitempty"`

	// 航班日期(ISO8601格式:yyyy-MM-dd)
	// Required: true
	// Format: date-time
	FlightDate *strfmt.DateTime `json:"FlightDate"`

	// String
	//
	// 航機班號(不包含航空公司的AirlineID,僅有班號數字)
	// Required: true
	FlightNumber *string `json:"FlightNumber" xml:"String"`

	// String
	//
	// 登機門(僅客機提供)
	Gate string `json:"Gate,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 是否為貨機
	IsCargo bool `json:"IsCargo,omitempty"`

	// 表訂出發時間(ISO8601格式:yyyy-MM-ddTHH:mm)
	// Format: date-time
	ScheduleDepartureTime strfmt.DateTime `json:"ScheduleDepartureTime,omitempty"`

	// String
	//
	// 航廈
	Terminal string `json:"Terminal,omitempty" xml:"String,omitempty"`

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

PTXServiceDTOAirSpecificationV2FIDSDeparture FIDSDeparture

出發航班顯示資料

swagger:model PTX.Service.DTO.Air.Specification.V2.FIDSDeparture

func (*PTXServiceDTOAirSpecificationV2FIDSDeparture) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o air specification v2 f ID s departure based on context it is used

func (*PTXServiceDTOAirSpecificationV2FIDSDeparture) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2FIDSDeparture) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2FIDSDeparture) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 f ID s departure

type PTXServiceDTOAirSpecificationV2GeneralFlightSchedule added in v0.6.0

type PTXServiceDTOAirSpecificationV2GeneralFlightSchedule struct {

	// String
	//
	// 航空公司IATA國際代碼
	// Required: true
	AirlineID *string `json:"AirlineID" xml:"String"`

	// String
	//
	// 目的地機場IATA國際代碼
	// Required: true
	ArrivalAirportID *string `json:"ArrivalAirportID" xml:"String"`

	// String
	//
	// 終點機場抵達時間 (格式: HH:mm 當地時間,跨日以+1 表示)
	// Required: true
	ArrivalTime *string `json:"ArrivalTime" xml:"String"`

	// Array
	//
	// 共用班號
	CodeShare []*PTXServiceDTOAirSpecificationV2CodeShare "json:\"CodeShare\" xml:\"List`1\""

	// String
	//
	// 起點機場IATA國際代碼
	// Required: true
	DepartureAirportID *string `json:"DepartureAirportID" xml:"String"`

	// String
	//
	// 起點機場出發時間 (格式: HH:mm 當地時間,跨日以+1 表示)
	// Required: true
	DepartureTime *string `json:"DepartureTime" xml:"String"`

	// String
	//
	// 班機號碼(包含航空公司的AirlineID,結構為AirlineID加上3~4碼航機班號數字;若班號僅有兩碼,其結構會加上0補足三碼,"AirlineID + 0 + 兩碼班號")
	// Required: true
	FlightNumber *string `json:"FlightNumber" xml:"String"`

	// Boolean
	//
	// 週五飛行與否
	// Required: true
	Friday *bool `json:"Friday"`

	// Boolean
	//
	// 週一飛行與否
	// Required: true
	Monday *bool `json:"Monday"`

	// Boolean
	//
	// 週六飛行與否
	// Required: true
	Saturday *bool `json:"Saturday"`

	// DateTime
	//
	// 班表結束日期(ISO8601格式:yyyy-MM-dd)
	// Required: true
	// Format: date-time
	ScheduleEndDate *strfmt.DateTime `json:"ScheduleEndDate"`

	// DateTime
	//
	// 班表開始日期(ISO8601格式:yyyy-MM-dd)
	// Required: true
	// Format: date-time
	ScheduleStartDate *strfmt.DateTime `json:"ScheduleStartDate"`

	// Boolean
	//
	// 週日飛行與否
	// Required: true
	Sunday *bool `json:"Sunday"`

	// String
	//
	// 航廈
	Terminal string `json:"Terminal,omitempty" xml:"String,omitempty"`

	// Boolean
	//
	// 週四飛行與否
	// Required: true
	Thursday *bool `json:"Thursday"`

	// Boolean
	//
	// 週二飛行與否
	// Required: true
	Tuesday *bool `json:"Tuesday"`

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

	// Int32
	//
	// 資料版本編號
	// Required: true
	VersionID *int32 `json:"VersionID"`

	// Boolean
	//
	// 週三飛行與否
	// Required: true
	Wednesday *bool `json:"Wednesday"`
}

PTXServiceDTOAirSpecificationV2GeneralFlightSchedule GeneralFlightSchedule

航空定期時刻表資料

swagger:model PTX.Service.DTO.Air.Specification.V2.GeneralFlightSchedule

func (*PTXServiceDTOAirSpecificationV2GeneralFlightSchedule) ContextValidate added in v0.9.0

ContextValidate validate this p t x service d t o air specification v2 general flight schedule based on the context it is used

func (*PTXServiceDTOAirSpecificationV2GeneralFlightSchedule) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2GeneralFlightSchedule) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2GeneralFlightSchedule) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 general flight schedule

type PTXServiceDTOAirSpecificationV2METAR added in v0.6.0

type PTXServiceDTOAirSpecificationV2METAR struct {

	// String
	//
	// 機場代碼(IATA)
	// Required: true
	AirportID *string `json:"AirportID" xml:"String"`

	// NameType
	//
	// 機場名稱
	// Required: true
	AirportName struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"AirportName" xml:"NameType"`

	// String
	//
	// 雲冪(含單位)
	// Required: true
	Ceiling *string `json:"Ceiling" xml:"String"`

	// NameType
	//
	// 機場所屬城市
	// Required: true
	CityName struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"CityName" xml:"NameType"`

	// NameType
	//
	// 國家名稱
	// Required: true
	CountryName struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"CountryName" xml:"NameType"`

	// String
	//
	// 機場天氣報告(METAR/SPECI)
	// Required: true
	MetarText *string `json:"MetarText" xml:"String"`

	// String
	//
	// 機場天氣報告時間(地方時)
	// Required: true
	MetarTime *string `json:"MetarTime" xml:"String"`

	// DateTime
	//
	// 觀測時間
	// Required: true
	// Format: date-time
	ObservationTime *strfmt.DateTime `json:"ObservationTime"`

	// String
	//
	// 機場氣象觀測站代碼(ICAO)
	// Required: true
	StationID *string `json:"StationID" xml:"String"`

	// PointType
	//
	// 機場氣象觀測站座標
	// Required: true
	StationPosition struct {
		PTXServiceDTOSharedSpecificationV2BasePointType
	} `json:"StationPosition" xml:"PointType"`

	// String
	//
	// 溫度(含單位)
	// Required: true
	Temperature *string `json:"Temperature" xml:"String"`

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

	// String
	//
	// 盛行能見度(含單位,9999以10公里以上表示)
	// Required: true
	Visibility *string `json:"Visibility" xml:"String"`

	// NameType
	//
	// 天氣描述
	// Required: true
	WeatherDescription struct {
		PTXServiceDTOSharedSpecificationV2BaseNameType
	} `json:"WeatherDescription" xml:"NameType"`

	// String
	//
	// 風向(含單位)
	// Required: true
	WindDirection *string `json:"WindDirection" xml:"String"`

	// String
	//
	// 風速(含單位)
	// Required: true
	WindSpeed *string `json:"WindSpeed" xml:"String"`
}

PTXServiceDTOAirSpecificationV2METAR METAR

swagger:model PTX.Service.DTO.Air.Specification.V2.METAR

func (*PTXServiceDTOAirSpecificationV2METAR) ContextValidate added in v0.9.0

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

ContextValidate validate this p t x service d t o air specification v2 m e t a r based on the context it is used

func (*PTXServiceDTOAirSpecificationV2METAR) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2METAR) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*PTXServiceDTOAirSpecificationV2METAR) Validate added in v0.6.0

Validate validates this p t x service d t o air specification v2 m e t a r

type PTXServiceDTOSharedSpecificationV2BaseNameType added in v0.6.0

type PTXServiceDTOSharedSpecificationV2BaseNameType struct {

	// String
	//
	// 英文名稱
	En string `json:"En,omitempty" xml:"String,omitempty"`

	// String
	//
	// 中文繁體名稱
	ZhTw string `json:"Zh_tw,omitempty" xml:"String,omitempty"`
}

PTXServiceDTOSharedSpecificationV2BaseNameType NameType

名稱資料型別

swagger:model PTX.Service.DTO.Shared.Specification.V2.Base.NameType

func (*PTXServiceDTOSharedSpecificationV2BaseNameType) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o shared specification v2 base name type based on context it is used

func (*PTXServiceDTOSharedSpecificationV2BaseNameType) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV2BaseNameType) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV2BaseNameType) Validate added in v0.6.0

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

type PTXServiceDTOSharedSpecificationV2BasePointType added in v0.6.0

type PTXServiceDTOSharedSpecificationV2BasePointType struct {

	// String
	//
	// 地理空間編碼
	GeoHash string `json:"GeoHash,omitempty" xml:"String,omitempty"`

	// 位置緯度(WGS84)
	PositionLat float64 `json:"PositionLat,omitempty"`

	// 位置經度(WGS84)
	PositionLon float64 `json:"PositionLon,omitempty"`
}

PTXServiceDTOSharedSpecificationV2BasePointType PointType

座標資料型別

swagger:model PTX.Service.DTO.Shared.Specification.V2.Base.PointType

func (*PTXServiceDTOSharedSpecificationV2BasePointType) ContextValidate added in v0.9.0

ContextValidate validates this p t x service d t o shared specification v2 base point type based on context it is used

func (*PTXServiceDTOSharedSpecificationV2BasePointType) MarshalBinary added in v0.6.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV2BasePointType) UnmarshalBinary added in v0.6.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV2BasePointType) Validate added in v0.6.0

Validate validates this p t x service d t o shared specification v2 base point type

type PTXServiceDTOSharedSpecificationV3BaseDisplayHealth added in v0.13.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.13.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.13.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) UnmarshalBinary added in v0.13.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseDisplayHealth) Validate added in v0.13.0

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

type PTXServiceDTOSharedSpecificationV3BaseInbound added in v0.13.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.13.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.13.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) UnmarshalBinary added in v0.13.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseInbound) Validate added in v0.13.0

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

type PTXServiceDTOSharedSpecificationV3BaseOutbound added in v0.13.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.13.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.13.0

MarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) UnmarshalBinary added in v0.13.0

UnmarshalBinary interface implementation

func (*PTXServiceDTOSharedSpecificationV3BaseOutbound) Validate added in v0.13.0

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

Jump to

Keyboard shortcuts

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