t_r_a

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for t r a API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TRAAPIDailyTimetable2150 added in v0.15.0

TRAAPIDailyTimetable2150 取得當天所有車次的時刻表資料s

取得當天所有車次的時刻表資料

func (*Client) TRAAPIDailyTimetable21501 added in v0.15.0

TRAAPIDailyTimetable21501 取得當天指定s 車次 的時刻表資料

取得當天指定[車次]的時刻表資料

func (*Client) TRAAPIDailyTimetable21502 added in v0.15.0

TRAAPIDailyTimetable21502 取得台鐵每日時刻表所有供應的日期資料s

取得台鐵每日時刻表所有供應的日期資料

func (*Client) TRAAPIDailyTimetable21503 added in v0.15.0

TRAAPIDailyTimetable21503 取得指定s 日期 所有車次的時刻表資料

取得指定[日期]所有車次的時刻表資料(台鐵提供近60天每日時刻表)

func (*Client) TRAAPIDailyTimetable21504 added in v0.15.0

TRAAPIDailyTimetable21504 取得指定s 日期 車次 的時刻表資料

取得指定[日期],[車次]的時刻表資料(台鐵提供近60天每日時刻表)

func (*Client) TRAAPIDailyTrainInfo2149 added in v0.15.0

TRAAPIDailyTrainInfo2149 取得當天所有車次的車次資料s

取得當天所有車次的車次資料

func (*Client) TRAAPIDailyTrainInfo21491 added in v0.15.0

TRAAPIDailyTrainInfo21491 取得當天指定s 車次 的車次資料

取得當天指定[車次]的車次資料

func (*Client) TRAAPIDailyTrainInfo21492 added in v0.15.0

TRAAPIDailyTrainInfo21492 取得指定s 日期 所有車次的車次資料

取得指定[日期]所有車次的車次資料(台鐵提供近60天每日時刻表)

func (*Client) TRAAPIDailyTrainInfo21493 added in v0.15.0

TRAAPIDailyTrainInfo21493 取得指定s 日期 與 車次 的車次資料

取得指定[日期]與[車次]的車次資料(台鐵提供近60天每日時刻表)

func (*Client) TRAAPIGeneralTimetable2148 added in v0.15.0

TRAAPIGeneralTimetable2148 取得所有車次的定期時刻表資料s

取得所有車次的定期時刻表資料

func (*Client) TRAAPIGeneralTimetable21481 added in v0.15.0

TRAAPIGeneralTimetable21481 取得指定s 車次 的定期時刻表資料

取得指定[車次]的定期時刻表資料

func (*Client) TRAAPIGeneralTrainInfo2147 added in v0.15.0

TRAAPIGeneralTrainInfo2147 取得所有車次的定期車次資料s

取得所有車次的定期車次資料

func (*Client) TRAAPIGeneralTrainInfo21471 added in v0.15.0

TRAAPIGeneralTrainInfo21471 取得指定s 車次 的定期車次資料

取得指定[車次]的定期車次資料

func (*Client) TRAAPILine2142 added in v0.15.0

TRAAPILine2142 取得路線基本資料s

取得路線基本資料

func (*Client) TRAAPILiveBoard2153 added in v0.15.0

TRAAPILiveBoard2153 取得車站別列車即時到離站電子看板s 動態前後30分鐘的車次

取得車站別列車即時到離站電子看板(動態前後30分鐘的車次)。更新頻率:2分鐘。此資料已過濾離站車次資訊

func (*Client) TRAAPILiveBoard21531 added in v0.15.0

TRAAPILiveBoard21531 取得指定s 車站 列車即時到離站電子看板 動態前後30分鐘的車次

取得指定[車站]列車即時到離站電子看板(動態前後30分鐘的車次)。更新頻率:2分鐘。此資料已過濾離站車次資訊

func (*Client) TRAAPILiveTrainDelay2154 added in v0.15.0

TRAAPILiveTrainDelay2154 取得列車即時準點s 延誤時間資料

取得列車即時準點/延誤時間資料。更新頻率:2分鐘

func (*Client) TRAAPINetwork2140 added in v0.15.0

TRAAPINetwork2140 取得臺鐵路網資料s

取得臺鐵路網資料

func (*Client) TRAAPIODDailyTimetable2152 added in v0.15.0

TRAAPIODDailyTimetable2152 取得指定s 日期 起迄站間 之站間時刻表資料

取得指定[日期],[起迄站間]之站間時刻表資料

func (*Client) TRAAPIODFareStation2146 added in v0.15.0

TRAAPIODFareStation2146 取得票價資料s

取得票價資料

func (*Client) TRAAPIODFareStation21461 added in v0.15.0

TRAAPIODFareStation21461 取得指定s 起訖站間 之票價資料

取得指定[起訖站間]之票價資料

func (*Client) TRAAPIShape2145 added in v0.15.0

TRAAPIShape2145 取得軌道路網實體路線圖資資料s

取得軌道路網實體路線圖資資料

func (*Client) TRAAPIStation2141 added in v0.15.0

TRAAPIStation2141 取得車站基本資料s

取得車站基本資料

func (*Client) TRAAPIStationOfLine2143 added in v0.15.0

TRAAPIStationOfLine2143 取得路線車站基本資料s

取得路線車站基本資料

func (*Client) TRAAPIStationTimetable2151 added in v0.15.0

TRAAPIStationTimetable2151 取得指定s 日期 車站 的站別時刻表資料

取得指定[日期],[車站]的站別時刻表資料

func (*Client) TRAAPITrainType2144 added in v0.15.0

TRAAPITrainType2144 取得所有列車車種資料s

取得所有列車車種資料

type ClientOption added in v0.11.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.5.0

type ClientService interface {
	TRAAPIDailyTimetable2150(params *TRAAPIDailyTimetable2150Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTimetable2150OK, *TRAAPIDailyTimetable2150Status299, error)

	TRAAPIDailyTimetable21501(params *TRAAPIDailyTimetable21501Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTimetable21501OK, *TRAAPIDailyTimetable21501Status299, error)

	TRAAPIDailyTimetable21502(params *TRAAPIDailyTimetable21502Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTimetable21502OK, *TRAAPIDailyTimetable21502Status299, error)

	TRAAPIDailyTimetable21503(params *TRAAPIDailyTimetable21503Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTimetable21503OK, *TRAAPIDailyTimetable21503Status299, error)

	TRAAPIDailyTimetable21504(params *TRAAPIDailyTimetable21504Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTimetable21504OK, *TRAAPIDailyTimetable21504Status299, error)

	TRAAPIDailyTrainInfo2149(params *TRAAPIDailyTrainInfo2149Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTrainInfo2149OK, *TRAAPIDailyTrainInfo2149Status299, error)

	TRAAPIDailyTrainInfo21491(params *TRAAPIDailyTrainInfo21491Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTrainInfo21491OK, *TRAAPIDailyTrainInfo21491Status299, error)

	TRAAPIDailyTrainInfo21492(params *TRAAPIDailyTrainInfo21492Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTrainInfo21492OK, *TRAAPIDailyTrainInfo21492Status299, error)

	TRAAPIDailyTrainInfo21493(params *TRAAPIDailyTrainInfo21493Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIDailyTrainInfo21493OK, *TRAAPIDailyTrainInfo21493Status299, error)

	TRAAPIGeneralTimetable2148(params *TRAAPIGeneralTimetable2148Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIGeneralTimetable2148OK, *TRAAPIGeneralTimetable2148Status299, error)

	TRAAPIGeneralTimetable21481(params *TRAAPIGeneralTimetable21481Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIGeneralTimetable21481OK, *TRAAPIGeneralTimetable21481Status299, error)

	TRAAPIGeneralTrainInfo2147(params *TRAAPIGeneralTrainInfo2147Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIGeneralTrainInfo2147OK, *TRAAPIGeneralTrainInfo2147Status299, error)

	TRAAPIGeneralTrainInfo21471(params *TRAAPIGeneralTrainInfo21471Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIGeneralTrainInfo21471OK, *TRAAPIGeneralTrainInfo21471Status299, error)

	TRAAPILine2142(params *TRAAPILine2142Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPILine2142OK, *TRAAPILine2142Status299, error)

	TRAAPILiveBoard2153(params *TRAAPILiveBoard2153Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPILiveBoard2153OK, *TRAAPILiveBoard2153Status299, error)

	TRAAPILiveBoard21531(params *TRAAPILiveBoard21531Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPILiveBoard21531OK, *TRAAPILiveBoard21531Status299, error)

	TRAAPILiveTrainDelay2154(params *TRAAPILiveTrainDelay2154Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPILiveTrainDelay2154OK, *TRAAPILiveTrainDelay2154Status299, error)

	TRAAPINetwork2140(params *TRAAPINetwork2140Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPINetwork2140OK, *TRAAPINetwork2140Status299, error)

	TRAAPIODDailyTimetable2152(params *TRAAPIODDailyTimetable2152Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIODDailyTimetable2152OK, *TRAAPIODDailyTimetable2152Status299, error)

	TRAAPIODFareStation2146(params *TRAAPIODFareStation2146Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIODFareStation2146OK, *TRAAPIODFareStation2146Status299, error)

	TRAAPIODFareStation21461(params *TRAAPIODFareStation21461Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIODFareStation21461OK, *TRAAPIODFareStation21461Status299, error)

	TRAAPIShape2145(params *TRAAPIShape2145Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIShape2145OK, *TRAAPIShape2145Status299, error)

	TRAAPIStationOfLine2143(params *TRAAPIStationOfLine2143Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIStationOfLine2143OK, *TRAAPIStationOfLine2143Status299, error)

	TRAAPIStationTimetable2151(params *TRAAPIStationTimetable2151Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIStationTimetable2151OK, *TRAAPIStationTimetable2151Status299, error)

	TRAAPIStation2141(params *TRAAPIStation2141Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPIStation2141OK, *TRAAPIStation2141Status299, error)

	TRAAPITrainType2144(params *TRAAPITrainType2144Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TRAAPITrainType2144OK, *TRAAPITrainType2144Status299, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new t r a API client.

type TRAAPIDailyTimetable21501NotModified added in v0.15.0

type TRAAPIDailyTimetable21501NotModified struct {
}
TRAAPIDailyTimetable21501NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTimetable21501NotModified added in v0.15.0

func NewTRAAPIDailyTimetable21501NotModified() *TRAAPIDailyTimetable21501NotModified

NewTRAAPIDailyTimetable21501NotModified creates a TRAAPIDailyTimetable21501NotModified with default headers values

func (*TRAAPIDailyTimetable21501NotModified) Error added in v0.15.0

type TRAAPIDailyTimetable21501OK added in v0.15.0

type TRAAPIDailyTimetable21501OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTimetable
}
TRAAPIDailyTimetable21501OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTimetable21501OK added in v0.15.0

func NewTRAAPIDailyTimetable21501OK() *TRAAPIDailyTimetable21501OK

NewTRAAPIDailyTimetable21501OK creates a TRAAPIDailyTimetable21501OK with default headers values

func (*TRAAPIDailyTimetable21501OK) Error added in v0.15.0

func (*TRAAPIDailyTimetable21501OK) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21501Params added in v0.15.0

type TRAAPIDailyTimetable21501Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainNo.

	   欲查詢車次的代碼
	*/
	TrainNo string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21501Params contains all the parameters to send to the API endpoint

for the t r a Api daily timetable 2150 1 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTimetable21501Params added in v0.15.0

func NewTRAAPIDailyTimetable21501Params() *TRAAPIDailyTimetable21501Params

NewTRAAPIDailyTimetable21501Params creates a new TRAAPIDailyTimetable21501Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTimetable21501ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTimetable21501ParamsWithContext(ctx context.Context) *TRAAPIDailyTimetable21501Params

NewTRAAPIDailyTimetable21501ParamsWithContext creates a new TRAAPIDailyTimetable21501Params object with the ability to set a context for a request.

func NewTRAAPIDailyTimetable21501ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTimetable21501ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTimetable21501Params

NewTRAAPIDailyTimetable21501ParamsWithHTTPClient creates a new TRAAPIDailyTimetable21501Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTimetable21501ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTimetable21501ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTimetable21501Params

NewTRAAPIDailyTimetable21501ParamsWithTimeout creates a new TRAAPIDailyTimetable21501Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTimetable21501Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily timetable 2150 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21501Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) SetTrainNo added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily timetable 2150 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21501Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTimetable21501Params

WithDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTimetable21501Params

WithDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTimetable21501Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable21501Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTimetable21501Params

WithDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the t r a Api daily timetable 2150 1 params

func (*TRAAPIDailyTimetable21501Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTimetable21501Reader added in v0.15.0

type TRAAPIDailyTimetable21501Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21501Reader is a Reader for the TRAAPIDailyTimetable21501 structure.

func (*TRAAPIDailyTimetable21501Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTimetable21501Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTimetable21501Status299 added in v0.15.0

type TRAAPIDailyTimetable21501Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTimetable21501Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTimetable21501Status299 added in v0.15.0

func NewTRAAPIDailyTimetable21501Status299() *TRAAPIDailyTimetable21501Status299

NewTRAAPIDailyTimetable21501Status299 creates a TRAAPIDailyTimetable21501Status299 with default headers values

func (*TRAAPIDailyTimetable21501Status299) Error added in v0.15.0

func (*TRAAPIDailyTimetable21501Status299) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21502OK added in v0.15.0

type TRAAPIDailyTimetable21502OK struct {
	Payload *models.PTXServiceDTORailSpecificationV2TRATrainDateList
}
TRAAPIDailyTimetable21502OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTimetable21502OK added in v0.15.0

func NewTRAAPIDailyTimetable21502OK() *TRAAPIDailyTimetable21502OK

NewTRAAPIDailyTimetable21502OK creates a TRAAPIDailyTimetable21502OK with default headers values

func (*TRAAPIDailyTimetable21502OK) Error added in v0.15.0

func (*TRAAPIDailyTimetable21502OK) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21502Params added in v0.15.0

type TRAAPIDailyTimetable21502Params struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21502Params contains all the parameters to send to the API endpoint

for the t r a Api daily timetable 2150 2 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTimetable21502Params added in v0.15.0

func NewTRAAPIDailyTimetable21502Params() *TRAAPIDailyTimetable21502Params

NewTRAAPIDailyTimetable21502Params creates a new TRAAPIDailyTimetable21502Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTimetable21502ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTimetable21502ParamsWithContext(ctx context.Context) *TRAAPIDailyTimetable21502Params

NewTRAAPIDailyTimetable21502ParamsWithContext creates a new TRAAPIDailyTimetable21502Params object with the ability to set a context for a request.

func NewTRAAPIDailyTimetable21502ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTimetable21502ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTimetable21502Params

NewTRAAPIDailyTimetable21502ParamsWithHTTPClient creates a new TRAAPIDailyTimetable21502Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTimetable21502ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTimetable21502ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTimetable21502Params

NewTRAAPIDailyTimetable21502ParamsWithTimeout creates a new TRAAPIDailyTimetable21502Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTimetable21502Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily timetable 2150 2 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21502Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily timetable 2150 2 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21502Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21502Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTimetable21502Params

WithDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily timetable 2150 2 params

func (*TRAAPIDailyTimetable21502Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTimetable21502Reader added in v0.15.0

type TRAAPIDailyTimetable21502Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21502Reader is a Reader for the TRAAPIDailyTimetable21502 structure.

func (*TRAAPIDailyTimetable21502Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTimetable21502Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTimetable21502Status299 added in v0.15.0

type TRAAPIDailyTimetable21502Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTimetable21502Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTimetable21502Status299 added in v0.15.0

func NewTRAAPIDailyTimetable21502Status299() *TRAAPIDailyTimetable21502Status299

NewTRAAPIDailyTimetable21502Status299 creates a TRAAPIDailyTimetable21502Status299 with default headers values

func (*TRAAPIDailyTimetable21502Status299) Error added in v0.15.0

func (*TRAAPIDailyTimetable21502Status299) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21503NotModified added in v0.15.0

type TRAAPIDailyTimetable21503NotModified struct {
}
TRAAPIDailyTimetable21503NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTimetable21503NotModified added in v0.15.0

func NewTRAAPIDailyTimetable21503NotModified() *TRAAPIDailyTimetable21503NotModified

NewTRAAPIDailyTimetable21503NotModified creates a TRAAPIDailyTimetable21503NotModified with default headers values

func (*TRAAPIDailyTimetable21503NotModified) Error added in v0.15.0

type TRAAPIDailyTimetable21503OK added in v0.15.0

type TRAAPIDailyTimetable21503OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTimetable
}
TRAAPIDailyTimetable21503OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTimetable21503OK added in v0.15.0

func NewTRAAPIDailyTimetable21503OK() *TRAAPIDailyTimetable21503OK

NewTRAAPIDailyTimetable21503OK creates a TRAAPIDailyTimetable21503OK with default headers values

func (*TRAAPIDailyTimetable21503OK) Error added in v0.15.0

func (*TRAAPIDailyTimetable21503OK) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21503Params added in v0.15.0

type TRAAPIDailyTimetable21503Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainDate.

	   欲查詢的日期(格式: yyyy-MM-dd)

	   Format: date-time
	*/
	TrainDate strfmt.DateTime

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21503Params contains all the parameters to send to the API endpoint

for the t r a Api daily timetable 2150 3 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTimetable21503Params added in v0.15.0

func NewTRAAPIDailyTimetable21503Params() *TRAAPIDailyTimetable21503Params

NewTRAAPIDailyTimetable21503Params creates a new TRAAPIDailyTimetable21503Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTimetable21503ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTimetable21503ParamsWithContext(ctx context.Context) *TRAAPIDailyTimetable21503Params

NewTRAAPIDailyTimetable21503ParamsWithContext creates a new TRAAPIDailyTimetable21503Params object with the ability to set a context for a request.

func NewTRAAPIDailyTimetable21503ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTimetable21503ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTimetable21503Params

NewTRAAPIDailyTimetable21503ParamsWithHTTPClient creates a new TRAAPIDailyTimetable21503Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTimetable21503ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTimetable21503ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTimetable21503Params

NewTRAAPIDailyTimetable21503ParamsWithTimeout creates a new TRAAPIDailyTimetable21503Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTimetable21503Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily timetable 2150 3 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21503Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) SetTrainDate added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) SetTrainDate(trainDate strfmt.DateTime)

SetTrainDate adds the trainDate to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily timetable 2150 3 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21503Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTimetable21503Params

WithDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTimetable21503Params

WithDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTimetable21503Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable21503Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTimetable21503Params

WithDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WithTrainDate added in v0.15.0

WithTrainDate adds the trainDate to the t r a Api daily timetable 2150 3 params

func (*TRAAPIDailyTimetable21503Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTimetable21503Reader added in v0.15.0

type TRAAPIDailyTimetable21503Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21503Reader is a Reader for the TRAAPIDailyTimetable21503 structure.

func (*TRAAPIDailyTimetable21503Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTimetable21503Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTimetable21503Status299 added in v0.15.0

type TRAAPIDailyTimetable21503Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTimetable21503Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTimetable21503Status299 added in v0.15.0

func NewTRAAPIDailyTimetable21503Status299() *TRAAPIDailyTimetable21503Status299

NewTRAAPIDailyTimetable21503Status299 creates a TRAAPIDailyTimetable21503Status299 with default headers values

func (*TRAAPIDailyTimetable21503Status299) Error added in v0.15.0

func (*TRAAPIDailyTimetable21503Status299) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21504NotModified added in v0.15.0

type TRAAPIDailyTimetable21504NotModified struct {
}
TRAAPIDailyTimetable21504NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTimetable21504NotModified added in v0.15.0

func NewTRAAPIDailyTimetable21504NotModified() *TRAAPIDailyTimetable21504NotModified

NewTRAAPIDailyTimetable21504NotModified creates a TRAAPIDailyTimetable21504NotModified with default headers values

func (*TRAAPIDailyTimetable21504NotModified) Error added in v0.15.0

type TRAAPIDailyTimetable21504OK added in v0.15.0

type TRAAPIDailyTimetable21504OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTimetable
}
TRAAPIDailyTimetable21504OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTimetable21504OK added in v0.15.0

func NewTRAAPIDailyTimetable21504OK() *TRAAPIDailyTimetable21504OK

NewTRAAPIDailyTimetable21504OK creates a TRAAPIDailyTimetable21504OK with default headers values

func (*TRAAPIDailyTimetable21504OK) Error added in v0.15.0

func (*TRAAPIDailyTimetable21504OK) GetPayload added in v0.15.0

type TRAAPIDailyTimetable21504Params added in v0.15.0

type TRAAPIDailyTimetable21504Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainDate.

	   欲查詢的日期(格式: yyyy-MM-dd)

	   Format: date-time
	*/
	TrainDate strfmt.DateTime

	/* TrainNo.

	   欲查詢車次的代碼
	*/
	TrainNo string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21504Params contains all the parameters to send to the API endpoint

for the t r a Api daily timetable 2150 4 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTimetable21504Params added in v0.15.0

func NewTRAAPIDailyTimetable21504Params() *TRAAPIDailyTimetable21504Params

NewTRAAPIDailyTimetable21504Params creates a new TRAAPIDailyTimetable21504Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTimetable21504ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTimetable21504ParamsWithContext(ctx context.Context) *TRAAPIDailyTimetable21504Params

NewTRAAPIDailyTimetable21504ParamsWithContext creates a new TRAAPIDailyTimetable21504Params object with the ability to set a context for a request.

func NewTRAAPIDailyTimetable21504ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTimetable21504ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTimetable21504Params

NewTRAAPIDailyTimetable21504ParamsWithHTTPClient creates a new TRAAPIDailyTimetable21504Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTimetable21504ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTimetable21504ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTimetable21504Params

NewTRAAPIDailyTimetable21504ParamsWithTimeout creates a new TRAAPIDailyTimetable21504Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTimetable21504Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily timetable 2150 4 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21504Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetTrainDate added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetTrainDate(trainDate strfmt.DateTime)

SetTrainDate adds the trainDate to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) SetTrainNo added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily timetable 2150 4 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable21504Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTimetable21504Params

WithDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTimetable21504Params

WithDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTimetable21504Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable21504Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTimetable21504Params

WithDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithTrainDate added in v0.15.0

WithTrainDate adds the trainDate to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the t r a Api daily timetable 2150 4 params

func (*TRAAPIDailyTimetable21504Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTimetable21504Reader added in v0.15.0

type TRAAPIDailyTimetable21504Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable21504Reader is a Reader for the TRAAPIDailyTimetable21504 structure.

func (*TRAAPIDailyTimetable21504Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTimetable21504Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTimetable21504Status299 added in v0.15.0

type TRAAPIDailyTimetable21504Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTimetable21504Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTimetable21504Status299 added in v0.15.0

func NewTRAAPIDailyTimetable21504Status299() *TRAAPIDailyTimetable21504Status299

NewTRAAPIDailyTimetable21504Status299 creates a TRAAPIDailyTimetable21504Status299 with default headers values

func (*TRAAPIDailyTimetable21504Status299) Error added in v0.15.0

func (*TRAAPIDailyTimetable21504Status299) GetPayload added in v0.15.0

type TRAAPIDailyTimetable2150NotModified added in v0.15.0

type TRAAPIDailyTimetable2150NotModified struct {
}
TRAAPIDailyTimetable2150NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTimetable2150NotModified added in v0.15.0

func NewTRAAPIDailyTimetable2150NotModified() *TRAAPIDailyTimetable2150NotModified

NewTRAAPIDailyTimetable2150NotModified creates a TRAAPIDailyTimetable2150NotModified with default headers values

func (*TRAAPIDailyTimetable2150NotModified) Error added in v0.15.0

type TRAAPIDailyTimetable2150OK added in v0.15.0

type TRAAPIDailyTimetable2150OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTimetable
}
TRAAPIDailyTimetable2150OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTimetable2150OK added in v0.15.0

func NewTRAAPIDailyTimetable2150OK() *TRAAPIDailyTimetable2150OK

NewTRAAPIDailyTimetable2150OK creates a TRAAPIDailyTimetable2150OK with default headers values

func (*TRAAPIDailyTimetable2150OK) Error added in v0.15.0

func (*TRAAPIDailyTimetable2150OK) GetPayload added in v0.15.0

type TRAAPIDailyTimetable2150Params added in v0.15.0

type TRAAPIDailyTimetable2150Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable2150Params contains all the parameters to send to the API endpoint

for the t r a Api daily timetable 2150 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTimetable2150Params added in v0.15.0

func NewTRAAPIDailyTimetable2150Params() *TRAAPIDailyTimetable2150Params

NewTRAAPIDailyTimetable2150Params creates a new TRAAPIDailyTimetable2150Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTimetable2150ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTimetable2150ParamsWithContext(ctx context.Context) *TRAAPIDailyTimetable2150Params

NewTRAAPIDailyTimetable2150ParamsWithContext creates a new TRAAPIDailyTimetable2150Params object with the ability to set a context for a request.

func NewTRAAPIDailyTimetable2150ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTimetable2150ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTimetable2150Params

NewTRAAPIDailyTimetable2150ParamsWithHTTPClient creates a new TRAAPIDailyTimetable2150Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTimetable2150ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTimetable2150ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTimetable2150Params

NewTRAAPIDailyTimetable2150ParamsWithTimeout creates a new TRAAPIDailyTimetable2150Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTimetable2150Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily timetable 2150 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable2150Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily timetable 2150 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTimetable2150Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTimetable2150Params

WithDollarFilter adds the dollarFilter to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTimetable2150Params

WithDollarFormat adds the dollarFormat to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTimetable2150Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTimetable2150Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTimetable2150Params

WithDollarSelect adds the dollarSelect to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily timetable 2150 params

func (*TRAAPIDailyTimetable2150Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTimetable2150Reader added in v0.15.0

type TRAAPIDailyTimetable2150Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTimetable2150Reader is a Reader for the TRAAPIDailyTimetable2150 structure.

func (*TRAAPIDailyTimetable2150Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTimetable2150Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTimetable2150Status299 added in v0.15.0

type TRAAPIDailyTimetable2150Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTimetable2150Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTimetable2150Status299 added in v0.15.0

func NewTRAAPIDailyTimetable2150Status299() *TRAAPIDailyTimetable2150Status299

NewTRAAPIDailyTimetable2150Status299 creates a TRAAPIDailyTimetable2150Status299 with default headers values

func (*TRAAPIDailyTimetable2150Status299) Error added in v0.15.0

func (*TRAAPIDailyTimetable2150Status299) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo21491NotModified added in v0.15.0

type TRAAPIDailyTrainInfo21491NotModified struct {
}
TRAAPIDailyTrainInfo21491NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTrainInfo21491NotModified added in v0.15.0

func NewTRAAPIDailyTrainInfo21491NotModified() *TRAAPIDailyTrainInfo21491NotModified

NewTRAAPIDailyTrainInfo21491NotModified creates a TRAAPIDailyTrainInfo21491NotModified with default headers values

func (*TRAAPIDailyTrainInfo21491NotModified) Error added in v0.15.0

type TRAAPIDailyTrainInfo21491OK added in v0.15.0

type TRAAPIDailyTrainInfo21491OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo
}
TRAAPIDailyTrainInfo21491OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTrainInfo21491OK added in v0.15.0

func NewTRAAPIDailyTrainInfo21491OK() *TRAAPIDailyTrainInfo21491OK

NewTRAAPIDailyTrainInfo21491OK creates a TRAAPIDailyTrainInfo21491OK with default headers values

func (*TRAAPIDailyTrainInfo21491OK) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo21491OK) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo21491Params added in v0.15.0

type TRAAPIDailyTrainInfo21491Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainNo.

	   欲查詢車次的代碼
	*/
	TrainNo string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo21491Params contains all the parameters to send to the API endpoint

for the t r a Api daily train info 2149 1 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTrainInfo21491Params added in v0.15.0

func NewTRAAPIDailyTrainInfo21491Params() *TRAAPIDailyTrainInfo21491Params

NewTRAAPIDailyTrainInfo21491Params creates a new TRAAPIDailyTrainInfo21491Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTrainInfo21491ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTrainInfo21491ParamsWithContext(ctx context.Context) *TRAAPIDailyTrainInfo21491Params

NewTRAAPIDailyTrainInfo21491ParamsWithContext creates a new TRAAPIDailyTrainInfo21491Params object with the ability to set a context for a request.

func NewTRAAPIDailyTrainInfo21491ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTrainInfo21491ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTrainInfo21491Params

NewTRAAPIDailyTrainInfo21491ParamsWithHTTPClient creates a new TRAAPIDailyTrainInfo21491Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTrainInfo21491ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTrainInfo21491ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTrainInfo21491Params

NewTRAAPIDailyTrainInfo21491ParamsWithTimeout creates a new TRAAPIDailyTrainInfo21491Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTrainInfo21491Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily train info 2149 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo21491Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) SetTrainNo added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily train info 2149 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo21491Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTrainInfo21491Params

WithDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTrainInfo21491Params

WithDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTrainInfo21491Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTrainInfo21491Params

WithDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the t r a Api daily train info 2149 1 params

func (*TRAAPIDailyTrainInfo21491Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTrainInfo21491Reader added in v0.15.0

type TRAAPIDailyTrainInfo21491Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo21491Reader is a Reader for the TRAAPIDailyTrainInfo21491 structure.

func (*TRAAPIDailyTrainInfo21491Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTrainInfo21491Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTrainInfo21491Status299 added in v0.15.0

type TRAAPIDailyTrainInfo21491Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTrainInfo21491Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTrainInfo21491Status299 added in v0.15.0

func NewTRAAPIDailyTrainInfo21491Status299() *TRAAPIDailyTrainInfo21491Status299

NewTRAAPIDailyTrainInfo21491Status299 creates a TRAAPIDailyTrainInfo21491Status299 with default headers values

func (*TRAAPIDailyTrainInfo21491Status299) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo21491Status299) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo21492NotModified added in v0.15.0

type TRAAPIDailyTrainInfo21492NotModified struct {
}
TRAAPIDailyTrainInfo21492NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTrainInfo21492NotModified added in v0.15.0

func NewTRAAPIDailyTrainInfo21492NotModified() *TRAAPIDailyTrainInfo21492NotModified

NewTRAAPIDailyTrainInfo21492NotModified creates a TRAAPIDailyTrainInfo21492NotModified with default headers values

func (*TRAAPIDailyTrainInfo21492NotModified) Error added in v0.15.0

type TRAAPIDailyTrainInfo21492OK added in v0.15.0

type TRAAPIDailyTrainInfo21492OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo
}
TRAAPIDailyTrainInfo21492OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTrainInfo21492OK added in v0.15.0

func NewTRAAPIDailyTrainInfo21492OK() *TRAAPIDailyTrainInfo21492OK

NewTRAAPIDailyTrainInfo21492OK creates a TRAAPIDailyTrainInfo21492OK with default headers values

func (*TRAAPIDailyTrainInfo21492OK) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo21492OK) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo21492Params added in v0.15.0

type TRAAPIDailyTrainInfo21492Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainDate.

	   欲查詢車次的日期(格式: yyyy-MM-dd)

	   Format: date-time
	*/
	TrainDate strfmt.DateTime

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo21492Params contains all the parameters to send to the API endpoint

for the t r a Api daily train info 2149 2 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTrainInfo21492Params added in v0.15.0

func NewTRAAPIDailyTrainInfo21492Params() *TRAAPIDailyTrainInfo21492Params

NewTRAAPIDailyTrainInfo21492Params creates a new TRAAPIDailyTrainInfo21492Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTrainInfo21492ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTrainInfo21492ParamsWithContext(ctx context.Context) *TRAAPIDailyTrainInfo21492Params

NewTRAAPIDailyTrainInfo21492ParamsWithContext creates a new TRAAPIDailyTrainInfo21492Params object with the ability to set a context for a request.

func NewTRAAPIDailyTrainInfo21492ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTrainInfo21492ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTrainInfo21492Params

NewTRAAPIDailyTrainInfo21492ParamsWithHTTPClient creates a new TRAAPIDailyTrainInfo21492Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTrainInfo21492ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTrainInfo21492ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTrainInfo21492Params

NewTRAAPIDailyTrainInfo21492ParamsWithTimeout creates a new TRAAPIDailyTrainInfo21492Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTrainInfo21492Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily train info 2149 2 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo21492Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) SetTrainDate added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) SetTrainDate(trainDate strfmt.DateTime)

SetTrainDate adds the trainDate to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily train info 2149 2 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo21492Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTrainInfo21492Params

WithDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTrainInfo21492Params

WithDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTrainInfo21492Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTrainInfo21492Params

WithDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WithTrainDate added in v0.15.0

WithTrainDate adds the trainDate to the t r a Api daily train info 2149 2 params

func (*TRAAPIDailyTrainInfo21492Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTrainInfo21492Reader added in v0.15.0

type TRAAPIDailyTrainInfo21492Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo21492Reader is a Reader for the TRAAPIDailyTrainInfo21492 structure.

func (*TRAAPIDailyTrainInfo21492Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTrainInfo21492Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTrainInfo21492Status299 added in v0.15.0

type TRAAPIDailyTrainInfo21492Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTrainInfo21492Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTrainInfo21492Status299 added in v0.15.0

func NewTRAAPIDailyTrainInfo21492Status299() *TRAAPIDailyTrainInfo21492Status299

NewTRAAPIDailyTrainInfo21492Status299 creates a TRAAPIDailyTrainInfo21492Status299 with default headers values

func (*TRAAPIDailyTrainInfo21492Status299) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo21492Status299) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo21493NotModified added in v0.15.0

type TRAAPIDailyTrainInfo21493NotModified struct {
}
TRAAPIDailyTrainInfo21493NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTrainInfo21493NotModified added in v0.15.0

func NewTRAAPIDailyTrainInfo21493NotModified() *TRAAPIDailyTrainInfo21493NotModified

NewTRAAPIDailyTrainInfo21493NotModified creates a TRAAPIDailyTrainInfo21493NotModified with default headers values

func (*TRAAPIDailyTrainInfo21493NotModified) Error added in v0.15.0

type TRAAPIDailyTrainInfo21493OK added in v0.15.0

type TRAAPIDailyTrainInfo21493OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo
}
TRAAPIDailyTrainInfo21493OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTrainInfo21493OK added in v0.15.0

func NewTRAAPIDailyTrainInfo21493OK() *TRAAPIDailyTrainInfo21493OK

NewTRAAPIDailyTrainInfo21493OK creates a TRAAPIDailyTrainInfo21493OK with default headers values

func (*TRAAPIDailyTrainInfo21493OK) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo21493OK) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo21493Params added in v0.15.0

type TRAAPIDailyTrainInfo21493Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainDate.

	   欲查詢車次的日期(格式: yyyy-MM-dd)

	   Format: date-time
	*/
	TrainDate strfmt.DateTime

	/* TrainNo.

	   欲查詢車次的代碼
	*/
	TrainNo string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo21493Params contains all the parameters to send to the API endpoint

for the t r a Api daily train info 2149 3 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTrainInfo21493Params added in v0.15.0

func NewTRAAPIDailyTrainInfo21493Params() *TRAAPIDailyTrainInfo21493Params

NewTRAAPIDailyTrainInfo21493Params creates a new TRAAPIDailyTrainInfo21493Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTrainInfo21493ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTrainInfo21493ParamsWithContext(ctx context.Context) *TRAAPIDailyTrainInfo21493Params

NewTRAAPIDailyTrainInfo21493ParamsWithContext creates a new TRAAPIDailyTrainInfo21493Params object with the ability to set a context for a request.

func NewTRAAPIDailyTrainInfo21493ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTrainInfo21493ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTrainInfo21493Params

NewTRAAPIDailyTrainInfo21493ParamsWithHTTPClient creates a new TRAAPIDailyTrainInfo21493Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTrainInfo21493ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTrainInfo21493ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTrainInfo21493Params

NewTRAAPIDailyTrainInfo21493ParamsWithTimeout creates a new TRAAPIDailyTrainInfo21493Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTrainInfo21493Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily train info 2149 3 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo21493Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetTrainDate added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetTrainDate(trainDate strfmt.DateTime)

SetTrainDate adds the trainDate to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) SetTrainNo added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily train info 2149 3 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo21493Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTrainInfo21493Params

WithDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTrainInfo21493Params

WithDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTrainInfo21493Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTrainInfo21493Params

WithDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithTrainDate added in v0.15.0

WithTrainDate adds the trainDate to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the t r a Api daily train info 2149 3 params

func (*TRAAPIDailyTrainInfo21493Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTrainInfo21493Reader added in v0.15.0

type TRAAPIDailyTrainInfo21493Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo21493Reader is a Reader for the TRAAPIDailyTrainInfo21493 structure.

func (*TRAAPIDailyTrainInfo21493Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTrainInfo21493Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTrainInfo21493Status299 added in v0.15.0

type TRAAPIDailyTrainInfo21493Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTrainInfo21493Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTrainInfo21493Status299 added in v0.15.0

func NewTRAAPIDailyTrainInfo21493Status299() *TRAAPIDailyTrainInfo21493Status299

NewTRAAPIDailyTrainInfo21493Status299 creates a TRAAPIDailyTrainInfo21493Status299 with default headers values

func (*TRAAPIDailyTrainInfo21493Status299) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo21493Status299) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo2149NotModified added in v0.15.0

type TRAAPIDailyTrainInfo2149NotModified struct {
}
TRAAPIDailyTrainInfo2149NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIDailyTrainInfo2149NotModified added in v0.15.0

func NewTRAAPIDailyTrainInfo2149NotModified() *TRAAPIDailyTrainInfo2149NotModified

NewTRAAPIDailyTrainInfo2149NotModified creates a TRAAPIDailyTrainInfo2149NotModified with default headers values

func (*TRAAPIDailyTrainInfo2149NotModified) Error added in v0.15.0

type TRAAPIDailyTrainInfo2149OK added in v0.15.0

type TRAAPIDailyTrainInfo2149OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailDailyTrainInfo
}
TRAAPIDailyTrainInfo2149OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIDailyTrainInfo2149OK added in v0.15.0

func NewTRAAPIDailyTrainInfo2149OK() *TRAAPIDailyTrainInfo2149OK

NewTRAAPIDailyTrainInfo2149OK creates a TRAAPIDailyTrainInfo2149OK with default headers values

func (*TRAAPIDailyTrainInfo2149OK) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo2149OK) GetPayload added in v0.15.0

type TRAAPIDailyTrainInfo2149Params added in v0.15.0

type TRAAPIDailyTrainInfo2149Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo2149Params contains all the parameters to send to the API endpoint

for the t r a Api daily train info 2149 operation.

Typically these are written to a http.Request.

func NewTRAAPIDailyTrainInfo2149Params added in v0.15.0

func NewTRAAPIDailyTrainInfo2149Params() *TRAAPIDailyTrainInfo2149Params

NewTRAAPIDailyTrainInfo2149Params creates a new TRAAPIDailyTrainInfo2149Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIDailyTrainInfo2149ParamsWithContext added in v0.15.0

func NewTRAAPIDailyTrainInfo2149ParamsWithContext(ctx context.Context) *TRAAPIDailyTrainInfo2149Params

NewTRAAPIDailyTrainInfo2149ParamsWithContext creates a new TRAAPIDailyTrainInfo2149Params object with the ability to set a context for a request.

func NewTRAAPIDailyTrainInfo2149ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIDailyTrainInfo2149ParamsWithHTTPClient(client *http.Client) *TRAAPIDailyTrainInfo2149Params

NewTRAAPIDailyTrainInfo2149ParamsWithHTTPClient creates a new TRAAPIDailyTrainInfo2149Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIDailyTrainInfo2149ParamsWithTimeout added in v0.15.0

func NewTRAAPIDailyTrainInfo2149ParamsWithTimeout(timeout time.Duration) *TRAAPIDailyTrainInfo2149Params

NewTRAAPIDailyTrainInfo2149ParamsWithTimeout creates a new TRAAPIDailyTrainInfo2149Params object with the ability to set a timeout on a request.

func (*TRAAPIDailyTrainInfo2149Params) SetContext added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetDefaults added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api daily train info 2149 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo2149Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetDollarTop added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetHealth added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) SetTimeout added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api daily train info 2149 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIDailyTrainInfo2149Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) WithDollarFilter(dollarFilter *string) *TRAAPIDailyTrainInfo2149Params

WithDollarFilter adds the dollarFilter to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) WithDollarFormat(dollarFormat string) *TRAAPIDailyTrainInfo2149Params

WithDollarFormat adds the dollarFormat to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIDailyTrainInfo2149Params

WithDollarOrderby adds the dollarOrderby to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Params) WithDollarSelect(dollarSelect *string) *TRAAPIDailyTrainInfo2149Params

WithDollarSelect adds the dollarSelect to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api daily train info 2149 params

func (*TRAAPIDailyTrainInfo2149Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIDailyTrainInfo2149Reader added in v0.15.0

type TRAAPIDailyTrainInfo2149Reader struct {
	// contains filtered or unexported fields
}

TRAAPIDailyTrainInfo2149Reader is a Reader for the TRAAPIDailyTrainInfo2149 structure.

func (*TRAAPIDailyTrainInfo2149Reader) ReadResponse added in v0.15.0

func (o *TRAAPIDailyTrainInfo2149Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIDailyTrainInfo2149Status299 added in v0.15.0

type TRAAPIDailyTrainInfo2149Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIDailyTrainInfo2149Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIDailyTrainInfo2149Status299 added in v0.15.0

func NewTRAAPIDailyTrainInfo2149Status299() *TRAAPIDailyTrainInfo2149Status299

NewTRAAPIDailyTrainInfo2149Status299 creates a TRAAPIDailyTrainInfo2149Status299 with default headers values

func (*TRAAPIDailyTrainInfo2149Status299) Error added in v0.15.0

func (*TRAAPIDailyTrainInfo2149Status299) GetPayload added in v0.15.0

type TRAAPIGeneralTimetable21481NotModified added in v0.15.0

type TRAAPIGeneralTimetable21481NotModified struct {
}
TRAAPIGeneralTimetable21481NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIGeneralTimetable21481NotModified added in v0.15.0

func NewTRAAPIGeneralTimetable21481NotModified() *TRAAPIGeneralTimetable21481NotModified

NewTRAAPIGeneralTimetable21481NotModified creates a TRAAPIGeneralTimetable21481NotModified with default headers values

func (*TRAAPIGeneralTimetable21481NotModified) Error added in v0.15.0

type TRAAPIGeneralTimetable21481OK added in v0.15.0

type TRAAPIGeneralTimetable21481OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailGeneralTimetable
}
TRAAPIGeneralTimetable21481OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIGeneralTimetable21481OK added in v0.15.0

func NewTRAAPIGeneralTimetable21481OK() *TRAAPIGeneralTimetable21481OK

NewTRAAPIGeneralTimetable21481OK creates a TRAAPIGeneralTimetable21481OK with default headers values

func (*TRAAPIGeneralTimetable21481OK) Error added in v0.15.0

func (*TRAAPIGeneralTimetable21481OK) GetPayload added in v0.15.0

type TRAAPIGeneralTimetable21481Params added in v0.15.0

type TRAAPIGeneralTimetable21481Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainNo.

	   欲查詢車次的代碼
	*/
	TrainNo string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIGeneralTimetable21481Params contains all the parameters to send to the API endpoint

for the t r a Api general timetable 2148 1 operation.

Typically these are written to a http.Request.

func NewTRAAPIGeneralTimetable21481Params added in v0.15.0

func NewTRAAPIGeneralTimetable21481Params() *TRAAPIGeneralTimetable21481Params

NewTRAAPIGeneralTimetable21481Params creates a new TRAAPIGeneralTimetable21481Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIGeneralTimetable21481ParamsWithContext added in v0.15.0

func NewTRAAPIGeneralTimetable21481ParamsWithContext(ctx context.Context) *TRAAPIGeneralTimetable21481Params

NewTRAAPIGeneralTimetable21481ParamsWithContext creates a new TRAAPIGeneralTimetable21481Params object with the ability to set a context for a request.

func NewTRAAPIGeneralTimetable21481ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIGeneralTimetable21481ParamsWithHTTPClient(client *http.Client) *TRAAPIGeneralTimetable21481Params

NewTRAAPIGeneralTimetable21481ParamsWithHTTPClient creates a new TRAAPIGeneralTimetable21481Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIGeneralTimetable21481ParamsWithTimeout added in v0.15.0

func NewTRAAPIGeneralTimetable21481ParamsWithTimeout(timeout time.Duration) *TRAAPIGeneralTimetable21481Params

NewTRAAPIGeneralTimetable21481ParamsWithTimeout creates a new TRAAPIGeneralTimetable21481Params object with the ability to set a timeout on a request.

func (*TRAAPIGeneralTimetable21481Params) SetContext added in v0.15.0

SetContext adds the context to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetDefaults added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api general timetable 2148 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTimetable21481Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetDollarTop added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetHealth added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetTimeout added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) SetTrainNo added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api general timetable 2148 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTimetable21481Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIGeneralTimetable21481Params

WithDollarOrderby adds the dollarOrderby to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the t r a Api general timetable 2148 1 params

func (*TRAAPIGeneralTimetable21481Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIGeneralTimetable21481Reader added in v0.15.0

type TRAAPIGeneralTimetable21481Reader struct {
	// contains filtered or unexported fields
}

TRAAPIGeneralTimetable21481Reader is a Reader for the TRAAPIGeneralTimetable21481 structure.

func (*TRAAPIGeneralTimetable21481Reader) ReadResponse added in v0.15.0

func (o *TRAAPIGeneralTimetable21481Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIGeneralTimetable21481Status299 added in v0.15.0

type TRAAPIGeneralTimetable21481Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIGeneralTimetable21481Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIGeneralTimetable21481Status299 added in v0.15.0

func NewTRAAPIGeneralTimetable21481Status299() *TRAAPIGeneralTimetable21481Status299

NewTRAAPIGeneralTimetable21481Status299 creates a TRAAPIGeneralTimetable21481Status299 with default headers values

func (*TRAAPIGeneralTimetable21481Status299) Error added in v0.15.0

func (*TRAAPIGeneralTimetable21481Status299) GetPayload added in v0.15.0

type TRAAPIGeneralTimetable2148NotModified added in v0.15.0

type TRAAPIGeneralTimetable2148NotModified struct {
}
TRAAPIGeneralTimetable2148NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIGeneralTimetable2148NotModified added in v0.15.0

func NewTRAAPIGeneralTimetable2148NotModified() *TRAAPIGeneralTimetable2148NotModified

NewTRAAPIGeneralTimetable2148NotModified creates a TRAAPIGeneralTimetable2148NotModified with default headers values

func (*TRAAPIGeneralTimetable2148NotModified) Error added in v0.15.0

type TRAAPIGeneralTimetable2148OK added in v0.15.0

type TRAAPIGeneralTimetable2148OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailGeneralTimetable
}
TRAAPIGeneralTimetable2148OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIGeneralTimetable2148OK added in v0.15.0

func NewTRAAPIGeneralTimetable2148OK() *TRAAPIGeneralTimetable2148OK

NewTRAAPIGeneralTimetable2148OK creates a TRAAPIGeneralTimetable2148OK with default headers values

func (*TRAAPIGeneralTimetable2148OK) Error added in v0.15.0

func (*TRAAPIGeneralTimetable2148OK) GetPayload added in v0.15.0

type TRAAPIGeneralTimetable2148Params added in v0.15.0

type TRAAPIGeneralTimetable2148Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIGeneralTimetable2148Params contains all the parameters to send to the API endpoint

for the t r a Api general timetable 2148 operation.

Typically these are written to a http.Request.

func NewTRAAPIGeneralTimetable2148Params added in v0.15.0

func NewTRAAPIGeneralTimetable2148Params() *TRAAPIGeneralTimetable2148Params

NewTRAAPIGeneralTimetable2148Params creates a new TRAAPIGeneralTimetable2148Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIGeneralTimetable2148ParamsWithContext added in v0.15.0

func NewTRAAPIGeneralTimetable2148ParamsWithContext(ctx context.Context) *TRAAPIGeneralTimetable2148Params

NewTRAAPIGeneralTimetable2148ParamsWithContext creates a new TRAAPIGeneralTimetable2148Params object with the ability to set a context for a request.

func NewTRAAPIGeneralTimetable2148ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIGeneralTimetable2148ParamsWithHTTPClient(client *http.Client) *TRAAPIGeneralTimetable2148Params

NewTRAAPIGeneralTimetable2148ParamsWithHTTPClient creates a new TRAAPIGeneralTimetable2148Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIGeneralTimetable2148ParamsWithTimeout added in v0.15.0

func NewTRAAPIGeneralTimetable2148ParamsWithTimeout(timeout time.Duration) *TRAAPIGeneralTimetable2148Params

NewTRAAPIGeneralTimetable2148ParamsWithTimeout creates a new TRAAPIGeneralTimetable2148Params object with the ability to set a timeout on a request.

func (*TRAAPIGeneralTimetable2148Params) SetContext added in v0.15.0

SetContext adds the context to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetDefaults added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api general timetable 2148 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTimetable2148Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetDollarTop added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetHealth added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) SetTimeout added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api general timetable 2148 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTimetable2148Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) WithDollarFilter(dollarFilter *string) *TRAAPIGeneralTimetable2148Params

WithDollarFilter adds the dollarFilter to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIGeneralTimetable2148Params

WithDollarOrderby adds the dollarOrderby to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Params) WithDollarSelect(dollarSelect *string) *TRAAPIGeneralTimetable2148Params

WithDollarSelect adds the dollarSelect to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api general timetable 2148 params

func (*TRAAPIGeneralTimetable2148Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIGeneralTimetable2148Reader added in v0.15.0

type TRAAPIGeneralTimetable2148Reader struct {
	// contains filtered or unexported fields
}

TRAAPIGeneralTimetable2148Reader is a Reader for the TRAAPIGeneralTimetable2148 structure.

func (*TRAAPIGeneralTimetable2148Reader) ReadResponse added in v0.15.0

func (o *TRAAPIGeneralTimetable2148Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIGeneralTimetable2148Status299 added in v0.15.0

type TRAAPIGeneralTimetable2148Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIGeneralTimetable2148Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIGeneralTimetable2148Status299 added in v0.15.0

func NewTRAAPIGeneralTimetable2148Status299() *TRAAPIGeneralTimetable2148Status299

NewTRAAPIGeneralTimetable2148Status299 creates a TRAAPIGeneralTimetable2148Status299 with default headers values

func (*TRAAPIGeneralTimetable2148Status299) Error added in v0.15.0

func (*TRAAPIGeneralTimetable2148Status299) GetPayload added in v0.15.0

type TRAAPIGeneralTrainInfo21471NotModified added in v0.15.0

type TRAAPIGeneralTrainInfo21471NotModified struct {
}
TRAAPIGeneralTrainInfo21471NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIGeneralTrainInfo21471NotModified added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471NotModified() *TRAAPIGeneralTrainInfo21471NotModified

NewTRAAPIGeneralTrainInfo21471NotModified creates a TRAAPIGeneralTrainInfo21471NotModified with default headers values

func (*TRAAPIGeneralTrainInfo21471NotModified) Error added in v0.15.0

type TRAAPIGeneralTrainInfo21471OK added in v0.15.0

type TRAAPIGeneralTrainInfo21471OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo
}
TRAAPIGeneralTrainInfo21471OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIGeneralTrainInfo21471OK added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471OK() *TRAAPIGeneralTrainInfo21471OK

NewTRAAPIGeneralTrainInfo21471OK creates a TRAAPIGeneralTrainInfo21471OK with default headers values

func (*TRAAPIGeneralTrainInfo21471OK) Error added in v0.15.0

func (*TRAAPIGeneralTrainInfo21471OK) GetPayload added in v0.15.0

type TRAAPIGeneralTrainInfo21471Params added in v0.15.0

type TRAAPIGeneralTrainInfo21471Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainNo.

	   欲查詢車次的代碼
	*/
	TrainNo string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIGeneralTrainInfo21471Params contains all the parameters to send to the API endpoint

for the t r a Api general train info 2147 1 operation.

Typically these are written to a http.Request.

func NewTRAAPIGeneralTrainInfo21471Params added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471Params() *TRAAPIGeneralTrainInfo21471Params

NewTRAAPIGeneralTrainInfo21471Params creates a new TRAAPIGeneralTrainInfo21471Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIGeneralTrainInfo21471ParamsWithContext added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471ParamsWithContext(ctx context.Context) *TRAAPIGeneralTrainInfo21471Params

NewTRAAPIGeneralTrainInfo21471ParamsWithContext creates a new TRAAPIGeneralTrainInfo21471Params object with the ability to set a context for a request.

func NewTRAAPIGeneralTrainInfo21471ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471ParamsWithHTTPClient(client *http.Client) *TRAAPIGeneralTrainInfo21471Params

NewTRAAPIGeneralTrainInfo21471ParamsWithHTTPClient creates a new TRAAPIGeneralTrainInfo21471Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIGeneralTrainInfo21471ParamsWithTimeout added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471ParamsWithTimeout(timeout time.Duration) *TRAAPIGeneralTrainInfo21471Params

NewTRAAPIGeneralTrainInfo21471ParamsWithTimeout creates a new TRAAPIGeneralTrainInfo21471Params object with the ability to set a timeout on a request.

func (*TRAAPIGeneralTrainInfo21471Params) SetContext added in v0.15.0

SetContext adds the context to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetDefaults added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api general train info 2147 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTrainInfo21471Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetDollarTop added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetHealth added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetTimeout added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) SetTrainNo added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api general train info 2147 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTrainInfo21471Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIGeneralTrainInfo21471Params

WithDollarOrderby adds the dollarOrderby to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the t r a Api general train info 2147 1 params

func (*TRAAPIGeneralTrainInfo21471Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIGeneralTrainInfo21471Reader added in v0.15.0

type TRAAPIGeneralTrainInfo21471Reader struct {
	// contains filtered or unexported fields
}

TRAAPIGeneralTrainInfo21471Reader is a Reader for the TRAAPIGeneralTrainInfo21471 structure.

func (*TRAAPIGeneralTrainInfo21471Reader) ReadResponse added in v0.15.0

func (o *TRAAPIGeneralTrainInfo21471Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIGeneralTrainInfo21471Status299 added in v0.15.0

type TRAAPIGeneralTrainInfo21471Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIGeneralTrainInfo21471Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIGeneralTrainInfo21471Status299 added in v0.15.0

func NewTRAAPIGeneralTrainInfo21471Status299() *TRAAPIGeneralTrainInfo21471Status299

NewTRAAPIGeneralTrainInfo21471Status299 creates a TRAAPIGeneralTrainInfo21471Status299 with default headers values

func (*TRAAPIGeneralTrainInfo21471Status299) Error added in v0.15.0

func (*TRAAPIGeneralTrainInfo21471Status299) GetPayload added in v0.15.0

type TRAAPIGeneralTrainInfo2147NotModified added in v0.15.0

type TRAAPIGeneralTrainInfo2147NotModified struct {
}
TRAAPIGeneralTrainInfo2147NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIGeneralTrainInfo2147NotModified added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147NotModified() *TRAAPIGeneralTrainInfo2147NotModified

NewTRAAPIGeneralTrainInfo2147NotModified creates a TRAAPIGeneralTrainInfo2147NotModified with default headers values

func (*TRAAPIGeneralTrainInfo2147NotModified) Error added in v0.15.0

type TRAAPIGeneralTrainInfo2147OK added in v0.15.0

type TRAAPIGeneralTrainInfo2147OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailGeneralTrainInfo
}
TRAAPIGeneralTrainInfo2147OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIGeneralTrainInfo2147OK added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147OK() *TRAAPIGeneralTrainInfo2147OK

NewTRAAPIGeneralTrainInfo2147OK creates a TRAAPIGeneralTrainInfo2147OK with default headers values

func (*TRAAPIGeneralTrainInfo2147OK) Error added in v0.15.0

func (*TRAAPIGeneralTrainInfo2147OK) GetPayload added in v0.15.0

type TRAAPIGeneralTrainInfo2147Params added in v0.15.0

type TRAAPIGeneralTrainInfo2147Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIGeneralTrainInfo2147Params contains all the parameters to send to the API endpoint

for the t r a Api general train info 2147 operation.

Typically these are written to a http.Request.

func NewTRAAPIGeneralTrainInfo2147Params added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147Params() *TRAAPIGeneralTrainInfo2147Params

NewTRAAPIGeneralTrainInfo2147Params creates a new TRAAPIGeneralTrainInfo2147Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIGeneralTrainInfo2147ParamsWithContext added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147ParamsWithContext(ctx context.Context) *TRAAPIGeneralTrainInfo2147Params

NewTRAAPIGeneralTrainInfo2147ParamsWithContext creates a new TRAAPIGeneralTrainInfo2147Params object with the ability to set a context for a request.

func NewTRAAPIGeneralTrainInfo2147ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147ParamsWithHTTPClient(client *http.Client) *TRAAPIGeneralTrainInfo2147Params

NewTRAAPIGeneralTrainInfo2147ParamsWithHTTPClient creates a new TRAAPIGeneralTrainInfo2147Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIGeneralTrainInfo2147ParamsWithTimeout added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147ParamsWithTimeout(timeout time.Duration) *TRAAPIGeneralTrainInfo2147Params

NewTRAAPIGeneralTrainInfo2147ParamsWithTimeout creates a new TRAAPIGeneralTrainInfo2147Params object with the ability to set a timeout on a request.

func (*TRAAPIGeneralTrainInfo2147Params) SetContext added in v0.15.0

SetContext adds the context to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetDefaults added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api general train info 2147 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTrainInfo2147Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetDollarTop added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetHealth added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) SetTimeout added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api general train info 2147 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIGeneralTrainInfo2147Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) WithDollarFilter(dollarFilter *string) *TRAAPIGeneralTrainInfo2147Params

WithDollarFilter adds the dollarFilter to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIGeneralTrainInfo2147Params

WithDollarOrderby adds the dollarOrderby to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Params) WithDollarSelect(dollarSelect *string) *TRAAPIGeneralTrainInfo2147Params

WithDollarSelect adds the dollarSelect to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api general train info 2147 params

func (*TRAAPIGeneralTrainInfo2147Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIGeneralTrainInfo2147Reader added in v0.15.0

type TRAAPIGeneralTrainInfo2147Reader struct {
	// contains filtered or unexported fields
}

TRAAPIGeneralTrainInfo2147Reader is a Reader for the TRAAPIGeneralTrainInfo2147 structure.

func (*TRAAPIGeneralTrainInfo2147Reader) ReadResponse added in v0.15.0

func (o *TRAAPIGeneralTrainInfo2147Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIGeneralTrainInfo2147Status299 added in v0.15.0

type TRAAPIGeneralTrainInfo2147Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIGeneralTrainInfo2147Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIGeneralTrainInfo2147Status299 added in v0.15.0

func NewTRAAPIGeneralTrainInfo2147Status299() *TRAAPIGeneralTrainInfo2147Status299

NewTRAAPIGeneralTrainInfo2147Status299 creates a TRAAPIGeneralTrainInfo2147Status299 with default headers values

func (*TRAAPIGeneralTrainInfo2147Status299) Error added in v0.15.0

func (*TRAAPIGeneralTrainInfo2147Status299) GetPayload added in v0.15.0

type TRAAPILine2142NotModified added in v0.15.0

type TRAAPILine2142NotModified struct {
}
TRAAPILine2142NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPILine2142NotModified added in v0.15.0

func NewTRAAPILine2142NotModified() *TRAAPILine2142NotModified

NewTRAAPILine2142NotModified creates a TRAAPILine2142NotModified with default headers values

func (*TRAAPILine2142NotModified) Error added in v0.15.0

func (o *TRAAPILine2142NotModified) Error() string

type TRAAPILine2142OK added in v0.15.0

type TRAAPILine2142OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRALine
}
TRAAPILine2142OK describes a response with status code 200, with default header values.

Success

func NewTRAAPILine2142OK added in v0.15.0

func NewTRAAPILine2142OK() *TRAAPILine2142OK

NewTRAAPILine2142OK creates a TRAAPILine2142OK with default headers values

func (*TRAAPILine2142OK) Error added in v0.15.0

func (o *TRAAPILine2142OK) Error() string

func (*TRAAPILine2142OK) GetPayload added in v0.15.0

type TRAAPILine2142Params added in v0.15.0

type TRAAPILine2142Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPILine2142Params contains all the parameters to send to the API endpoint

for the t r a Api line 2142 operation.

Typically these are written to a http.Request.

func NewTRAAPILine2142Params added in v0.15.0

func NewTRAAPILine2142Params() *TRAAPILine2142Params

NewTRAAPILine2142Params creates a new TRAAPILine2142Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPILine2142ParamsWithContext added in v0.15.0

func NewTRAAPILine2142ParamsWithContext(ctx context.Context) *TRAAPILine2142Params

NewTRAAPILine2142ParamsWithContext creates a new TRAAPILine2142Params object with the ability to set a context for a request.

func NewTRAAPILine2142ParamsWithHTTPClient added in v0.15.0

func NewTRAAPILine2142ParamsWithHTTPClient(client *http.Client) *TRAAPILine2142Params

NewTRAAPILine2142ParamsWithHTTPClient creates a new TRAAPILine2142Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPILine2142ParamsWithTimeout added in v0.15.0

func NewTRAAPILine2142ParamsWithTimeout(timeout time.Duration) *TRAAPILine2142Params

NewTRAAPILine2142ParamsWithTimeout creates a new TRAAPILine2142Params object with the ability to set a timeout on a request.

func (*TRAAPILine2142Params) SetContext added in v0.15.0

func (o *TRAAPILine2142Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetDefaults added in v0.15.0

func (o *TRAAPILine2142Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api line 2142 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILine2142Params) SetDollarFilter added in v0.15.0

func (o *TRAAPILine2142Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetDollarFormat added in v0.15.0

func (o *TRAAPILine2142Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPILine2142Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetDollarSelect added in v0.15.0

func (o *TRAAPILine2142Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetDollarSkip added in v0.15.0

func (o *TRAAPILine2142Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetDollarTop added in v0.15.0

func (o *TRAAPILine2142Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetHTTPClient added in v0.15.0

func (o *TRAAPILine2142Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetHealth added in v0.15.0

func (o *TRAAPILine2142Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api line 2142 params

func (*TRAAPILine2142Params) SetTimeout added in v0.15.0

func (o *TRAAPILine2142Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithDefaults added in v0.15.0

func (o *TRAAPILine2142Params) WithDefaults() *TRAAPILine2142Params

WithDefaults hydrates default values in the t r a Api line 2142 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILine2142Params) WithDollarFilter added in v0.15.0

func (o *TRAAPILine2142Params) WithDollarFilter(dollarFilter *string) *TRAAPILine2142Params

WithDollarFilter adds the dollarFilter to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithDollarFormat added in v0.15.0

func (o *TRAAPILine2142Params) WithDollarFormat(dollarFormat string) *TRAAPILine2142Params

WithDollarFormat adds the dollarFormat to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPILine2142Params) WithDollarOrderby(dollarOrderby *string) *TRAAPILine2142Params

WithDollarOrderby adds the dollarOrderby to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithDollarSelect added in v0.15.0

func (o *TRAAPILine2142Params) WithDollarSelect(dollarSelect *string) *TRAAPILine2142Params

WithDollarSelect adds the dollarSelect to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithDollarSkip added in v0.15.0

func (o *TRAAPILine2142Params) WithDollarSkip(dollarSkip *string) *TRAAPILine2142Params

WithDollarSkip adds the dollarSkip to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithDollarTop added in v0.15.0

func (o *TRAAPILine2142Params) WithDollarTop(dollarTop *int64) *TRAAPILine2142Params

WithDollarTop adds the dollarTop to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithHTTPClient added in v0.15.0

func (o *TRAAPILine2142Params) WithHTTPClient(client *http.Client) *TRAAPILine2142Params

WithHTTPClient adds the HTTPClient to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithHealth added in v0.15.0

func (o *TRAAPILine2142Params) WithHealth(health *string) *TRAAPILine2142Params

WithHealth adds the health to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WithTimeout added in v0.15.0

func (o *TRAAPILine2142Params) WithTimeout(timeout time.Duration) *TRAAPILine2142Params

WithTimeout adds the timeout to the t r a Api line 2142 params

func (*TRAAPILine2142Params) WriteToRequest added in v0.15.0

func (o *TRAAPILine2142Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TRAAPILine2142Reader added in v0.15.0

type TRAAPILine2142Reader struct {
	// contains filtered or unexported fields
}

TRAAPILine2142Reader is a Reader for the TRAAPILine2142 structure.

func (*TRAAPILine2142Reader) ReadResponse added in v0.15.0

func (o *TRAAPILine2142Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPILine2142Status299 added in v0.15.0

type TRAAPILine2142Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPILine2142Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPILine2142Status299 added in v0.15.0

func NewTRAAPILine2142Status299() *TRAAPILine2142Status299

NewTRAAPILine2142Status299 creates a TRAAPILine2142Status299 with default headers values

func (*TRAAPILine2142Status299) Error added in v0.15.0

func (o *TRAAPILine2142Status299) Error() string

func (*TRAAPILine2142Status299) GetPayload added in v0.15.0

type TRAAPILiveBoard21531NotModified added in v0.15.0

type TRAAPILiveBoard21531NotModified struct {
}
TRAAPILiveBoard21531NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPILiveBoard21531NotModified added in v0.15.0

func NewTRAAPILiveBoard21531NotModified() *TRAAPILiveBoard21531NotModified

NewTRAAPILiveBoard21531NotModified creates a TRAAPILiveBoard21531NotModified with default headers values

func (*TRAAPILiveBoard21531NotModified) Error added in v0.15.0

type TRAAPILiveBoard21531OK added in v0.15.0

type TRAAPILiveBoard21531OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailLiveBoard
}
TRAAPILiveBoard21531OK describes a response with status code 200, with default header values.

Success

func NewTRAAPILiveBoard21531OK added in v0.15.0

func NewTRAAPILiveBoard21531OK() *TRAAPILiveBoard21531OK

NewTRAAPILiveBoard21531OK creates a TRAAPILiveBoard21531OK with default headers values

func (*TRAAPILiveBoard21531OK) Error added in v0.15.0

func (o *TRAAPILiveBoard21531OK) Error() string

func (*TRAAPILiveBoard21531OK) GetPayload added in v0.15.0

type TRAAPILiveBoard21531Params added in v0.15.0

type TRAAPILiveBoard21531Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* StationID.

	   車站代碼
	*/
	StationID string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPILiveBoard21531Params contains all the parameters to send to the API endpoint

for the t r a Api live board 2153 1 operation.

Typically these are written to a http.Request.

func NewTRAAPILiveBoard21531Params added in v0.15.0

func NewTRAAPILiveBoard21531Params() *TRAAPILiveBoard21531Params

NewTRAAPILiveBoard21531Params creates a new TRAAPILiveBoard21531Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPILiveBoard21531ParamsWithContext added in v0.15.0

func NewTRAAPILiveBoard21531ParamsWithContext(ctx context.Context) *TRAAPILiveBoard21531Params

NewTRAAPILiveBoard21531ParamsWithContext creates a new TRAAPILiveBoard21531Params object with the ability to set a context for a request.

func NewTRAAPILiveBoard21531ParamsWithHTTPClient added in v0.15.0

func NewTRAAPILiveBoard21531ParamsWithHTTPClient(client *http.Client) *TRAAPILiveBoard21531Params

NewTRAAPILiveBoard21531ParamsWithHTTPClient creates a new TRAAPILiveBoard21531Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPILiveBoard21531ParamsWithTimeout added in v0.15.0

func NewTRAAPILiveBoard21531ParamsWithTimeout(timeout time.Duration) *TRAAPILiveBoard21531Params

NewTRAAPILiveBoard21531ParamsWithTimeout creates a new TRAAPILiveBoard21531Params object with the ability to set a timeout on a request.

func (*TRAAPILiveBoard21531Params) SetContext added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetDefaults added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api live board 2153 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILiveBoard21531Params) SetDollarFilter added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetDollarFormat added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetDollarSelect added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetDollarSkip added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetDollarTop added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetHTTPClient added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetHealth added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetStationID added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetStationID(stationID string)

SetStationID adds the stationId to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) SetTimeout added in v0.15.0

func (o *TRAAPILiveBoard21531Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api live board 2153 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILiveBoard21531Params) WithDollarFilter added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithDollarFilter(dollarFilter *string) *TRAAPILiveBoard21531Params

WithDollarFilter adds the dollarFilter to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithDollarFormat added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithDollarFormat(dollarFormat string) *TRAAPILiveBoard21531Params

WithDollarFormat adds the dollarFormat to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithDollarOrderby(dollarOrderby *string) *TRAAPILiveBoard21531Params

WithDollarOrderby adds the dollarOrderby to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithDollarSelect added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithDollarSelect(dollarSelect *string) *TRAAPILiveBoard21531Params

WithDollarSelect adds the dollarSelect to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithDollarSkip added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithDollarSkip(dollarSkip *string) *TRAAPILiveBoard21531Params

WithDollarSkip adds the dollarSkip to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithDollarTop added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithDollarTop(dollarTop *int64) *TRAAPILiveBoard21531Params

WithDollarTop adds the dollarTop to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithStationID added in v0.15.0

func (o *TRAAPILiveBoard21531Params) WithStationID(stationID string) *TRAAPILiveBoard21531Params

WithStationID adds the stationID to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api live board 2153 1 params

func (*TRAAPILiveBoard21531Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPILiveBoard21531Reader added in v0.15.0

type TRAAPILiveBoard21531Reader struct {
	// contains filtered or unexported fields
}

TRAAPILiveBoard21531Reader is a Reader for the TRAAPILiveBoard21531 structure.

func (*TRAAPILiveBoard21531Reader) ReadResponse added in v0.15.0

func (o *TRAAPILiveBoard21531Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPILiveBoard21531Status299 added in v0.15.0

type TRAAPILiveBoard21531Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPILiveBoard21531Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPILiveBoard21531Status299 added in v0.15.0

func NewTRAAPILiveBoard21531Status299() *TRAAPILiveBoard21531Status299

NewTRAAPILiveBoard21531Status299 creates a TRAAPILiveBoard21531Status299 with default headers values

func (*TRAAPILiveBoard21531Status299) Error added in v0.15.0

func (*TRAAPILiveBoard21531Status299) GetPayload added in v0.15.0

type TRAAPILiveBoard2153NotModified added in v0.15.0

type TRAAPILiveBoard2153NotModified struct {
}
TRAAPILiveBoard2153NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPILiveBoard2153NotModified added in v0.15.0

func NewTRAAPILiveBoard2153NotModified() *TRAAPILiveBoard2153NotModified

NewTRAAPILiveBoard2153NotModified creates a TRAAPILiveBoard2153NotModified with default headers values

func (*TRAAPILiveBoard2153NotModified) Error added in v0.15.0

type TRAAPILiveBoard2153OK added in v0.15.0

type TRAAPILiveBoard2153OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailLiveBoard
}
TRAAPILiveBoard2153OK describes a response with status code 200, with default header values.

Success

func NewTRAAPILiveBoard2153OK added in v0.15.0

func NewTRAAPILiveBoard2153OK() *TRAAPILiveBoard2153OK

NewTRAAPILiveBoard2153OK creates a TRAAPILiveBoard2153OK with default headers values

func (*TRAAPILiveBoard2153OK) Error added in v0.15.0

func (o *TRAAPILiveBoard2153OK) Error() string

func (*TRAAPILiveBoard2153OK) GetPayload added in v0.15.0

type TRAAPILiveBoard2153Params added in v0.15.0

type TRAAPILiveBoard2153Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPILiveBoard2153Params contains all the parameters to send to the API endpoint

for the t r a Api live board 2153 operation.

Typically these are written to a http.Request.

func NewTRAAPILiveBoard2153Params added in v0.15.0

func NewTRAAPILiveBoard2153Params() *TRAAPILiveBoard2153Params

NewTRAAPILiveBoard2153Params creates a new TRAAPILiveBoard2153Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPILiveBoard2153ParamsWithContext added in v0.15.0

func NewTRAAPILiveBoard2153ParamsWithContext(ctx context.Context) *TRAAPILiveBoard2153Params

NewTRAAPILiveBoard2153ParamsWithContext creates a new TRAAPILiveBoard2153Params object with the ability to set a context for a request.

func NewTRAAPILiveBoard2153ParamsWithHTTPClient added in v0.15.0

func NewTRAAPILiveBoard2153ParamsWithHTTPClient(client *http.Client) *TRAAPILiveBoard2153Params

NewTRAAPILiveBoard2153ParamsWithHTTPClient creates a new TRAAPILiveBoard2153Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPILiveBoard2153ParamsWithTimeout added in v0.15.0

func NewTRAAPILiveBoard2153ParamsWithTimeout(timeout time.Duration) *TRAAPILiveBoard2153Params

NewTRAAPILiveBoard2153ParamsWithTimeout creates a new TRAAPILiveBoard2153Params object with the ability to set a timeout on a request.

func (*TRAAPILiveBoard2153Params) SetContext added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetDefaults added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api live board 2153 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILiveBoard2153Params) SetDollarFilter added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetDollarFormat added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetDollarSelect added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetDollarSkip added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetDollarTop added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetHTTPClient added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetHealth added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) SetTimeout added in v0.15.0

func (o *TRAAPILiveBoard2153Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api live board 2153 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILiveBoard2153Params) WithDollarFilter added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithDollarFilter(dollarFilter *string) *TRAAPILiveBoard2153Params

WithDollarFilter adds the dollarFilter to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithDollarFormat added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithDollarFormat(dollarFormat string) *TRAAPILiveBoard2153Params

WithDollarFormat adds the dollarFormat to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithDollarOrderby(dollarOrderby *string) *TRAAPILiveBoard2153Params

WithDollarOrderby adds the dollarOrderby to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithDollarSelect added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithDollarSelect(dollarSelect *string) *TRAAPILiveBoard2153Params

WithDollarSelect adds the dollarSelect to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithDollarSkip added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithDollarSkip(dollarSkip *string) *TRAAPILiveBoard2153Params

WithDollarSkip adds the dollarSkip to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithDollarTop added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithDollarTop(dollarTop *int64) *TRAAPILiveBoard2153Params

WithDollarTop adds the dollarTop to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithHTTPClient added in v0.15.0

func (o *TRAAPILiveBoard2153Params) WithHTTPClient(client *http.Client) *TRAAPILiveBoard2153Params

WithHTTPClient adds the HTTPClient to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api live board 2153 params

func (*TRAAPILiveBoard2153Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPILiveBoard2153Reader added in v0.15.0

type TRAAPILiveBoard2153Reader struct {
	// contains filtered or unexported fields
}

TRAAPILiveBoard2153Reader is a Reader for the TRAAPILiveBoard2153 structure.

func (*TRAAPILiveBoard2153Reader) ReadResponse added in v0.15.0

func (o *TRAAPILiveBoard2153Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPILiveBoard2153Status299 added in v0.15.0

type TRAAPILiveBoard2153Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPILiveBoard2153Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPILiveBoard2153Status299 added in v0.15.0

func NewTRAAPILiveBoard2153Status299() *TRAAPILiveBoard2153Status299

NewTRAAPILiveBoard2153Status299 creates a TRAAPILiveBoard2153Status299 with default headers values

func (*TRAAPILiveBoard2153Status299) Error added in v0.15.0

func (*TRAAPILiveBoard2153Status299) GetPayload added in v0.15.0

type TRAAPILiveTrainDelay2154NotModified added in v0.15.0

type TRAAPILiveTrainDelay2154NotModified struct {
}
TRAAPILiveTrainDelay2154NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPILiveTrainDelay2154NotModified added in v0.15.0

func NewTRAAPILiveTrainDelay2154NotModified() *TRAAPILiveTrainDelay2154NotModified

NewTRAAPILiveTrainDelay2154NotModified creates a TRAAPILiveTrainDelay2154NotModified with default headers values

func (*TRAAPILiveTrainDelay2154NotModified) Error added in v0.15.0

type TRAAPILiveTrainDelay2154OK added in v0.15.0

type TRAAPILiveTrainDelay2154OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailLiveTrainDelay
}
TRAAPILiveTrainDelay2154OK describes a response with status code 200, with default header values.

Success

func NewTRAAPILiveTrainDelay2154OK added in v0.15.0

func NewTRAAPILiveTrainDelay2154OK() *TRAAPILiveTrainDelay2154OK

NewTRAAPILiveTrainDelay2154OK creates a TRAAPILiveTrainDelay2154OK with default headers values

func (*TRAAPILiveTrainDelay2154OK) Error added in v0.15.0

func (*TRAAPILiveTrainDelay2154OK) GetPayload added in v0.15.0

type TRAAPILiveTrainDelay2154Params added in v0.15.0

type TRAAPILiveTrainDelay2154Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPILiveTrainDelay2154Params contains all the parameters to send to the API endpoint

for the t r a Api live train delay 2154 operation.

Typically these are written to a http.Request.

func NewTRAAPILiveTrainDelay2154Params added in v0.15.0

func NewTRAAPILiveTrainDelay2154Params() *TRAAPILiveTrainDelay2154Params

NewTRAAPILiveTrainDelay2154Params creates a new TRAAPILiveTrainDelay2154Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPILiveTrainDelay2154ParamsWithContext added in v0.15.0

func NewTRAAPILiveTrainDelay2154ParamsWithContext(ctx context.Context) *TRAAPILiveTrainDelay2154Params

NewTRAAPILiveTrainDelay2154ParamsWithContext creates a new TRAAPILiveTrainDelay2154Params object with the ability to set a context for a request.

func NewTRAAPILiveTrainDelay2154ParamsWithHTTPClient added in v0.15.0

func NewTRAAPILiveTrainDelay2154ParamsWithHTTPClient(client *http.Client) *TRAAPILiveTrainDelay2154Params

NewTRAAPILiveTrainDelay2154ParamsWithHTTPClient creates a new TRAAPILiveTrainDelay2154Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPILiveTrainDelay2154ParamsWithTimeout added in v0.15.0

func NewTRAAPILiveTrainDelay2154ParamsWithTimeout(timeout time.Duration) *TRAAPILiveTrainDelay2154Params

NewTRAAPILiveTrainDelay2154ParamsWithTimeout creates a new TRAAPILiveTrainDelay2154Params object with the ability to set a timeout on a request.

func (*TRAAPILiveTrainDelay2154Params) SetContext added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetDefaults added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api live train delay 2154 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILiveTrainDelay2154Params) SetDollarFilter added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetDollarFormat added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetDollarSelect added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetDollarSkip added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetDollarTop added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetHTTPClient added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetHealth added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) SetTimeout added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api live train delay 2154 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPILiveTrainDelay2154Params) WithDollarFilter added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) WithDollarFilter(dollarFilter *string) *TRAAPILiveTrainDelay2154Params

WithDollarFilter adds the dollarFilter to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithDollarFormat added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) WithDollarFormat(dollarFormat string) *TRAAPILiveTrainDelay2154Params

WithDollarFormat adds the dollarFormat to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) WithDollarOrderby(dollarOrderby *string) *TRAAPILiveTrainDelay2154Params

WithDollarOrderby adds the dollarOrderby to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithDollarSelect added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Params) WithDollarSelect(dollarSelect *string) *TRAAPILiveTrainDelay2154Params

WithDollarSelect adds the dollarSelect to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api live train delay 2154 params

func (*TRAAPILiveTrainDelay2154Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPILiveTrainDelay2154Reader added in v0.15.0

type TRAAPILiveTrainDelay2154Reader struct {
	// contains filtered or unexported fields
}

TRAAPILiveTrainDelay2154Reader is a Reader for the TRAAPILiveTrainDelay2154 structure.

func (*TRAAPILiveTrainDelay2154Reader) ReadResponse added in v0.15.0

func (o *TRAAPILiveTrainDelay2154Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPILiveTrainDelay2154Status299 added in v0.15.0

type TRAAPILiveTrainDelay2154Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPILiveTrainDelay2154Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPILiveTrainDelay2154Status299 added in v0.15.0

func NewTRAAPILiveTrainDelay2154Status299() *TRAAPILiveTrainDelay2154Status299

NewTRAAPILiveTrainDelay2154Status299 creates a TRAAPILiveTrainDelay2154Status299 with default headers values

func (*TRAAPILiveTrainDelay2154Status299) Error added in v0.15.0

func (*TRAAPILiveTrainDelay2154Status299) GetPayload added in v0.15.0

type TRAAPINetwork2140NotModified added in v0.15.0

type TRAAPINetwork2140NotModified struct {
}
TRAAPINetwork2140NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPINetwork2140NotModified added in v0.15.0

func NewTRAAPINetwork2140NotModified() *TRAAPINetwork2140NotModified

NewTRAAPINetwork2140NotModified creates a TRAAPINetwork2140NotModified with default headers values

func (*TRAAPINetwork2140NotModified) Error added in v0.15.0

type TRAAPINetwork2140OK added in v0.15.0

type TRAAPINetwork2140OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRANetwork
}
TRAAPINetwork2140OK describes a response with status code 200, with default header values.

Success

func NewTRAAPINetwork2140OK added in v0.15.0

func NewTRAAPINetwork2140OK() *TRAAPINetwork2140OK

NewTRAAPINetwork2140OK creates a TRAAPINetwork2140OK with default headers values

func (*TRAAPINetwork2140OK) Error added in v0.15.0

func (o *TRAAPINetwork2140OK) Error() string

func (*TRAAPINetwork2140OK) GetPayload added in v0.15.0

type TRAAPINetwork2140Params added in v0.15.0

type TRAAPINetwork2140Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPINetwork2140Params contains all the parameters to send to the API endpoint

for the t r a Api network 2140 operation.

Typically these are written to a http.Request.

func NewTRAAPINetwork2140Params added in v0.15.0

func NewTRAAPINetwork2140Params() *TRAAPINetwork2140Params

NewTRAAPINetwork2140Params creates a new TRAAPINetwork2140Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPINetwork2140ParamsWithContext added in v0.15.0

func NewTRAAPINetwork2140ParamsWithContext(ctx context.Context) *TRAAPINetwork2140Params

NewTRAAPINetwork2140ParamsWithContext creates a new TRAAPINetwork2140Params object with the ability to set a context for a request.

func NewTRAAPINetwork2140ParamsWithHTTPClient added in v0.15.0

func NewTRAAPINetwork2140ParamsWithHTTPClient(client *http.Client) *TRAAPINetwork2140Params

NewTRAAPINetwork2140ParamsWithHTTPClient creates a new TRAAPINetwork2140Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPINetwork2140ParamsWithTimeout added in v0.15.0

func NewTRAAPINetwork2140ParamsWithTimeout(timeout time.Duration) *TRAAPINetwork2140Params

NewTRAAPINetwork2140ParamsWithTimeout creates a new TRAAPINetwork2140Params object with the ability to set a timeout on a request.

func (*TRAAPINetwork2140Params) SetContext added in v0.15.0

func (o *TRAAPINetwork2140Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetDefaults added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api network 2140 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPINetwork2140Params) SetDollarFilter added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetDollarFormat added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetDollarSelect added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetDollarSkip added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetDollarTop added in v0.15.0

func (o *TRAAPINetwork2140Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetHTTPClient added in v0.15.0

func (o *TRAAPINetwork2140Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetHealth added in v0.15.0

func (o *TRAAPINetwork2140Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) SetTimeout added in v0.15.0

func (o *TRAAPINetwork2140Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api network 2140 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPINetwork2140Params) WithDollarFilter added in v0.15.0

func (o *TRAAPINetwork2140Params) WithDollarFilter(dollarFilter *string) *TRAAPINetwork2140Params

WithDollarFilter adds the dollarFilter to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithDollarFormat added in v0.15.0

func (o *TRAAPINetwork2140Params) WithDollarFormat(dollarFormat string) *TRAAPINetwork2140Params

WithDollarFormat adds the dollarFormat to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPINetwork2140Params) WithDollarOrderby(dollarOrderby *string) *TRAAPINetwork2140Params

WithDollarOrderby adds the dollarOrderby to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithDollarSelect added in v0.15.0

func (o *TRAAPINetwork2140Params) WithDollarSelect(dollarSelect *string) *TRAAPINetwork2140Params

WithDollarSelect adds the dollarSelect to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithDollarSkip added in v0.15.0

func (o *TRAAPINetwork2140Params) WithDollarSkip(dollarSkip *string) *TRAAPINetwork2140Params

WithDollarSkip adds the dollarSkip to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithDollarTop added in v0.15.0

func (o *TRAAPINetwork2140Params) WithDollarTop(dollarTop *int64) *TRAAPINetwork2140Params

WithDollarTop adds the dollarTop to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithHTTPClient added in v0.15.0

func (o *TRAAPINetwork2140Params) WithHTTPClient(client *http.Client) *TRAAPINetwork2140Params

WithHTTPClient adds the HTTPClient to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithHealth added in v0.15.0

func (o *TRAAPINetwork2140Params) WithHealth(health *string) *TRAAPINetwork2140Params

WithHealth adds the health to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api network 2140 params

func (*TRAAPINetwork2140Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPINetwork2140Reader added in v0.15.0

type TRAAPINetwork2140Reader struct {
	// contains filtered or unexported fields
}

TRAAPINetwork2140Reader is a Reader for the TRAAPINetwork2140 structure.

func (*TRAAPINetwork2140Reader) ReadResponse added in v0.15.0

func (o *TRAAPINetwork2140Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPINetwork2140Status299 added in v0.15.0

type TRAAPINetwork2140Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPINetwork2140Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPINetwork2140Status299 added in v0.15.0

func NewTRAAPINetwork2140Status299() *TRAAPINetwork2140Status299

NewTRAAPINetwork2140Status299 creates a TRAAPINetwork2140Status299 with default headers values

func (*TRAAPINetwork2140Status299) Error added in v0.15.0

func (*TRAAPINetwork2140Status299) GetPayload added in v0.15.0

type TRAAPIODDailyTimetable2152NotModified added in v0.15.0

type TRAAPIODDailyTimetable2152NotModified struct {
}
TRAAPIODDailyTimetable2152NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIODDailyTimetable2152NotModified added in v0.15.0

func NewTRAAPIODDailyTimetable2152NotModified() *TRAAPIODDailyTimetable2152NotModified

NewTRAAPIODDailyTimetable2152NotModified creates a TRAAPIODDailyTimetable2152NotModified with default headers values

func (*TRAAPIODDailyTimetable2152NotModified) Error added in v0.15.0

type TRAAPIODDailyTimetable2152OK added in v0.15.0

type TRAAPIODDailyTimetable2152OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailODDailyTimetable
}
TRAAPIODDailyTimetable2152OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIODDailyTimetable2152OK added in v0.15.0

func NewTRAAPIODDailyTimetable2152OK() *TRAAPIODDailyTimetable2152OK

NewTRAAPIODDailyTimetable2152OK creates a TRAAPIODDailyTimetable2152OK with default headers values

func (*TRAAPIODDailyTimetable2152OK) Error added in v0.15.0

func (*TRAAPIODDailyTimetable2152OK) GetPayload added in v0.15.0

type TRAAPIODDailyTimetable2152Params added in v0.15.0

type TRAAPIODDailyTimetable2152Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* DestinationStationID.

	   迄點車站代碼
	*/
	DestinationStationID string

	/* OriginStationID.

	   起點車站代碼
	*/
	OriginStationID string

	/* TrainDate.

	   欲查詢的日期(格式: yyyy-MM-dd)

	   Format: date-time
	*/
	TrainDate strfmt.DateTime

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIODDailyTimetable2152Params contains all the parameters to send to the API endpoint

for the t r a Api o d daily timetable 2152 operation.

Typically these are written to a http.Request.

func NewTRAAPIODDailyTimetable2152Params added in v0.15.0

func NewTRAAPIODDailyTimetable2152Params() *TRAAPIODDailyTimetable2152Params

NewTRAAPIODDailyTimetable2152Params creates a new TRAAPIODDailyTimetable2152Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIODDailyTimetable2152ParamsWithContext added in v0.15.0

func NewTRAAPIODDailyTimetable2152ParamsWithContext(ctx context.Context) *TRAAPIODDailyTimetable2152Params

NewTRAAPIODDailyTimetable2152ParamsWithContext creates a new TRAAPIODDailyTimetable2152Params object with the ability to set a context for a request.

func NewTRAAPIODDailyTimetable2152ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIODDailyTimetable2152ParamsWithHTTPClient(client *http.Client) *TRAAPIODDailyTimetable2152Params

NewTRAAPIODDailyTimetable2152ParamsWithHTTPClient creates a new TRAAPIODDailyTimetable2152Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIODDailyTimetable2152ParamsWithTimeout added in v0.15.0

func NewTRAAPIODDailyTimetable2152ParamsWithTimeout(timeout time.Duration) *TRAAPIODDailyTimetable2152Params

NewTRAAPIODDailyTimetable2152ParamsWithTimeout creates a new TRAAPIODDailyTimetable2152Params object with the ability to set a timeout on a request.

func (*TRAAPIODDailyTimetable2152Params) SetContext added in v0.15.0

SetContext adds the context to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDefaults added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api o d daily timetable 2152 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIODDailyTimetable2152Params) SetDestinationStationID added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDestinationStationID(destinationStationID string)

SetDestinationStationID adds the destinationStationId to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetDollarTop added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetHealth added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetOriginStationID added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetOriginStationID(originStationID string)

SetOriginStationID adds the originStationId to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetTimeout added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) SetTrainDate added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) SetTrainDate(trainDate strfmt.DateTime)

SetTrainDate adds the trainDate to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api o d daily timetable 2152 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIODDailyTimetable2152Params) WithDestinationStationID added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) WithDestinationStationID(destinationStationID string) *TRAAPIODDailyTimetable2152Params

WithDestinationStationID adds the destinationStationID to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) WithDollarFilter(dollarFilter *string) *TRAAPIODDailyTimetable2152Params

WithDollarFilter adds the dollarFilter to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIODDailyTimetable2152Params

WithDollarOrderby adds the dollarOrderby to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) WithDollarSelect(dollarSelect *string) *TRAAPIODDailyTimetable2152Params

WithDollarSelect adds the dollarSelect to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithOriginStationID added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Params) WithOriginStationID(originStationID string) *TRAAPIODDailyTimetable2152Params

WithOriginStationID adds the originStationID to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WithTrainDate added in v0.15.0

WithTrainDate adds the trainDate to the t r a Api o d daily timetable 2152 params

func (*TRAAPIODDailyTimetable2152Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIODDailyTimetable2152Reader added in v0.15.0

type TRAAPIODDailyTimetable2152Reader struct {
	// contains filtered or unexported fields
}

TRAAPIODDailyTimetable2152Reader is a Reader for the TRAAPIODDailyTimetable2152 structure.

func (*TRAAPIODDailyTimetable2152Reader) ReadResponse added in v0.15.0

func (o *TRAAPIODDailyTimetable2152Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIODDailyTimetable2152Status299 added in v0.15.0

type TRAAPIODDailyTimetable2152Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIODDailyTimetable2152Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIODDailyTimetable2152Status299 added in v0.15.0

func NewTRAAPIODDailyTimetable2152Status299() *TRAAPIODDailyTimetable2152Status299

NewTRAAPIODDailyTimetable2152Status299 creates a TRAAPIODDailyTimetable2152Status299 with default headers values

func (*TRAAPIODDailyTimetable2152Status299) Error added in v0.15.0

func (*TRAAPIODDailyTimetable2152Status299) GetPayload added in v0.15.0

type TRAAPIODFareStation21461NotModified added in v0.15.0

type TRAAPIODFareStation21461NotModified struct {
}
TRAAPIODFareStation21461NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIODFareStation21461NotModified added in v0.15.0

func NewTRAAPIODFareStation21461NotModified() *TRAAPIODFareStation21461NotModified

NewTRAAPIODFareStation21461NotModified creates a TRAAPIODFareStation21461NotModified with default headers values

func (*TRAAPIODFareStation21461NotModified) Error added in v0.15.0

type TRAAPIODFareStation21461OK added in v0.15.0

type TRAAPIODFareStation21461OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailODFare
}
TRAAPIODFareStation21461OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIODFareStation21461OK added in v0.15.0

func NewTRAAPIODFareStation21461OK() *TRAAPIODFareStation21461OK

NewTRAAPIODFareStation21461OK creates a TRAAPIODFareStation21461OK with default headers values

func (*TRAAPIODFareStation21461OK) Error added in v0.15.0

func (*TRAAPIODFareStation21461OK) GetPayload added in v0.15.0

type TRAAPIODFareStation21461Params added in v0.15.0

type TRAAPIODFareStation21461Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* DestinationStationID.

	   迄點車站代碼
	*/
	DestinationStationID string

	/* OriginStationID.

	   起點車站代碼
	*/
	OriginStationID string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIODFareStation21461Params contains all the parameters to send to the API endpoint

for the t r a Api o d fare station 2146 1 operation.

Typically these are written to a http.Request.

func NewTRAAPIODFareStation21461Params added in v0.15.0

func NewTRAAPIODFareStation21461Params() *TRAAPIODFareStation21461Params

NewTRAAPIODFareStation21461Params creates a new TRAAPIODFareStation21461Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIODFareStation21461ParamsWithContext added in v0.15.0

func NewTRAAPIODFareStation21461ParamsWithContext(ctx context.Context) *TRAAPIODFareStation21461Params

NewTRAAPIODFareStation21461ParamsWithContext creates a new TRAAPIODFareStation21461Params object with the ability to set a context for a request.

func NewTRAAPIODFareStation21461ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIODFareStation21461ParamsWithHTTPClient(client *http.Client) *TRAAPIODFareStation21461Params

NewTRAAPIODFareStation21461ParamsWithHTTPClient creates a new TRAAPIODFareStation21461Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIODFareStation21461ParamsWithTimeout added in v0.15.0

func NewTRAAPIODFareStation21461ParamsWithTimeout(timeout time.Duration) *TRAAPIODFareStation21461Params

NewTRAAPIODFareStation21461ParamsWithTimeout creates a new TRAAPIODFareStation21461Params object with the ability to set a timeout on a request.

func (*TRAAPIODFareStation21461Params) SetContext added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDefaults added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api o d fare station 2146 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIODFareStation21461Params) SetDestinationStationID added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDestinationStationID(destinationStationID string)

SetDestinationStationID adds the destinationStationId to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetDollarTop added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetHealth added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetOriginStationID added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetOriginStationID(originStationID string)

SetOriginStationID adds the originStationId to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) SetTimeout added in v0.15.0

func (o *TRAAPIODFareStation21461Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api o d fare station 2146 1 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIODFareStation21461Params) WithDestinationStationID added in v0.15.0

func (o *TRAAPIODFareStation21461Params) WithDestinationStationID(destinationStationID string) *TRAAPIODFareStation21461Params

WithDestinationStationID adds the destinationStationID to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIODFareStation21461Params) WithDollarFilter(dollarFilter *string) *TRAAPIODFareStation21461Params

WithDollarFilter adds the dollarFilter to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIODFareStation21461Params) WithDollarFormat(dollarFormat string) *TRAAPIODFareStation21461Params

WithDollarFormat adds the dollarFormat to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIODFareStation21461Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIODFareStation21461Params

WithDollarOrderby adds the dollarOrderby to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIODFareStation21461Params) WithDollarSelect(dollarSelect *string) *TRAAPIODFareStation21461Params

WithDollarSelect adds the dollarSelect to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithOriginStationID added in v0.15.0

func (o *TRAAPIODFareStation21461Params) WithOriginStationID(originStationID string) *TRAAPIODFareStation21461Params

WithOriginStationID adds the originStationID to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api o d fare station 2146 1 params

func (*TRAAPIODFareStation21461Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIODFareStation21461Reader added in v0.15.0

type TRAAPIODFareStation21461Reader struct {
	// contains filtered or unexported fields
}

TRAAPIODFareStation21461Reader is a Reader for the TRAAPIODFareStation21461 structure.

func (*TRAAPIODFareStation21461Reader) ReadResponse added in v0.15.0

func (o *TRAAPIODFareStation21461Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIODFareStation21461Status299 added in v0.15.0

type TRAAPIODFareStation21461Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIODFareStation21461Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIODFareStation21461Status299 added in v0.15.0

func NewTRAAPIODFareStation21461Status299() *TRAAPIODFareStation21461Status299

NewTRAAPIODFareStation21461Status299 creates a TRAAPIODFareStation21461Status299 with default headers values

func (*TRAAPIODFareStation21461Status299) Error added in v0.15.0

func (*TRAAPIODFareStation21461Status299) GetPayload added in v0.15.0

type TRAAPIODFareStation2146NotModified added in v0.15.0

type TRAAPIODFareStation2146NotModified struct {
}
TRAAPIODFareStation2146NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIODFareStation2146NotModified added in v0.15.0

func NewTRAAPIODFareStation2146NotModified() *TRAAPIODFareStation2146NotModified

NewTRAAPIODFareStation2146NotModified creates a TRAAPIODFareStation2146NotModified with default headers values

func (*TRAAPIODFareStation2146NotModified) Error added in v0.15.0

type TRAAPIODFareStation2146OK added in v0.15.0

type TRAAPIODFareStation2146OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailODFare
}
TRAAPIODFareStation2146OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIODFareStation2146OK added in v0.15.0

func NewTRAAPIODFareStation2146OK() *TRAAPIODFareStation2146OK

NewTRAAPIODFareStation2146OK creates a TRAAPIODFareStation2146OK with default headers values

func (*TRAAPIODFareStation2146OK) Error added in v0.15.0

func (o *TRAAPIODFareStation2146OK) Error() string

func (*TRAAPIODFareStation2146OK) GetPayload added in v0.15.0

type TRAAPIODFareStation2146Params added in v0.15.0

type TRAAPIODFareStation2146Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIODFareStation2146Params contains all the parameters to send to the API endpoint

for the t r a Api o d fare station 2146 operation.

Typically these are written to a http.Request.

func NewTRAAPIODFareStation2146Params added in v0.15.0

func NewTRAAPIODFareStation2146Params() *TRAAPIODFareStation2146Params

NewTRAAPIODFareStation2146Params creates a new TRAAPIODFareStation2146Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIODFareStation2146ParamsWithContext added in v0.15.0

func NewTRAAPIODFareStation2146ParamsWithContext(ctx context.Context) *TRAAPIODFareStation2146Params

NewTRAAPIODFareStation2146ParamsWithContext creates a new TRAAPIODFareStation2146Params object with the ability to set a context for a request.

func NewTRAAPIODFareStation2146ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIODFareStation2146ParamsWithHTTPClient(client *http.Client) *TRAAPIODFareStation2146Params

NewTRAAPIODFareStation2146ParamsWithHTTPClient creates a new TRAAPIODFareStation2146Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIODFareStation2146ParamsWithTimeout added in v0.15.0

func NewTRAAPIODFareStation2146ParamsWithTimeout(timeout time.Duration) *TRAAPIODFareStation2146Params

NewTRAAPIODFareStation2146ParamsWithTimeout creates a new TRAAPIODFareStation2146Params object with the ability to set a timeout on a request.

func (*TRAAPIODFareStation2146Params) SetContext added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetDefaults added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api o d fare station 2146 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIODFareStation2146Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetDollarTop added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetHealth added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) SetTimeout added in v0.15.0

func (o *TRAAPIODFareStation2146Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api o d fare station 2146 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIODFareStation2146Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIODFareStation2146Params) WithDollarFilter(dollarFilter *string) *TRAAPIODFareStation2146Params

WithDollarFilter adds the dollarFilter to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIODFareStation2146Params) WithDollarFormat(dollarFormat string) *TRAAPIODFareStation2146Params

WithDollarFormat adds the dollarFormat to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIODFareStation2146Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIODFareStation2146Params

WithDollarOrderby adds the dollarOrderby to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIODFareStation2146Params) WithDollarSelect(dollarSelect *string) *TRAAPIODFareStation2146Params

WithDollarSelect adds the dollarSelect to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithDollarSkip added in v0.15.0

func (o *TRAAPIODFareStation2146Params) WithDollarSkip(dollarSkip *string) *TRAAPIODFareStation2146Params

WithDollarSkip adds the dollarSkip to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api o d fare station 2146 params

func (*TRAAPIODFareStation2146Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIODFareStation2146Reader added in v0.15.0

type TRAAPIODFareStation2146Reader struct {
	// contains filtered or unexported fields
}

TRAAPIODFareStation2146Reader is a Reader for the TRAAPIODFareStation2146 structure.

func (*TRAAPIODFareStation2146Reader) ReadResponse added in v0.15.0

func (o *TRAAPIODFareStation2146Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIODFareStation2146Status299 added in v0.15.0

type TRAAPIODFareStation2146Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIODFareStation2146Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIODFareStation2146Status299 added in v0.15.0

func NewTRAAPIODFareStation2146Status299() *TRAAPIODFareStation2146Status299

NewTRAAPIODFareStation2146Status299 creates a TRAAPIODFareStation2146Status299 with default headers values

func (*TRAAPIODFareStation2146Status299) Error added in v0.15.0

func (*TRAAPIODFareStation2146Status299) GetPayload added in v0.15.0

type TRAAPIShape2145NotModified added in v0.15.0

type TRAAPIShape2145NotModified struct {
}
TRAAPIShape2145NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIShape2145NotModified added in v0.15.0

func NewTRAAPIShape2145NotModified() *TRAAPIShape2145NotModified

NewTRAAPIShape2145NotModified creates a TRAAPIShape2145NotModified with default headers values

func (*TRAAPIShape2145NotModified) Error added in v0.15.0

type TRAAPIShape2145OK added in v0.15.0

type TRAAPIShape2145OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRATRAShape
}
TRAAPIShape2145OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIShape2145OK added in v0.15.0

func NewTRAAPIShape2145OK() *TRAAPIShape2145OK

NewTRAAPIShape2145OK creates a TRAAPIShape2145OK with default headers values

func (*TRAAPIShape2145OK) Error added in v0.15.0

func (o *TRAAPIShape2145OK) Error() string

func (*TRAAPIShape2145OK) GetPayload added in v0.15.0

type TRAAPIShape2145Params added in v0.15.0

type TRAAPIShape2145Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIShape2145Params contains all the parameters to send to the API endpoint

for the t r a Api shape 2145 operation.

Typically these are written to a http.Request.

func NewTRAAPIShape2145Params added in v0.15.0

func NewTRAAPIShape2145Params() *TRAAPIShape2145Params

NewTRAAPIShape2145Params creates a new TRAAPIShape2145Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIShape2145ParamsWithContext added in v0.15.0

func NewTRAAPIShape2145ParamsWithContext(ctx context.Context) *TRAAPIShape2145Params

NewTRAAPIShape2145ParamsWithContext creates a new TRAAPIShape2145Params object with the ability to set a context for a request.

func NewTRAAPIShape2145ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIShape2145ParamsWithHTTPClient(client *http.Client) *TRAAPIShape2145Params

NewTRAAPIShape2145ParamsWithHTTPClient creates a new TRAAPIShape2145Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIShape2145ParamsWithTimeout added in v0.15.0

func NewTRAAPIShape2145ParamsWithTimeout(timeout time.Duration) *TRAAPIShape2145Params

NewTRAAPIShape2145ParamsWithTimeout creates a new TRAAPIShape2145Params object with the ability to set a timeout on a request.

func (*TRAAPIShape2145Params) SetContext added in v0.15.0

func (o *TRAAPIShape2145Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetDefaults added in v0.15.0

func (o *TRAAPIShape2145Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api shape 2145 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIShape2145Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIShape2145Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIShape2145Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIShape2145Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIShape2145Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIShape2145Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetDollarTop added in v0.15.0

func (o *TRAAPIShape2145Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIShape2145Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetHealth added in v0.15.0

func (o *TRAAPIShape2145Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) SetTimeout added in v0.15.0

func (o *TRAAPIShape2145Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithDefaults added in v0.15.0

func (o *TRAAPIShape2145Params) WithDefaults() *TRAAPIShape2145Params

WithDefaults hydrates default values in the t r a Api shape 2145 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIShape2145Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIShape2145Params) WithDollarFilter(dollarFilter *string) *TRAAPIShape2145Params

WithDollarFilter adds the dollarFilter to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIShape2145Params) WithDollarFormat(dollarFormat string) *TRAAPIShape2145Params

WithDollarFormat adds the dollarFormat to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIShape2145Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIShape2145Params

WithDollarOrderby adds the dollarOrderby to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIShape2145Params) WithDollarSelect(dollarSelect *string) *TRAAPIShape2145Params

WithDollarSelect adds the dollarSelect to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithDollarSkip added in v0.15.0

func (o *TRAAPIShape2145Params) WithDollarSkip(dollarSkip *string) *TRAAPIShape2145Params

WithDollarSkip adds the dollarSkip to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithDollarTop added in v0.15.0

func (o *TRAAPIShape2145Params) WithDollarTop(dollarTop *int64) *TRAAPIShape2145Params

WithDollarTop adds the dollarTop to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithHTTPClient added in v0.15.0

func (o *TRAAPIShape2145Params) WithHTTPClient(client *http.Client) *TRAAPIShape2145Params

WithHTTPClient adds the HTTPClient to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithHealth added in v0.15.0

func (o *TRAAPIShape2145Params) WithHealth(health *string) *TRAAPIShape2145Params

WithHealth adds the health to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WithTimeout added in v0.15.0

func (o *TRAAPIShape2145Params) WithTimeout(timeout time.Duration) *TRAAPIShape2145Params

WithTimeout adds the timeout to the t r a Api shape 2145 params

func (*TRAAPIShape2145Params) WriteToRequest added in v0.15.0

func (o *TRAAPIShape2145Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TRAAPIShape2145Reader added in v0.15.0

type TRAAPIShape2145Reader struct {
	// contains filtered or unexported fields
}

TRAAPIShape2145Reader is a Reader for the TRAAPIShape2145 structure.

func (*TRAAPIShape2145Reader) ReadResponse added in v0.15.0

func (o *TRAAPIShape2145Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIShape2145Status299 added in v0.15.0

type TRAAPIShape2145Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIShape2145Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIShape2145Status299 added in v0.15.0

func NewTRAAPIShape2145Status299() *TRAAPIShape2145Status299

NewTRAAPIShape2145Status299 creates a TRAAPIShape2145Status299 with default headers values

func (*TRAAPIShape2145Status299) Error added in v0.15.0

func (o *TRAAPIShape2145Status299) Error() string

func (*TRAAPIShape2145Status299) GetPayload added in v0.15.0

type TRAAPIStation2141NotModified added in v0.15.0

type TRAAPIStation2141NotModified struct {
}
TRAAPIStation2141NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIStation2141NotModified added in v0.15.0

func NewTRAAPIStation2141NotModified() *TRAAPIStation2141NotModified

NewTRAAPIStation2141NotModified creates a TRAAPIStation2141NotModified with default headers values

func (*TRAAPIStation2141NotModified) Error added in v0.15.0

type TRAAPIStation2141OK added in v0.15.0

type TRAAPIStation2141OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailStation
}
TRAAPIStation2141OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIStation2141OK added in v0.15.0

func NewTRAAPIStation2141OK() *TRAAPIStation2141OK

NewTRAAPIStation2141OK creates a TRAAPIStation2141OK with default headers values

func (*TRAAPIStation2141OK) Error added in v0.15.0

func (o *TRAAPIStation2141OK) Error() string

func (*TRAAPIStation2141OK) GetPayload added in v0.15.0

type TRAAPIStation2141Params added in v0.15.0

type TRAAPIStation2141Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIStation2141Params contains all the parameters to send to the API endpoint

for the t r a Api station 2141 operation.

Typically these are written to a http.Request.

func NewTRAAPIStation2141Params added in v0.15.0

func NewTRAAPIStation2141Params() *TRAAPIStation2141Params

NewTRAAPIStation2141Params creates a new TRAAPIStation2141Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIStation2141ParamsWithContext added in v0.15.0

func NewTRAAPIStation2141ParamsWithContext(ctx context.Context) *TRAAPIStation2141Params

NewTRAAPIStation2141ParamsWithContext creates a new TRAAPIStation2141Params object with the ability to set a context for a request.

func NewTRAAPIStation2141ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIStation2141ParamsWithHTTPClient(client *http.Client) *TRAAPIStation2141Params

NewTRAAPIStation2141ParamsWithHTTPClient creates a new TRAAPIStation2141Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIStation2141ParamsWithTimeout added in v0.15.0

func NewTRAAPIStation2141ParamsWithTimeout(timeout time.Duration) *TRAAPIStation2141Params

NewTRAAPIStation2141ParamsWithTimeout creates a new TRAAPIStation2141Params object with the ability to set a timeout on a request.

func (*TRAAPIStation2141Params) SetContext added in v0.15.0

func (o *TRAAPIStation2141Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetDefaults added in v0.15.0

func (o *TRAAPIStation2141Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api station 2141 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIStation2141Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIStation2141Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIStation2141Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIStation2141Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIStation2141Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIStation2141Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetDollarTop added in v0.15.0

func (o *TRAAPIStation2141Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIStation2141Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetHealth added in v0.15.0

func (o *TRAAPIStation2141Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) SetTimeout added in v0.15.0

func (o *TRAAPIStation2141Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api station 2141 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIStation2141Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIStation2141Params) WithDollarFilter(dollarFilter *string) *TRAAPIStation2141Params

WithDollarFilter adds the dollarFilter to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIStation2141Params) WithDollarFormat(dollarFormat string) *TRAAPIStation2141Params

WithDollarFormat adds the dollarFormat to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIStation2141Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIStation2141Params

WithDollarOrderby adds the dollarOrderby to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIStation2141Params) WithDollarSelect(dollarSelect *string) *TRAAPIStation2141Params

WithDollarSelect adds the dollarSelect to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithDollarSkip added in v0.15.0

func (o *TRAAPIStation2141Params) WithDollarSkip(dollarSkip *string) *TRAAPIStation2141Params

WithDollarSkip adds the dollarSkip to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithDollarTop added in v0.15.0

func (o *TRAAPIStation2141Params) WithDollarTop(dollarTop *int64) *TRAAPIStation2141Params

WithDollarTop adds the dollarTop to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithHTTPClient added in v0.15.0

func (o *TRAAPIStation2141Params) WithHTTPClient(client *http.Client) *TRAAPIStation2141Params

WithHTTPClient adds the HTTPClient to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithHealth added in v0.15.0

func (o *TRAAPIStation2141Params) WithHealth(health *string) *TRAAPIStation2141Params

WithHealth adds the health to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api station 2141 params

func (*TRAAPIStation2141Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIStation2141Reader added in v0.15.0

type TRAAPIStation2141Reader struct {
	// contains filtered or unexported fields
}

TRAAPIStation2141Reader is a Reader for the TRAAPIStation2141 structure.

func (*TRAAPIStation2141Reader) ReadResponse added in v0.15.0

func (o *TRAAPIStation2141Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIStation2141Status299 added in v0.15.0

type TRAAPIStation2141Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIStation2141Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIStation2141Status299 added in v0.15.0

func NewTRAAPIStation2141Status299() *TRAAPIStation2141Status299

NewTRAAPIStation2141Status299 creates a TRAAPIStation2141Status299 with default headers values

func (*TRAAPIStation2141Status299) Error added in v0.15.0

func (*TRAAPIStation2141Status299) GetPayload added in v0.15.0

type TRAAPIStationOfLine2143NotModified added in v0.15.0

type TRAAPIStationOfLine2143NotModified struct {
}
TRAAPIStationOfLine2143NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIStationOfLine2143NotModified added in v0.15.0

func NewTRAAPIStationOfLine2143NotModified() *TRAAPIStationOfLine2143NotModified

NewTRAAPIStationOfLine2143NotModified creates a TRAAPIStationOfLine2143NotModified with default headers values

func (*TRAAPIStationOfLine2143NotModified) Error added in v0.15.0

type TRAAPIStationOfLine2143OK added in v0.15.0

type TRAAPIStationOfLine2143OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRAStationOfLine
}
TRAAPIStationOfLine2143OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIStationOfLine2143OK added in v0.15.0

func NewTRAAPIStationOfLine2143OK() *TRAAPIStationOfLine2143OK

NewTRAAPIStationOfLine2143OK creates a TRAAPIStationOfLine2143OK with default headers values

func (*TRAAPIStationOfLine2143OK) Error added in v0.15.0

func (o *TRAAPIStationOfLine2143OK) Error() string

func (*TRAAPIStationOfLine2143OK) GetPayload added in v0.15.0

type TRAAPIStationOfLine2143Params added in v0.15.0

type TRAAPIStationOfLine2143Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIStationOfLine2143Params contains all the parameters to send to the API endpoint

for the t r a Api station of line 2143 operation.

Typically these are written to a http.Request.

func NewTRAAPIStationOfLine2143Params added in v0.15.0

func NewTRAAPIStationOfLine2143Params() *TRAAPIStationOfLine2143Params

NewTRAAPIStationOfLine2143Params creates a new TRAAPIStationOfLine2143Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIStationOfLine2143ParamsWithContext added in v0.15.0

func NewTRAAPIStationOfLine2143ParamsWithContext(ctx context.Context) *TRAAPIStationOfLine2143Params

NewTRAAPIStationOfLine2143ParamsWithContext creates a new TRAAPIStationOfLine2143Params object with the ability to set a context for a request.

func NewTRAAPIStationOfLine2143ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIStationOfLine2143ParamsWithHTTPClient(client *http.Client) *TRAAPIStationOfLine2143Params

NewTRAAPIStationOfLine2143ParamsWithHTTPClient creates a new TRAAPIStationOfLine2143Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIStationOfLine2143ParamsWithTimeout added in v0.15.0

func NewTRAAPIStationOfLine2143ParamsWithTimeout(timeout time.Duration) *TRAAPIStationOfLine2143Params

NewTRAAPIStationOfLine2143ParamsWithTimeout creates a new TRAAPIStationOfLine2143Params object with the ability to set a timeout on a request.

func (*TRAAPIStationOfLine2143Params) SetContext added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetDefaults added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api station of line 2143 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIStationOfLine2143Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetDollarTop added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetHealth added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) SetTimeout added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api station of line 2143 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIStationOfLine2143Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) WithDollarFilter(dollarFilter *string) *TRAAPIStationOfLine2143Params

WithDollarFilter adds the dollarFilter to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithDollarFormat added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) WithDollarFormat(dollarFormat string) *TRAAPIStationOfLine2143Params

WithDollarFormat adds the dollarFormat to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIStationOfLine2143Params

WithDollarOrderby adds the dollarOrderby to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) WithDollarSelect(dollarSelect *string) *TRAAPIStationOfLine2143Params

WithDollarSelect adds the dollarSelect to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithDollarSkip added in v0.15.0

func (o *TRAAPIStationOfLine2143Params) WithDollarSkip(dollarSkip *string) *TRAAPIStationOfLine2143Params

WithDollarSkip adds the dollarSkip to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api station of line 2143 params

func (*TRAAPIStationOfLine2143Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIStationOfLine2143Reader added in v0.15.0

type TRAAPIStationOfLine2143Reader struct {
	// contains filtered or unexported fields
}

TRAAPIStationOfLine2143Reader is a Reader for the TRAAPIStationOfLine2143 structure.

func (*TRAAPIStationOfLine2143Reader) ReadResponse added in v0.15.0

func (o *TRAAPIStationOfLine2143Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIStationOfLine2143Status299 added in v0.15.0

type TRAAPIStationOfLine2143Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIStationOfLine2143Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIStationOfLine2143Status299 added in v0.15.0

func NewTRAAPIStationOfLine2143Status299() *TRAAPIStationOfLine2143Status299

NewTRAAPIStationOfLine2143Status299 creates a TRAAPIStationOfLine2143Status299 with default headers values

func (*TRAAPIStationOfLine2143Status299) Error added in v0.15.0

func (*TRAAPIStationOfLine2143Status299) GetPayload added in v0.15.0

type TRAAPIStationTimetable2151NotModified added in v0.15.0

type TRAAPIStationTimetable2151NotModified struct {
}
TRAAPIStationTimetable2151NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPIStationTimetable2151NotModified added in v0.15.0

func NewTRAAPIStationTimetable2151NotModified() *TRAAPIStationTimetable2151NotModified

NewTRAAPIStationTimetable2151NotModified creates a TRAAPIStationTimetable2151NotModified with default headers values

func (*TRAAPIStationTimetable2151NotModified) Error added in v0.15.0

type TRAAPIStationTimetable2151OK added in v0.15.0

type TRAAPIStationTimetable2151OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRARailStationTimetable
}
TRAAPIStationTimetable2151OK describes a response with status code 200, with default header values.

Success

func NewTRAAPIStationTimetable2151OK added in v0.15.0

func NewTRAAPIStationTimetable2151OK() *TRAAPIStationTimetable2151OK

NewTRAAPIStationTimetable2151OK creates a TRAAPIStationTimetable2151OK with default headers values

func (*TRAAPIStationTimetable2151OK) Error added in v0.15.0

func (*TRAAPIStationTimetable2151OK) GetPayload added in v0.15.0

type TRAAPIStationTimetable2151Params added in v0.15.0

type TRAAPIStationTimetable2151Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* StationID.

	   車站代號
	*/
	StationID string

	/* TrainDate.

	   時刻表日期(格式: yyyy-MM-dd)

	   Format: date-time
	*/
	TrainDate strfmt.DateTime

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPIStationTimetable2151Params contains all the parameters to send to the API endpoint

for the t r a Api station timetable 2151 operation.

Typically these are written to a http.Request.

func NewTRAAPIStationTimetable2151Params added in v0.15.0

func NewTRAAPIStationTimetable2151Params() *TRAAPIStationTimetable2151Params

NewTRAAPIStationTimetable2151Params creates a new TRAAPIStationTimetable2151Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPIStationTimetable2151ParamsWithContext added in v0.15.0

func NewTRAAPIStationTimetable2151ParamsWithContext(ctx context.Context) *TRAAPIStationTimetable2151Params

NewTRAAPIStationTimetable2151ParamsWithContext creates a new TRAAPIStationTimetable2151Params object with the ability to set a context for a request.

func NewTRAAPIStationTimetable2151ParamsWithHTTPClient added in v0.15.0

func NewTRAAPIStationTimetable2151ParamsWithHTTPClient(client *http.Client) *TRAAPIStationTimetable2151Params

NewTRAAPIStationTimetable2151ParamsWithHTTPClient creates a new TRAAPIStationTimetable2151Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPIStationTimetable2151ParamsWithTimeout added in v0.15.0

func NewTRAAPIStationTimetable2151ParamsWithTimeout(timeout time.Duration) *TRAAPIStationTimetable2151Params

NewTRAAPIStationTimetable2151ParamsWithTimeout creates a new TRAAPIStationTimetable2151Params object with the ability to set a timeout on a request.

func (*TRAAPIStationTimetable2151Params) SetContext added in v0.15.0

SetContext adds the context to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetDefaults added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api station timetable 2151 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIStationTimetable2151Params) SetDollarFilter added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetDollarFormat added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetDollarSelect added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetDollarSkip added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetDollarTop added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetHTTPClient added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetHealth added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetStationID added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetStationID(stationID string)

SetStationID adds the stationId to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetTimeout added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) SetTrainDate added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) SetTrainDate(trainDate strfmt.DateTime)

SetTrainDate adds the trainDate to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api station timetable 2151 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPIStationTimetable2151Params) WithDollarFilter added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) WithDollarFilter(dollarFilter *string) *TRAAPIStationTimetable2151Params

WithDollarFilter adds the dollarFilter to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) WithDollarOrderby(dollarOrderby *string) *TRAAPIStationTimetable2151Params

WithDollarOrderby adds the dollarOrderby to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithDollarSelect added in v0.15.0

func (o *TRAAPIStationTimetable2151Params) WithDollarSelect(dollarSelect *string) *TRAAPIStationTimetable2151Params

WithDollarSelect adds the dollarSelect to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithStationID added in v0.15.0

WithStationID adds the stationID to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WithTrainDate added in v0.15.0

WithTrainDate adds the trainDate to the t r a Api station timetable 2151 params

func (*TRAAPIStationTimetable2151Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPIStationTimetable2151Reader added in v0.15.0

type TRAAPIStationTimetable2151Reader struct {
	// contains filtered or unexported fields
}

TRAAPIStationTimetable2151Reader is a Reader for the TRAAPIStationTimetable2151 structure.

func (*TRAAPIStationTimetable2151Reader) ReadResponse added in v0.15.0

func (o *TRAAPIStationTimetable2151Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPIStationTimetable2151Status299 added in v0.15.0

type TRAAPIStationTimetable2151Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPIStationTimetable2151Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPIStationTimetable2151Status299 added in v0.15.0

func NewTRAAPIStationTimetable2151Status299() *TRAAPIStationTimetable2151Status299

NewTRAAPIStationTimetable2151Status299 creates a TRAAPIStationTimetable2151Status299 with default headers values

func (*TRAAPIStationTimetable2151Status299) Error added in v0.15.0

func (*TRAAPIStationTimetable2151Status299) GetPayload added in v0.15.0

type TRAAPITrainType2144NotModified added in v0.15.0

type TRAAPITrainType2144NotModified struct {
}
TRAAPITrainType2144NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewTRAAPITrainType2144NotModified added in v0.15.0

func NewTRAAPITrainType2144NotModified() *TRAAPITrainType2144NotModified

NewTRAAPITrainType2144NotModified creates a TRAAPITrainType2144NotModified with default headers values

func (*TRAAPITrainType2144NotModified) Error added in v0.15.0

type TRAAPITrainType2144OK added in v0.15.0

type TRAAPITrainType2144OK struct {
	Payload []*models.PTXServiceDTORailSpecificationV2TRATrainType
}
TRAAPITrainType2144OK describes a response with status code 200, with default header values.

Success

func NewTRAAPITrainType2144OK added in v0.15.0

func NewTRAAPITrainType2144OK() *TRAAPITrainType2144OK

NewTRAAPITrainType2144OK creates a TRAAPITrainType2144OK with default headers values

func (*TRAAPITrainType2144OK) Error added in v0.15.0

func (o *TRAAPITrainType2144OK) Error() string

func (*TRAAPITrainType2144OK) GetPayload added in v0.15.0

type TRAAPITrainType2144Params added in v0.15.0

type TRAAPITrainType2144Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TRAAPITrainType2144Params contains all the parameters to send to the API endpoint

for the t r a Api train type 2144 operation.

Typically these are written to a http.Request.

func NewTRAAPITrainType2144Params added in v0.15.0

func NewTRAAPITrainType2144Params() *TRAAPITrainType2144Params

NewTRAAPITrainType2144Params creates a new TRAAPITrainType2144Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTRAAPITrainType2144ParamsWithContext added in v0.15.0

func NewTRAAPITrainType2144ParamsWithContext(ctx context.Context) *TRAAPITrainType2144Params

NewTRAAPITrainType2144ParamsWithContext creates a new TRAAPITrainType2144Params object with the ability to set a context for a request.

func NewTRAAPITrainType2144ParamsWithHTTPClient added in v0.15.0

func NewTRAAPITrainType2144ParamsWithHTTPClient(client *http.Client) *TRAAPITrainType2144Params

NewTRAAPITrainType2144ParamsWithHTTPClient creates a new TRAAPITrainType2144Params object with the ability to set a custom HTTPClient for a request.

func NewTRAAPITrainType2144ParamsWithTimeout added in v0.15.0

func NewTRAAPITrainType2144ParamsWithTimeout(timeout time.Duration) *TRAAPITrainType2144Params

NewTRAAPITrainType2144ParamsWithTimeout creates a new TRAAPITrainType2144Params object with the ability to set a timeout on a request.

func (*TRAAPITrainType2144Params) SetContext added in v0.15.0

func (o *TRAAPITrainType2144Params) SetContext(ctx context.Context)

SetContext adds the context to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetDefaults added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDefaults()

SetDefaults hydrates default values in the t r a Api train type 2144 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPITrainType2144Params) SetDollarFilter added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetDollarFormat added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetDollarOrderby added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetDollarSelect added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetDollarSkip added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetDollarTop added in v0.15.0

func (o *TRAAPITrainType2144Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetHTTPClient added in v0.15.0

func (o *TRAAPITrainType2144Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetHealth added in v0.15.0

func (o *TRAAPITrainType2144Params) SetHealth(health *string)

SetHealth adds the health to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) SetTimeout added in v0.15.0

func (o *TRAAPITrainType2144Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithContext added in v0.15.0

WithContext adds the context to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the t r a Api train type 2144 params (not the query body).

All values with no default are reset to their zero value.

func (*TRAAPITrainType2144Params) WithDollarFilter added in v0.15.0

func (o *TRAAPITrainType2144Params) WithDollarFilter(dollarFilter *string) *TRAAPITrainType2144Params

WithDollarFilter adds the dollarFilter to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithDollarFormat added in v0.15.0

func (o *TRAAPITrainType2144Params) WithDollarFormat(dollarFormat string) *TRAAPITrainType2144Params

WithDollarFormat adds the dollarFormat to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithDollarOrderby added in v0.15.0

func (o *TRAAPITrainType2144Params) WithDollarOrderby(dollarOrderby *string) *TRAAPITrainType2144Params

WithDollarOrderby adds the dollarOrderby to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithDollarSelect added in v0.15.0

func (o *TRAAPITrainType2144Params) WithDollarSelect(dollarSelect *string) *TRAAPITrainType2144Params

WithDollarSelect adds the dollarSelect to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithDollarSkip added in v0.15.0

func (o *TRAAPITrainType2144Params) WithDollarSkip(dollarSkip *string) *TRAAPITrainType2144Params

WithDollarSkip adds the dollarSkip to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithDollarTop added in v0.15.0

func (o *TRAAPITrainType2144Params) WithDollarTop(dollarTop *int64) *TRAAPITrainType2144Params

WithDollarTop adds the dollarTop to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithHTTPClient added in v0.15.0

func (o *TRAAPITrainType2144Params) WithHTTPClient(client *http.Client) *TRAAPITrainType2144Params

WithHTTPClient adds the HTTPClient to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithHealth added in v0.15.0

WithHealth adds the health to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the t r a Api train type 2144 params

func (*TRAAPITrainType2144Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type TRAAPITrainType2144Reader added in v0.15.0

type TRAAPITrainType2144Reader struct {
	// contains filtered or unexported fields
}

TRAAPITrainType2144Reader is a Reader for the TRAAPITrainType2144 structure.

func (*TRAAPITrainType2144Reader) ReadResponse added in v0.15.0

func (o *TRAAPITrainType2144Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TRAAPITrainType2144Status299 added in v0.15.0

type TRAAPITrainType2144Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
TRAAPITrainType2144Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewTRAAPITrainType2144Status299 added in v0.15.0

func NewTRAAPITrainType2144Status299() *TRAAPITrainType2144Status299

NewTRAAPITrainType2144Status299 creates a TRAAPITrainType2144Status299 with default headers values

func (*TRAAPITrainType2144Status299) Error added in v0.15.0

func (*TRAAPITrainType2144Status299) GetPayload added in v0.15.0

Source Files

Jump to

Keyboard shortcuts

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