t_r_a

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 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 AlertAPIControllerGetNotModified added in v0.9.0

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

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

func NewAlertAPIControllerGetNotModified added in v0.9.0

func NewAlertAPIControllerGetNotModified() *AlertAPIControllerGetNotModified

NewAlertAPIControllerGetNotModified creates a AlertAPIControllerGetNotModified with default headers values

func (*AlertAPIControllerGetNotModified) Error added in v0.9.0

type AlertAPIControllerGetOK

AlertAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewAlertAPIControllerGetOK

func NewAlertAPIControllerGetOK() *AlertAPIControllerGetOK

NewAlertAPIControllerGetOK creates a AlertAPIControllerGetOK with default headers values

func (*AlertAPIControllerGetOK) Error

func (o *AlertAPIControllerGetOK) Error() string

type AlertAPIControllerGetParams

type AlertAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

AlertAPIControllerGetParams contains all the parameters to send to the API endpoint

for the alert Api controller get operation.

Typically these are written to a http.Request.

func NewAlertAPIControllerGetParams

func NewAlertAPIControllerGetParams() *AlertAPIControllerGetParams

NewAlertAPIControllerGetParams creates a new AlertAPIControllerGetParams 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 NewAlertAPIControllerGetParamsWithContext

func NewAlertAPIControllerGetParamsWithContext(ctx context.Context) *AlertAPIControllerGetParams

NewAlertAPIControllerGetParamsWithContext creates a new AlertAPIControllerGetParams object with the ability to set a context for a request.

func NewAlertAPIControllerGetParamsWithHTTPClient

func NewAlertAPIControllerGetParamsWithHTTPClient(client *http.Client) *AlertAPIControllerGetParams

NewAlertAPIControllerGetParamsWithHTTPClient creates a new AlertAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewAlertAPIControllerGetParamsWithTimeout

func NewAlertAPIControllerGetParamsWithTimeout(timeout time.Duration) *AlertAPIControllerGetParams

NewAlertAPIControllerGetParamsWithTimeout creates a new AlertAPIControllerGetParams object with the ability to set a timeout on a request.

func (*AlertAPIControllerGetParams) SetContext

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

SetContext adds the context to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *AlertAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the alert Api controller get params (not the query body).

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

func (*AlertAPIControllerGetParams) SetDollarCount

func (o *AlertAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDollarFormat

func (o *AlertAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the alert Api controller get params

func (*AlertAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithContext

WithContext adds the context to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the alert Api controller get params (not the query body).

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

func (*AlertAPIControllerGetParams) WithDollarCount

func (o *AlertAPIControllerGetParams) WithDollarCount(dollarCount *bool) *AlertAPIControllerGetParams

WithDollarCount adds the dollarCount to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDollarSkip

func (o *AlertAPIControllerGetParams) WithDollarSkip(dollarSkip *string) *AlertAPIControllerGetParams

WithDollarSkip adds the dollarSkip to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithDollarTop

func (o *AlertAPIControllerGetParams) WithDollarTop(dollarTop *int64) *AlertAPIControllerGetParams

WithDollarTop adds the dollarTop to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the alert Api controller get params

func (*AlertAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the alert Api controller get params

func (*AlertAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AlertAPIControllerGetReader

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

AlertAPIControllerGetReader is a Reader for the AlertAPIControllerGet structure.

func (*AlertAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AlertAPIControllerGetStatus299 added in v0.12.0

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

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

func NewAlertAPIControllerGetStatus299 added in v0.12.0

func NewAlertAPIControllerGetStatus299() *AlertAPIControllerGetStatus299

NewAlertAPIControllerGetStatus299 creates a AlertAPIControllerGetStatus299 with default headers values

func (*AlertAPIControllerGetStatus299) Error added in v0.12.0

func (*AlertAPIControllerGetStatus299) GetPayload added in v0.12.0

type Client

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

Client for t r a API

func (*Client) AlertAPIControllerGet

AlertAPIControllerGet 取得營運通阻資料s

取得營運通阻資料

func (*Client) DailyStationTimeTableAPIControllerGet

DailyStationTimeTableAPIControllerGet 取得當天各站站別時刻表資料s

取得當天各站站別時刻表資料

func (*Client) DailyStationTimeTableAPIControllerGet1

DailyStationTimeTableAPIControllerGet1 取得當天指定s 車站 的時刻表資料

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

func (*Client) DailyStationTimeTableAPIControllerGet2

DailyStationTimeTableAPIControllerGet2 取得各站每日站別時刻表資料s

取得各站每日站別時刻表資料

func (*Client) DailyTrainTimeTableAPIControllerGet

DailyTrainTimeTableAPIControllerGet 取得當天車次時刻表資料s

取得當天車次時刻表資料

func (*Client) DailyTrainTimeTableAPIControllerGet1

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

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

func (*Client) DailyTrainTimeTableAPIControllerGet2

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

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

func (*Client) DailyTrainTimeTableAPIControllerGet3

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

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

func (*Client) DailyTrainTimeTableAPIControllerGet4

DailyTrainTimeTableAPIControllerGet4 取得指定s 日期 起迄站間 之站間時刻表資料 僅列出查詢的停靠站

取得指定[日期],[起迄站間]之站間時刻表資料(僅列出查詢的停靠站)

func (*Client) DailyTrainTimeTableAPIControllerGet5 added in v0.13.0

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

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

func (*Client) GeneralStationTimetableAPIControllerGet

GeneralStationTimetableAPIControllerGet 取得各站的定期站別時刻表資料s

取得各站的定期站別時刻表資料

func (*Client) GeneralStationTimetableAPIControllerGet1

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

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

func (*Client) GeneralTrainTimetableAPIControllerGet

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

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

func (*Client) GeneralTrainTimetableAPIControllerGet1

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

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

func (*Client) LineAPIControllerGet

LineAPIControllerGet 取得路線基本資料s

取得路線基本資料

func (*Client) LineNetworkAPIControllerGet added in v0.3.0

LineNetworkAPIControllerGet 取得路線網路拓撲基本資料s

取得路線網路拓撲基本資料

func (*Client) LineTransferAPIControllerGet

LineTransferAPIControllerGet 取得內部路線轉乘資料s

取得內部路線轉乘資料

func (*Client) NetworkAPIControllerGet

NetworkAPIControllerGet 取得臺鐵路網資料s

取得臺鐵路網資料

func (*Client) NewsAPIControllerGet

NewsAPIControllerGet 取得最新消息s

取得最新消息

func (*Client) ODFareAPIControllerAPIControllerGet

ODFareAPIControllerAPIControllerGet 取得票價資料s 檔案

取得Gzip壓縮檔

func (*Client) ODFareAPIControllerAPIControllerGet1

ODFareAPIControllerAPIControllerGet1 取得指定起迄站間票價資料s

取得指定起迄站間票價資料

func (*Client) OperatorAPIControllerGet added in v0.3.0

OperatorAPIControllerGet 取得台鐵營運業者基本資料s

取得台鐵營運業者基本資料

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShapeAPIControllerGet

ShapeAPIControllerGet 取得線型基本資料s

取得線型基本資料

func (*Client) SpecificTrainTimetableAPIControllerGet

SpecificTrainTimetableAPIControllerGet 取得所有特殊車次時刻表資料s

取得所有特殊車次時刻表資料

func (*Client) SpecificTrainTimetableAPIControllerGet1

SpecificTrainTimetableAPIControllerGet1 取得指定s 車次 的特殊車次時刻表資料

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

func (*Client) StationAPIControllerGet

StationAPIControllerGet 取得車站基本資料s

取得車站基本資料

func (*Client) StationExitAPIControllerGet

StationExitAPIControllerGet 取得車站出入口基本資料s

取得車站出入口基本資料

func (*Client) StationFacilityAPIControllerGet

StationFacilityAPIControllerGet 取得車站設施資料s

取得車站設施資料

func (*Client) StationLiveBoardAPIControllerGet

StationLiveBoardAPIControllerGet 取得列車即時到離站資料s

取得列車即時到離站資料

func (*Client) StationLiveBoardAPIControllerGet1

StationLiveBoardAPIControllerGet1 取得指定s 車站 的列車即時到離站資料

取得指定[車站]的列車即時到離站資料

func (*Client) StationOfLineAPIControllerGet

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

取得路線車站基本資料

func (*Client) StationTransferAPIControllerGet

StationTransferAPIControllerGet 取得車站跨運具轉乘資訊s

取得車站跨運具轉乘資訊

func (*Client) TrainLiveBoardAPIControllerGet

TrainLiveBoardAPIControllerGet 取得列車即時位置動態資料s

取得列車即時位置動態資料

## 使用注意事項 1. 本項資料為「列車目前所在之車站」資料,而更新資料的時機點為「列車離站時」(由 CTC 提供),其內容之車站資料可能為經過站,也可能為停靠站。 2. 以「145車次」為例,如果車站名稱為「萬華」,表示 145 車次剛從萬華離開,而不是正前往萬華,另萬華站為145 車次之經過站,非停靠站。 3. 提供所有經過站資料是為確保車次的準誤點資料都會是最新的 (尤其是東部幹線普悠瑪、太魯閣車次,因停靠站少,更新頻率低的話會使呈現的準誤點時間誤差過大)。 4. 基於上述原因,本項資料並非僅提供列車停靠站資料,因為這樣提供方式會使列車位置資訊更狹隘,例如:只知道離開台北站,不曉得經過哪一站了,故請加值者使用時多加注意。

func (*Client) TrainLiveBoardAPIControllerGet1

TrainLiveBoardAPIControllerGet1 取得指定s 車次 的列車即時位置動態資料

取得指定[車次]的列車即時位置動態資料

## 使用注意事項 1. 本項資料為「列車目前所在之車站」資料,而更新資料的時機點為「列車離站時」(由 CTC 提供),其內容之車站資料可能為經過站,也可能為停靠站。 2. 以「145車次」為例,如果車站名稱為「萬華」,表示 145 車次剛從萬華離開,而不是正前往萬華,另萬華站為145 車次之經過站,非停靠站。 3. 提供所有經過站資料是為確保車次的準誤點資料都會是最新的 (尤其是東部幹線普悠瑪、太魯閣車次,因停靠站少,更新頻率低的話會使呈現的準誤點時間誤差過大)。 4. 基於上述原因,本項資料並非僅提供列車停靠站資料,因為這樣提供方式會使列車位置資訊更狹隘,例如:只知道離開台北站,不曉得經過哪一站了,故請加值者使用時多加注意。

func (*Client) TrainTypeAPIControllerGet

TrainTypeAPIControllerGet 取得所有列車車種資料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 {
	AlertAPIControllerGet(params *AlertAPIControllerGetParams, opts ...ClientOption) (*AlertAPIControllerGetOK, *AlertAPIControllerGetStatus299, error)

	DailyStationTimeTableAPIControllerGet(params *DailyStationTimeTableAPIControllerGetParams, opts ...ClientOption) (*DailyStationTimeTableAPIControllerGetOK, *DailyStationTimeTableAPIControllerGetStatus299, error)

	DailyStationTimeTableAPIControllerGet1(params *DailyStationTimeTableAPIControllerGet1Params, opts ...ClientOption) (*DailyStationTimeTableAPIControllerGet1OK, *DailyStationTimeTableAPIControllerGet1Status299, error)

	DailyStationTimeTableAPIControllerGet2(params *DailyStationTimeTableAPIControllerGet2Params, opts ...ClientOption) (*DailyStationTimeTableAPIControllerGet2OK, *DailyStationTimeTableAPIControllerGet2Status299, error)

	DailyTrainTimeTableAPIControllerGet(params *DailyTrainTimeTableAPIControllerGetParams, opts ...ClientOption) (*DailyTrainTimeTableAPIControllerGetOK, *DailyTrainTimeTableAPIControllerGetStatus299, error)

	DailyTrainTimeTableAPIControllerGet1(params *DailyTrainTimeTableAPIControllerGet1Params, opts ...ClientOption) (*DailyTrainTimeTableAPIControllerGet1OK, *DailyTrainTimeTableAPIControllerGet1Status299, error)

	DailyTrainTimeTableAPIControllerGet2(params *DailyTrainTimeTableAPIControllerGet2Params, opts ...ClientOption) (*DailyTrainTimeTableAPIControllerGet2OK, *DailyTrainTimeTableAPIControllerGet2Status299, error)

	DailyTrainTimeTableAPIControllerGet3(params *DailyTrainTimeTableAPIControllerGet3Params, opts ...ClientOption) (*DailyTrainTimeTableAPIControllerGet3OK, *DailyTrainTimeTableAPIControllerGet3Status299, error)

	DailyTrainTimeTableAPIControllerGet4(params *DailyTrainTimeTableAPIControllerGet4Params, opts ...ClientOption) (*DailyTrainTimeTableAPIControllerGet4OK, *DailyTrainTimeTableAPIControllerGet4Status299, error)

	DailyTrainTimeTableAPIControllerGet5(params *DailyTrainTimeTableAPIControllerGet5Params, opts ...ClientOption) (*DailyTrainTimeTableAPIControllerGet5OK, *DailyTrainTimeTableAPIControllerGet5Status299, error)

	GeneralStationTimetableAPIControllerGet(params *GeneralStationTimetableAPIControllerGetParams, opts ...ClientOption) (*GeneralStationTimetableAPIControllerGetOK, *GeneralStationTimetableAPIControllerGetStatus299, error)

	GeneralStationTimetableAPIControllerGet1(params *GeneralStationTimetableAPIControllerGet1Params, opts ...ClientOption) (*GeneralStationTimetableAPIControllerGet1OK, *GeneralStationTimetableAPIControllerGet1Status299, error)

	GeneralTrainTimetableAPIControllerGet(params *GeneralTrainTimetableAPIControllerGetParams, opts ...ClientOption) (*GeneralTrainTimetableAPIControllerGetOK, *GeneralTrainTimetableAPIControllerGetStatus299, error)

	GeneralTrainTimetableAPIControllerGet1(params *GeneralTrainTimetableAPIControllerGet1Params, opts ...ClientOption) (*GeneralTrainTimetableAPIControllerGet1OK, *GeneralTrainTimetableAPIControllerGet1Status299, error)

	LineAPIControllerGet(params *LineAPIControllerGetParams, opts ...ClientOption) (*LineAPIControllerGetOK, *LineAPIControllerGetStatus299, error)

	LineNetworkAPIControllerGet(params *LineNetworkAPIControllerGetParams, opts ...ClientOption) (*LineNetworkAPIControllerGetOK, *LineNetworkAPIControllerGetStatus299, error)

	LineTransferAPIControllerGet(params *LineTransferAPIControllerGetParams, opts ...ClientOption) (*LineTransferAPIControllerGetOK, *LineTransferAPIControllerGetStatus299, error)

	NetworkAPIControllerGet(params *NetworkAPIControllerGetParams, opts ...ClientOption) (*NetworkAPIControllerGetOK, *NetworkAPIControllerGetStatus299, error)

	NewsAPIControllerGet(params *NewsAPIControllerGetParams, opts ...ClientOption) (*NewsAPIControllerGetOK, *NewsAPIControllerGetStatus299, error)

	ODFareAPIControllerAPIControllerGet(params *ODFareAPIControllerAPIControllerGetParams, opts ...ClientOption) (*ODFareAPIControllerAPIControllerGetOK, *ODFareAPIControllerAPIControllerGetStatus299, error)

	ODFareAPIControllerAPIControllerGet1(params *ODFareAPIControllerAPIControllerGet1Params, opts ...ClientOption) (*ODFareAPIControllerAPIControllerGet1OK, *ODFareAPIControllerAPIControllerGet1Status299, error)

	OperatorAPIControllerGet(params *OperatorAPIControllerGetParams, opts ...ClientOption) (*OperatorAPIControllerGetOK, *OperatorAPIControllerGetStatus299, error)

	ShapeAPIControllerGet(params *ShapeAPIControllerGetParams, opts ...ClientOption) (*ShapeAPIControllerGetOK, *ShapeAPIControllerGetStatus299, error)

	SpecificTrainTimetableAPIControllerGet(params *SpecificTrainTimetableAPIControllerGetParams, opts ...ClientOption) (*SpecificTrainTimetableAPIControllerGetOK, *SpecificTrainTimetableAPIControllerGetStatus299, error)

	SpecificTrainTimetableAPIControllerGet1(params *SpecificTrainTimetableAPIControllerGet1Params, opts ...ClientOption) (*SpecificTrainTimetableAPIControllerGet1OK, *SpecificTrainTimetableAPIControllerGet1Status299, error)

	StationAPIControllerGet(params *StationAPIControllerGetParams, opts ...ClientOption) (*StationAPIControllerGetOK, *StationAPIControllerGetStatus299, error)

	StationExitAPIControllerGet(params *StationExitAPIControllerGetParams, opts ...ClientOption) (*StationExitAPIControllerGetOK, *StationExitAPIControllerGetStatus299, error)

	StationFacilityAPIControllerGet(params *StationFacilityAPIControllerGetParams, opts ...ClientOption) (*StationFacilityAPIControllerGetOK, *StationFacilityAPIControllerGetStatus299, error)

	StationLiveBoardAPIControllerGet(params *StationLiveBoardAPIControllerGetParams, opts ...ClientOption) (*StationLiveBoardAPIControllerGetOK, *StationLiveBoardAPIControllerGetStatus299, error)

	StationLiveBoardAPIControllerGet1(params *StationLiveBoardAPIControllerGet1Params, opts ...ClientOption) (*StationLiveBoardAPIControllerGet1OK, *StationLiveBoardAPIControllerGet1Status299, error)

	StationOfLineAPIControllerGet(params *StationOfLineAPIControllerGetParams, opts ...ClientOption) (*StationOfLineAPIControllerGetOK, *StationOfLineAPIControllerGetStatus299, error)

	StationTransferAPIControllerGet(params *StationTransferAPIControllerGetParams, opts ...ClientOption) (*StationTransferAPIControllerGetOK, *StationTransferAPIControllerGetStatus299, error)

	TrainLiveBoardAPIControllerGet(params *TrainLiveBoardAPIControllerGetParams, opts ...ClientOption) (*TrainLiveBoardAPIControllerGetOK, *TrainLiveBoardAPIControllerGetStatus299, error)

	TrainLiveBoardAPIControllerGet1(params *TrainLiveBoardAPIControllerGet1Params, opts ...ClientOption) (*TrainLiveBoardAPIControllerGet1OK, *TrainLiveBoardAPIControllerGet1Status299, error)

	TrainTypeAPIControllerGet(params *TrainTypeAPIControllerGetParams, opts ...ClientOption) (*TrainTypeAPIControllerGetOK, *TrainTypeAPIControllerGetStatus299, 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 DailyStationTimeTableAPIControllerGet1NotModified added in v0.9.0

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

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

func NewDailyStationTimeTableAPIControllerGet1NotModified added in v0.9.0

func NewDailyStationTimeTableAPIControllerGet1NotModified() *DailyStationTimeTableAPIControllerGet1NotModified

NewDailyStationTimeTableAPIControllerGet1NotModified creates a DailyStationTimeTableAPIControllerGet1NotModified with default headers values

func (*DailyStationTimeTableAPIControllerGet1NotModified) Error added in v0.9.0

type DailyStationTimeTableAPIControllerGet1OK

DailyStationTimeTableAPIControllerGet1OK describes a response with status code 200, with default header values.

Success

func NewDailyStationTimeTableAPIControllerGet1OK

func NewDailyStationTimeTableAPIControllerGet1OK() *DailyStationTimeTableAPIControllerGet1OK

NewDailyStationTimeTableAPIControllerGet1OK creates a DailyStationTimeTableAPIControllerGet1OK with default headers values

func (*DailyStationTimeTableAPIControllerGet1OK) Error

type DailyStationTimeTableAPIControllerGet1Params

type DailyStationTimeTableAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyStationTimeTableAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the daily station time table Api controller get 1 operation.

Typically these are written to a http.Request.

func NewDailyStationTimeTableAPIControllerGet1Params

func NewDailyStationTimeTableAPIControllerGet1Params() *DailyStationTimeTableAPIControllerGet1Params

NewDailyStationTimeTableAPIControllerGet1Params creates a new DailyStationTimeTableAPIControllerGet1Params 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 NewDailyStationTimeTableAPIControllerGet1ParamsWithContext

func NewDailyStationTimeTableAPIControllerGet1ParamsWithContext(ctx context.Context) *DailyStationTimeTableAPIControllerGet1Params

NewDailyStationTimeTableAPIControllerGet1ParamsWithContext creates a new DailyStationTimeTableAPIControllerGet1Params object with the ability to set a context for a request.

func NewDailyStationTimeTableAPIControllerGet1ParamsWithHTTPClient

func NewDailyStationTimeTableAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *DailyStationTimeTableAPIControllerGet1Params

NewDailyStationTimeTableAPIControllerGet1ParamsWithHTTPClient creates a new DailyStationTimeTableAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewDailyStationTimeTableAPIControllerGet1ParamsWithTimeout

func NewDailyStationTimeTableAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *DailyStationTimeTableAPIControllerGet1Params

NewDailyStationTimeTableAPIControllerGet1ParamsWithTimeout creates a new DailyStationTimeTableAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*DailyStationTimeTableAPIControllerGet1Params) SetContext

SetContext adds the context to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily station time table Api controller get 1 params (not the query body).

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

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarCount

func (o *DailyStationTimeTableAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarFormat

func (o *DailyStationTimeTableAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetHealth added in v0.12.0

SetHealth adds the health to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetStationID

func (o *DailyStationTimeTableAPIControllerGet1Params) SetStationID(stationID string)

SetStationID adds the stationId to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) SetTimeout

SetTimeout adds the timeout to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithContext

WithContext adds the context to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily station time table Api controller get 1 params (not the query body).

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

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithStationID

WithStationID adds the stationID to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the daily station time table Api controller get 1 params

func (*DailyStationTimeTableAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyStationTimeTableAPIControllerGet1Reader

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

DailyStationTimeTableAPIControllerGet1Reader is a Reader for the DailyStationTimeTableAPIControllerGet1 structure.

func (*DailyStationTimeTableAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyStationTimeTableAPIControllerGet1Status299 added in v0.12.0

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

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

func NewDailyStationTimeTableAPIControllerGet1Status299 added in v0.12.0

func NewDailyStationTimeTableAPIControllerGet1Status299() *DailyStationTimeTableAPIControllerGet1Status299

NewDailyStationTimeTableAPIControllerGet1Status299 creates a DailyStationTimeTableAPIControllerGet1Status299 with default headers values

func (*DailyStationTimeTableAPIControllerGet1Status299) Error added in v0.12.0

func (*DailyStationTimeTableAPIControllerGet1Status299) GetPayload added in v0.12.0

type DailyStationTimeTableAPIControllerGet2NotModified added in v0.9.0

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

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

func NewDailyStationTimeTableAPIControllerGet2NotModified added in v0.9.0

func NewDailyStationTimeTableAPIControllerGet2NotModified() *DailyStationTimeTableAPIControllerGet2NotModified

NewDailyStationTimeTableAPIControllerGet2NotModified creates a DailyStationTimeTableAPIControllerGet2NotModified with default headers values

func (*DailyStationTimeTableAPIControllerGet2NotModified) Error added in v0.9.0

type DailyStationTimeTableAPIControllerGet2OK

DailyStationTimeTableAPIControllerGet2OK describes a response with status code 200, with default header values.

Success

func NewDailyStationTimeTableAPIControllerGet2OK

func NewDailyStationTimeTableAPIControllerGet2OK() *DailyStationTimeTableAPIControllerGet2OK

NewDailyStationTimeTableAPIControllerGet2OK creates a DailyStationTimeTableAPIControllerGet2OK with default headers values

func (*DailyStationTimeTableAPIControllerGet2OK) Error

type DailyStationTimeTableAPIControllerGet2Params

type DailyStationTimeTableAPIControllerGet2Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyStationTimeTableAPIControllerGet2Params contains all the parameters to send to the API endpoint

for the daily station time table Api controller get 2 operation.

Typically these are written to a http.Request.

func NewDailyStationTimeTableAPIControllerGet2Params

func NewDailyStationTimeTableAPIControllerGet2Params() *DailyStationTimeTableAPIControllerGet2Params

NewDailyStationTimeTableAPIControllerGet2Params creates a new DailyStationTimeTableAPIControllerGet2Params 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 NewDailyStationTimeTableAPIControllerGet2ParamsWithContext

func NewDailyStationTimeTableAPIControllerGet2ParamsWithContext(ctx context.Context) *DailyStationTimeTableAPIControllerGet2Params

NewDailyStationTimeTableAPIControllerGet2ParamsWithContext creates a new DailyStationTimeTableAPIControllerGet2Params object with the ability to set a context for a request.

func NewDailyStationTimeTableAPIControllerGet2ParamsWithHTTPClient

func NewDailyStationTimeTableAPIControllerGet2ParamsWithHTTPClient(client *http.Client) *DailyStationTimeTableAPIControllerGet2Params

NewDailyStationTimeTableAPIControllerGet2ParamsWithHTTPClient creates a new DailyStationTimeTableAPIControllerGet2Params object with the ability to set a custom HTTPClient for a request.

func NewDailyStationTimeTableAPIControllerGet2ParamsWithTimeout

func NewDailyStationTimeTableAPIControllerGet2ParamsWithTimeout(timeout time.Duration) *DailyStationTimeTableAPIControllerGet2Params

NewDailyStationTimeTableAPIControllerGet2ParamsWithTimeout creates a new DailyStationTimeTableAPIControllerGet2Params object with the ability to set a timeout on a request.

func (*DailyStationTimeTableAPIControllerGet2Params) SetContext

SetContext adds the context to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily station time table Api controller get 2 params (not the query body).

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

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarCount

func (o *DailyStationTimeTableAPIControllerGet2Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarFormat

func (o *DailyStationTimeTableAPIControllerGet2Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetHealth added in v0.12.0

SetHealth adds the health to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetTimeout

SetTimeout adds the timeout to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) SetTrainDate

SetTrainDate adds the trainDate to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithContext

WithContext adds the context to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily station time table Api controller get 2 params (not the query body).

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

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarCount

WithDollarCount adds the dollarCount to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithDollarTop

WithDollarTop adds the dollarTop to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithHealth added in v0.12.0

WithHealth adds the health to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithTimeout

WithTimeout adds the timeout to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WithTrainDate

WithTrainDate adds the trainDate to the daily station time table Api controller get 2 params

func (*DailyStationTimeTableAPIControllerGet2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyStationTimeTableAPIControllerGet2Reader

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

DailyStationTimeTableAPIControllerGet2Reader is a Reader for the DailyStationTimeTableAPIControllerGet2 structure.

func (*DailyStationTimeTableAPIControllerGet2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyStationTimeTableAPIControllerGet2Status299 added in v0.12.0

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

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

func NewDailyStationTimeTableAPIControllerGet2Status299 added in v0.12.0

func NewDailyStationTimeTableAPIControllerGet2Status299() *DailyStationTimeTableAPIControllerGet2Status299

NewDailyStationTimeTableAPIControllerGet2Status299 creates a DailyStationTimeTableAPIControllerGet2Status299 with default headers values

func (*DailyStationTimeTableAPIControllerGet2Status299) Error added in v0.12.0

func (*DailyStationTimeTableAPIControllerGet2Status299) GetPayload added in v0.12.0

type DailyStationTimeTableAPIControllerGetNotModified added in v0.9.0

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

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

func NewDailyStationTimeTableAPIControllerGetNotModified added in v0.9.0

func NewDailyStationTimeTableAPIControllerGetNotModified() *DailyStationTimeTableAPIControllerGetNotModified

NewDailyStationTimeTableAPIControllerGetNotModified creates a DailyStationTimeTableAPIControllerGetNotModified with default headers values

func (*DailyStationTimeTableAPIControllerGetNotModified) Error added in v0.9.0

type DailyStationTimeTableAPIControllerGetOK

DailyStationTimeTableAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewDailyStationTimeTableAPIControllerGetOK

func NewDailyStationTimeTableAPIControllerGetOK() *DailyStationTimeTableAPIControllerGetOK

NewDailyStationTimeTableAPIControllerGetOK creates a DailyStationTimeTableAPIControllerGetOK with default headers values

func (*DailyStationTimeTableAPIControllerGetOK) Error

type DailyStationTimeTableAPIControllerGetParams

type DailyStationTimeTableAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyStationTimeTableAPIControllerGetParams contains all the parameters to send to the API endpoint

for the daily station time table Api controller get operation.

Typically these are written to a http.Request.

func NewDailyStationTimeTableAPIControllerGetParams

func NewDailyStationTimeTableAPIControllerGetParams() *DailyStationTimeTableAPIControllerGetParams

NewDailyStationTimeTableAPIControllerGetParams creates a new DailyStationTimeTableAPIControllerGetParams 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 NewDailyStationTimeTableAPIControllerGetParamsWithContext

func NewDailyStationTimeTableAPIControllerGetParamsWithContext(ctx context.Context) *DailyStationTimeTableAPIControllerGetParams

NewDailyStationTimeTableAPIControllerGetParamsWithContext creates a new DailyStationTimeTableAPIControllerGetParams object with the ability to set a context for a request.

func NewDailyStationTimeTableAPIControllerGetParamsWithHTTPClient

func NewDailyStationTimeTableAPIControllerGetParamsWithHTTPClient(client *http.Client) *DailyStationTimeTableAPIControllerGetParams

NewDailyStationTimeTableAPIControllerGetParamsWithHTTPClient creates a new DailyStationTimeTableAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewDailyStationTimeTableAPIControllerGetParamsWithTimeout

func NewDailyStationTimeTableAPIControllerGetParamsWithTimeout(timeout time.Duration) *DailyStationTimeTableAPIControllerGetParams

NewDailyStationTimeTableAPIControllerGetParamsWithTimeout creates a new DailyStationTimeTableAPIControllerGetParams object with the ability to set a timeout on a request.

func (*DailyStationTimeTableAPIControllerGetParams) SetContext

SetContext adds the context to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily station time table Api controller get params (not the query body).

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

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarCount

func (o *DailyStationTimeTableAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarFormat

func (o *DailyStationTimeTableAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetHealth added in v0.12.0

SetHealth adds the health to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) SetTimeout

SetTimeout adds the timeout to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithContext

WithContext adds the context to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily station time table Api controller get params (not the query body).

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

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the daily station time table Api controller get params

func (*DailyStationTimeTableAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyStationTimeTableAPIControllerGetReader

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

DailyStationTimeTableAPIControllerGetReader is a Reader for the DailyStationTimeTableAPIControllerGet structure.

func (*DailyStationTimeTableAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyStationTimeTableAPIControllerGetStatus299 added in v0.12.0

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

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

func NewDailyStationTimeTableAPIControllerGetStatus299 added in v0.12.0

func NewDailyStationTimeTableAPIControllerGetStatus299() *DailyStationTimeTableAPIControllerGetStatus299

NewDailyStationTimeTableAPIControllerGetStatus299 creates a DailyStationTimeTableAPIControllerGetStatus299 with default headers values

func (*DailyStationTimeTableAPIControllerGetStatus299) Error added in v0.12.0

func (*DailyStationTimeTableAPIControllerGetStatus299) GetPayload added in v0.12.0

type DailyTrainTimeTableAPIControllerGet1NotModified added in v0.9.0

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

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

func NewDailyTrainTimeTableAPIControllerGet1NotModified added in v0.9.0

func NewDailyTrainTimeTableAPIControllerGet1NotModified() *DailyTrainTimeTableAPIControllerGet1NotModified

NewDailyTrainTimeTableAPIControllerGet1NotModified creates a DailyTrainTimeTableAPIControllerGet1NotModified with default headers values

func (*DailyTrainTimeTableAPIControllerGet1NotModified) Error added in v0.9.0

type DailyTrainTimeTableAPIControllerGet1OK

DailyTrainTimeTableAPIControllerGet1OK describes a response with status code 200, with default header values.

Success

func NewDailyTrainTimeTableAPIControllerGet1OK

func NewDailyTrainTimeTableAPIControllerGet1OK() *DailyTrainTimeTableAPIControllerGet1OK

NewDailyTrainTimeTableAPIControllerGet1OK creates a DailyTrainTimeTableAPIControllerGet1OK with default headers values

func (*DailyTrainTimeTableAPIControllerGet1OK) Error

type DailyTrainTimeTableAPIControllerGet1Params

type DailyTrainTimeTableAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyTrainTimeTableAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the daily train time table Api controller get 1 operation.

Typically these are written to a http.Request.

func NewDailyTrainTimeTableAPIControllerGet1Params

func NewDailyTrainTimeTableAPIControllerGet1Params() *DailyTrainTimeTableAPIControllerGet1Params

NewDailyTrainTimeTableAPIControllerGet1Params creates a new DailyTrainTimeTableAPIControllerGet1Params 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 NewDailyTrainTimeTableAPIControllerGet1ParamsWithContext

func NewDailyTrainTimeTableAPIControllerGet1ParamsWithContext(ctx context.Context) *DailyTrainTimeTableAPIControllerGet1Params

NewDailyTrainTimeTableAPIControllerGet1ParamsWithContext creates a new DailyTrainTimeTableAPIControllerGet1Params object with the ability to set a context for a request.

func NewDailyTrainTimeTableAPIControllerGet1ParamsWithHTTPClient

func NewDailyTrainTimeTableAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *DailyTrainTimeTableAPIControllerGet1Params

NewDailyTrainTimeTableAPIControllerGet1ParamsWithHTTPClient creates a new DailyTrainTimeTableAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewDailyTrainTimeTableAPIControllerGet1ParamsWithTimeout

func NewDailyTrainTimeTableAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *DailyTrainTimeTableAPIControllerGet1Params

NewDailyTrainTimeTableAPIControllerGet1ParamsWithTimeout creates a new DailyTrainTimeTableAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*DailyTrainTimeTableAPIControllerGet1Params) SetContext

SetContext adds the context to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily train time table Api controller get 1 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarCount

func (o *DailyTrainTimeTableAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarFormat

func (o *DailyTrainTimeTableAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetTimeout

SetTimeout adds the timeout to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) SetTrainNo

func (o *DailyTrainTimeTableAPIControllerGet1Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithContext

WithContext adds the context to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily train time table Api controller get 1 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WithTrainNo

WithTrainNo adds the trainNo to the daily train time table Api controller get 1 params

func (*DailyTrainTimeTableAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyTrainTimeTableAPIControllerGet1Reader

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

DailyTrainTimeTableAPIControllerGet1Reader is a Reader for the DailyTrainTimeTableAPIControllerGet1 structure.

func (*DailyTrainTimeTableAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyTrainTimeTableAPIControllerGet1Status299 added in v0.12.0

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

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

func NewDailyTrainTimeTableAPIControllerGet1Status299 added in v0.12.0

func NewDailyTrainTimeTableAPIControllerGet1Status299() *DailyTrainTimeTableAPIControllerGet1Status299

NewDailyTrainTimeTableAPIControllerGet1Status299 creates a DailyTrainTimeTableAPIControllerGet1Status299 with default headers values

func (*DailyTrainTimeTableAPIControllerGet1Status299) Error added in v0.12.0

func (*DailyTrainTimeTableAPIControllerGet1Status299) GetPayload added in v0.12.0

type DailyTrainTimeTableAPIControllerGet2OK

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

Success

func NewDailyTrainTimeTableAPIControllerGet2OK

func NewDailyTrainTimeTableAPIControllerGet2OK() *DailyTrainTimeTableAPIControllerGet2OK

NewDailyTrainTimeTableAPIControllerGet2OK creates a DailyTrainTimeTableAPIControllerGet2OK with default headers values

func (*DailyTrainTimeTableAPIControllerGet2OK) Error

func (*DailyTrainTimeTableAPIControllerGet2OK) GetPayload

type DailyTrainTimeTableAPIControllerGet2Params

type DailyTrainTimeTableAPIControllerGet2Params struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* Health.

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

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

DailyTrainTimeTableAPIControllerGet2Params contains all the parameters to send to the API endpoint

for the daily train time table Api controller get 2 operation.

Typically these are written to a http.Request.

func NewDailyTrainTimeTableAPIControllerGet2Params

func NewDailyTrainTimeTableAPIControllerGet2Params() *DailyTrainTimeTableAPIControllerGet2Params

NewDailyTrainTimeTableAPIControllerGet2Params creates a new DailyTrainTimeTableAPIControllerGet2Params 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 NewDailyTrainTimeTableAPIControllerGet2ParamsWithContext

func NewDailyTrainTimeTableAPIControllerGet2ParamsWithContext(ctx context.Context) *DailyTrainTimeTableAPIControllerGet2Params

NewDailyTrainTimeTableAPIControllerGet2ParamsWithContext creates a new DailyTrainTimeTableAPIControllerGet2Params object with the ability to set a context for a request.

func NewDailyTrainTimeTableAPIControllerGet2ParamsWithHTTPClient

func NewDailyTrainTimeTableAPIControllerGet2ParamsWithHTTPClient(client *http.Client) *DailyTrainTimeTableAPIControllerGet2Params

NewDailyTrainTimeTableAPIControllerGet2ParamsWithHTTPClient creates a new DailyTrainTimeTableAPIControllerGet2Params object with the ability to set a custom HTTPClient for a request.

func NewDailyTrainTimeTableAPIControllerGet2ParamsWithTimeout

func NewDailyTrainTimeTableAPIControllerGet2ParamsWithTimeout(timeout time.Duration) *DailyTrainTimeTableAPIControllerGet2Params

NewDailyTrainTimeTableAPIControllerGet2ParamsWithTimeout creates a new DailyTrainTimeTableAPIControllerGet2Params object with the ability to set a timeout on a request.

func (*DailyTrainTimeTableAPIControllerGet2Params) SetContext

SetContext adds the context to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily train time table Api controller get 2 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet2Params) SetDollarFormat

func (o *DailyTrainTimeTableAPIControllerGet2Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) SetTimeout

SetTimeout adds the timeout to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) WithContext

WithContext adds the context to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily train time table Api controller get 2 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet2Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) WithHealth added in v0.12.0

WithHealth adds the health to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) WithTimeout

WithTimeout adds the timeout to the daily train time table Api controller get 2 params

func (*DailyTrainTimeTableAPIControllerGet2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyTrainTimeTableAPIControllerGet2Reader

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

DailyTrainTimeTableAPIControllerGet2Reader is a Reader for the DailyTrainTimeTableAPIControllerGet2 structure.

func (*DailyTrainTimeTableAPIControllerGet2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyTrainTimeTableAPIControllerGet2Status299 added in v0.12.0

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

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

func NewDailyTrainTimeTableAPIControllerGet2Status299 added in v0.12.0

func NewDailyTrainTimeTableAPIControllerGet2Status299() *DailyTrainTimeTableAPIControllerGet2Status299

NewDailyTrainTimeTableAPIControllerGet2Status299 creates a DailyTrainTimeTableAPIControllerGet2Status299 with default headers values

func (*DailyTrainTimeTableAPIControllerGet2Status299) Error added in v0.12.0

func (*DailyTrainTimeTableAPIControllerGet2Status299) GetPayload added in v0.12.0

type DailyTrainTimeTableAPIControllerGet3NotModified added in v0.9.0

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

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

func NewDailyTrainTimeTableAPIControllerGet3NotModified added in v0.9.0

func NewDailyTrainTimeTableAPIControllerGet3NotModified() *DailyTrainTimeTableAPIControllerGet3NotModified

NewDailyTrainTimeTableAPIControllerGet3NotModified creates a DailyTrainTimeTableAPIControllerGet3NotModified with default headers values

func (*DailyTrainTimeTableAPIControllerGet3NotModified) Error added in v0.9.0

type DailyTrainTimeTableAPIControllerGet3OK

DailyTrainTimeTableAPIControllerGet3OK describes a response with status code 200, with default header values.

Success

func NewDailyTrainTimeTableAPIControllerGet3OK

func NewDailyTrainTimeTableAPIControllerGet3OK() *DailyTrainTimeTableAPIControllerGet3OK

NewDailyTrainTimeTableAPIControllerGet3OK creates a DailyTrainTimeTableAPIControllerGet3OK with default headers values

func (*DailyTrainTimeTableAPIControllerGet3OK) Error

type DailyTrainTimeTableAPIControllerGet3Params

type DailyTrainTimeTableAPIControllerGet3Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyTrainTimeTableAPIControllerGet3Params contains all the parameters to send to the API endpoint

for the daily train time table Api controller get 3 operation.

Typically these are written to a http.Request.

func NewDailyTrainTimeTableAPIControllerGet3Params

func NewDailyTrainTimeTableAPIControllerGet3Params() *DailyTrainTimeTableAPIControllerGet3Params

NewDailyTrainTimeTableAPIControllerGet3Params creates a new DailyTrainTimeTableAPIControllerGet3Params 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 NewDailyTrainTimeTableAPIControllerGet3ParamsWithContext

func NewDailyTrainTimeTableAPIControllerGet3ParamsWithContext(ctx context.Context) *DailyTrainTimeTableAPIControllerGet3Params

NewDailyTrainTimeTableAPIControllerGet3ParamsWithContext creates a new DailyTrainTimeTableAPIControllerGet3Params object with the ability to set a context for a request.

func NewDailyTrainTimeTableAPIControllerGet3ParamsWithHTTPClient

func NewDailyTrainTimeTableAPIControllerGet3ParamsWithHTTPClient(client *http.Client) *DailyTrainTimeTableAPIControllerGet3Params

NewDailyTrainTimeTableAPIControllerGet3ParamsWithHTTPClient creates a new DailyTrainTimeTableAPIControllerGet3Params object with the ability to set a custom HTTPClient for a request.

func NewDailyTrainTimeTableAPIControllerGet3ParamsWithTimeout

func NewDailyTrainTimeTableAPIControllerGet3ParamsWithTimeout(timeout time.Duration) *DailyTrainTimeTableAPIControllerGet3Params

NewDailyTrainTimeTableAPIControllerGet3ParamsWithTimeout creates a new DailyTrainTimeTableAPIControllerGet3Params object with the ability to set a timeout on a request.

func (*DailyTrainTimeTableAPIControllerGet3Params) SetContext

SetContext adds the context to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily train time table Api controller get 3 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarCount

func (o *DailyTrainTimeTableAPIControllerGet3Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarFormat

func (o *DailyTrainTimeTableAPIControllerGet3Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetTimeout

SetTimeout adds the timeout to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) SetTrainDate

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

SetTrainDate adds the trainDate to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithContext

WithContext adds the context to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily train time table Api controller get 3 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarCount

WithDollarCount adds the dollarCount to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithDollarTop

WithDollarTop adds the dollarTop to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithHealth added in v0.12.0

WithHealth adds the health to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithTimeout

WithTimeout adds the timeout to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WithTrainDate

WithTrainDate adds the trainDate to the daily train time table Api controller get 3 params

func (*DailyTrainTimeTableAPIControllerGet3Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyTrainTimeTableAPIControllerGet3Reader

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

DailyTrainTimeTableAPIControllerGet3Reader is a Reader for the DailyTrainTimeTableAPIControllerGet3 structure.

func (*DailyTrainTimeTableAPIControllerGet3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyTrainTimeTableAPIControllerGet3Status299 added in v0.12.0

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

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

func NewDailyTrainTimeTableAPIControllerGet3Status299 added in v0.12.0

func NewDailyTrainTimeTableAPIControllerGet3Status299() *DailyTrainTimeTableAPIControllerGet3Status299

NewDailyTrainTimeTableAPIControllerGet3Status299 creates a DailyTrainTimeTableAPIControllerGet3Status299 with default headers values

func (*DailyTrainTimeTableAPIControllerGet3Status299) Error added in v0.12.0

func (*DailyTrainTimeTableAPIControllerGet3Status299) GetPayload added in v0.12.0

type DailyTrainTimeTableAPIControllerGet4NotModified added in v0.9.0

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

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

func NewDailyTrainTimeTableAPIControllerGet4NotModified added in v0.9.0

func NewDailyTrainTimeTableAPIControllerGet4NotModified() *DailyTrainTimeTableAPIControllerGet4NotModified

NewDailyTrainTimeTableAPIControllerGet4NotModified creates a DailyTrainTimeTableAPIControllerGet4NotModified with default headers values

func (*DailyTrainTimeTableAPIControllerGet4NotModified) Error added in v0.9.0

type DailyTrainTimeTableAPIControllerGet4OK

DailyTrainTimeTableAPIControllerGet4OK describes a response with status code 200, with default header values.

Success

func NewDailyTrainTimeTableAPIControllerGet4OK

func NewDailyTrainTimeTableAPIControllerGet4OK() *DailyTrainTimeTableAPIControllerGet4OK

NewDailyTrainTimeTableAPIControllerGet4OK creates a DailyTrainTimeTableAPIControllerGet4OK with default headers values

func (*DailyTrainTimeTableAPIControllerGet4OK) Error

type DailyTrainTimeTableAPIControllerGet4Params

type DailyTrainTimeTableAPIControllerGet4Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyTrainTimeTableAPIControllerGet4Params contains all the parameters to send to the API endpoint

for the daily train time table Api controller get 4 operation.

Typically these are written to a http.Request.

func NewDailyTrainTimeTableAPIControllerGet4Params

func NewDailyTrainTimeTableAPIControllerGet4Params() *DailyTrainTimeTableAPIControllerGet4Params

NewDailyTrainTimeTableAPIControllerGet4Params creates a new DailyTrainTimeTableAPIControllerGet4Params 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 NewDailyTrainTimeTableAPIControllerGet4ParamsWithContext

func NewDailyTrainTimeTableAPIControllerGet4ParamsWithContext(ctx context.Context) *DailyTrainTimeTableAPIControllerGet4Params

NewDailyTrainTimeTableAPIControllerGet4ParamsWithContext creates a new DailyTrainTimeTableAPIControllerGet4Params object with the ability to set a context for a request.

func NewDailyTrainTimeTableAPIControllerGet4ParamsWithHTTPClient

func NewDailyTrainTimeTableAPIControllerGet4ParamsWithHTTPClient(client *http.Client) *DailyTrainTimeTableAPIControllerGet4Params

NewDailyTrainTimeTableAPIControllerGet4ParamsWithHTTPClient creates a new DailyTrainTimeTableAPIControllerGet4Params object with the ability to set a custom HTTPClient for a request.

func NewDailyTrainTimeTableAPIControllerGet4ParamsWithTimeout

func NewDailyTrainTimeTableAPIControllerGet4ParamsWithTimeout(timeout time.Duration) *DailyTrainTimeTableAPIControllerGet4Params

NewDailyTrainTimeTableAPIControllerGet4ParamsWithTimeout creates a new DailyTrainTimeTableAPIControllerGet4Params object with the ability to set a timeout on a request.

func (*DailyTrainTimeTableAPIControllerGet4Params) SetContext

SetContext adds the context to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily train time table Api controller get 4 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDestinationStationID

func (o *DailyTrainTimeTableAPIControllerGet4Params) SetDestinationStationID(destinationStationID string)

SetDestinationStationID adds the destinationStationId to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarCount

func (o *DailyTrainTimeTableAPIControllerGet4Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarFormat

func (o *DailyTrainTimeTableAPIControllerGet4Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetOriginStationID

func (o *DailyTrainTimeTableAPIControllerGet4Params) SetOriginStationID(originStationID string)

SetOriginStationID adds the originStationId to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetTimeout

SetTimeout adds the timeout to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) SetTrainDate

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

SetTrainDate adds the trainDate to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithContext

WithContext adds the context to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily train time table Api controller get 4 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDestinationStationID

func (o *DailyTrainTimeTableAPIControllerGet4Params) WithDestinationStationID(destinationStationID string) *DailyTrainTimeTableAPIControllerGet4Params

WithDestinationStationID adds the destinationStationID to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarCount

WithDollarCount adds the dollarCount to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithDollarTop

WithDollarTop adds the dollarTop to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithHealth added in v0.12.0

WithHealth adds the health to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithOriginStationID

WithOriginStationID adds the originStationID to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithTimeout

WithTimeout adds the timeout to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WithTrainDate

WithTrainDate adds the trainDate to the daily train time table Api controller get 4 params

func (*DailyTrainTimeTableAPIControllerGet4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyTrainTimeTableAPIControllerGet4Reader

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

DailyTrainTimeTableAPIControllerGet4Reader is a Reader for the DailyTrainTimeTableAPIControllerGet4 structure.

func (*DailyTrainTimeTableAPIControllerGet4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyTrainTimeTableAPIControllerGet4Status299 added in v0.12.0

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

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

func NewDailyTrainTimeTableAPIControllerGet4Status299 added in v0.12.0

func NewDailyTrainTimeTableAPIControllerGet4Status299() *DailyTrainTimeTableAPIControllerGet4Status299

NewDailyTrainTimeTableAPIControllerGet4Status299 creates a DailyTrainTimeTableAPIControllerGet4Status299 with default headers values

func (*DailyTrainTimeTableAPIControllerGet4Status299) Error added in v0.12.0

func (*DailyTrainTimeTableAPIControllerGet4Status299) GetPayload added in v0.12.0

type DailyTrainTimeTableAPIControllerGet5NotModified added in v0.13.0

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

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

func NewDailyTrainTimeTableAPIControllerGet5NotModified added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5NotModified() *DailyTrainTimeTableAPIControllerGet5NotModified

NewDailyTrainTimeTableAPIControllerGet5NotModified creates a DailyTrainTimeTableAPIControllerGet5NotModified with default headers values

func (*DailyTrainTimeTableAPIControllerGet5NotModified) Error added in v0.13.0

type DailyTrainTimeTableAPIControllerGet5OK added in v0.13.0

DailyTrainTimeTableAPIControllerGet5OK describes a response with status code 200, with default header values.

Success

func NewDailyTrainTimeTableAPIControllerGet5OK added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5OK() *DailyTrainTimeTableAPIControllerGet5OK

NewDailyTrainTimeTableAPIControllerGet5OK creates a DailyTrainTimeTableAPIControllerGet5OK with default headers values

func (*DailyTrainTimeTableAPIControllerGet5OK) Error added in v0.13.0

type DailyTrainTimeTableAPIControllerGet5Params added in v0.13.0

type DailyTrainTimeTableAPIControllerGet5Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyTrainTimeTableAPIControllerGet5Params contains all the parameters to send to the API endpoint

for the daily train time table Api controller get 5 operation.

Typically these are written to a http.Request.

func NewDailyTrainTimeTableAPIControllerGet5Params added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5Params() *DailyTrainTimeTableAPIControllerGet5Params

NewDailyTrainTimeTableAPIControllerGet5Params creates a new DailyTrainTimeTableAPIControllerGet5Params 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 NewDailyTrainTimeTableAPIControllerGet5ParamsWithContext added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5ParamsWithContext(ctx context.Context) *DailyTrainTimeTableAPIControllerGet5Params

NewDailyTrainTimeTableAPIControllerGet5ParamsWithContext creates a new DailyTrainTimeTableAPIControllerGet5Params object with the ability to set a context for a request.

func NewDailyTrainTimeTableAPIControllerGet5ParamsWithHTTPClient added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5ParamsWithHTTPClient(client *http.Client) *DailyTrainTimeTableAPIControllerGet5Params

NewDailyTrainTimeTableAPIControllerGet5ParamsWithHTTPClient creates a new DailyTrainTimeTableAPIControllerGet5Params object with the ability to set a custom HTTPClient for a request.

func NewDailyTrainTimeTableAPIControllerGet5ParamsWithTimeout added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5ParamsWithTimeout(timeout time.Duration) *DailyTrainTimeTableAPIControllerGet5Params

NewDailyTrainTimeTableAPIControllerGet5ParamsWithTimeout creates a new DailyTrainTimeTableAPIControllerGet5Params object with the ability to set a timeout on a request.

func (*DailyTrainTimeTableAPIControllerGet5Params) SetContext added in v0.13.0

SetContext adds the context to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDefaults added in v0.13.0

SetDefaults hydrates default values in the daily train time table Api controller get 5 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDestinationStationID added in v0.13.0

func (o *DailyTrainTimeTableAPIControllerGet5Params) SetDestinationStationID(destinationStationID string)

SetDestinationStationID adds the destinationStationId to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarCount added in v0.13.0

func (o *DailyTrainTimeTableAPIControllerGet5Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarFilter added in v0.13.0

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

SetDollarFilter adds the dollarFilter to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarFormat added in v0.13.0

func (o *DailyTrainTimeTableAPIControllerGet5Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarOrderby added in v0.13.0

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

SetDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarSelect added in v0.13.0

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

SetDollarSelect adds the dollarSelect to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarSkip added in v0.13.0

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

SetDollarSkip adds the dollarSkip to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetDollarTop added in v0.13.0

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

SetDollarTop adds the dollarTop to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetHTTPClient added in v0.13.0

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

SetHTTPClient adds the HTTPClient to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetOriginStationID added in v0.13.0

func (o *DailyTrainTimeTableAPIControllerGet5Params) SetOriginStationID(originStationID string)

SetOriginStationID adds the originStationId to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetTimeout added in v0.13.0

SetTimeout adds the timeout to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) SetTrainDate added in v0.13.0

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

SetTrainDate adds the trainDate to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithContext added in v0.13.0

WithContext adds the context to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDefaults added in v0.13.0

WithDefaults hydrates default values in the daily train time table Api controller get 5 params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDestinationStationID added in v0.13.0

func (o *DailyTrainTimeTableAPIControllerGet5Params) WithDestinationStationID(destinationStationID string) *DailyTrainTimeTableAPIControllerGet5Params

WithDestinationStationID adds the destinationStationID to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarCount added in v0.13.0

WithDollarCount adds the dollarCount to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarFilter added in v0.13.0

WithDollarFilter adds the dollarFilter to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarFormat added in v0.13.0

WithDollarFormat adds the dollarFormat to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarOrderby added in v0.13.0

WithDollarOrderby adds the dollarOrderby to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarSelect added in v0.13.0

WithDollarSelect adds the dollarSelect to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarSkip added in v0.13.0

WithDollarSkip adds the dollarSkip to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithDollarTop added in v0.13.0

WithDollarTop adds the dollarTop to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithHTTPClient added in v0.13.0

WithHTTPClient adds the HTTPClient to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithHealth added in v0.13.0

WithHealth adds the health to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithOriginStationID added in v0.13.0

WithOriginStationID adds the originStationID to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithTimeout added in v0.13.0

WithTimeout adds the timeout to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WithTrainDate added in v0.13.0

WithTrainDate adds the trainDate to the daily train time table Api controller get 5 params

func (*DailyTrainTimeTableAPIControllerGet5Params) WriteToRequest added in v0.13.0

WriteToRequest writes these params to a swagger request

type DailyTrainTimeTableAPIControllerGet5Reader added in v0.13.0

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

DailyTrainTimeTableAPIControllerGet5Reader is a Reader for the DailyTrainTimeTableAPIControllerGet5 structure.

func (*DailyTrainTimeTableAPIControllerGet5Reader) ReadResponse added in v0.13.0

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

ReadResponse reads a server response into the received o.

type DailyTrainTimeTableAPIControllerGet5Status299 added in v0.13.0

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

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

func NewDailyTrainTimeTableAPIControllerGet5Status299 added in v0.13.0

func NewDailyTrainTimeTableAPIControllerGet5Status299() *DailyTrainTimeTableAPIControllerGet5Status299

NewDailyTrainTimeTableAPIControllerGet5Status299 creates a DailyTrainTimeTableAPIControllerGet5Status299 with default headers values

func (*DailyTrainTimeTableAPIControllerGet5Status299) Error added in v0.13.0

func (*DailyTrainTimeTableAPIControllerGet5Status299) GetPayload added in v0.13.0

type DailyTrainTimeTableAPIControllerGetNotModified added in v0.9.0

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

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

func NewDailyTrainTimeTableAPIControllerGetNotModified added in v0.9.0

func NewDailyTrainTimeTableAPIControllerGetNotModified() *DailyTrainTimeTableAPIControllerGetNotModified

NewDailyTrainTimeTableAPIControllerGetNotModified creates a DailyTrainTimeTableAPIControllerGetNotModified with default headers values

func (*DailyTrainTimeTableAPIControllerGetNotModified) Error added in v0.9.0

type DailyTrainTimeTableAPIControllerGetOK

DailyTrainTimeTableAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewDailyTrainTimeTableAPIControllerGetOK

func NewDailyTrainTimeTableAPIControllerGetOK() *DailyTrainTimeTableAPIControllerGetOK

NewDailyTrainTimeTableAPIControllerGetOK creates a DailyTrainTimeTableAPIControllerGetOK with default headers values

func (*DailyTrainTimeTableAPIControllerGetOK) Error

type DailyTrainTimeTableAPIControllerGetParams

type DailyTrainTimeTableAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

DailyTrainTimeTableAPIControllerGetParams contains all the parameters to send to the API endpoint

for the daily train time table Api controller get operation.

Typically these are written to a http.Request.

func NewDailyTrainTimeTableAPIControllerGetParams

func NewDailyTrainTimeTableAPIControllerGetParams() *DailyTrainTimeTableAPIControllerGetParams

NewDailyTrainTimeTableAPIControllerGetParams creates a new DailyTrainTimeTableAPIControllerGetParams 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 NewDailyTrainTimeTableAPIControllerGetParamsWithContext

func NewDailyTrainTimeTableAPIControllerGetParamsWithContext(ctx context.Context) *DailyTrainTimeTableAPIControllerGetParams

NewDailyTrainTimeTableAPIControllerGetParamsWithContext creates a new DailyTrainTimeTableAPIControllerGetParams object with the ability to set a context for a request.

func NewDailyTrainTimeTableAPIControllerGetParamsWithHTTPClient

func NewDailyTrainTimeTableAPIControllerGetParamsWithHTTPClient(client *http.Client) *DailyTrainTimeTableAPIControllerGetParams

NewDailyTrainTimeTableAPIControllerGetParamsWithHTTPClient creates a new DailyTrainTimeTableAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewDailyTrainTimeTableAPIControllerGetParamsWithTimeout

func NewDailyTrainTimeTableAPIControllerGetParamsWithTimeout(timeout time.Duration) *DailyTrainTimeTableAPIControllerGetParams

NewDailyTrainTimeTableAPIControllerGetParamsWithTimeout creates a new DailyTrainTimeTableAPIControllerGetParams object with the ability to set a timeout on a request.

func (*DailyTrainTimeTableAPIControllerGetParams) SetContext

SetContext adds the context to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the daily train time table Api controller get params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarCount

func (o *DailyTrainTimeTableAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarFormat

func (o *DailyTrainTimeTableAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) SetTimeout

SetTimeout adds the timeout to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithContext

WithContext adds the context to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the daily train time table Api controller get params (not the query body).

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

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the daily train time table Api controller get params

func (*DailyTrainTimeTableAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DailyTrainTimeTableAPIControllerGetReader

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

DailyTrainTimeTableAPIControllerGetReader is a Reader for the DailyTrainTimeTableAPIControllerGet structure.

func (*DailyTrainTimeTableAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DailyTrainTimeTableAPIControllerGetStatus299 added in v0.12.0

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

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

func NewDailyTrainTimeTableAPIControllerGetStatus299 added in v0.12.0

func NewDailyTrainTimeTableAPIControllerGetStatus299() *DailyTrainTimeTableAPIControllerGetStatus299

NewDailyTrainTimeTableAPIControllerGetStatus299 creates a DailyTrainTimeTableAPIControllerGetStatus299 with default headers values

func (*DailyTrainTimeTableAPIControllerGetStatus299) Error added in v0.12.0

func (*DailyTrainTimeTableAPIControllerGetStatus299) GetPayload added in v0.12.0

type GeneralStationTimetableAPIControllerGet1NotModified added in v0.9.0

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

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

func NewGeneralStationTimetableAPIControllerGet1NotModified added in v0.9.0

func NewGeneralStationTimetableAPIControllerGet1NotModified() *GeneralStationTimetableAPIControllerGet1NotModified

NewGeneralStationTimetableAPIControllerGet1NotModified creates a GeneralStationTimetableAPIControllerGet1NotModified with default headers values

func (*GeneralStationTimetableAPIControllerGet1NotModified) Error added in v0.9.0

type GeneralStationTimetableAPIControllerGet1OK

GeneralStationTimetableAPIControllerGet1OK describes a response with status code 200, with default header values.

Success

func NewGeneralStationTimetableAPIControllerGet1OK

func NewGeneralStationTimetableAPIControllerGet1OK() *GeneralStationTimetableAPIControllerGet1OK

NewGeneralStationTimetableAPIControllerGet1OK creates a GeneralStationTimetableAPIControllerGet1OK with default headers values

func (*GeneralStationTimetableAPIControllerGet1OK) Error

type GeneralStationTimetableAPIControllerGet1Params

type GeneralStationTimetableAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

GeneralStationTimetableAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the general station timetable Api controller get 1 operation.

Typically these are written to a http.Request.

func NewGeneralStationTimetableAPIControllerGet1Params

func NewGeneralStationTimetableAPIControllerGet1Params() *GeneralStationTimetableAPIControllerGet1Params

NewGeneralStationTimetableAPIControllerGet1Params creates a new GeneralStationTimetableAPIControllerGet1Params 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 NewGeneralStationTimetableAPIControllerGet1ParamsWithContext

func NewGeneralStationTimetableAPIControllerGet1ParamsWithContext(ctx context.Context) *GeneralStationTimetableAPIControllerGet1Params

NewGeneralStationTimetableAPIControllerGet1ParamsWithContext creates a new GeneralStationTimetableAPIControllerGet1Params object with the ability to set a context for a request.

func NewGeneralStationTimetableAPIControllerGet1ParamsWithHTTPClient

func NewGeneralStationTimetableAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *GeneralStationTimetableAPIControllerGet1Params

NewGeneralStationTimetableAPIControllerGet1ParamsWithHTTPClient creates a new GeneralStationTimetableAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewGeneralStationTimetableAPIControllerGet1ParamsWithTimeout

func NewGeneralStationTimetableAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *GeneralStationTimetableAPIControllerGet1Params

NewGeneralStationTimetableAPIControllerGet1ParamsWithTimeout creates a new GeneralStationTimetableAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*GeneralStationTimetableAPIControllerGet1Params) SetContext

SetContext adds the context to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the general station timetable Api controller get 1 params (not the query body).

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

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarCount

func (o *GeneralStationTimetableAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarFormat

func (o *GeneralStationTimetableAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetHTTPClient

SetHTTPClient adds the HTTPClient to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetHealth added in v0.12.0

SetHealth adds the health to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetStationID

func (o *GeneralStationTimetableAPIControllerGet1Params) SetStationID(stationID string)

SetStationID adds the stationId to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) SetTimeout

SetTimeout adds the timeout to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithContext

WithContext adds the context to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the general station timetable Api controller get 1 params (not the query body).

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

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithStationID

WithStationID adds the stationID to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the general station timetable Api controller get 1 params

func (*GeneralStationTimetableAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GeneralStationTimetableAPIControllerGet1Reader

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

GeneralStationTimetableAPIControllerGet1Reader is a Reader for the GeneralStationTimetableAPIControllerGet1 structure.

func (*GeneralStationTimetableAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GeneralStationTimetableAPIControllerGet1Status299 added in v0.12.0

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

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

func NewGeneralStationTimetableAPIControllerGet1Status299 added in v0.12.0

func NewGeneralStationTimetableAPIControllerGet1Status299() *GeneralStationTimetableAPIControllerGet1Status299

NewGeneralStationTimetableAPIControllerGet1Status299 creates a GeneralStationTimetableAPIControllerGet1Status299 with default headers values

func (*GeneralStationTimetableAPIControllerGet1Status299) Error added in v0.12.0

func (*GeneralStationTimetableAPIControllerGet1Status299) GetPayload added in v0.12.0

type GeneralStationTimetableAPIControllerGetNotModified added in v0.9.0

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

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

func NewGeneralStationTimetableAPIControllerGetNotModified added in v0.9.0

func NewGeneralStationTimetableAPIControllerGetNotModified() *GeneralStationTimetableAPIControllerGetNotModified

NewGeneralStationTimetableAPIControllerGetNotModified creates a GeneralStationTimetableAPIControllerGetNotModified with default headers values

func (*GeneralStationTimetableAPIControllerGetNotModified) Error added in v0.9.0

type GeneralStationTimetableAPIControllerGetOK

GeneralStationTimetableAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewGeneralStationTimetableAPIControllerGetOK

func NewGeneralStationTimetableAPIControllerGetOK() *GeneralStationTimetableAPIControllerGetOK

NewGeneralStationTimetableAPIControllerGetOK creates a GeneralStationTimetableAPIControllerGetOK with default headers values

func (*GeneralStationTimetableAPIControllerGetOK) Error

type GeneralStationTimetableAPIControllerGetParams

type GeneralStationTimetableAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

GeneralStationTimetableAPIControllerGetParams contains all the parameters to send to the API endpoint

for the general station timetable Api controller get operation.

Typically these are written to a http.Request.

func NewGeneralStationTimetableAPIControllerGetParams

func NewGeneralStationTimetableAPIControllerGetParams() *GeneralStationTimetableAPIControllerGetParams

NewGeneralStationTimetableAPIControllerGetParams creates a new GeneralStationTimetableAPIControllerGetParams 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 NewGeneralStationTimetableAPIControllerGetParamsWithContext

func NewGeneralStationTimetableAPIControllerGetParamsWithContext(ctx context.Context) *GeneralStationTimetableAPIControllerGetParams

NewGeneralStationTimetableAPIControllerGetParamsWithContext creates a new GeneralStationTimetableAPIControllerGetParams object with the ability to set a context for a request.

func NewGeneralStationTimetableAPIControllerGetParamsWithHTTPClient

func NewGeneralStationTimetableAPIControllerGetParamsWithHTTPClient(client *http.Client) *GeneralStationTimetableAPIControllerGetParams

NewGeneralStationTimetableAPIControllerGetParamsWithHTTPClient creates a new GeneralStationTimetableAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewGeneralStationTimetableAPIControllerGetParamsWithTimeout

func NewGeneralStationTimetableAPIControllerGetParamsWithTimeout(timeout time.Duration) *GeneralStationTimetableAPIControllerGetParams

NewGeneralStationTimetableAPIControllerGetParamsWithTimeout creates a new GeneralStationTimetableAPIControllerGetParams object with the ability to set a timeout on a request.

func (*GeneralStationTimetableAPIControllerGetParams) SetContext

SetContext adds the context to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the general station timetable Api controller get params (not the query body).

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

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarCount

func (o *GeneralStationTimetableAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarFormat

func (o *GeneralStationTimetableAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetHealth added in v0.12.0

SetHealth adds the health to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) SetTimeout

SetTimeout adds the timeout to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithContext

WithContext adds the context to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the general station timetable Api controller get params (not the query body).

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

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the general station timetable Api controller get params

func (*GeneralStationTimetableAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GeneralStationTimetableAPIControllerGetReader

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

GeneralStationTimetableAPIControllerGetReader is a Reader for the GeneralStationTimetableAPIControllerGet structure.

func (*GeneralStationTimetableAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GeneralStationTimetableAPIControllerGetStatus299 added in v0.12.0

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

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

func NewGeneralStationTimetableAPIControllerGetStatus299 added in v0.12.0

func NewGeneralStationTimetableAPIControllerGetStatus299() *GeneralStationTimetableAPIControllerGetStatus299

NewGeneralStationTimetableAPIControllerGetStatus299 creates a GeneralStationTimetableAPIControllerGetStatus299 with default headers values

func (*GeneralStationTimetableAPIControllerGetStatus299) Error added in v0.12.0

func (*GeneralStationTimetableAPIControllerGetStatus299) GetPayload added in v0.12.0

type GeneralTrainTimetableAPIControllerGet1NotModified added in v0.9.0

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

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

func NewGeneralTrainTimetableAPIControllerGet1NotModified added in v0.9.0

func NewGeneralTrainTimetableAPIControllerGet1NotModified() *GeneralTrainTimetableAPIControllerGet1NotModified

NewGeneralTrainTimetableAPIControllerGet1NotModified creates a GeneralTrainTimetableAPIControllerGet1NotModified with default headers values

func (*GeneralTrainTimetableAPIControllerGet1NotModified) Error added in v0.9.0

type GeneralTrainTimetableAPIControllerGet1OK

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

Success

func NewGeneralTrainTimetableAPIControllerGet1OK

func NewGeneralTrainTimetableAPIControllerGet1OK() *GeneralTrainTimetableAPIControllerGet1OK

NewGeneralTrainTimetableAPIControllerGet1OK creates a GeneralTrainTimetableAPIControllerGet1OK with default headers values

func (*GeneralTrainTimetableAPIControllerGet1OK) Error

type GeneralTrainTimetableAPIControllerGet1Params

type GeneralTrainTimetableAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

GeneralTrainTimetableAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the general train timetable Api controller get 1 operation.

Typically these are written to a http.Request.

func NewGeneralTrainTimetableAPIControllerGet1Params

func NewGeneralTrainTimetableAPIControllerGet1Params() *GeneralTrainTimetableAPIControllerGet1Params

NewGeneralTrainTimetableAPIControllerGet1Params creates a new GeneralTrainTimetableAPIControllerGet1Params 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 NewGeneralTrainTimetableAPIControllerGet1ParamsWithContext

func NewGeneralTrainTimetableAPIControllerGet1ParamsWithContext(ctx context.Context) *GeneralTrainTimetableAPIControllerGet1Params

NewGeneralTrainTimetableAPIControllerGet1ParamsWithContext creates a new GeneralTrainTimetableAPIControllerGet1Params object with the ability to set a context for a request.

func NewGeneralTrainTimetableAPIControllerGet1ParamsWithHTTPClient

func NewGeneralTrainTimetableAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *GeneralTrainTimetableAPIControllerGet1Params

NewGeneralTrainTimetableAPIControllerGet1ParamsWithHTTPClient creates a new GeneralTrainTimetableAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewGeneralTrainTimetableAPIControllerGet1ParamsWithTimeout

func NewGeneralTrainTimetableAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *GeneralTrainTimetableAPIControllerGet1Params

NewGeneralTrainTimetableAPIControllerGet1ParamsWithTimeout creates a new GeneralTrainTimetableAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*GeneralTrainTimetableAPIControllerGet1Params) SetContext

SetContext adds the context to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the general train timetable Api controller get 1 params (not the query body).

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

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarCount

func (o *GeneralTrainTimetableAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarFormat

func (o *GeneralTrainTimetableAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetHealth added in v0.12.0

SetHealth adds the health to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetTimeout

SetTimeout adds the timeout to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) SetTrainNo

SetTrainNo adds the trainNo to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithContext

WithContext adds the context to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the general train timetable Api controller get 1 params (not the query body).

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

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WithTrainNo

WithTrainNo adds the trainNo to the general train timetable Api controller get 1 params

func (*GeneralTrainTimetableAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GeneralTrainTimetableAPIControllerGet1Reader

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

GeneralTrainTimetableAPIControllerGet1Reader is a Reader for the GeneralTrainTimetableAPIControllerGet1 structure.

func (*GeneralTrainTimetableAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GeneralTrainTimetableAPIControllerGet1Status299 added in v0.12.0

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

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

func NewGeneralTrainTimetableAPIControllerGet1Status299 added in v0.12.0

func NewGeneralTrainTimetableAPIControllerGet1Status299() *GeneralTrainTimetableAPIControllerGet1Status299

NewGeneralTrainTimetableAPIControllerGet1Status299 creates a GeneralTrainTimetableAPIControllerGet1Status299 with default headers values

func (*GeneralTrainTimetableAPIControllerGet1Status299) Error added in v0.12.0

func (*GeneralTrainTimetableAPIControllerGet1Status299) GetPayload added in v0.12.0

type GeneralTrainTimetableAPIControllerGetNotModified added in v0.9.0

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

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

func NewGeneralTrainTimetableAPIControllerGetNotModified added in v0.9.0

func NewGeneralTrainTimetableAPIControllerGetNotModified() *GeneralTrainTimetableAPIControllerGetNotModified

NewGeneralTrainTimetableAPIControllerGetNotModified creates a GeneralTrainTimetableAPIControllerGetNotModified with default headers values

func (*GeneralTrainTimetableAPIControllerGetNotModified) Error added in v0.9.0

type GeneralTrainTimetableAPIControllerGetOK

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

Success

func NewGeneralTrainTimetableAPIControllerGetOK

func NewGeneralTrainTimetableAPIControllerGetOK() *GeneralTrainTimetableAPIControllerGetOK

NewGeneralTrainTimetableAPIControllerGetOK creates a GeneralTrainTimetableAPIControllerGetOK with default headers values

func (*GeneralTrainTimetableAPIControllerGetOK) Error

type GeneralTrainTimetableAPIControllerGetParams

type GeneralTrainTimetableAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

GeneralTrainTimetableAPIControllerGetParams contains all the parameters to send to the API endpoint

for the general train timetable Api controller get operation.

Typically these are written to a http.Request.

func NewGeneralTrainTimetableAPIControllerGetParams

func NewGeneralTrainTimetableAPIControllerGetParams() *GeneralTrainTimetableAPIControllerGetParams

NewGeneralTrainTimetableAPIControllerGetParams creates a new GeneralTrainTimetableAPIControllerGetParams 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 NewGeneralTrainTimetableAPIControllerGetParamsWithContext

func NewGeneralTrainTimetableAPIControllerGetParamsWithContext(ctx context.Context) *GeneralTrainTimetableAPIControllerGetParams

NewGeneralTrainTimetableAPIControllerGetParamsWithContext creates a new GeneralTrainTimetableAPIControllerGetParams object with the ability to set a context for a request.

func NewGeneralTrainTimetableAPIControllerGetParamsWithHTTPClient

func NewGeneralTrainTimetableAPIControllerGetParamsWithHTTPClient(client *http.Client) *GeneralTrainTimetableAPIControllerGetParams

NewGeneralTrainTimetableAPIControllerGetParamsWithHTTPClient creates a new GeneralTrainTimetableAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewGeneralTrainTimetableAPIControllerGetParamsWithTimeout

func NewGeneralTrainTimetableAPIControllerGetParamsWithTimeout(timeout time.Duration) *GeneralTrainTimetableAPIControllerGetParams

NewGeneralTrainTimetableAPIControllerGetParamsWithTimeout creates a new GeneralTrainTimetableAPIControllerGetParams object with the ability to set a timeout on a request.

func (*GeneralTrainTimetableAPIControllerGetParams) SetContext

SetContext adds the context to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the general train timetable Api controller get params (not the query body).

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

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarCount

func (o *GeneralTrainTimetableAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarFormat

func (o *GeneralTrainTimetableAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetHealth added in v0.12.0

SetHealth adds the health to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) SetTimeout

SetTimeout adds the timeout to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithContext

WithContext adds the context to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the general train timetable Api controller get params (not the query body).

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

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the general train timetable Api controller get params

func (*GeneralTrainTimetableAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GeneralTrainTimetableAPIControllerGetReader

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

GeneralTrainTimetableAPIControllerGetReader is a Reader for the GeneralTrainTimetableAPIControllerGet structure.

func (*GeneralTrainTimetableAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GeneralTrainTimetableAPIControllerGetStatus299 added in v0.12.0

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

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

func NewGeneralTrainTimetableAPIControllerGetStatus299 added in v0.12.0

func NewGeneralTrainTimetableAPIControllerGetStatus299() *GeneralTrainTimetableAPIControllerGetStatus299

NewGeneralTrainTimetableAPIControllerGetStatus299 creates a GeneralTrainTimetableAPIControllerGetStatus299 with default headers values

func (*GeneralTrainTimetableAPIControllerGetStatus299) Error added in v0.12.0

func (*GeneralTrainTimetableAPIControllerGetStatus299) GetPayload added in v0.12.0

type LineAPIControllerGetNotModified added in v0.9.0

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

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

func NewLineAPIControllerGetNotModified added in v0.9.0

func NewLineAPIControllerGetNotModified() *LineAPIControllerGetNotModified

NewLineAPIControllerGetNotModified creates a LineAPIControllerGetNotModified with default headers values

func (*LineAPIControllerGetNotModified) Error added in v0.9.0

type LineAPIControllerGetOK

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

Success

func NewLineAPIControllerGetOK

func NewLineAPIControllerGetOK() *LineAPIControllerGetOK

NewLineAPIControllerGetOK creates a LineAPIControllerGetOK with default headers values

func (*LineAPIControllerGetOK) Error

func (o *LineAPIControllerGetOK) Error() string

type LineAPIControllerGetParams

type LineAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

LineAPIControllerGetParams contains all the parameters to send to the API endpoint

for the line Api controller get operation.

Typically these are written to a http.Request.

func NewLineAPIControllerGetParams

func NewLineAPIControllerGetParams() *LineAPIControllerGetParams

NewLineAPIControllerGetParams creates a new LineAPIControllerGetParams 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 NewLineAPIControllerGetParamsWithContext

func NewLineAPIControllerGetParamsWithContext(ctx context.Context) *LineAPIControllerGetParams

NewLineAPIControllerGetParamsWithContext creates a new LineAPIControllerGetParams object with the ability to set a context for a request.

func NewLineAPIControllerGetParamsWithHTTPClient

func NewLineAPIControllerGetParamsWithHTTPClient(client *http.Client) *LineAPIControllerGetParams

NewLineAPIControllerGetParamsWithHTTPClient creates a new LineAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewLineAPIControllerGetParamsWithTimeout

func NewLineAPIControllerGetParamsWithTimeout(timeout time.Duration) *LineAPIControllerGetParams

NewLineAPIControllerGetParamsWithTimeout creates a new LineAPIControllerGetParams object with the ability to set a timeout on a request.

func (*LineAPIControllerGetParams) SetContext

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

SetContext adds the context to the line Api controller get params

func (*LineAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *LineAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the line Api controller get params (not the query body).

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

func (*LineAPIControllerGetParams) SetDollarCount

func (o *LineAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the line Api controller get params

func (*LineAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the line Api controller get params

func (*LineAPIControllerGetParams) SetDollarFormat

func (o *LineAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the line Api controller get params

func (*LineAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the line Api controller get params

func (*LineAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the line Api controller get params

func (*LineAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the line Api controller get params

func (*LineAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the line Api controller get params

func (*LineAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the line Api controller get params

func (*LineAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the line Api controller get params

func (*LineAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the line Api controller get params

func (*LineAPIControllerGetParams) WithContext

WithContext adds the context to the line Api controller get params

func (*LineAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the line Api controller get params (not the query body).

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

func (*LineAPIControllerGetParams) WithDollarCount

func (o *LineAPIControllerGetParams) WithDollarCount(dollarCount *bool) *LineAPIControllerGetParams

WithDollarCount adds the dollarCount to the line Api controller get params

func (*LineAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the line Api controller get params

func (*LineAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the line Api controller get params

func (*LineAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the line Api controller get params

func (*LineAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the line Api controller get params

func (*LineAPIControllerGetParams) WithDollarSkip

func (o *LineAPIControllerGetParams) WithDollarSkip(dollarSkip *string) *LineAPIControllerGetParams

WithDollarSkip adds the dollarSkip to the line Api controller get params

func (*LineAPIControllerGetParams) WithDollarTop

func (o *LineAPIControllerGetParams) WithDollarTop(dollarTop *int64) *LineAPIControllerGetParams

WithDollarTop adds the dollarTop to the line Api controller get params

func (*LineAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the line Api controller get params

func (*LineAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the line Api controller get params

func (*LineAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the line Api controller get params

func (*LineAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LineAPIControllerGetReader

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

LineAPIControllerGetReader is a Reader for the LineAPIControllerGet structure.

func (*LineAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LineAPIControllerGetStatus299 added in v0.12.0

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

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

func NewLineAPIControllerGetStatus299 added in v0.12.0

func NewLineAPIControllerGetStatus299() *LineAPIControllerGetStatus299

NewLineAPIControllerGetStatus299 creates a LineAPIControllerGetStatus299 with default headers values

func (*LineAPIControllerGetStatus299) Error added in v0.12.0

func (*LineAPIControllerGetStatus299) GetPayload added in v0.12.0

type LineNetworkAPIControllerGetNotModified added in v0.9.0

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

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

func NewLineNetworkAPIControllerGetNotModified added in v0.9.0

func NewLineNetworkAPIControllerGetNotModified() *LineNetworkAPIControllerGetNotModified

NewLineNetworkAPIControllerGetNotModified creates a LineNetworkAPIControllerGetNotModified with default headers values

func (*LineNetworkAPIControllerGetNotModified) Error added in v0.9.0

type LineNetworkAPIControllerGetOK added in v0.3.0

LineNetworkAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewLineNetworkAPIControllerGetOK added in v0.3.0

func NewLineNetworkAPIControllerGetOK() *LineNetworkAPIControllerGetOK

NewLineNetworkAPIControllerGetOK creates a LineNetworkAPIControllerGetOK with default headers values

func (*LineNetworkAPIControllerGetOK) Error added in v0.3.0

type LineNetworkAPIControllerGetParams added in v0.3.0

type LineNetworkAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

LineNetworkAPIControllerGetParams contains all the parameters to send to the API endpoint

for the line network Api controller get operation.

Typically these are written to a http.Request.

func NewLineNetworkAPIControllerGetParams added in v0.3.0

func NewLineNetworkAPIControllerGetParams() *LineNetworkAPIControllerGetParams

NewLineNetworkAPIControllerGetParams creates a new LineNetworkAPIControllerGetParams 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 NewLineNetworkAPIControllerGetParamsWithContext added in v0.3.0

func NewLineNetworkAPIControllerGetParamsWithContext(ctx context.Context) *LineNetworkAPIControllerGetParams

NewLineNetworkAPIControllerGetParamsWithContext creates a new LineNetworkAPIControllerGetParams object with the ability to set a context for a request.

func NewLineNetworkAPIControllerGetParamsWithHTTPClient added in v0.3.0

func NewLineNetworkAPIControllerGetParamsWithHTTPClient(client *http.Client) *LineNetworkAPIControllerGetParams

NewLineNetworkAPIControllerGetParamsWithHTTPClient creates a new LineNetworkAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewLineNetworkAPIControllerGetParamsWithTimeout added in v0.3.0

func NewLineNetworkAPIControllerGetParamsWithTimeout(timeout time.Duration) *LineNetworkAPIControllerGetParams

NewLineNetworkAPIControllerGetParamsWithTimeout creates a new LineNetworkAPIControllerGetParams object with the ability to set a timeout on a request.

func (*LineNetworkAPIControllerGetParams) SetContext added in v0.3.0

SetContext adds the context to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *LineNetworkAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the line network Api controller get params (not the query body).

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

func (*LineNetworkAPIControllerGetParams) SetDollarCount added in v0.3.0

func (o *LineNetworkAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDollarFilter added in v0.3.0

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

SetDollarFilter adds the dollarFilter to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDollarFormat added in v0.3.0

func (o *LineNetworkAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDollarOrderby added in v0.3.0

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

SetDollarOrderby adds the dollarOrderby to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDollarSelect added in v0.3.0

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

SetDollarSelect adds the dollarSelect to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDollarSkip added in v0.3.0

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

SetDollarSkip adds the dollarSkip to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetDollarTop added in v0.3.0

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

SetDollarTop adds the dollarTop to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithContext added in v0.3.0

WithContext adds the context to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the line network Api controller get params (not the query body).

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

func (*LineNetworkAPIControllerGetParams) WithDollarCount added in v0.3.0

WithDollarCount adds the dollarCount to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDollarFilter added in v0.3.0

WithDollarFilter adds the dollarFilter to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDollarFormat added in v0.3.0

WithDollarFormat adds the dollarFormat to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDollarOrderby added in v0.3.0

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

WithDollarOrderby adds the dollarOrderby to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDollarSelect added in v0.3.0

WithDollarSelect adds the dollarSelect to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDollarSkip added in v0.3.0

WithDollarSkip adds the dollarSkip to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithDollarTop added in v0.3.0

WithDollarTop adds the dollarTop to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the line network Api controller get params

func (*LineNetworkAPIControllerGetParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type LineNetworkAPIControllerGetReader added in v0.3.0

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

LineNetworkAPIControllerGetReader is a Reader for the LineNetworkAPIControllerGet structure.

func (*LineNetworkAPIControllerGetReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type LineNetworkAPIControllerGetStatus299 added in v0.12.0

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

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

func NewLineNetworkAPIControllerGetStatus299 added in v0.12.0

func NewLineNetworkAPIControllerGetStatus299() *LineNetworkAPIControllerGetStatus299

NewLineNetworkAPIControllerGetStatus299 creates a LineNetworkAPIControllerGetStatus299 with default headers values

func (*LineNetworkAPIControllerGetStatus299) Error added in v0.12.0

func (*LineNetworkAPIControllerGetStatus299) GetPayload added in v0.12.0

type LineTransferAPIControllerGetNotModified added in v0.9.0

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

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

func NewLineTransferAPIControllerGetNotModified added in v0.9.0

func NewLineTransferAPIControllerGetNotModified() *LineTransferAPIControllerGetNotModified

NewLineTransferAPIControllerGetNotModified creates a LineTransferAPIControllerGetNotModified with default headers values

func (*LineTransferAPIControllerGetNotModified) Error added in v0.9.0

type LineTransferAPIControllerGetOK

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

Success

func NewLineTransferAPIControllerGetOK

func NewLineTransferAPIControllerGetOK() *LineTransferAPIControllerGetOK

NewLineTransferAPIControllerGetOK creates a LineTransferAPIControllerGetOK with default headers values

func (*LineTransferAPIControllerGetOK) Error

type LineTransferAPIControllerGetParams

type LineTransferAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

LineTransferAPIControllerGetParams contains all the parameters to send to the API endpoint

for the line transfer Api controller get operation.

Typically these are written to a http.Request.

func NewLineTransferAPIControllerGetParams

func NewLineTransferAPIControllerGetParams() *LineTransferAPIControllerGetParams

NewLineTransferAPIControllerGetParams creates a new LineTransferAPIControllerGetParams 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 NewLineTransferAPIControllerGetParamsWithContext

func NewLineTransferAPIControllerGetParamsWithContext(ctx context.Context) *LineTransferAPIControllerGetParams

NewLineTransferAPIControllerGetParamsWithContext creates a new LineTransferAPIControllerGetParams object with the ability to set a context for a request.

func NewLineTransferAPIControllerGetParamsWithHTTPClient

func NewLineTransferAPIControllerGetParamsWithHTTPClient(client *http.Client) *LineTransferAPIControllerGetParams

NewLineTransferAPIControllerGetParamsWithHTTPClient creates a new LineTransferAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewLineTransferAPIControllerGetParamsWithTimeout

func NewLineTransferAPIControllerGetParamsWithTimeout(timeout time.Duration) *LineTransferAPIControllerGetParams

NewLineTransferAPIControllerGetParamsWithTimeout creates a new LineTransferAPIControllerGetParams object with the ability to set a timeout on a request.

func (*LineTransferAPIControllerGetParams) SetContext

SetContext adds the context to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *LineTransferAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the line transfer Api controller get params (not the query body).

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

func (*LineTransferAPIControllerGetParams) SetDollarCount

func (o *LineTransferAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDollarFormat

func (o *LineTransferAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithContext

WithContext adds the context to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the line transfer Api controller get params (not the query body).

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

func (*LineTransferAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the line transfer Api controller get params

func (*LineTransferAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LineTransferAPIControllerGetReader

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

LineTransferAPIControllerGetReader is a Reader for the LineTransferAPIControllerGet structure.

func (*LineTransferAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LineTransferAPIControllerGetStatus299 added in v0.12.0

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

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

func NewLineTransferAPIControllerGetStatus299 added in v0.12.0

func NewLineTransferAPIControllerGetStatus299() *LineTransferAPIControllerGetStatus299

NewLineTransferAPIControllerGetStatus299 creates a LineTransferAPIControllerGetStatus299 with default headers values

func (*LineTransferAPIControllerGetStatus299) Error added in v0.12.0

func (*LineTransferAPIControllerGetStatus299) GetPayload added in v0.12.0

type NetworkAPIControllerGetNotModified added in v0.9.0

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

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

func NewNetworkAPIControllerGetNotModified added in v0.9.0

func NewNetworkAPIControllerGetNotModified() *NetworkAPIControllerGetNotModified

NewNetworkAPIControllerGetNotModified creates a NetworkAPIControllerGetNotModified with default headers values

func (*NetworkAPIControllerGetNotModified) Error added in v0.9.0

type NetworkAPIControllerGetOK

NetworkAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewNetworkAPIControllerGetOK

func NewNetworkAPIControllerGetOK() *NetworkAPIControllerGetOK

NewNetworkAPIControllerGetOK creates a NetworkAPIControllerGetOK with default headers values

func (*NetworkAPIControllerGetOK) Error

func (o *NetworkAPIControllerGetOK) Error() string

type NetworkAPIControllerGetParams

type NetworkAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

NetworkAPIControllerGetParams contains all the parameters to send to the API endpoint

for the network Api controller get operation.

Typically these are written to a http.Request.

func NewNetworkAPIControllerGetParams

func NewNetworkAPIControllerGetParams() *NetworkAPIControllerGetParams

NewNetworkAPIControllerGetParams creates a new NetworkAPIControllerGetParams 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 NewNetworkAPIControllerGetParamsWithContext

func NewNetworkAPIControllerGetParamsWithContext(ctx context.Context) *NetworkAPIControllerGetParams

NewNetworkAPIControllerGetParamsWithContext creates a new NetworkAPIControllerGetParams object with the ability to set a context for a request.

func NewNetworkAPIControllerGetParamsWithHTTPClient

func NewNetworkAPIControllerGetParamsWithHTTPClient(client *http.Client) *NetworkAPIControllerGetParams

NewNetworkAPIControllerGetParamsWithHTTPClient creates a new NetworkAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewNetworkAPIControllerGetParamsWithTimeout

func NewNetworkAPIControllerGetParamsWithTimeout(timeout time.Duration) *NetworkAPIControllerGetParams

NewNetworkAPIControllerGetParamsWithTimeout creates a new NetworkAPIControllerGetParams object with the ability to set a timeout on a request.

func (*NetworkAPIControllerGetParams) SetContext

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

SetContext adds the context to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *NetworkAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the network Api controller get params (not the query body).

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

func (*NetworkAPIControllerGetParams) SetDollarCount

func (o *NetworkAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDollarFormat

func (o *NetworkAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the network Api controller get params

func (*NetworkAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithContext

WithContext adds the context to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the network Api controller get params (not the query body).

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

func (*NetworkAPIControllerGetParams) WithDollarCount

func (o *NetworkAPIControllerGetParams) WithDollarCount(dollarCount *bool) *NetworkAPIControllerGetParams

WithDollarCount adds the dollarCount to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDollarSkip

func (o *NetworkAPIControllerGetParams) WithDollarSkip(dollarSkip *string) *NetworkAPIControllerGetParams

WithDollarSkip adds the dollarSkip to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the network Api controller get params

func (*NetworkAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the network Api controller get params

func (*NetworkAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NetworkAPIControllerGetReader

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

NetworkAPIControllerGetReader is a Reader for the NetworkAPIControllerGet structure.

func (*NetworkAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NetworkAPIControllerGetStatus299 added in v0.12.0

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

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

func NewNetworkAPIControllerGetStatus299 added in v0.12.0

func NewNetworkAPIControllerGetStatus299() *NetworkAPIControllerGetStatus299

NewNetworkAPIControllerGetStatus299 creates a NetworkAPIControllerGetStatus299 with default headers values

func (*NetworkAPIControllerGetStatus299) Error added in v0.12.0

func (*NetworkAPIControllerGetStatus299) GetPayload added in v0.12.0

type NewsAPIControllerGetNotModified added in v0.9.0

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

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

func NewNewsAPIControllerGetNotModified added in v0.9.0

func NewNewsAPIControllerGetNotModified() *NewsAPIControllerGetNotModified

NewNewsAPIControllerGetNotModified creates a NewsAPIControllerGetNotModified with default headers values

func (*NewsAPIControllerGetNotModified) Error added in v0.9.0

type NewsAPIControllerGetOK

NewsAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewNewsAPIControllerGetOK

func NewNewsAPIControllerGetOK() *NewsAPIControllerGetOK

NewNewsAPIControllerGetOK creates a NewsAPIControllerGetOK with default headers values

func (*NewsAPIControllerGetOK) Error

func (o *NewsAPIControllerGetOK) Error() string

type NewsAPIControllerGetParams

type NewsAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

NewsAPIControllerGetParams contains all the parameters to send to the API endpoint

for the news Api controller get operation.

Typically these are written to a http.Request.

func NewNewsAPIControllerGetParams

func NewNewsAPIControllerGetParams() *NewsAPIControllerGetParams

NewNewsAPIControllerGetParams creates a new NewsAPIControllerGetParams 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 NewNewsAPIControllerGetParamsWithContext

func NewNewsAPIControllerGetParamsWithContext(ctx context.Context) *NewsAPIControllerGetParams

NewNewsAPIControllerGetParamsWithContext creates a new NewsAPIControllerGetParams object with the ability to set a context for a request.

func NewNewsAPIControllerGetParamsWithHTTPClient

func NewNewsAPIControllerGetParamsWithHTTPClient(client *http.Client) *NewsAPIControllerGetParams

NewNewsAPIControllerGetParamsWithHTTPClient creates a new NewsAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewNewsAPIControllerGetParamsWithTimeout

func NewNewsAPIControllerGetParamsWithTimeout(timeout time.Duration) *NewsAPIControllerGetParams

NewNewsAPIControllerGetParamsWithTimeout creates a new NewsAPIControllerGetParams object with the ability to set a timeout on a request.

func (*NewsAPIControllerGetParams) SetContext

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

SetContext adds the context to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *NewsAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the news Api controller get params (not the query body).

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

func (*NewsAPIControllerGetParams) SetDollarCount

func (o *NewsAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDollarFormat

func (o *NewsAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the news Api controller get params

func (*NewsAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the news Api controller get params

func (*NewsAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the news Api controller get params

func (*NewsAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the news Api controller get params

func (*NewsAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the news Api controller get params

func (*NewsAPIControllerGetParams) WithContext

WithContext adds the context to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the news Api controller get params (not the query body).

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

func (*NewsAPIControllerGetParams) WithDollarCount

func (o *NewsAPIControllerGetParams) WithDollarCount(dollarCount *bool) *NewsAPIControllerGetParams

WithDollarCount adds the dollarCount to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDollarSkip

func (o *NewsAPIControllerGetParams) WithDollarSkip(dollarSkip *string) *NewsAPIControllerGetParams

WithDollarSkip adds the dollarSkip to the news Api controller get params

func (*NewsAPIControllerGetParams) WithDollarTop

func (o *NewsAPIControllerGetParams) WithDollarTop(dollarTop *int64) *NewsAPIControllerGetParams

WithDollarTop adds the dollarTop to the news Api controller get params

func (*NewsAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the news Api controller get params

func (*NewsAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the news Api controller get params

func (*NewsAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the news Api controller get params

func (*NewsAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NewsAPIControllerGetReader

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

NewsAPIControllerGetReader is a Reader for the NewsAPIControllerGet structure.

func (*NewsAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type NewsAPIControllerGetStatus299 added in v0.12.0

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

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

func NewNewsAPIControllerGetStatus299 added in v0.12.0

func NewNewsAPIControllerGetStatus299() *NewsAPIControllerGetStatus299

NewNewsAPIControllerGetStatus299 creates a NewsAPIControllerGetStatus299 with default headers values

func (*NewsAPIControllerGetStatus299) Error added in v0.12.0

func (*NewsAPIControllerGetStatus299) GetPayload added in v0.12.0

type ODFareAPIControllerAPIControllerGet1NotModified added in v0.9.0

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

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

func NewODFareAPIControllerAPIControllerGet1NotModified added in v0.9.0

func NewODFareAPIControllerAPIControllerGet1NotModified() *ODFareAPIControllerAPIControllerGet1NotModified

NewODFareAPIControllerAPIControllerGet1NotModified creates a ODFareAPIControllerAPIControllerGet1NotModified with default headers values

func (*ODFareAPIControllerAPIControllerGet1NotModified) Error added in v0.9.0

type ODFareAPIControllerAPIControllerGet1OK

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

Success

func NewODFareAPIControllerAPIControllerGet1OK

func NewODFareAPIControllerAPIControllerGet1OK() *ODFareAPIControllerAPIControllerGet1OK

NewODFareAPIControllerAPIControllerGet1OK creates a ODFareAPIControllerAPIControllerGet1OK with default headers values

func (*ODFareAPIControllerAPIControllerGet1OK) Error

type ODFareAPIControllerAPIControllerGet1Params

type ODFareAPIControllerAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

ODFareAPIControllerAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the o d fare Api controller Api controller get 1 operation.

Typically these are written to a http.Request.

func NewODFareAPIControllerAPIControllerGet1Params

func NewODFareAPIControllerAPIControllerGet1Params() *ODFareAPIControllerAPIControllerGet1Params

NewODFareAPIControllerAPIControllerGet1Params creates a new ODFareAPIControllerAPIControllerGet1Params 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 NewODFareAPIControllerAPIControllerGet1ParamsWithContext

func NewODFareAPIControllerAPIControllerGet1ParamsWithContext(ctx context.Context) *ODFareAPIControllerAPIControllerGet1Params

NewODFareAPIControllerAPIControllerGet1ParamsWithContext creates a new ODFareAPIControllerAPIControllerGet1Params object with the ability to set a context for a request.

func NewODFareAPIControllerAPIControllerGet1ParamsWithHTTPClient

func NewODFareAPIControllerAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *ODFareAPIControllerAPIControllerGet1Params

NewODFareAPIControllerAPIControllerGet1ParamsWithHTTPClient creates a new ODFareAPIControllerAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewODFareAPIControllerAPIControllerGet1ParamsWithTimeout

func NewODFareAPIControllerAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *ODFareAPIControllerAPIControllerGet1Params

NewODFareAPIControllerAPIControllerGet1ParamsWithTimeout creates a new ODFareAPIControllerAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*ODFareAPIControllerAPIControllerGet1Params) SetContext

SetContext adds the context to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the o d fare Api controller Api controller get 1 params (not the query body).

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

func (*ODFareAPIControllerAPIControllerGet1Params) SetDestinationStationID

func (o *ODFareAPIControllerAPIControllerGet1Params) SetDestinationStationID(destinationStationID string)

SetDestinationStationID adds the destinationStationId to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarCount

func (o *ODFareAPIControllerAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarFormat

func (o *ODFareAPIControllerAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetOriginStationID

func (o *ODFareAPIControllerAPIControllerGet1Params) SetOriginStationID(originStationID string)

SetOriginStationID adds the originStationId to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) SetTimeout

SetTimeout adds the timeout to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithContext

WithContext adds the context to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the o d fare Api controller Api controller get 1 params (not the query body).

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

func (*ODFareAPIControllerAPIControllerGet1Params) WithDestinationStationID

func (o *ODFareAPIControllerAPIControllerGet1Params) WithDestinationStationID(destinationStationID string) *ODFareAPIControllerAPIControllerGet1Params

WithDestinationStationID adds the destinationStationID to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithOriginStationID

WithOriginStationID adds the originStationID to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the o d fare Api controller Api controller get 1 params

func (*ODFareAPIControllerAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ODFareAPIControllerAPIControllerGet1Reader

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

ODFareAPIControllerAPIControllerGet1Reader is a Reader for the ODFareAPIControllerAPIControllerGet1 structure.

func (*ODFareAPIControllerAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ODFareAPIControllerAPIControllerGet1Status299 added in v0.12.0

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

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

func NewODFareAPIControllerAPIControllerGet1Status299 added in v0.12.0

func NewODFareAPIControllerAPIControllerGet1Status299() *ODFareAPIControllerAPIControllerGet1Status299

NewODFareAPIControllerAPIControllerGet1Status299 creates a ODFareAPIControllerAPIControllerGet1Status299 with default headers values

func (*ODFareAPIControllerAPIControllerGet1Status299) Error added in v0.12.0

func (*ODFareAPIControllerAPIControllerGet1Status299) GetPayload added in v0.12.0

type ODFareAPIControllerAPIControllerGetOK

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

Gzipped Attachment Response

func NewODFareAPIControllerAPIControllerGetOK

func NewODFareAPIControllerAPIControllerGetOK() *ODFareAPIControllerAPIControllerGetOK

NewODFareAPIControllerAPIControllerGetOK creates a ODFareAPIControllerAPIControllerGetOK with default headers values

func (*ODFareAPIControllerAPIControllerGetOK) Error

type ODFareAPIControllerAPIControllerGetParams

type ODFareAPIControllerAPIControllerGetParams struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* Health.

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

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

ODFareAPIControllerAPIControllerGetParams contains all the parameters to send to the API endpoint

for the o d fare Api controller Api controller get operation.

Typically these are written to a http.Request.

func NewODFareAPIControllerAPIControllerGetParams

func NewODFareAPIControllerAPIControllerGetParams() *ODFareAPIControllerAPIControllerGetParams

NewODFareAPIControllerAPIControllerGetParams creates a new ODFareAPIControllerAPIControllerGetParams 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 NewODFareAPIControllerAPIControllerGetParamsWithContext

func NewODFareAPIControllerAPIControllerGetParamsWithContext(ctx context.Context) *ODFareAPIControllerAPIControllerGetParams

NewODFareAPIControllerAPIControllerGetParamsWithContext creates a new ODFareAPIControllerAPIControllerGetParams object with the ability to set a context for a request.

func NewODFareAPIControllerAPIControllerGetParamsWithHTTPClient

func NewODFareAPIControllerAPIControllerGetParamsWithHTTPClient(client *http.Client) *ODFareAPIControllerAPIControllerGetParams

NewODFareAPIControllerAPIControllerGetParamsWithHTTPClient creates a new ODFareAPIControllerAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewODFareAPIControllerAPIControllerGetParamsWithTimeout

func NewODFareAPIControllerAPIControllerGetParamsWithTimeout(timeout time.Duration) *ODFareAPIControllerAPIControllerGetParams

NewODFareAPIControllerAPIControllerGetParamsWithTimeout creates a new ODFareAPIControllerAPIControllerGetParams object with the ability to set a timeout on a request.

func (*ODFareAPIControllerAPIControllerGetParams) SetContext

SetContext adds the context to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the o d fare Api controller Api controller get params (not the query body).

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

func (*ODFareAPIControllerAPIControllerGetParams) SetDollarFormat added in v0.11.0

func (o *ODFareAPIControllerAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) SetTimeout

SetTimeout adds the timeout to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) WithContext

WithContext adds the context to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the o d fare Api controller Api controller get params (not the query body).

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

func (*ODFareAPIControllerAPIControllerGetParams) WithDollarFormat added in v0.11.0

WithDollarFormat adds the dollarFormat to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the o d fare Api controller Api controller get params

func (*ODFareAPIControllerAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ODFareAPIControllerAPIControllerGetReader

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

ODFareAPIControllerAPIControllerGetReader is a Reader for the ODFareAPIControllerAPIControllerGet structure.

func (*ODFareAPIControllerAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ODFareAPIControllerAPIControllerGetStatus299 added in v0.12.0

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

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

func NewODFareAPIControllerAPIControllerGetStatus299 added in v0.12.0

func NewODFareAPIControllerAPIControllerGetStatus299() *ODFareAPIControllerAPIControllerGetStatus299

NewODFareAPIControllerAPIControllerGetStatus299 creates a ODFareAPIControllerAPIControllerGetStatus299 with default headers values

func (*ODFareAPIControllerAPIControllerGetStatus299) Error added in v0.12.0

func (*ODFareAPIControllerAPIControllerGetStatus299) GetPayload added in v0.12.0

type OperatorAPIControllerGetNotModified added in v0.9.0

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

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

func NewOperatorAPIControllerGetNotModified added in v0.9.0

func NewOperatorAPIControllerGetNotModified() *OperatorAPIControllerGetNotModified

NewOperatorAPIControllerGetNotModified creates a OperatorAPIControllerGetNotModified with default headers values

func (*OperatorAPIControllerGetNotModified) Error added in v0.9.0

type OperatorAPIControllerGetOK added in v0.3.0

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

Success

func NewOperatorAPIControllerGetOK added in v0.3.0

func NewOperatorAPIControllerGetOK() *OperatorAPIControllerGetOK

NewOperatorAPIControllerGetOK creates a OperatorAPIControllerGetOK with default headers values

func (*OperatorAPIControllerGetOK) Error added in v0.3.0

func (*OperatorAPIControllerGetOK) GetPayload added in v0.3.0

type OperatorAPIControllerGetParams added in v0.3.0

type OperatorAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

OperatorAPIControllerGetParams contains all the parameters to send to the API endpoint

for the operator Api controller get operation.

Typically these are written to a http.Request.

func NewOperatorAPIControllerGetParams added in v0.3.0

func NewOperatorAPIControllerGetParams() *OperatorAPIControllerGetParams

NewOperatorAPIControllerGetParams creates a new OperatorAPIControllerGetParams 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 NewOperatorAPIControllerGetParamsWithContext added in v0.3.0

func NewOperatorAPIControllerGetParamsWithContext(ctx context.Context) *OperatorAPIControllerGetParams

NewOperatorAPIControllerGetParamsWithContext creates a new OperatorAPIControllerGetParams object with the ability to set a context for a request.

func NewOperatorAPIControllerGetParamsWithHTTPClient added in v0.3.0

func NewOperatorAPIControllerGetParamsWithHTTPClient(client *http.Client) *OperatorAPIControllerGetParams

NewOperatorAPIControllerGetParamsWithHTTPClient creates a new OperatorAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewOperatorAPIControllerGetParamsWithTimeout added in v0.3.0

func NewOperatorAPIControllerGetParamsWithTimeout(timeout time.Duration) *OperatorAPIControllerGetParams

NewOperatorAPIControllerGetParamsWithTimeout creates a new OperatorAPIControllerGetParams object with the ability to set a timeout on a request.

func (*OperatorAPIControllerGetParams) SetContext added in v0.3.0

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

SetContext adds the context to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *OperatorAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the operator Api controller get params (not the query body).

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

func (*OperatorAPIControllerGetParams) SetDollarCount added in v0.3.0

func (o *OperatorAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDollarFilter added in v0.3.0

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

SetDollarFilter adds the dollarFilter to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDollarFormat added in v0.3.0

func (o *OperatorAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDollarOrderby added in v0.3.0

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

SetDollarOrderby adds the dollarOrderby to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDollarSelect added in v0.3.0

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

SetDollarSelect adds the dollarSelect to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDollarSkip added in v0.3.0

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

SetDollarSkip adds the dollarSkip to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetDollarTop added in v0.3.0

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

SetDollarTop adds the dollarTop to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetHTTPClient added in v0.3.0

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

SetHTTPClient adds the HTTPClient to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the operator Api controller get params

func (*OperatorAPIControllerGetParams) SetTimeout added in v0.3.0

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

SetTimeout adds the timeout to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithContext added in v0.3.0

WithContext adds the context to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the operator Api controller get params (not the query body).

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

func (*OperatorAPIControllerGetParams) WithDollarCount added in v0.3.0

func (o *OperatorAPIControllerGetParams) WithDollarCount(dollarCount *bool) *OperatorAPIControllerGetParams

WithDollarCount adds the dollarCount to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDollarFilter added in v0.3.0

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

WithDollarFilter adds the dollarFilter to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDollarFormat added in v0.3.0

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

WithDollarFormat adds the dollarFormat to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDollarOrderby added in v0.3.0

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

WithDollarOrderby adds the dollarOrderby to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDollarSelect added in v0.3.0

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

WithDollarSelect adds the dollarSelect to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDollarSkip added in v0.3.0

WithDollarSkip adds the dollarSkip to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithDollarTop added in v0.3.0

WithDollarTop adds the dollarTop to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithHTTPClient added in v0.3.0

WithHTTPClient adds the HTTPClient to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WithTimeout added in v0.3.0

WithTimeout adds the timeout to the operator Api controller get params

func (*OperatorAPIControllerGetParams) WriteToRequest added in v0.3.0

WriteToRequest writes these params to a swagger request

type OperatorAPIControllerGetReader added in v0.3.0

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

OperatorAPIControllerGetReader is a Reader for the OperatorAPIControllerGet structure.

func (*OperatorAPIControllerGetReader) ReadResponse added in v0.3.0

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

ReadResponse reads a server response into the received o.

type OperatorAPIControllerGetStatus299 added in v0.12.0

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

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

func NewOperatorAPIControllerGetStatus299 added in v0.12.0

func NewOperatorAPIControllerGetStatus299() *OperatorAPIControllerGetStatus299

NewOperatorAPIControllerGetStatus299 creates a OperatorAPIControllerGetStatus299 with default headers values

func (*OperatorAPIControllerGetStatus299) Error added in v0.12.0

func (*OperatorAPIControllerGetStatus299) GetPayload added in v0.12.0

type ShapeAPIControllerGetNotModified added in v0.9.0

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

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

func NewShapeAPIControllerGetNotModified added in v0.9.0

func NewShapeAPIControllerGetNotModified() *ShapeAPIControllerGetNotModified

NewShapeAPIControllerGetNotModified creates a ShapeAPIControllerGetNotModified with default headers values

func (*ShapeAPIControllerGetNotModified) Error added in v0.9.0

type ShapeAPIControllerGetOK

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

Success

func NewShapeAPIControllerGetOK

func NewShapeAPIControllerGetOK() *ShapeAPIControllerGetOK

NewShapeAPIControllerGetOK creates a ShapeAPIControllerGetOK with default headers values

func (*ShapeAPIControllerGetOK) Error

func (o *ShapeAPIControllerGetOK) Error() string

type ShapeAPIControllerGetParams

type ShapeAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

ShapeAPIControllerGetParams contains all the parameters to send to the API endpoint

for the shape Api controller get operation.

Typically these are written to a http.Request.

func NewShapeAPIControllerGetParams

func NewShapeAPIControllerGetParams() *ShapeAPIControllerGetParams

NewShapeAPIControllerGetParams creates a new ShapeAPIControllerGetParams 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 NewShapeAPIControllerGetParamsWithContext

func NewShapeAPIControllerGetParamsWithContext(ctx context.Context) *ShapeAPIControllerGetParams

NewShapeAPIControllerGetParamsWithContext creates a new ShapeAPIControllerGetParams object with the ability to set a context for a request.

func NewShapeAPIControllerGetParamsWithHTTPClient

func NewShapeAPIControllerGetParamsWithHTTPClient(client *http.Client) *ShapeAPIControllerGetParams

NewShapeAPIControllerGetParamsWithHTTPClient creates a new ShapeAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewShapeAPIControllerGetParamsWithTimeout

func NewShapeAPIControllerGetParamsWithTimeout(timeout time.Duration) *ShapeAPIControllerGetParams

NewShapeAPIControllerGetParamsWithTimeout creates a new ShapeAPIControllerGetParams object with the ability to set a timeout on a request.

func (*ShapeAPIControllerGetParams) SetContext

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

SetContext adds the context to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *ShapeAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the shape Api controller get params (not the query body).

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

func (*ShapeAPIControllerGetParams) SetDollarCount

func (o *ShapeAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDollarFormat

func (o *ShapeAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the shape Api controller get params

func (*ShapeAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithContext

WithContext adds the context to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the shape Api controller get params (not the query body).

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

func (*ShapeAPIControllerGetParams) WithDollarCount

func (o *ShapeAPIControllerGetParams) WithDollarCount(dollarCount *bool) *ShapeAPIControllerGetParams

WithDollarCount adds the dollarCount to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDollarSkip

func (o *ShapeAPIControllerGetParams) WithDollarSkip(dollarSkip *string) *ShapeAPIControllerGetParams

WithDollarSkip adds the dollarSkip to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithDollarTop

func (o *ShapeAPIControllerGetParams) WithDollarTop(dollarTop *int64) *ShapeAPIControllerGetParams

WithDollarTop adds the dollarTop to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the shape Api controller get params

func (*ShapeAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ShapeAPIControllerGetReader

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

ShapeAPIControllerGetReader is a Reader for the ShapeAPIControllerGet structure.

func (*ShapeAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShapeAPIControllerGetStatus299 added in v0.12.0

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

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

func NewShapeAPIControllerGetStatus299 added in v0.12.0

func NewShapeAPIControllerGetStatus299() *ShapeAPIControllerGetStatus299

NewShapeAPIControllerGetStatus299 creates a ShapeAPIControllerGetStatus299 with default headers values

func (*ShapeAPIControllerGetStatus299) Error added in v0.12.0

func (*ShapeAPIControllerGetStatus299) GetPayload added in v0.12.0

type SpecificTrainTimetableAPIControllerGet1NotModified added in v0.9.0

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

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

func NewSpecificTrainTimetableAPIControllerGet1NotModified added in v0.9.0

func NewSpecificTrainTimetableAPIControllerGet1NotModified() *SpecificTrainTimetableAPIControllerGet1NotModified

NewSpecificTrainTimetableAPIControllerGet1NotModified creates a SpecificTrainTimetableAPIControllerGet1NotModified with default headers values

func (*SpecificTrainTimetableAPIControllerGet1NotModified) Error added in v0.9.0

type SpecificTrainTimetableAPIControllerGet1OK

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

Success

func NewSpecificTrainTimetableAPIControllerGet1OK

func NewSpecificTrainTimetableAPIControllerGet1OK() *SpecificTrainTimetableAPIControllerGet1OK

NewSpecificTrainTimetableAPIControllerGet1OK creates a SpecificTrainTimetableAPIControllerGet1OK with default headers values

func (*SpecificTrainTimetableAPIControllerGet1OK) Error

type SpecificTrainTimetableAPIControllerGet1Params

type SpecificTrainTimetableAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

SpecificTrainTimetableAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the specific train timetable Api controller get 1 operation.

Typically these are written to a http.Request.

func NewSpecificTrainTimetableAPIControllerGet1Params

func NewSpecificTrainTimetableAPIControllerGet1Params() *SpecificTrainTimetableAPIControllerGet1Params

NewSpecificTrainTimetableAPIControllerGet1Params creates a new SpecificTrainTimetableAPIControllerGet1Params 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 NewSpecificTrainTimetableAPIControllerGet1ParamsWithContext

func NewSpecificTrainTimetableAPIControllerGet1ParamsWithContext(ctx context.Context) *SpecificTrainTimetableAPIControllerGet1Params

NewSpecificTrainTimetableAPIControllerGet1ParamsWithContext creates a new SpecificTrainTimetableAPIControllerGet1Params object with the ability to set a context for a request.

func NewSpecificTrainTimetableAPIControllerGet1ParamsWithHTTPClient

func NewSpecificTrainTimetableAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *SpecificTrainTimetableAPIControllerGet1Params

NewSpecificTrainTimetableAPIControllerGet1ParamsWithHTTPClient creates a new SpecificTrainTimetableAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewSpecificTrainTimetableAPIControllerGet1ParamsWithTimeout

func NewSpecificTrainTimetableAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *SpecificTrainTimetableAPIControllerGet1Params

NewSpecificTrainTimetableAPIControllerGet1ParamsWithTimeout creates a new SpecificTrainTimetableAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*SpecificTrainTimetableAPIControllerGet1Params) SetContext

SetContext adds the context to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the specific train timetable Api controller get 1 params (not the query body).

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

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarCount

func (o *SpecificTrainTimetableAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarFormat

func (o *SpecificTrainTimetableAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetHealth added in v0.12.0

SetHealth adds the health to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetTimeout

SetTimeout adds the timeout to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) SetTrainNo

SetTrainNo adds the trainNo to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithContext

WithContext adds the context to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the specific train timetable Api controller get 1 params (not the query body).

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

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WithTrainNo

WithTrainNo adds the trainNo to the specific train timetable Api controller get 1 params

func (*SpecificTrainTimetableAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type SpecificTrainTimetableAPIControllerGet1Reader

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

SpecificTrainTimetableAPIControllerGet1Reader is a Reader for the SpecificTrainTimetableAPIControllerGet1 structure.

func (*SpecificTrainTimetableAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SpecificTrainTimetableAPIControllerGet1Status299 added in v0.12.0

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

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

func NewSpecificTrainTimetableAPIControllerGet1Status299 added in v0.12.0

func NewSpecificTrainTimetableAPIControllerGet1Status299() *SpecificTrainTimetableAPIControllerGet1Status299

NewSpecificTrainTimetableAPIControllerGet1Status299 creates a SpecificTrainTimetableAPIControllerGet1Status299 with default headers values

func (*SpecificTrainTimetableAPIControllerGet1Status299) Error added in v0.12.0

func (*SpecificTrainTimetableAPIControllerGet1Status299) GetPayload added in v0.12.0

type SpecificTrainTimetableAPIControllerGetNotModified added in v0.9.0

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

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

func NewSpecificTrainTimetableAPIControllerGetNotModified added in v0.9.0

func NewSpecificTrainTimetableAPIControllerGetNotModified() *SpecificTrainTimetableAPIControllerGetNotModified

NewSpecificTrainTimetableAPIControllerGetNotModified creates a SpecificTrainTimetableAPIControllerGetNotModified with default headers values

func (*SpecificTrainTimetableAPIControllerGetNotModified) Error added in v0.9.0

type SpecificTrainTimetableAPIControllerGetOK

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

Success

func NewSpecificTrainTimetableAPIControllerGetOK

func NewSpecificTrainTimetableAPIControllerGetOK() *SpecificTrainTimetableAPIControllerGetOK

NewSpecificTrainTimetableAPIControllerGetOK creates a SpecificTrainTimetableAPIControllerGetOK with default headers values

func (*SpecificTrainTimetableAPIControllerGetOK) Error

type SpecificTrainTimetableAPIControllerGetParams

type SpecificTrainTimetableAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

SpecificTrainTimetableAPIControllerGetParams contains all the parameters to send to the API endpoint

for the specific train timetable Api controller get operation.

Typically these are written to a http.Request.

func NewSpecificTrainTimetableAPIControllerGetParams

func NewSpecificTrainTimetableAPIControllerGetParams() *SpecificTrainTimetableAPIControllerGetParams

NewSpecificTrainTimetableAPIControllerGetParams creates a new SpecificTrainTimetableAPIControllerGetParams 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 NewSpecificTrainTimetableAPIControllerGetParamsWithContext

func NewSpecificTrainTimetableAPIControllerGetParamsWithContext(ctx context.Context) *SpecificTrainTimetableAPIControllerGetParams

NewSpecificTrainTimetableAPIControllerGetParamsWithContext creates a new SpecificTrainTimetableAPIControllerGetParams object with the ability to set a context for a request.

func NewSpecificTrainTimetableAPIControllerGetParamsWithHTTPClient

func NewSpecificTrainTimetableAPIControllerGetParamsWithHTTPClient(client *http.Client) *SpecificTrainTimetableAPIControllerGetParams

NewSpecificTrainTimetableAPIControllerGetParamsWithHTTPClient creates a new SpecificTrainTimetableAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewSpecificTrainTimetableAPIControllerGetParamsWithTimeout

func NewSpecificTrainTimetableAPIControllerGetParamsWithTimeout(timeout time.Duration) *SpecificTrainTimetableAPIControllerGetParams

NewSpecificTrainTimetableAPIControllerGetParamsWithTimeout creates a new SpecificTrainTimetableAPIControllerGetParams object with the ability to set a timeout on a request.

func (*SpecificTrainTimetableAPIControllerGetParams) SetContext

SetContext adds the context to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDefaults added in v0.9.0

SetDefaults hydrates default values in the specific train timetable Api controller get params (not the query body).

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

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarCount

func (o *SpecificTrainTimetableAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarFormat

func (o *SpecificTrainTimetableAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetHealth added in v0.12.0

SetHealth adds the health to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) SetTimeout

SetTimeout adds the timeout to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithContext

WithContext adds the context to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the specific train timetable Api controller get params (not the query body).

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

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the specific train timetable Api controller get params

func (*SpecificTrainTimetableAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SpecificTrainTimetableAPIControllerGetReader

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

SpecificTrainTimetableAPIControllerGetReader is a Reader for the SpecificTrainTimetableAPIControllerGet structure.

func (*SpecificTrainTimetableAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SpecificTrainTimetableAPIControllerGetStatus299 added in v0.12.0

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

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

func NewSpecificTrainTimetableAPIControllerGetStatus299 added in v0.12.0

func NewSpecificTrainTimetableAPIControllerGetStatus299() *SpecificTrainTimetableAPIControllerGetStatus299

NewSpecificTrainTimetableAPIControllerGetStatus299 creates a SpecificTrainTimetableAPIControllerGetStatus299 with default headers values

func (*SpecificTrainTimetableAPIControllerGetStatus299) Error added in v0.12.0

func (*SpecificTrainTimetableAPIControllerGetStatus299) GetPayload added in v0.12.0

type StationAPIControllerGetNotModified added in v0.9.0

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

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

func NewStationAPIControllerGetNotModified added in v0.9.0

func NewStationAPIControllerGetNotModified() *StationAPIControllerGetNotModified

NewStationAPIControllerGetNotModified creates a StationAPIControllerGetNotModified with default headers values

func (*StationAPIControllerGetNotModified) Error added in v0.9.0

type StationAPIControllerGetOK

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

Success

func NewStationAPIControllerGetOK

func NewStationAPIControllerGetOK() *StationAPIControllerGetOK

NewStationAPIControllerGetOK creates a StationAPIControllerGetOK with default headers values

func (*StationAPIControllerGetOK) Error

func (o *StationAPIControllerGetOK) Error() string

type StationAPIControllerGetParams

type StationAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

	   空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100)
	*/
	DollarSpatialFilter *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

StationAPIControllerGetParams contains all the parameters to send to the API endpoint

for the station Api controller get operation.

Typically these are written to a http.Request.

func NewStationAPIControllerGetParams

func NewStationAPIControllerGetParams() *StationAPIControllerGetParams

NewStationAPIControllerGetParams creates a new StationAPIControllerGetParams 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 NewStationAPIControllerGetParamsWithContext

func NewStationAPIControllerGetParamsWithContext(ctx context.Context) *StationAPIControllerGetParams

NewStationAPIControllerGetParamsWithContext creates a new StationAPIControllerGetParams object with the ability to set a context for a request.

func NewStationAPIControllerGetParamsWithHTTPClient

func NewStationAPIControllerGetParamsWithHTTPClient(client *http.Client) *StationAPIControllerGetParams

NewStationAPIControllerGetParamsWithHTTPClient creates a new StationAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewStationAPIControllerGetParamsWithTimeout

func NewStationAPIControllerGetParamsWithTimeout(timeout time.Duration) *StationAPIControllerGetParams

NewStationAPIControllerGetParamsWithTimeout creates a new StationAPIControllerGetParams object with the ability to set a timeout on a request.

func (*StationAPIControllerGetParams) SetContext

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

SetContext adds the context to the station Api controller get params

func (*StationAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *StationAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the station Api controller get params (not the query body).

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

func (*StationAPIControllerGetParams) SetDollarCount

func (o *StationAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarFormat

func (o *StationAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarSpatialFilter added in v0.7.0

func (o *StationAPIControllerGetParams) SetDollarSpatialFilter(dollarSpatialFilter *string)

SetDollarSpatialFilter adds the dollarSpatialFilter to the station Api controller get params

func (*StationAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the station Api controller get params

func (*StationAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station Api controller get params

func (*StationAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the station Api controller get params

func (*StationAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the station Api controller get params

func (*StationAPIControllerGetParams) WithContext

WithContext adds the context to the station Api controller get params

func (*StationAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station Api controller get params (not the query body).

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

func (*StationAPIControllerGetParams) WithDollarCount

func (o *StationAPIControllerGetParams) WithDollarCount(dollarCount *bool) *StationAPIControllerGetParams

WithDollarCount adds the dollarCount to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarSkip

func (o *StationAPIControllerGetParams) WithDollarSkip(dollarSkip *string) *StationAPIControllerGetParams

WithDollarSkip adds the dollarSkip to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarSpatialFilter added in v0.7.0

func (o *StationAPIControllerGetParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *StationAPIControllerGetParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the station Api controller get params

func (*StationAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the station Api controller get params

func (*StationAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station Api controller get params

func (*StationAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the station Api controller get params

func (*StationAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the station Api controller get params

func (*StationAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationAPIControllerGetReader

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

StationAPIControllerGetReader is a Reader for the StationAPIControllerGet structure.

func (*StationAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationAPIControllerGetStatus299 added in v0.12.0

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

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

func NewStationAPIControllerGetStatus299 added in v0.12.0

func NewStationAPIControllerGetStatus299() *StationAPIControllerGetStatus299

NewStationAPIControllerGetStatus299 creates a StationAPIControllerGetStatus299 with default headers values

func (*StationAPIControllerGetStatus299) Error added in v0.12.0

func (*StationAPIControllerGetStatus299) GetPayload added in v0.12.0

type StationExitAPIControllerGetNotModified added in v0.9.0

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

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

func NewStationExitAPIControllerGetNotModified added in v0.9.0

func NewStationExitAPIControllerGetNotModified() *StationExitAPIControllerGetNotModified

NewStationExitAPIControllerGetNotModified creates a StationExitAPIControllerGetNotModified with default headers values

func (*StationExitAPIControllerGetNotModified) Error added in v0.9.0

type StationExitAPIControllerGetOK

StationExitAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewStationExitAPIControllerGetOK

func NewStationExitAPIControllerGetOK() *StationExitAPIControllerGetOK

NewStationExitAPIControllerGetOK creates a StationExitAPIControllerGetOK with default headers values

func (*StationExitAPIControllerGetOK) Error

type StationExitAPIControllerGetParams

type StationExitAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

StationExitAPIControllerGetParams contains all the parameters to send to the API endpoint

for the station exit Api controller get operation.

Typically these are written to a http.Request.

func NewStationExitAPIControllerGetParams

func NewStationExitAPIControllerGetParams() *StationExitAPIControllerGetParams

NewStationExitAPIControllerGetParams creates a new StationExitAPIControllerGetParams 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 NewStationExitAPIControllerGetParamsWithContext

func NewStationExitAPIControllerGetParamsWithContext(ctx context.Context) *StationExitAPIControllerGetParams

NewStationExitAPIControllerGetParamsWithContext creates a new StationExitAPIControllerGetParams object with the ability to set a context for a request.

func NewStationExitAPIControllerGetParamsWithHTTPClient

func NewStationExitAPIControllerGetParamsWithHTTPClient(client *http.Client) *StationExitAPIControllerGetParams

NewStationExitAPIControllerGetParamsWithHTTPClient creates a new StationExitAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewStationExitAPIControllerGetParamsWithTimeout

func NewStationExitAPIControllerGetParamsWithTimeout(timeout time.Duration) *StationExitAPIControllerGetParams

NewStationExitAPIControllerGetParamsWithTimeout creates a new StationExitAPIControllerGetParams object with the ability to set a timeout on a request.

func (*StationExitAPIControllerGetParams) SetContext

SetContext adds the context to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *StationExitAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the station exit Api controller get params (not the query body).

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

func (*StationExitAPIControllerGetParams) SetDollarCount

func (o *StationExitAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDollarFormat

func (o *StationExitAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithContext

WithContext adds the context to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station exit Api controller get params (not the query body).

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

func (*StationExitAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the station exit Api controller get params

func (*StationExitAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationExitAPIControllerGetReader

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

StationExitAPIControllerGetReader is a Reader for the StationExitAPIControllerGet structure.

func (*StationExitAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationExitAPIControllerGetStatus299 added in v0.12.0

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

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

func NewStationExitAPIControllerGetStatus299 added in v0.12.0

func NewStationExitAPIControllerGetStatus299() *StationExitAPIControllerGetStatus299

NewStationExitAPIControllerGetStatus299 creates a StationExitAPIControllerGetStatus299 with default headers values

func (*StationExitAPIControllerGetStatus299) Error added in v0.12.0

func (*StationExitAPIControllerGetStatus299) GetPayload added in v0.12.0

type StationFacilityAPIControllerGetNotModified added in v0.9.0

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

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

func NewStationFacilityAPIControllerGetNotModified added in v0.9.0

func NewStationFacilityAPIControllerGetNotModified() *StationFacilityAPIControllerGetNotModified

NewStationFacilityAPIControllerGetNotModified creates a StationFacilityAPIControllerGetNotModified with default headers values

func (*StationFacilityAPIControllerGetNotModified) Error added in v0.9.0

type StationFacilityAPIControllerGetOK

StationFacilityAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewStationFacilityAPIControllerGetOK

func NewStationFacilityAPIControllerGetOK() *StationFacilityAPIControllerGetOK

NewStationFacilityAPIControllerGetOK creates a StationFacilityAPIControllerGetOK with default headers values

func (*StationFacilityAPIControllerGetOK) Error

type StationFacilityAPIControllerGetParams

type StationFacilityAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

StationFacilityAPIControllerGetParams contains all the parameters to send to the API endpoint

for the station facility Api controller get operation.

Typically these are written to a http.Request.

func NewStationFacilityAPIControllerGetParams

func NewStationFacilityAPIControllerGetParams() *StationFacilityAPIControllerGetParams

NewStationFacilityAPIControllerGetParams creates a new StationFacilityAPIControllerGetParams 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 NewStationFacilityAPIControllerGetParamsWithContext

func NewStationFacilityAPIControllerGetParamsWithContext(ctx context.Context) *StationFacilityAPIControllerGetParams

NewStationFacilityAPIControllerGetParamsWithContext creates a new StationFacilityAPIControllerGetParams object with the ability to set a context for a request.

func NewStationFacilityAPIControllerGetParamsWithHTTPClient

func NewStationFacilityAPIControllerGetParamsWithHTTPClient(client *http.Client) *StationFacilityAPIControllerGetParams

NewStationFacilityAPIControllerGetParamsWithHTTPClient creates a new StationFacilityAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewStationFacilityAPIControllerGetParamsWithTimeout

func NewStationFacilityAPIControllerGetParamsWithTimeout(timeout time.Duration) *StationFacilityAPIControllerGetParams

NewStationFacilityAPIControllerGetParamsWithTimeout creates a new StationFacilityAPIControllerGetParams object with the ability to set a timeout on a request.

func (*StationFacilityAPIControllerGetParams) SetContext

SetContext adds the context to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *StationFacilityAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the station facility Api controller get params (not the query body).

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

func (*StationFacilityAPIControllerGetParams) SetDollarCount

func (o *StationFacilityAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDollarFormat

func (o *StationFacilityAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithContext

WithContext adds the context to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station facility Api controller get params (not the query body).

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

func (*StationFacilityAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the station facility Api controller get params

func (*StationFacilityAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationFacilityAPIControllerGetReader

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

StationFacilityAPIControllerGetReader is a Reader for the StationFacilityAPIControllerGet structure.

func (*StationFacilityAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationFacilityAPIControllerGetStatus299 added in v0.12.0

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

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

func NewStationFacilityAPIControllerGetStatus299 added in v0.12.0

func NewStationFacilityAPIControllerGetStatus299() *StationFacilityAPIControllerGetStatus299

NewStationFacilityAPIControllerGetStatus299 creates a StationFacilityAPIControllerGetStatus299 with default headers values

func (*StationFacilityAPIControllerGetStatus299) Error added in v0.12.0

func (*StationFacilityAPIControllerGetStatus299) GetPayload added in v0.12.0

type StationLiveBoardAPIControllerGet1NotModified added in v0.9.0

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

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

func NewStationLiveBoardAPIControllerGet1NotModified added in v0.9.0

func NewStationLiveBoardAPIControllerGet1NotModified() *StationLiveBoardAPIControllerGet1NotModified

NewStationLiveBoardAPIControllerGet1NotModified creates a StationLiveBoardAPIControllerGet1NotModified with default headers values

func (*StationLiveBoardAPIControllerGet1NotModified) Error added in v0.9.0

type StationLiveBoardAPIControllerGet1OK

StationLiveBoardAPIControllerGet1OK describes a response with status code 200, with default header values.

Success

func NewStationLiveBoardAPIControllerGet1OK

func NewStationLiveBoardAPIControllerGet1OK() *StationLiveBoardAPIControllerGet1OK

NewStationLiveBoardAPIControllerGet1OK creates a StationLiveBoardAPIControllerGet1OK with default headers values

func (*StationLiveBoardAPIControllerGet1OK) Error

type StationLiveBoardAPIControllerGet1Params

type StationLiveBoardAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

StationLiveBoardAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the station live board Api controller get 1 operation.

Typically these are written to a http.Request.

func NewStationLiveBoardAPIControllerGet1Params

func NewStationLiveBoardAPIControllerGet1Params() *StationLiveBoardAPIControllerGet1Params

NewStationLiveBoardAPIControllerGet1Params creates a new StationLiveBoardAPIControllerGet1Params 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 NewStationLiveBoardAPIControllerGet1ParamsWithContext

func NewStationLiveBoardAPIControllerGet1ParamsWithContext(ctx context.Context) *StationLiveBoardAPIControllerGet1Params

NewStationLiveBoardAPIControllerGet1ParamsWithContext creates a new StationLiveBoardAPIControllerGet1Params object with the ability to set a context for a request.

func NewStationLiveBoardAPIControllerGet1ParamsWithHTTPClient

func NewStationLiveBoardAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *StationLiveBoardAPIControllerGet1Params

NewStationLiveBoardAPIControllerGet1ParamsWithHTTPClient creates a new StationLiveBoardAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewStationLiveBoardAPIControllerGet1ParamsWithTimeout

func NewStationLiveBoardAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *StationLiveBoardAPIControllerGet1Params

NewStationLiveBoardAPIControllerGet1ParamsWithTimeout creates a new StationLiveBoardAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*StationLiveBoardAPIControllerGet1Params) SetContext

SetContext adds the context to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDefaults added in v0.9.0

func (o *StationLiveBoardAPIControllerGet1Params) SetDefaults()

SetDefaults hydrates default values in the station live board Api controller get 1 params (not the query body).

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

func (*StationLiveBoardAPIControllerGet1Params) SetDollarCount

func (o *StationLiveBoardAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDollarFormat

func (o *StationLiveBoardAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetStationID

func (o *StationLiveBoardAPIControllerGet1Params) SetStationID(stationID string)

SetStationID adds the stationId to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) SetTimeout

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

SetTimeout adds the timeout to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithContext

WithContext adds the context to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station live board Api controller get 1 params (not the query body).

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

func (*StationLiveBoardAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithStationID

WithStationID adds the stationID to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the station live board Api controller get 1 params

func (*StationLiveBoardAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationLiveBoardAPIControllerGet1Reader

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

StationLiveBoardAPIControllerGet1Reader is a Reader for the StationLiveBoardAPIControllerGet1 structure.

func (*StationLiveBoardAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationLiveBoardAPIControllerGet1Status299 added in v0.12.0

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

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

func NewStationLiveBoardAPIControllerGet1Status299 added in v0.12.0

func NewStationLiveBoardAPIControllerGet1Status299() *StationLiveBoardAPIControllerGet1Status299

NewStationLiveBoardAPIControllerGet1Status299 creates a StationLiveBoardAPIControllerGet1Status299 with default headers values

func (*StationLiveBoardAPIControllerGet1Status299) Error added in v0.12.0

func (*StationLiveBoardAPIControllerGet1Status299) GetPayload added in v0.12.0

type StationLiveBoardAPIControllerGetNotModified added in v0.9.0

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

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

func NewStationLiveBoardAPIControllerGetNotModified added in v0.9.0

func NewStationLiveBoardAPIControllerGetNotModified() *StationLiveBoardAPIControllerGetNotModified

NewStationLiveBoardAPIControllerGetNotModified creates a StationLiveBoardAPIControllerGetNotModified with default headers values

func (*StationLiveBoardAPIControllerGetNotModified) Error added in v0.9.0

type StationLiveBoardAPIControllerGetOK

StationLiveBoardAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewStationLiveBoardAPIControllerGetOK

func NewStationLiveBoardAPIControllerGetOK() *StationLiveBoardAPIControllerGetOK

NewStationLiveBoardAPIControllerGetOK creates a StationLiveBoardAPIControllerGetOK with default headers values

func (*StationLiveBoardAPIControllerGetOK) Error

type StationLiveBoardAPIControllerGetParams

type StationLiveBoardAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

StationLiveBoardAPIControllerGetParams contains all the parameters to send to the API endpoint

for the station live board Api controller get operation.

Typically these are written to a http.Request.

func NewStationLiveBoardAPIControllerGetParams

func NewStationLiveBoardAPIControllerGetParams() *StationLiveBoardAPIControllerGetParams

NewStationLiveBoardAPIControllerGetParams creates a new StationLiveBoardAPIControllerGetParams 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 NewStationLiveBoardAPIControllerGetParamsWithContext

func NewStationLiveBoardAPIControllerGetParamsWithContext(ctx context.Context) *StationLiveBoardAPIControllerGetParams

NewStationLiveBoardAPIControllerGetParamsWithContext creates a new StationLiveBoardAPIControllerGetParams object with the ability to set a context for a request.

func NewStationLiveBoardAPIControllerGetParamsWithHTTPClient

func NewStationLiveBoardAPIControllerGetParamsWithHTTPClient(client *http.Client) *StationLiveBoardAPIControllerGetParams

NewStationLiveBoardAPIControllerGetParamsWithHTTPClient creates a new StationLiveBoardAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewStationLiveBoardAPIControllerGetParamsWithTimeout

func NewStationLiveBoardAPIControllerGetParamsWithTimeout(timeout time.Duration) *StationLiveBoardAPIControllerGetParams

NewStationLiveBoardAPIControllerGetParamsWithTimeout creates a new StationLiveBoardAPIControllerGetParams object with the ability to set a timeout on a request.

func (*StationLiveBoardAPIControllerGetParams) SetContext

SetContext adds the context to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *StationLiveBoardAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the station live board Api controller get params (not the query body).

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

func (*StationLiveBoardAPIControllerGetParams) SetDollarCount

func (o *StationLiveBoardAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDollarFormat

func (o *StationLiveBoardAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithContext

WithContext adds the context to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station live board Api controller get params (not the query body).

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

func (*StationLiveBoardAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the station live board Api controller get params

func (*StationLiveBoardAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationLiveBoardAPIControllerGetReader

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

StationLiveBoardAPIControllerGetReader is a Reader for the StationLiveBoardAPIControllerGet structure.

func (*StationLiveBoardAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationLiveBoardAPIControllerGetStatus299 added in v0.12.0

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

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

func NewStationLiveBoardAPIControllerGetStatus299 added in v0.12.0

func NewStationLiveBoardAPIControllerGetStatus299() *StationLiveBoardAPIControllerGetStatus299

NewStationLiveBoardAPIControllerGetStatus299 creates a StationLiveBoardAPIControllerGetStatus299 with default headers values

func (*StationLiveBoardAPIControllerGetStatus299) Error added in v0.12.0

func (*StationLiveBoardAPIControllerGetStatus299) GetPayload added in v0.12.0

type StationOfLineAPIControllerGetNotModified added in v0.9.0

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

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

func NewStationOfLineAPIControllerGetNotModified added in v0.9.0

func NewStationOfLineAPIControllerGetNotModified() *StationOfLineAPIControllerGetNotModified

NewStationOfLineAPIControllerGetNotModified creates a StationOfLineAPIControllerGetNotModified with default headers values

func (*StationOfLineAPIControllerGetNotModified) Error added in v0.9.0

type StationOfLineAPIControllerGetOK

StationOfLineAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewStationOfLineAPIControllerGetOK

func NewStationOfLineAPIControllerGetOK() *StationOfLineAPIControllerGetOK

NewStationOfLineAPIControllerGetOK creates a StationOfLineAPIControllerGetOK with default headers values

func (*StationOfLineAPIControllerGetOK) Error

type StationOfLineAPIControllerGetParams

type StationOfLineAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

StationOfLineAPIControllerGetParams contains all the parameters to send to the API endpoint

for the station of line Api controller get operation.

Typically these are written to a http.Request.

func NewStationOfLineAPIControllerGetParams

func NewStationOfLineAPIControllerGetParams() *StationOfLineAPIControllerGetParams

NewStationOfLineAPIControllerGetParams creates a new StationOfLineAPIControllerGetParams 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 NewStationOfLineAPIControllerGetParamsWithContext

func NewStationOfLineAPIControllerGetParamsWithContext(ctx context.Context) *StationOfLineAPIControllerGetParams

NewStationOfLineAPIControllerGetParamsWithContext creates a new StationOfLineAPIControllerGetParams object with the ability to set a context for a request.

func NewStationOfLineAPIControllerGetParamsWithHTTPClient

func NewStationOfLineAPIControllerGetParamsWithHTTPClient(client *http.Client) *StationOfLineAPIControllerGetParams

NewStationOfLineAPIControllerGetParamsWithHTTPClient creates a new StationOfLineAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewStationOfLineAPIControllerGetParamsWithTimeout

func NewStationOfLineAPIControllerGetParamsWithTimeout(timeout time.Duration) *StationOfLineAPIControllerGetParams

NewStationOfLineAPIControllerGetParamsWithTimeout creates a new StationOfLineAPIControllerGetParams object with the ability to set a timeout on a request.

func (*StationOfLineAPIControllerGetParams) SetContext

SetContext adds the context to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *StationOfLineAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the station of line Api controller get params (not the query body).

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

func (*StationOfLineAPIControllerGetParams) SetDollarCount

func (o *StationOfLineAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDollarFormat

func (o *StationOfLineAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithContext

WithContext adds the context to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station of line Api controller get params (not the query body).

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

func (*StationOfLineAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the station of line Api controller get params

func (*StationOfLineAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationOfLineAPIControllerGetReader

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

StationOfLineAPIControllerGetReader is a Reader for the StationOfLineAPIControllerGet structure.

func (*StationOfLineAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationOfLineAPIControllerGetStatus299 added in v0.12.0

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

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

func NewStationOfLineAPIControllerGetStatus299 added in v0.12.0

func NewStationOfLineAPIControllerGetStatus299() *StationOfLineAPIControllerGetStatus299

NewStationOfLineAPIControllerGetStatus299 creates a StationOfLineAPIControllerGetStatus299 with default headers values

func (*StationOfLineAPIControllerGetStatus299) Error added in v0.12.0

func (*StationOfLineAPIControllerGetStatus299) GetPayload added in v0.12.0

type StationTransferAPIControllerGetNotModified added in v0.9.0

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

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

func NewStationTransferAPIControllerGetNotModified added in v0.9.0

func NewStationTransferAPIControllerGetNotModified() *StationTransferAPIControllerGetNotModified

NewStationTransferAPIControllerGetNotModified creates a StationTransferAPIControllerGetNotModified with default headers values

func (*StationTransferAPIControllerGetNotModified) Error added in v0.9.0

type StationTransferAPIControllerGetOK

StationTransferAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewStationTransferAPIControllerGetOK

func NewStationTransferAPIControllerGetOK() *StationTransferAPIControllerGetOK

NewStationTransferAPIControllerGetOK creates a StationTransferAPIControllerGetOK with default headers values

func (*StationTransferAPIControllerGetOK) Error

type StationTransferAPIControllerGetParams

type StationTransferAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

StationTransferAPIControllerGetParams contains all the parameters to send to the API endpoint

for the station transfer Api controller get operation.

Typically these are written to a http.Request.

func NewStationTransferAPIControllerGetParams

func NewStationTransferAPIControllerGetParams() *StationTransferAPIControllerGetParams

NewStationTransferAPIControllerGetParams creates a new StationTransferAPIControllerGetParams 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 NewStationTransferAPIControllerGetParamsWithContext

func NewStationTransferAPIControllerGetParamsWithContext(ctx context.Context) *StationTransferAPIControllerGetParams

NewStationTransferAPIControllerGetParamsWithContext creates a new StationTransferAPIControllerGetParams object with the ability to set a context for a request.

func NewStationTransferAPIControllerGetParamsWithHTTPClient

func NewStationTransferAPIControllerGetParamsWithHTTPClient(client *http.Client) *StationTransferAPIControllerGetParams

NewStationTransferAPIControllerGetParamsWithHTTPClient creates a new StationTransferAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewStationTransferAPIControllerGetParamsWithTimeout

func NewStationTransferAPIControllerGetParamsWithTimeout(timeout time.Duration) *StationTransferAPIControllerGetParams

NewStationTransferAPIControllerGetParamsWithTimeout creates a new StationTransferAPIControllerGetParams object with the ability to set a timeout on a request.

func (*StationTransferAPIControllerGetParams) SetContext

SetContext adds the context to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *StationTransferAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the station transfer Api controller get params (not the query body).

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

func (*StationTransferAPIControllerGetParams) SetDollarCount

func (o *StationTransferAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDollarFormat

func (o *StationTransferAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithContext

WithContext adds the context to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the station transfer Api controller get params (not the query body).

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

func (*StationTransferAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the station transfer Api controller get params

func (*StationTransferAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StationTransferAPIControllerGetReader

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

StationTransferAPIControllerGetReader is a Reader for the StationTransferAPIControllerGet structure.

func (*StationTransferAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StationTransferAPIControllerGetStatus299 added in v0.12.0

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

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

func NewStationTransferAPIControllerGetStatus299 added in v0.12.0

func NewStationTransferAPIControllerGetStatus299() *StationTransferAPIControllerGetStatus299

NewStationTransferAPIControllerGetStatus299 creates a StationTransferAPIControllerGetStatus299 with default headers values

func (*StationTransferAPIControllerGetStatus299) Error added in v0.12.0

func (*StationTransferAPIControllerGetStatus299) GetPayload added in v0.12.0

type TrainLiveBoardAPIControllerGet1NotModified added in v0.9.0

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

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

func NewTrainLiveBoardAPIControllerGet1NotModified added in v0.9.0

func NewTrainLiveBoardAPIControllerGet1NotModified() *TrainLiveBoardAPIControllerGet1NotModified

NewTrainLiveBoardAPIControllerGet1NotModified creates a TrainLiveBoardAPIControllerGet1NotModified with default headers values

func (*TrainLiveBoardAPIControllerGet1NotModified) Error added in v0.9.0

type TrainLiveBoardAPIControllerGet1OK

TrainLiveBoardAPIControllerGet1OK describes a response with status code 200, with default header values.

Success

func NewTrainLiveBoardAPIControllerGet1OK

func NewTrainLiveBoardAPIControllerGet1OK() *TrainLiveBoardAPIControllerGet1OK

NewTrainLiveBoardAPIControllerGet1OK creates a TrainLiveBoardAPIControllerGet1OK with default headers values

func (*TrainLiveBoardAPIControllerGet1OK) Error

type TrainLiveBoardAPIControllerGet1Params

type TrainLiveBoardAPIControllerGet1Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

TrainLiveBoardAPIControllerGet1Params contains all the parameters to send to the API endpoint

for the train live board Api controller get 1 operation.

Typically these are written to a http.Request.

func NewTrainLiveBoardAPIControllerGet1Params

func NewTrainLiveBoardAPIControllerGet1Params() *TrainLiveBoardAPIControllerGet1Params

NewTrainLiveBoardAPIControllerGet1Params creates a new TrainLiveBoardAPIControllerGet1Params 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 NewTrainLiveBoardAPIControllerGet1ParamsWithContext

func NewTrainLiveBoardAPIControllerGet1ParamsWithContext(ctx context.Context) *TrainLiveBoardAPIControllerGet1Params

NewTrainLiveBoardAPIControllerGet1ParamsWithContext creates a new TrainLiveBoardAPIControllerGet1Params object with the ability to set a context for a request.

func NewTrainLiveBoardAPIControllerGet1ParamsWithHTTPClient

func NewTrainLiveBoardAPIControllerGet1ParamsWithHTTPClient(client *http.Client) *TrainLiveBoardAPIControllerGet1Params

NewTrainLiveBoardAPIControllerGet1ParamsWithHTTPClient creates a new TrainLiveBoardAPIControllerGet1Params object with the ability to set a custom HTTPClient for a request.

func NewTrainLiveBoardAPIControllerGet1ParamsWithTimeout

func NewTrainLiveBoardAPIControllerGet1ParamsWithTimeout(timeout time.Duration) *TrainLiveBoardAPIControllerGet1Params

NewTrainLiveBoardAPIControllerGet1ParamsWithTimeout creates a new TrainLiveBoardAPIControllerGet1Params object with the ability to set a timeout on a request.

func (*TrainLiveBoardAPIControllerGet1Params) SetContext

SetContext adds the context to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDefaults added in v0.9.0

func (o *TrainLiveBoardAPIControllerGet1Params) SetDefaults()

SetDefaults hydrates default values in the train live board Api controller get 1 params (not the query body).

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

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarCount

func (o *TrainLiveBoardAPIControllerGet1Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarFormat

func (o *TrainLiveBoardAPIControllerGet1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetHealth added in v0.12.0

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

SetHealth adds the health to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetTimeout

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

SetTimeout adds the timeout to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) SetTrainNo

func (o *TrainLiveBoardAPIControllerGet1Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithContext

WithContext adds the context to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the train live board Api controller get 1 params (not the query body).

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

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarCount

WithDollarCount adds the dollarCount to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithDollarTop

WithDollarTop adds the dollarTop to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithHealth added in v0.12.0

WithHealth adds the health to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithTimeout

WithTimeout adds the timeout to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WithTrainNo

WithTrainNo adds the trainNo to the train live board Api controller get 1 params

func (*TrainLiveBoardAPIControllerGet1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type TrainLiveBoardAPIControllerGet1Reader

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

TrainLiveBoardAPIControllerGet1Reader is a Reader for the TrainLiveBoardAPIControllerGet1 structure.

func (*TrainLiveBoardAPIControllerGet1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TrainLiveBoardAPIControllerGet1Status299 added in v0.12.0

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

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

func NewTrainLiveBoardAPIControllerGet1Status299 added in v0.12.0

func NewTrainLiveBoardAPIControllerGet1Status299() *TrainLiveBoardAPIControllerGet1Status299

NewTrainLiveBoardAPIControllerGet1Status299 creates a TrainLiveBoardAPIControllerGet1Status299 with default headers values

func (*TrainLiveBoardAPIControllerGet1Status299) Error added in v0.12.0

func (*TrainLiveBoardAPIControllerGet1Status299) GetPayload added in v0.12.0

type TrainLiveBoardAPIControllerGetNotModified added in v0.9.0

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

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

func NewTrainLiveBoardAPIControllerGetNotModified added in v0.9.0

func NewTrainLiveBoardAPIControllerGetNotModified() *TrainLiveBoardAPIControllerGetNotModified

NewTrainLiveBoardAPIControllerGetNotModified creates a TrainLiveBoardAPIControllerGetNotModified with default headers values

func (*TrainLiveBoardAPIControllerGetNotModified) Error added in v0.9.0

type TrainLiveBoardAPIControllerGetOK

TrainLiveBoardAPIControllerGetOK describes a response with status code 200, with default header values.

Success

func NewTrainLiveBoardAPIControllerGetOK

func NewTrainLiveBoardAPIControllerGetOK() *TrainLiveBoardAPIControllerGetOK

NewTrainLiveBoardAPIControllerGetOK creates a TrainLiveBoardAPIControllerGetOK with default headers values

func (*TrainLiveBoardAPIControllerGetOK) Error

type TrainLiveBoardAPIControllerGetParams

type TrainLiveBoardAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

TrainLiveBoardAPIControllerGetParams contains all the parameters to send to the API endpoint

for the train live board Api controller get operation.

Typically these are written to a http.Request.

func NewTrainLiveBoardAPIControllerGetParams

func NewTrainLiveBoardAPIControllerGetParams() *TrainLiveBoardAPIControllerGetParams

NewTrainLiveBoardAPIControllerGetParams creates a new TrainLiveBoardAPIControllerGetParams 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 NewTrainLiveBoardAPIControllerGetParamsWithContext

func NewTrainLiveBoardAPIControllerGetParamsWithContext(ctx context.Context) *TrainLiveBoardAPIControllerGetParams

NewTrainLiveBoardAPIControllerGetParamsWithContext creates a new TrainLiveBoardAPIControllerGetParams object with the ability to set a context for a request.

func NewTrainLiveBoardAPIControllerGetParamsWithHTTPClient

func NewTrainLiveBoardAPIControllerGetParamsWithHTTPClient(client *http.Client) *TrainLiveBoardAPIControllerGetParams

NewTrainLiveBoardAPIControllerGetParamsWithHTTPClient creates a new TrainLiveBoardAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewTrainLiveBoardAPIControllerGetParamsWithTimeout

func NewTrainLiveBoardAPIControllerGetParamsWithTimeout(timeout time.Duration) *TrainLiveBoardAPIControllerGetParams

NewTrainLiveBoardAPIControllerGetParamsWithTimeout creates a new TrainLiveBoardAPIControllerGetParams object with the ability to set a timeout on a request.

func (*TrainLiveBoardAPIControllerGetParams) SetContext

SetContext adds the context to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *TrainLiveBoardAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the train live board Api controller get params (not the query body).

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

func (*TrainLiveBoardAPIControllerGetParams) SetDollarCount

func (o *TrainLiveBoardAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDollarFormat

func (o *TrainLiveBoardAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithContext

WithContext adds the context to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the train live board Api controller get params (not the query body).

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

func (*TrainLiveBoardAPIControllerGetParams) WithDollarCount

WithDollarCount adds the dollarCount to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the train live board Api controller get params

func (*TrainLiveBoardAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TrainLiveBoardAPIControllerGetReader

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

TrainLiveBoardAPIControllerGetReader is a Reader for the TrainLiveBoardAPIControllerGet structure.

func (*TrainLiveBoardAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TrainLiveBoardAPIControllerGetStatus299 added in v0.12.0

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

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

func NewTrainLiveBoardAPIControllerGetStatus299 added in v0.12.0

func NewTrainLiveBoardAPIControllerGetStatus299() *TrainLiveBoardAPIControllerGetStatus299

NewTrainLiveBoardAPIControllerGetStatus299 creates a TrainLiveBoardAPIControllerGetStatus299 with default headers values

func (*TrainLiveBoardAPIControllerGetStatus299) Error added in v0.12.0

func (*TrainLiveBoardAPIControllerGetStatus299) GetPayload added in v0.12.0

type TrainTypeAPIControllerGetNotModified added in v0.9.0

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

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

func NewTrainTypeAPIControllerGetNotModified added in v0.9.0

func NewTrainTypeAPIControllerGetNotModified() *TrainTypeAPIControllerGetNotModified

NewTrainTypeAPIControllerGetNotModified creates a TrainTypeAPIControllerGetNotModified with default headers values

func (*TrainTypeAPIControllerGetNotModified) Error added in v0.9.0

type TrainTypeAPIControllerGetOK

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

Success

func NewTrainTypeAPIControllerGetOK

func NewTrainTypeAPIControllerGetOK() *TrainTypeAPIControllerGetOK

NewTrainTypeAPIControllerGetOK creates a TrainTypeAPIControllerGetOK with default headers values

func (*TrainTypeAPIControllerGetOK) Error

type TrainTypeAPIControllerGetParams

type TrainTypeAPIControllerGetParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* 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
}

TrainTypeAPIControllerGetParams contains all the parameters to send to the API endpoint

for the train type Api controller get operation.

Typically these are written to a http.Request.

func NewTrainTypeAPIControllerGetParams

func NewTrainTypeAPIControllerGetParams() *TrainTypeAPIControllerGetParams

NewTrainTypeAPIControllerGetParams creates a new TrainTypeAPIControllerGetParams 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 NewTrainTypeAPIControllerGetParamsWithContext

func NewTrainTypeAPIControllerGetParamsWithContext(ctx context.Context) *TrainTypeAPIControllerGetParams

NewTrainTypeAPIControllerGetParamsWithContext creates a new TrainTypeAPIControllerGetParams object with the ability to set a context for a request.

func NewTrainTypeAPIControllerGetParamsWithHTTPClient

func NewTrainTypeAPIControllerGetParamsWithHTTPClient(client *http.Client) *TrainTypeAPIControllerGetParams

NewTrainTypeAPIControllerGetParamsWithHTTPClient creates a new TrainTypeAPIControllerGetParams object with the ability to set a custom HTTPClient for a request.

func NewTrainTypeAPIControllerGetParamsWithTimeout

func NewTrainTypeAPIControllerGetParamsWithTimeout(timeout time.Duration) *TrainTypeAPIControllerGetParams

NewTrainTypeAPIControllerGetParamsWithTimeout creates a new TrainTypeAPIControllerGetParams object with the ability to set a timeout on a request.

func (*TrainTypeAPIControllerGetParams) SetContext

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

SetContext adds the context to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDefaults added in v0.9.0

func (o *TrainTypeAPIControllerGetParams) SetDefaults()

SetDefaults hydrates default values in the train type Api controller get params (not the query body).

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

func (*TrainTypeAPIControllerGetParams) SetDollarCount

func (o *TrainTypeAPIControllerGetParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDollarFormat

func (o *TrainTypeAPIControllerGetParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) SetTimeout

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

SetTimeout adds the timeout to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithContext

WithContext adds the context to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the train type Api controller get params (not the query body).

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

func (*TrainTypeAPIControllerGetParams) WithDollarCount

func (o *TrainTypeAPIControllerGetParams) WithDollarCount(dollarCount *bool) *TrainTypeAPIControllerGetParams

WithDollarCount adds the dollarCount to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithDollarTop

WithDollarTop adds the dollarTop to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithHealth added in v0.12.0

WithHealth adds the health to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WithTimeout

WithTimeout adds the timeout to the train type Api controller get params

func (*TrainTypeAPIControllerGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TrainTypeAPIControllerGetReader

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

TrainTypeAPIControllerGetReader is a Reader for the TrainTypeAPIControllerGet structure.

func (*TrainTypeAPIControllerGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TrainTypeAPIControllerGetStatus299 added in v0.12.0

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

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

func NewTrainTypeAPIControllerGetStatus299 added in v0.12.0

func NewTrainTypeAPIControllerGetStatus299() *TrainTypeAPIControllerGetStatus299

NewTrainTypeAPIControllerGetStatus299 creates a TrainTypeAPIControllerGetStatus299 with default headers values

func (*TrainTypeAPIControllerGetStatus299) Error added in v0.12.0

func (*TrainTypeAPIControllerGetStatus299) GetPayload added in v0.12.0

Source Files

Jump to

Keyboard shortcuts

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