metro

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for metro API

func (*Client) MetroAPIAlert2107 added in v0.15.0

MetroAPIAlert2107 取得營運通阻資料s

取得營運通阻資料

func (*Client) MetroAPIFirstLastTimetable2099 added in v0.15.0

MetroAPIFirstLastTimetable2099 取得捷運首末班車時刻表資料s

取得捷運首末班車時刻表資料

func (*Client) MetroAPIFrequency2100 added in v0.15.0

MetroAPIFrequency2100 取得捷運路線發車班距頻率資料s

取得捷運路線發車班距頻率資料

func (*Client) MetroAPILine2091 added in v0.15.0

MetroAPILine2091 取得捷運路線基本資料s

取得捷運路線基本資料

func (*Client) MetroAPILineTransfer2094 added in v0.15.0

MetroAPILineTransfer2094 取得捷運路線站間轉乘基本資料s

取得捷運路線站間轉乘基本資料

func (*Client) MetroAPILiveBoard2103 added in v0.15.0

MetroAPILiveBoard2103 取得捷運車站別列車即時到離站電子看板資訊s

取得捷運車站別列車即時到離站電子看板資訊

func (*Client) MetroAPINetwork2090 added in v0.15.0

MetroAPINetwork2090 取得捷運路網資料s

取得捷運路網資料

func (*Client) MetroAPINews2106 added in v0.15.0

MetroAPINews2106 取得最新消息s

取得最新消息

func (*Client) MetroAPIODFare2102 added in v0.15.0

MetroAPIODFare2102 取得捷運起迄站間票價資料s

取得捷運起迄站間票價資料

func (*Client) MetroAPIRoute2097 added in v0.15.0

MetroAPIRoute2097 取得捷運營運路線基本資料s

取得捷運營運路線基本資料

func (*Client) MetroAPIS2STravelTime2101 added in v0.15.0

MetroAPIS2STravelTime2101 取得捷運列車站間運行時間資料s

取得捷運列車站間運行時間資料

func (*Client) MetroAPIShape2105 added in v0.15.0

MetroAPIShape2105 取得指定營運業者之軌道路網實體路線圖資資料s

取得指定營運業者之軌道路網實體路線圖資資料

func (*Client) MetroAPIStation2092 added in v0.15.0

MetroAPIStation2092 取得捷運車站基本資料s

取得捷運車站基本資料

func (*Client) MetroAPIStationExit2096 added in v0.15.0

MetroAPIStationExit2096 取得捷運車站出入口基本資料s

取得捷運車站出入口基本資料

func (*Client) MetroAPIStationFacility2095 added in v0.15.0

MetroAPIStationFacility2095 取得捷運車站設施資料s

取得捷運車站設施資料

func (*Client) MetroAPIStationOfLine2093 added in v0.15.0

MetroAPIStationOfLine2093 取得捷運路線車站基本資料s

取得捷運路線車站基本資料

func (*Client) MetroAPIStationOfRoute2098 added in v0.15.0

MetroAPIStationOfRoute2098 取得捷運營運路線車站基本資料s

取得捷運營運路線車站基本資料

func (*Client) MetroAPIStationTimeTable2104 added in v0.15.0

MetroAPIStationTimeTable2104 取得捷運站別時刻表資料s

取得捷運站別時刻表資料

## 使用注意事項 臺北捷運目前無提供文湖線站別時刻表,建議您可使用[取得捷運路線發車班距頻率資料]取得文湖線列車相關資訊。

func (*Client) SetTransport

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

SetTransport changes the transport on the client

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 {
	MetroAPIAlert2107(params *MetroAPIAlert2107Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIAlert2107OK, *MetroAPIAlert2107Status299, error)

	MetroAPIFirstLastTimetable2099(params *MetroAPIFirstLastTimetable2099Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIFirstLastTimetable2099OK, *MetroAPIFirstLastTimetable2099Status299, error)

	MetroAPIFrequency2100(params *MetroAPIFrequency2100Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIFrequency2100OK, *MetroAPIFrequency2100Status299, error)

	MetroAPILineTransfer2094(params *MetroAPILineTransfer2094Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPILineTransfer2094OK, *MetroAPILineTransfer2094Status299, error)

	MetroAPILine2091(params *MetroAPILine2091Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPILine2091OK, *MetroAPILine2091Status299, error)

	MetroAPILiveBoard2103(params *MetroAPILiveBoard2103Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPILiveBoard2103OK, *MetroAPILiveBoard2103Status299, error)

	MetroAPINetwork2090(params *MetroAPINetwork2090Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPINetwork2090OK, *MetroAPINetwork2090Status299, error)

	MetroAPINews2106(params *MetroAPINews2106Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPINews2106OK, *MetroAPINews2106Status299, error)

	MetroAPIODFare2102(params *MetroAPIODFare2102Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIODFare2102OK, *MetroAPIODFare2102Status299, error)

	MetroAPIRoute2097(params *MetroAPIRoute2097Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIRoute2097OK, *MetroAPIRoute2097Status299, error)

	MetroAPIS2STravelTime2101(params *MetroAPIS2STravelTime2101Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIS2STravelTime2101OK, *MetroAPIS2STravelTime2101Status299, error)

	MetroAPIShape2105(params *MetroAPIShape2105Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIShape2105OK, *MetroAPIShape2105Status299, error)

	MetroAPIStationExit2096(params *MetroAPIStationExit2096Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIStationExit2096OK, *MetroAPIStationExit2096Status299, error)

	MetroAPIStationFacility2095(params *MetroAPIStationFacility2095Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIStationFacility2095OK, *MetroAPIStationFacility2095Status299, error)

	MetroAPIStationOfLine2093(params *MetroAPIStationOfLine2093Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIStationOfLine2093OK, *MetroAPIStationOfLine2093Status299, error)

	MetroAPIStationOfRoute2098(params *MetroAPIStationOfRoute2098Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIStationOfRoute2098OK, *MetroAPIStationOfRoute2098Status299, error)

	MetroAPIStationTimeTable2104(params *MetroAPIStationTimeTable2104Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIStationTimeTable2104OK, *MetroAPIStationTimeTable2104Status299, error)

	MetroAPIStation2092(params *MetroAPIStation2092Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MetroAPIStation2092OK, *MetroAPIStation2092Status299, 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 metro API client.

type MetroAPIAlert2107NotModified added in v0.15.0

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

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

func NewMetroAPIAlert2107NotModified added in v0.15.0

func NewMetroAPIAlert2107NotModified() *MetroAPIAlert2107NotModified

NewMetroAPIAlert2107NotModified creates a MetroAPIAlert2107NotModified with default headers values

func (*MetroAPIAlert2107NotModified) Error added in v0.15.0

type MetroAPIAlert2107OK added in v0.15.0

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

Success

func NewMetroAPIAlert2107OK added in v0.15.0

func NewMetroAPIAlert2107OK() *MetroAPIAlert2107OK

NewMetroAPIAlert2107OK creates a MetroAPIAlert2107OK with default headers values

func (*MetroAPIAlert2107OK) Error added in v0.15.0

func (o *MetroAPIAlert2107OK) Error() string

func (*MetroAPIAlert2107OK) GetPayload added in v0.15.0

type MetroAPIAlert2107Params added in v0.15.0

type MetroAPIAlert2107Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,KLRT:高雄輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIAlert2107Params contains all the parameters to send to the API endpoint

for the metro Api alert 2107 operation.

Typically these are written to a http.Request.

func NewMetroAPIAlert2107Params added in v0.15.0

func NewMetroAPIAlert2107Params() *MetroAPIAlert2107Params

NewMetroAPIAlert2107Params creates a new MetroAPIAlert2107Params 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 NewMetroAPIAlert2107ParamsWithContext added in v0.15.0

func NewMetroAPIAlert2107ParamsWithContext(ctx context.Context) *MetroAPIAlert2107Params

NewMetroAPIAlert2107ParamsWithContext creates a new MetroAPIAlert2107Params object with the ability to set a context for a request.

func NewMetroAPIAlert2107ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIAlert2107ParamsWithHTTPClient(client *http.Client) *MetroAPIAlert2107Params

NewMetroAPIAlert2107ParamsWithHTTPClient creates a new MetroAPIAlert2107Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIAlert2107ParamsWithTimeout added in v0.15.0

func NewMetroAPIAlert2107ParamsWithTimeout(timeout time.Duration) *MetroAPIAlert2107Params

NewMetroAPIAlert2107ParamsWithTimeout creates a new MetroAPIAlert2107Params object with the ability to set a timeout on a request.

func (*MetroAPIAlert2107Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDefaults added in v0.15.0

func (o *MetroAPIAlert2107Params) SetDefaults()

SetDefaults hydrates default values in the metro Api alert 2107 params (not the query body).

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

func (*MetroAPIAlert2107Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIAlert2107Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIAlert2107Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api alert 2107 params (not the query body).

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

func (*MetroAPIAlert2107Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithHTTPClient added in v0.15.0

func (o *MetroAPIAlert2107Params) WithHTTPClient(client *http.Client) *MetroAPIAlert2107Params

WithHTTPClient adds the HTTPClient to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithHealth added in v0.15.0

func (o *MetroAPIAlert2107Params) WithHealth(health *string) *MetroAPIAlert2107Params

WithHealth adds the health to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIAlert2107Params) WithMetroSystem(metroSystem string) *MetroAPIAlert2107Params

WithMetroSystem adds the metroSystem to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api alert 2107 params

func (*MetroAPIAlert2107Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIAlert2107Reader added in v0.15.0

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

MetroAPIAlert2107Reader is a Reader for the MetroAPIAlert2107 structure.

func (*MetroAPIAlert2107Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIAlert2107Status299 added in v0.15.0

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

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

func NewMetroAPIAlert2107Status299 added in v0.15.0

func NewMetroAPIAlert2107Status299() *MetroAPIAlert2107Status299

NewMetroAPIAlert2107Status299 creates a MetroAPIAlert2107Status299 with default headers values

func (*MetroAPIAlert2107Status299) Error added in v0.15.0

func (*MetroAPIAlert2107Status299) GetPayload added in v0.15.0

type MetroAPIFirstLastTimetable2099NotModified added in v0.15.0

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

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

func NewMetroAPIFirstLastTimetable2099NotModified added in v0.15.0

func NewMetroAPIFirstLastTimetable2099NotModified() *MetroAPIFirstLastTimetable2099NotModified

NewMetroAPIFirstLastTimetable2099NotModified creates a MetroAPIFirstLastTimetable2099NotModified with default headers values

func (*MetroAPIFirstLastTimetable2099NotModified) Error added in v0.15.0

type MetroAPIFirstLastTimetable2099OK added in v0.15.0

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

Success

func NewMetroAPIFirstLastTimetable2099OK added in v0.15.0

func NewMetroAPIFirstLastTimetable2099OK() *MetroAPIFirstLastTimetable2099OK

NewMetroAPIFirstLastTimetable2099OK creates a MetroAPIFirstLastTimetable2099OK with default headers values

func (*MetroAPIFirstLastTimetable2099OK) Error added in v0.15.0

func (*MetroAPIFirstLastTimetable2099OK) GetPayload added in v0.15.0

type MetroAPIFirstLastTimetable2099Params added in v0.15.0

type MetroAPIFirstLastTimetable2099Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIFirstLastTimetable2099Params contains all the parameters to send to the API endpoint

for the metro Api first last timetable 2099 operation.

Typically these are written to a http.Request.

func NewMetroAPIFirstLastTimetable2099Params added in v0.15.0

func NewMetroAPIFirstLastTimetable2099Params() *MetroAPIFirstLastTimetable2099Params

NewMetroAPIFirstLastTimetable2099Params creates a new MetroAPIFirstLastTimetable2099Params 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 NewMetroAPIFirstLastTimetable2099ParamsWithContext added in v0.15.0

func NewMetroAPIFirstLastTimetable2099ParamsWithContext(ctx context.Context) *MetroAPIFirstLastTimetable2099Params

NewMetroAPIFirstLastTimetable2099ParamsWithContext creates a new MetroAPIFirstLastTimetable2099Params object with the ability to set a context for a request.

func NewMetroAPIFirstLastTimetable2099ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIFirstLastTimetable2099ParamsWithHTTPClient(client *http.Client) *MetroAPIFirstLastTimetable2099Params

NewMetroAPIFirstLastTimetable2099ParamsWithHTTPClient creates a new MetroAPIFirstLastTimetable2099Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIFirstLastTimetable2099ParamsWithTimeout added in v0.15.0

func NewMetroAPIFirstLastTimetable2099ParamsWithTimeout(timeout time.Duration) *MetroAPIFirstLastTimetable2099Params

NewMetroAPIFirstLastTimetable2099ParamsWithTimeout creates a new MetroAPIFirstLastTimetable2099Params object with the ability to set a timeout on a request.

func (*MetroAPIFirstLastTimetable2099Params) SetContext added in v0.15.0

SetContext adds the context to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetDefaults added in v0.15.0

func (o *MetroAPIFirstLastTimetable2099Params) SetDefaults()

SetDefaults hydrates default values in the metro Api first last timetable 2099 params (not the query body).

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

func (*MetroAPIFirstLastTimetable2099Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIFirstLastTimetable2099Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIFirstLastTimetable2099Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api first last timetable 2099 params (not the query body).

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

func (*MetroAPIFirstLastTimetable2099Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithMetroSystem added in v0.15.0

WithMetroSystem adds the metroSystem to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api first last timetable 2099 params

func (*MetroAPIFirstLastTimetable2099Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIFirstLastTimetable2099Reader added in v0.15.0

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

MetroAPIFirstLastTimetable2099Reader is a Reader for the MetroAPIFirstLastTimetable2099 structure.

func (*MetroAPIFirstLastTimetable2099Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIFirstLastTimetable2099Status299 added in v0.15.0

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

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

func NewMetroAPIFirstLastTimetable2099Status299 added in v0.15.0

func NewMetroAPIFirstLastTimetable2099Status299() *MetroAPIFirstLastTimetable2099Status299

NewMetroAPIFirstLastTimetable2099Status299 creates a MetroAPIFirstLastTimetable2099Status299 with default headers values

func (*MetroAPIFirstLastTimetable2099Status299) Error added in v0.15.0

func (*MetroAPIFirstLastTimetable2099Status299) GetPayload added in v0.15.0

type MetroAPIFrequency2100NotModified added in v0.15.0

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

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

func NewMetroAPIFrequency2100NotModified added in v0.15.0

func NewMetroAPIFrequency2100NotModified() *MetroAPIFrequency2100NotModified

NewMetroAPIFrequency2100NotModified creates a MetroAPIFrequency2100NotModified with default headers values

func (*MetroAPIFrequency2100NotModified) Error added in v0.15.0

type MetroAPIFrequency2100OK added in v0.15.0

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

Success

func NewMetroAPIFrequency2100OK added in v0.15.0

func NewMetroAPIFrequency2100OK() *MetroAPIFrequency2100OK

NewMetroAPIFrequency2100OK creates a MetroAPIFrequency2100OK with default headers values

func (*MetroAPIFrequency2100OK) Error added in v0.15.0

func (o *MetroAPIFrequency2100OK) Error() string

func (*MetroAPIFrequency2100OK) GetPayload added in v0.15.0

type MetroAPIFrequency2100Params added in v0.15.0

type MetroAPIFrequency2100Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,TYMC:桃園捷運,TMRT:臺中捷運)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIFrequency2100Params contains all the parameters to send to the API endpoint

for the metro Api frequency 2100 operation.

Typically these are written to a http.Request.

func NewMetroAPIFrequency2100Params added in v0.15.0

func NewMetroAPIFrequency2100Params() *MetroAPIFrequency2100Params

NewMetroAPIFrequency2100Params creates a new MetroAPIFrequency2100Params 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 NewMetroAPIFrequency2100ParamsWithContext added in v0.15.0

func NewMetroAPIFrequency2100ParamsWithContext(ctx context.Context) *MetroAPIFrequency2100Params

NewMetroAPIFrequency2100ParamsWithContext creates a new MetroAPIFrequency2100Params object with the ability to set a context for a request.

func NewMetroAPIFrequency2100ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIFrequency2100ParamsWithHTTPClient(client *http.Client) *MetroAPIFrequency2100Params

NewMetroAPIFrequency2100ParamsWithHTTPClient creates a new MetroAPIFrequency2100Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIFrequency2100ParamsWithTimeout added in v0.15.0

func NewMetroAPIFrequency2100ParamsWithTimeout(timeout time.Duration) *MetroAPIFrequency2100Params

NewMetroAPIFrequency2100ParamsWithTimeout creates a new MetroAPIFrequency2100Params object with the ability to set a timeout on a request.

func (*MetroAPIFrequency2100Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetDefaults added in v0.15.0

func (o *MetroAPIFrequency2100Params) SetDefaults()

SetDefaults hydrates default values in the metro Api frequency 2100 params (not the query body).

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

func (*MetroAPIFrequency2100Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIFrequency2100Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIFrequency2100Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api frequency 2100 params (not the query body).

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

func (*MetroAPIFrequency2100Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIFrequency2100Params) WithMetroSystem(metroSystem string) *MetroAPIFrequency2100Params

WithMetroSystem adds the metroSystem to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api frequency 2100 params

func (*MetroAPIFrequency2100Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIFrequency2100Reader added in v0.15.0

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

MetroAPIFrequency2100Reader is a Reader for the MetroAPIFrequency2100 structure.

func (*MetroAPIFrequency2100Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIFrequency2100Status299 added in v0.15.0

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

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

func NewMetroAPIFrequency2100Status299 added in v0.15.0

func NewMetroAPIFrequency2100Status299() *MetroAPIFrequency2100Status299

NewMetroAPIFrequency2100Status299 creates a MetroAPIFrequency2100Status299 with default headers values

func (*MetroAPIFrequency2100Status299) Error added in v0.15.0

func (*MetroAPIFrequency2100Status299) GetPayload added in v0.15.0

type MetroAPILine2091NotModified added in v0.15.0

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

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

func NewMetroAPILine2091NotModified added in v0.15.0

func NewMetroAPILine2091NotModified() *MetroAPILine2091NotModified

NewMetroAPILine2091NotModified creates a MetroAPILine2091NotModified with default headers values

func (*MetroAPILine2091NotModified) Error added in v0.15.0

type MetroAPILine2091OK added in v0.15.0

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

Success

func NewMetroAPILine2091OK added in v0.15.0

func NewMetroAPILine2091OK() *MetroAPILine2091OK

NewMetroAPILine2091OK creates a MetroAPILine2091OK with default headers values

func (*MetroAPILine2091OK) Error added in v0.15.0

func (o *MetroAPILine2091OK) Error() string

func (*MetroAPILine2091OK) GetPayload added in v0.15.0

type MetroAPILine2091Params added in v0.15.0

type MetroAPILine2091Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌,NTDLRT:淡海輕軌,TRTCMG:貓空纜車)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPILine2091Params contains all the parameters to send to the API endpoint

for the metro Api line 2091 operation.

Typically these are written to a http.Request.

func NewMetroAPILine2091Params added in v0.15.0

func NewMetroAPILine2091Params() *MetroAPILine2091Params

NewMetroAPILine2091Params creates a new MetroAPILine2091Params 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 NewMetroAPILine2091ParamsWithContext added in v0.15.0

func NewMetroAPILine2091ParamsWithContext(ctx context.Context) *MetroAPILine2091Params

NewMetroAPILine2091ParamsWithContext creates a new MetroAPILine2091Params object with the ability to set a context for a request.

func NewMetroAPILine2091ParamsWithHTTPClient added in v0.15.0

func NewMetroAPILine2091ParamsWithHTTPClient(client *http.Client) *MetroAPILine2091Params

NewMetroAPILine2091ParamsWithHTTPClient creates a new MetroAPILine2091Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPILine2091ParamsWithTimeout added in v0.15.0

func NewMetroAPILine2091ParamsWithTimeout(timeout time.Duration) *MetroAPILine2091Params

NewMetroAPILine2091ParamsWithTimeout creates a new MetroAPILine2091Params object with the ability to set a timeout on a request.

func (*MetroAPILine2091Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetDefaults added in v0.15.0

func (o *MetroAPILine2091Params) SetDefaults()

SetDefaults hydrates default values in the metro Api line 2091 params (not the query body).

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

func (*MetroAPILine2091Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetDollarFormat added in v0.15.0

func (o *MetroAPILine2091Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetMetroSystem added in v0.15.0

func (o *MetroAPILine2091Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api line 2091 params

func (*MetroAPILine2091Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api line 2091 params (not the query body).

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

func (*MetroAPILine2091Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithHTTPClient added in v0.15.0

func (o *MetroAPILine2091Params) WithHTTPClient(client *http.Client) *MetroAPILine2091Params

WithHTTPClient adds the HTTPClient to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithHealth added in v0.15.0

func (o *MetroAPILine2091Params) WithHealth(health *string) *MetroAPILine2091Params

WithHealth adds the health to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithMetroSystem added in v0.15.0

func (o *MetroAPILine2091Params) WithMetroSystem(metroSystem string) *MetroAPILine2091Params

WithMetroSystem adds the metroSystem to the metro Api line 2091 params

func (*MetroAPILine2091Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api line 2091 params

func (*MetroAPILine2091Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPILine2091Reader added in v0.15.0

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

MetroAPILine2091Reader is a Reader for the MetroAPILine2091 structure.

func (*MetroAPILine2091Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPILine2091Status299 added in v0.15.0

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

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

func NewMetroAPILine2091Status299 added in v0.15.0

func NewMetroAPILine2091Status299() *MetroAPILine2091Status299

NewMetroAPILine2091Status299 creates a MetroAPILine2091Status299 with default headers values

func (*MetroAPILine2091Status299) Error added in v0.15.0

func (o *MetroAPILine2091Status299) Error() string

func (*MetroAPILine2091Status299) GetPayload added in v0.15.0

type MetroAPILineTransfer2094NotModified added in v0.15.0

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

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

func NewMetroAPILineTransfer2094NotModified added in v0.15.0

func NewMetroAPILineTransfer2094NotModified() *MetroAPILineTransfer2094NotModified

NewMetroAPILineTransfer2094NotModified creates a MetroAPILineTransfer2094NotModified with default headers values

func (*MetroAPILineTransfer2094NotModified) Error added in v0.15.0

type MetroAPILineTransfer2094OK added in v0.15.0

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

Success

func NewMetroAPILineTransfer2094OK added in v0.15.0

func NewMetroAPILineTransfer2094OK() *MetroAPILineTransfer2094OK

NewMetroAPILineTransfer2094OK creates a MetroAPILineTransfer2094OK with default headers values

func (*MetroAPILineTransfer2094OK) Error added in v0.15.0

func (*MetroAPILineTransfer2094OK) GetPayload added in v0.15.0

type MetroAPILineTransfer2094Params added in v0.15.0

type MetroAPILineTransfer2094Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPILineTransfer2094Params contains all the parameters to send to the API endpoint

for the metro Api line transfer 2094 operation.

Typically these are written to a http.Request.

func NewMetroAPILineTransfer2094Params added in v0.15.0

func NewMetroAPILineTransfer2094Params() *MetroAPILineTransfer2094Params

NewMetroAPILineTransfer2094Params creates a new MetroAPILineTransfer2094Params 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 NewMetroAPILineTransfer2094ParamsWithContext added in v0.15.0

func NewMetroAPILineTransfer2094ParamsWithContext(ctx context.Context) *MetroAPILineTransfer2094Params

NewMetroAPILineTransfer2094ParamsWithContext creates a new MetroAPILineTransfer2094Params object with the ability to set a context for a request.

func NewMetroAPILineTransfer2094ParamsWithHTTPClient added in v0.15.0

func NewMetroAPILineTransfer2094ParamsWithHTTPClient(client *http.Client) *MetroAPILineTransfer2094Params

NewMetroAPILineTransfer2094ParamsWithHTTPClient creates a new MetroAPILineTransfer2094Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPILineTransfer2094ParamsWithTimeout added in v0.15.0

func NewMetroAPILineTransfer2094ParamsWithTimeout(timeout time.Duration) *MetroAPILineTransfer2094Params

NewMetroAPILineTransfer2094ParamsWithTimeout creates a new MetroAPILineTransfer2094Params object with the ability to set a timeout on a request.

func (*MetroAPILineTransfer2094Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetDefaults added in v0.15.0

func (o *MetroAPILineTransfer2094Params) SetDefaults()

SetDefaults hydrates default values in the metro Api line transfer 2094 params (not the query body).

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

func (*MetroAPILineTransfer2094Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetDollarFormat added in v0.15.0

func (o *MetroAPILineTransfer2094Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetMetroSystem added in v0.15.0

func (o *MetroAPILineTransfer2094Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api line transfer 2094 params (not the query body).

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

func (*MetroAPILineTransfer2094Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithMetroSystem added in v0.15.0

func (o *MetroAPILineTransfer2094Params) WithMetroSystem(metroSystem string) *MetroAPILineTransfer2094Params

WithMetroSystem adds the metroSystem to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api line transfer 2094 params

func (*MetroAPILineTransfer2094Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPILineTransfer2094Reader added in v0.15.0

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

MetroAPILineTransfer2094Reader is a Reader for the MetroAPILineTransfer2094 structure.

func (*MetroAPILineTransfer2094Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPILineTransfer2094Status299 added in v0.15.0

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

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

func NewMetroAPILineTransfer2094Status299 added in v0.15.0

func NewMetroAPILineTransfer2094Status299() *MetroAPILineTransfer2094Status299

NewMetroAPILineTransfer2094Status299 creates a MetroAPILineTransfer2094Status299 with default headers values

func (*MetroAPILineTransfer2094Status299) Error added in v0.15.0

func (*MetroAPILineTransfer2094Status299) GetPayload added in v0.15.0

type MetroAPILiveBoard2103NotModified added in v0.15.0

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

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

func NewMetroAPILiveBoard2103NotModified added in v0.15.0

func NewMetroAPILiveBoard2103NotModified() *MetroAPILiveBoard2103NotModified

NewMetroAPILiveBoard2103NotModified creates a MetroAPILiveBoard2103NotModified with default headers values

func (*MetroAPILiveBoard2103NotModified) Error added in v0.15.0

type MetroAPILiveBoard2103OK added in v0.15.0

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

Success

func NewMetroAPILiveBoard2103OK added in v0.15.0

func NewMetroAPILiveBoard2103OK() *MetroAPILiveBoard2103OK

NewMetroAPILiveBoard2103OK creates a MetroAPILiveBoard2103OK with default headers values

func (*MetroAPILiveBoard2103OK) Error added in v0.15.0

func (o *MetroAPILiveBoard2103OK) Error() string

func (*MetroAPILiveBoard2103OK) GetPayload added in v0.15.0

type MetroAPILiveBoard2103Params added in v0.15.0

type MetroAPILiveBoard2103Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(KRTC:高雄捷運,KLRT:高雄輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPILiveBoard2103Params contains all the parameters to send to the API endpoint

for the metro Api live board 2103 operation.

Typically these are written to a http.Request.

func NewMetroAPILiveBoard2103Params added in v0.15.0

func NewMetroAPILiveBoard2103Params() *MetroAPILiveBoard2103Params

NewMetroAPILiveBoard2103Params creates a new MetroAPILiveBoard2103Params 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 NewMetroAPILiveBoard2103ParamsWithContext added in v0.15.0

func NewMetroAPILiveBoard2103ParamsWithContext(ctx context.Context) *MetroAPILiveBoard2103Params

NewMetroAPILiveBoard2103ParamsWithContext creates a new MetroAPILiveBoard2103Params object with the ability to set a context for a request.

func NewMetroAPILiveBoard2103ParamsWithHTTPClient added in v0.15.0

func NewMetroAPILiveBoard2103ParamsWithHTTPClient(client *http.Client) *MetroAPILiveBoard2103Params

NewMetroAPILiveBoard2103ParamsWithHTTPClient creates a new MetroAPILiveBoard2103Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPILiveBoard2103ParamsWithTimeout added in v0.15.0

func NewMetroAPILiveBoard2103ParamsWithTimeout(timeout time.Duration) *MetroAPILiveBoard2103Params

NewMetroAPILiveBoard2103ParamsWithTimeout creates a new MetroAPILiveBoard2103Params object with the ability to set a timeout on a request.

func (*MetroAPILiveBoard2103Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetDefaults added in v0.15.0

func (o *MetroAPILiveBoard2103Params) SetDefaults()

SetDefaults hydrates default values in the metro Api live board 2103 params (not the query body).

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

func (*MetroAPILiveBoard2103Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetDollarFormat added in v0.15.0

func (o *MetroAPILiveBoard2103Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetMetroSystem added in v0.15.0

func (o *MetroAPILiveBoard2103Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api live board 2103 params (not the query body).

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

func (*MetroAPILiveBoard2103Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithMetroSystem added in v0.15.0

func (o *MetroAPILiveBoard2103Params) WithMetroSystem(metroSystem string) *MetroAPILiveBoard2103Params

WithMetroSystem adds the metroSystem to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api live board 2103 params

func (*MetroAPILiveBoard2103Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPILiveBoard2103Reader added in v0.15.0

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

MetroAPILiveBoard2103Reader is a Reader for the MetroAPILiveBoard2103 structure.

func (*MetroAPILiveBoard2103Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPILiveBoard2103Status299 added in v0.15.0

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

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

func NewMetroAPILiveBoard2103Status299 added in v0.15.0

func NewMetroAPILiveBoard2103Status299() *MetroAPILiveBoard2103Status299

NewMetroAPILiveBoard2103Status299 creates a MetroAPILiveBoard2103Status299 with default headers values

func (*MetroAPILiveBoard2103Status299) Error added in v0.15.0

func (*MetroAPILiveBoard2103Status299) GetPayload added in v0.15.0

type MetroAPINetwork2090NotModified added in v0.15.0

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

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

func NewMetroAPINetwork2090NotModified added in v0.15.0

func NewMetroAPINetwork2090NotModified() *MetroAPINetwork2090NotModified

NewMetroAPINetwork2090NotModified creates a MetroAPINetwork2090NotModified with default headers values

func (*MetroAPINetwork2090NotModified) Error added in v0.15.0

type MetroAPINetwork2090OK added in v0.15.0

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

Success

func NewMetroAPINetwork2090OK added in v0.15.0

func NewMetroAPINetwork2090OK() *MetroAPINetwork2090OK

NewMetroAPINetwork2090OK creates a MetroAPINetwork2090OK with default headers values

func (*MetroAPINetwork2090OK) Error added in v0.15.0

func (o *MetroAPINetwork2090OK) Error() string

func (*MetroAPINetwork2090OK) GetPayload added in v0.15.0

type MetroAPINetwork2090Params added in v0.15.0

type MetroAPINetwork2090Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,TRTCMG:貓空纜車)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPINetwork2090Params contains all the parameters to send to the API endpoint

for the metro Api network 2090 operation.

Typically these are written to a http.Request.

func NewMetroAPINetwork2090Params added in v0.15.0

func NewMetroAPINetwork2090Params() *MetroAPINetwork2090Params

NewMetroAPINetwork2090Params creates a new MetroAPINetwork2090Params 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 NewMetroAPINetwork2090ParamsWithContext added in v0.15.0

func NewMetroAPINetwork2090ParamsWithContext(ctx context.Context) *MetroAPINetwork2090Params

NewMetroAPINetwork2090ParamsWithContext creates a new MetroAPINetwork2090Params object with the ability to set a context for a request.

func NewMetroAPINetwork2090ParamsWithHTTPClient added in v0.15.0

func NewMetroAPINetwork2090ParamsWithHTTPClient(client *http.Client) *MetroAPINetwork2090Params

NewMetroAPINetwork2090ParamsWithHTTPClient creates a new MetroAPINetwork2090Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPINetwork2090ParamsWithTimeout added in v0.15.0

func NewMetroAPINetwork2090ParamsWithTimeout(timeout time.Duration) *MetroAPINetwork2090Params

NewMetroAPINetwork2090ParamsWithTimeout creates a new MetroAPINetwork2090Params object with the ability to set a timeout on a request.

func (*MetroAPINetwork2090Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetDefaults added in v0.15.0

func (o *MetroAPINetwork2090Params) SetDefaults()

SetDefaults hydrates default values in the metro Api network 2090 params (not the query body).

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

func (*MetroAPINetwork2090Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetDollarFormat added in v0.15.0

func (o *MetroAPINetwork2090Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetMetroSystem added in v0.15.0

func (o *MetroAPINetwork2090Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api network 2090 params (not the query body).

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

func (*MetroAPINetwork2090Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithHTTPClient added in v0.15.0

func (o *MetroAPINetwork2090Params) WithHTTPClient(client *http.Client) *MetroAPINetwork2090Params

WithHTTPClient adds the HTTPClient to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithMetroSystem added in v0.15.0

func (o *MetroAPINetwork2090Params) WithMetroSystem(metroSystem string) *MetroAPINetwork2090Params

WithMetroSystem adds the metroSystem to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api network 2090 params

func (*MetroAPINetwork2090Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPINetwork2090Reader added in v0.15.0

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

MetroAPINetwork2090Reader is a Reader for the MetroAPINetwork2090 structure.

func (*MetroAPINetwork2090Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPINetwork2090Status299 added in v0.15.0

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

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

func NewMetroAPINetwork2090Status299 added in v0.15.0

func NewMetroAPINetwork2090Status299() *MetroAPINetwork2090Status299

NewMetroAPINetwork2090Status299 creates a MetroAPINetwork2090Status299 with default headers values

func (*MetroAPINetwork2090Status299) Error added in v0.15.0

func (*MetroAPINetwork2090Status299) GetPayload added in v0.15.0

type MetroAPINews2106NotModified added in v0.15.0

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

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

func NewMetroAPINews2106NotModified added in v0.15.0

func NewMetroAPINews2106NotModified() *MetroAPINews2106NotModified

NewMetroAPINews2106NotModified creates a MetroAPINews2106NotModified with default headers values

func (*MetroAPINews2106NotModified) Error added in v0.15.0

type MetroAPINews2106OK added in v0.15.0

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

Success

func NewMetroAPINews2106OK added in v0.15.0

func NewMetroAPINews2106OK() *MetroAPINews2106OK

NewMetroAPINews2106OK creates a MetroAPINews2106OK with default headers values

func (*MetroAPINews2106OK) Error added in v0.15.0

func (o *MetroAPINews2106OK) Error() string

type MetroAPINews2106Params added in v0.15.0

type MetroAPINews2106Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,KLRT:高雄輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPINews2106Params contains all the parameters to send to the API endpoint

for the metro Api news 2106 operation.

Typically these are written to a http.Request.

func NewMetroAPINews2106Params added in v0.15.0

func NewMetroAPINews2106Params() *MetroAPINews2106Params

NewMetroAPINews2106Params creates a new MetroAPINews2106Params 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 NewMetroAPINews2106ParamsWithContext added in v0.15.0

func NewMetroAPINews2106ParamsWithContext(ctx context.Context) *MetroAPINews2106Params

NewMetroAPINews2106ParamsWithContext creates a new MetroAPINews2106Params object with the ability to set a context for a request.

func NewMetroAPINews2106ParamsWithHTTPClient added in v0.15.0

func NewMetroAPINews2106ParamsWithHTTPClient(client *http.Client) *MetroAPINews2106Params

NewMetroAPINews2106ParamsWithHTTPClient creates a new MetroAPINews2106Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPINews2106ParamsWithTimeout added in v0.15.0

func NewMetroAPINews2106ParamsWithTimeout(timeout time.Duration) *MetroAPINews2106Params

NewMetroAPINews2106ParamsWithTimeout creates a new MetroAPINews2106Params object with the ability to set a timeout on a request.

func (*MetroAPINews2106Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDefaults added in v0.15.0

func (o *MetroAPINews2106Params) SetDefaults()

SetDefaults hydrates default values in the metro Api news 2106 params (not the query body).

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

func (*MetroAPINews2106Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDollarFormat added in v0.15.0

func (o *MetroAPINews2106Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetMetroSystem added in v0.15.0

func (o *MetroAPINews2106Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api news 2106 params

func (*MetroAPINews2106Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api news 2106 params (not the query body).

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

func (*MetroAPINews2106Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithHTTPClient added in v0.15.0

func (o *MetroAPINews2106Params) WithHTTPClient(client *http.Client) *MetroAPINews2106Params

WithHTTPClient adds the HTTPClient to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithHealth added in v0.15.0

func (o *MetroAPINews2106Params) WithHealth(health *string) *MetroAPINews2106Params

WithHealth adds the health to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithMetroSystem added in v0.15.0

func (o *MetroAPINews2106Params) WithMetroSystem(metroSystem string) *MetroAPINews2106Params

WithMetroSystem adds the metroSystem to the metro Api news 2106 params

func (*MetroAPINews2106Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api news 2106 params

func (*MetroAPINews2106Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPINews2106Reader added in v0.15.0

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

MetroAPINews2106Reader is a Reader for the MetroAPINews2106 structure.

func (*MetroAPINews2106Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPINews2106Status299 added in v0.15.0

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

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

func NewMetroAPINews2106Status299 added in v0.15.0

func NewMetroAPINews2106Status299() *MetroAPINews2106Status299

NewMetroAPINews2106Status299 creates a MetroAPINews2106Status299 with default headers values

func (*MetroAPINews2106Status299) Error added in v0.15.0

func (o *MetroAPINews2106Status299) Error() string

func (*MetroAPINews2106Status299) GetPayload added in v0.15.0

type MetroAPIODFare2102NotModified added in v0.15.0

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

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

func NewMetroAPIODFare2102NotModified added in v0.15.0

func NewMetroAPIODFare2102NotModified() *MetroAPIODFare2102NotModified

NewMetroAPIODFare2102NotModified creates a MetroAPIODFare2102NotModified with default headers values

func (*MetroAPIODFare2102NotModified) Error added in v0.15.0

type MetroAPIODFare2102OK added in v0.15.0

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

Success

func NewMetroAPIODFare2102OK added in v0.15.0

func NewMetroAPIODFare2102OK() *MetroAPIODFare2102OK

NewMetroAPIODFare2102OK creates a MetroAPIODFare2102OK with default headers values

func (*MetroAPIODFare2102OK) Error added in v0.15.0

func (o *MetroAPIODFare2102OK) Error() string

func (*MetroAPIODFare2102OK) GetPayload added in v0.15.0

type MetroAPIODFare2102Params added in v0.15.0

type MetroAPIODFare2102Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌,NTDLRT:淡海輕軌,TRTCMG:貓空纜車)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIODFare2102Params contains all the parameters to send to the API endpoint

for the metro Api o d fare 2102 operation.

Typically these are written to a http.Request.

func NewMetroAPIODFare2102Params added in v0.15.0

func NewMetroAPIODFare2102Params() *MetroAPIODFare2102Params

NewMetroAPIODFare2102Params creates a new MetroAPIODFare2102Params 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 NewMetroAPIODFare2102ParamsWithContext added in v0.15.0

func NewMetroAPIODFare2102ParamsWithContext(ctx context.Context) *MetroAPIODFare2102Params

NewMetroAPIODFare2102ParamsWithContext creates a new MetroAPIODFare2102Params object with the ability to set a context for a request.

func NewMetroAPIODFare2102ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIODFare2102ParamsWithHTTPClient(client *http.Client) *MetroAPIODFare2102Params

NewMetroAPIODFare2102ParamsWithHTTPClient creates a new MetroAPIODFare2102Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIODFare2102ParamsWithTimeout added in v0.15.0

func NewMetroAPIODFare2102ParamsWithTimeout(timeout time.Duration) *MetroAPIODFare2102Params

NewMetroAPIODFare2102ParamsWithTimeout creates a new MetroAPIODFare2102Params object with the ability to set a timeout on a request.

func (*MetroAPIODFare2102Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetDefaults added in v0.15.0

func (o *MetroAPIODFare2102Params) SetDefaults()

SetDefaults hydrates default values in the metro Api o d fare 2102 params (not the query body).

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

func (*MetroAPIODFare2102Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIODFare2102Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIODFare2102Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api o d fare 2102 params (not the query body).

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

func (*MetroAPIODFare2102Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithHTTPClient added in v0.15.0

func (o *MetroAPIODFare2102Params) WithHTTPClient(client *http.Client) *MetroAPIODFare2102Params

WithHTTPClient adds the HTTPClient to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIODFare2102Params) WithMetroSystem(metroSystem string) *MetroAPIODFare2102Params

WithMetroSystem adds the metroSystem to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api o d fare 2102 params

func (*MetroAPIODFare2102Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIODFare2102Reader added in v0.15.0

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

MetroAPIODFare2102Reader is a Reader for the MetroAPIODFare2102 structure.

func (*MetroAPIODFare2102Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIODFare2102Status299 added in v0.15.0

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

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

func NewMetroAPIODFare2102Status299 added in v0.15.0

func NewMetroAPIODFare2102Status299() *MetroAPIODFare2102Status299

NewMetroAPIODFare2102Status299 creates a MetroAPIODFare2102Status299 with default headers values

func (*MetroAPIODFare2102Status299) Error added in v0.15.0

func (*MetroAPIODFare2102Status299) GetPayload added in v0.15.0

type MetroAPIRoute2097NotModified added in v0.15.0

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

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

func NewMetroAPIRoute2097NotModified added in v0.15.0

func NewMetroAPIRoute2097NotModified() *MetroAPIRoute2097NotModified

NewMetroAPIRoute2097NotModified creates a MetroAPIRoute2097NotModified with default headers values

func (*MetroAPIRoute2097NotModified) Error added in v0.15.0

type MetroAPIRoute2097OK added in v0.15.0

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

Success

func NewMetroAPIRoute2097OK added in v0.15.0

func NewMetroAPIRoute2097OK() *MetroAPIRoute2097OK

NewMetroAPIRoute2097OK creates a MetroAPIRoute2097OK with default headers values

func (*MetroAPIRoute2097OK) Error added in v0.15.0

func (o *MetroAPIRoute2097OK) Error() string

func (*MetroAPIRoute2097OK) GetPayload added in v0.15.0

type MetroAPIRoute2097Params added in v0.15.0

type MetroAPIRoute2097Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,NTDLRT:淡海輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIRoute2097Params contains all the parameters to send to the API endpoint

for the metro Api route 2097 operation.

Typically these are written to a http.Request.

func NewMetroAPIRoute2097Params added in v0.15.0

func NewMetroAPIRoute2097Params() *MetroAPIRoute2097Params

NewMetroAPIRoute2097Params creates a new MetroAPIRoute2097Params 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 NewMetroAPIRoute2097ParamsWithContext added in v0.15.0

func NewMetroAPIRoute2097ParamsWithContext(ctx context.Context) *MetroAPIRoute2097Params

NewMetroAPIRoute2097ParamsWithContext creates a new MetroAPIRoute2097Params object with the ability to set a context for a request.

func NewMetroAPIRoute2097ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIRoute2097ParamsWithHTTPClient(client *http.Client) *MetroAPIRoute2097Params

NewMetroAPIRoute2097ParamsWithHTTPClient creates a new MetroAPIRoute2097Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIRoute2097ParamsWithTimeout added in v0.15.0

func NewMetroAPIRoute2097ParamsWithTimeout(timeout time.Duration) *MetroAPIRoute2097Params

NewMetroAPIRoute2097ParamsWithTimeout creates a new MetroAPIRoute2097Params object with the ability to set a timeout on a request.

func (*MetroAPIRoute2097Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetDefaults added in v0.15.0

func (o *MetroAPIRoute2097Params) SetDefaults()

SetDefaults hydrates default values in the metro Api route 2097 params (not the query body).

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

func (*MetroAPIRoute2097Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIRoute2097Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIRoute2097Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api route 2097 params (not the query body).

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

func (*MetroAPIRoute2097Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithHTTPClient added in v0.15.0

func (o *MetroAPIRoute2097Params) WithHTTPClient(client *http.Client) *MetroAPIRoute2097Params

WithHTTPClient adds the HTTPClient to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithHealth added in v0.15.0

func (o *MetroAPIRoute2097Params) WithHealth(health *string) *MetroAPIRoute2097Params

WithHealth adds the health to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIRoute2097Params) WithMetroSystem(metroSystem string) *MetroAPIRoute2097Params

WithMetroSystem adds the metroSystem to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api route 2097 params

func (*MetroAPIRoute2097Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIRoute2097Reader added in v0.15.0

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

MetroAPIRoute2097Reader is a Reader for the MetroAPIRoute2097 structure.

func (*MetroAPIRoute2097Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIRoute2097Status299 added in v0.15.0

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

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

func NewMetroAPIRoute2097Status299 added in v0.15.0

func NewMetroAPIRoute2097Status299() *MetroAPIRoute2097Status299

NewMetroAPIRoute2097Status299 creates a MetroAPIRoute2097Status299 with default headers values

func (*MetroAPIRoute2097Status299) Error added in v0.15.0

func (*MetroAPIRoute2097Status299) GetPayload added in v0.15.0

type MetroAPIS2STravelTime2101NotModified added in v0.15.0

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

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

func NewMetroAPIS2STravelTime2101NotModified added in v0.15.0

func NewMetroAPIS2STravelTime2101NotModified() *MetroAPIS2STravelTime2101NotModified

NewMetroAPIS2STravelTime2101NotModified creates a MetroAPIS2STravelTime2101NotModified with default headers values

func (*MetroAPIS2STravelTime2101NotModified) Error added in v0.15.0

type MetroAPIS2STravelTime2101OK added in v0.15.0

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

Success

func NewMetroAPIS2STravelTime2101OK added in v0.15.0

func NewMetroAPIS2STravelTime2101OK() *MetroAPIS2STravelTime2101OK

NewMetroAPIS2STravelTime2101OK creates a MetroAPIS2STravelTime2101OK with default headers values

func (*MetroAPIS2STravelTime2101OK) Error added in v0.15.0

func (*MetroAPIS2STravelTime2101OK) GetPayload added in v0.15.0

type MetroAPIS2STravelTime2101Params added in v0.15.0

type MetroAPIS2STravelTime2101Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIS2STravelTime2101Params contains all the parameters to send to the API endpoint

for the metro Api s2 s travel time 2101 operation.

Typically these are written to a http.Request.

func NewMetroAPIS2STravelTime2101Params added in v0.15.0

func NewMetroAPIS2STravelTime2101Params() *MetroAPIS2STravelTime2101Params

NewMetroAPIS2STravelTime2101Params creates a new MetroAPIS2STravelTime2101Params 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 NewMetroAPIS2STravelTime2101ParamsWithContext added in v0.15.0

func NewMetroAPIS2STravelTime2101ParamsWithContext(ctx context.Context) *MetroAPIS2STravelTime2101Params

NewMetroAPIS2STravelTime2101ParamsWithContext creates a new MetroAPIS2STravelTime2101Params object with the ability to set a context for a request.

func NewMetroAPIS2STravelTime2101ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIS2STravelTime2101ParamsWithHTTPClient(client *http.Client) *MetroAPIS2STravelTime2101Params

NewMetroAPIS2STravelTime2101ParamsWithHTTPClient creates a new MetroAPIS2STravelTime2101Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIS2STravelTime2101ParamsWithTimeout added in v0.15.0

func NewMetroAPIS2STravelTime2101ParamsWithTimeout(timeout time.Duration) *MetroAPIS2STravelTime2101Params

NewMetroAPIS2STravelTime2101ParamsWithTimeout creates a new MetroAPIS2STravelTime2101Params object with the ability to set a timeout on a request.

func (*MetroAPIS2STravelTime2101Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetDefaults added in v0.15.0

func (o *MetroAPIS2STravelTime2101Params) SetDefaults()

SetDefaults hydrates default values in the metro Api s2 s travel time 2101 params (not the query body).

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

func (*MetroAPIS2STravelTime2101Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIS2STravelTime2101Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIS2STravelTime2101Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api s2 s travel time 2101 params (not the query body).

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

func (*MetroAPIS2STravelTime2101Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithMetroSystem added in v0.15.0

WithMetroSystem adds the metroSystem to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api s2 s travel time 2101 params

func (*MetroAPIS2STravelTime2101Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIS2STravelTime2101Reader added in v0.15.0

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

MetroAPIS2STravelTime2101Reader is a Reader for the MetroAPIS2STravelTime2101 structure.

func (*MetroAPIS2STravelTime2101Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIS2STravelTime2101Status299 added in v0.15.0

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

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

func NewMetroAPIS2STravelTime2101Status299 added in v0.15.0

func NewMetroAPIS2STravelTime2101Status299() *MetroAPIS2STravelTime2101Status299

NewMetroAPIS2STravelTime2101Status299 creates a MetroAPIS2STravelTime2101Status299 with default headers values

func (*MetroAPIS2STravelTime2101Status299) Error added in v0.15.0

func (*MetroAPIS2STravelTime2101Status299) GetPayload added in v0.15.0

type MetroAPIShape2105NotModified added in v0.15.0

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

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

func NewMetroAPIShape2105NotModified added in v0.15.0

func NewMetroAPIShape2105NotModified() *MetroAPIShape2105NotModified

NewMetroAPIShape2105NotModified creates a MetroAPIShape2105NotModified with default headers values

func (*MetroAPIShape2105NotModified) Error added in v0.15.0

type MetroAPIShape2105OK added in v0.15.0

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

Success

func NewMetroAPIShape2105OK added in v0.15.0

func NewMetroAPIShape2105OK() *MetroAPIShape2105OK

NewMetroAPIShape2105OK creates a MetroAPIShape2105OK with default headers values

func (*MetroAPIShape2105OK) Error added in v0.15.0

func (o *MetroAPIShape2105OK) Error() string

func (*MetroAPIShape2105OK) GetPayload added in v0.15.0

type MetroAPIShape2105Params added in v0.15.0

type MetroAPIShape2105Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌,NTDLRT:淡海輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIShape2105Params contains all the parameters to send to the API endpoint

for the metro Api shape 2105 operation.

Typically these are written to a http.Request.

func NewMetroAPIShape2105Params added in v0.15.0

func NewMetroAPIShape2105Params() *MetroAPIShape2105Params

NewMetroAPIShape2105Params creates a new MetroAPIShape2105Params 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 NewMetroAPIShape2105ParamsWithContext added in v0.15.0

func NewMetroAPIShape2105ParamsWithContext(ctx context.Context) *MetroAPIShape2105Params

NewMetroAPIShape2105ParamsWithContext creates a new MetroAPIShape2105Params object with the ability to set a context for a request.

func NewMetroAPIShape2105ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIShape2105ParamsWithHTTPClient(client *http.Client) *MetroAPIShape2105Params

NewMetroAPIShape2105ParamsWithHTTPClient creates a new MetroAPIShape2105Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIShape2105ParamsWithTimeout added in v0.15.0

func NewMetroAPIShape2105ParamsWithTimeout(timeout time.Duration) *MetroAPIShape2105Params

NewMetroAPIShape2105ParamsWithTimeout creates a new MetroAPIShape2105Params object with the ability to set a timeout on a request.

func (*MetroAPIShape2105Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetDefaults added in v0.15.0

func (o *MetroAPIShape2105Params) SetDefaults()

SetDefaults hydrates default values in the metro Api shape 2105 params (not the query body).

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

func (*MetroAPIShape2105Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIShape2105Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIShape2105Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api shape 2105 params (not the query body).

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

func (*MetroAPIShape2105Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithHTTPClient added in v0.15.0

func (o *MetroAPIShape2105Params) WithHTTPClient(client *http.Client) *MetroAPIShape2105Params

WithHTTPClient adds the HTTPClient to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithHealth added in v0.15.0

func (o *MetroAPIShape2105Params) WithHealth(health *string) *MetroAPIShape2105Params

WithHealth adds the health to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIShape2105Params) WithMetroSystem(metroSystem string) *MetroAPIShape2105Params

WithMetroSystem adds the metroSystem to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api shape 2105 params

func (*MetroAPIShape2105Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIShape2105Reader added in v0.15.0

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

MetroAPIShape2105Reader is a Reader for the MetroAPIShape2105 structure.

func (*MetroAPIShape2105Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIShape2105Status299 added in v0.15.0

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

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

func NewMetroAPIShape2105Status299 added in v0.15.0

func NewMetroAPIShape2105Status299() *MetroAPIShape2105Status299

NewMetroAPIShape2105Status299 creates a MetroAPIShape2105Status299 with default headers values

func (*MetroAPIShape2105Status299) Error added in v0.15.0

func (*MetroAPIShape2105Status299) GetPayload added in v0.15.0

type MetroAPIStation2092NotModified added in v0.15.0

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

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

func NewMetroAPIStation2092NotModified added in v0.15.0

func NewMetroAPIStation2092NotModified() *MetroAPIStation2092NotModified

NewMetroAPIStation2092NotModified creates a MetroAPIStation2092NotModified with default headers values

func (*MetroAPIStation2092NotModified) Error added in v0.15.0

type MetroAPIStation2092OK added in v0.15.0

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

Success

func NewMetroAPIStation2092OK added in v0.15.0

func NewMetroAPIStation2092OK() *MetroAPIStation2092OK

NewMetroAPIStation2092OK creates a MetroAPIStation2092OK with default headers values

func (*MetroAPIStation2092OK) Error added in v0.15.0

func (o *MetroAPIStation2092OK) Error() string

func (*MetroAPIStation2092OK) GetPayload added in v0.15.0

type MetroAPIStation2092Params added in v0.15.0

type MetroAPIStation2092Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌,NTDLRT:淡海輕軌,TRTCMG:貓空纜車)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIStation2092Params contains all the parameters to send to the API endpoint

for the metro Api station 2092 operation.

Typically these are written to a http.Request.

func NewMetroAPIStation2092Params added in v0.15.0

func NewMetroAPIStation2092Params() *MetroAPIStation2092Params

NewMetroAPIStation2092Params creates a new MetroAPIStation2092Params 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 NewMetroAPIStation2092ParamsWithContext added in v0.15.0

func NewMetroAPIStation2092ParamsWithContext(ctx context.Context) *MetroAPIStation2092Params

NewMetroAPIStation2092ParamsWithContext creates a new MetroAPIStation2092Params object with the ability to set a context for a request.

func NewMetroAPIStation2092ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIStation2092ParamsWithHTTPClient(client *http.Client) *MetroAPIStation2092Params

NewMetroAPIStation2092ParamsWithHTTPClient creates a new MetroAPIStation2092Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIStation2092ParamsWithTimeout added in v0.15.0

func NewMetroAPIStation2092ParamsWithTimeout(timeout time.Duration) *MetroAPIStation2092Params

NewMetroAPIStation2092ParamsWithTimeout creates a new MetroAPIStation2092Params object with the ability to set a timeout on a request.

func (*MetroAPIStation2092Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetDefaults added in v0.15.0

func (o *MetroAPIStation2092Params) SetDefaults()

SetDefaults hydrates default values in the metro Api station 2092 params (not the query body).

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

func (*MetroAPIStation2092Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIStation2092Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIStation2092Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api station 2092 params

func (*MetroAPIStation2092Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api station 2092 params (not the query body).

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

func (*MetroAPIStation2092Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithHTTPClient added in v0.15.0

func (o *MetroAPIStation2092Params) WithHTTPClient(client *http.Client) *MetroAPIStation2092Params

WithHTTPClient adds the HTTPClient to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIStation2092Params) WithMetroSystem(metroSystem string) *MetroAPIStation2092Params

WithMetroSystem adds the metroSystem to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api station 2092 params

func (*MetroAPIStation2092Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIStation2092Reader added in v0.15.0

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

MetroAPIStation2092Reader is a Reader for the MetroAPIStation2092 structure.

func (*MetroAPIStation2092Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIStation2092Status299 added in v0.15.0

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

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

func NewMetroAPIStation2092Status299 added in v0.15.0

func NewMetroAPIStation2092Status299() *MetroAPIStation2092Status299

NewMetroAPIStation2092Status299 creates a MetroAPIStation2092Status299 with default headers values

func (*MetroAPIStation2092Status299) Error added in v0.15.0

func (*MetroAPIStation2092Status299) GetPayload added in v0.15.0

type MetroAPIStationExit2096NotModified added in v0.15.0

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

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

func NewMetroAPIStationExit2096NotModified added in v0.15.0

func NewMetroAPIStationExit2096NotModified() *MetroAPIStationExit2096NotModified

NewMetroAPIStationExit2096NotModified creates a MetroAPIStationExit2096NotModified with default headers values

func (*MetroAPIStationExit2096NotModified) Error added in v0.15.0

type MetroAPIStationExit2096OK added in v0.15.0

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

Success

func NewMetroAPIStationExit2096OK added in v0.15.0

func NewMetroAPIStationExit2096OK() *MetroAPIStationExit2096OK

NewMetroAPIStationExit2096OK creates a MetroAPIStationExit2096OK with default headers values

func (*MetroAPIStationExit2096OK) Error added in v0.15.0

func (o *MetroAPIStationExit2096OK) Error() string

func (*MetroAPIStationExit2096OK) GetPayload added in v0.15.0

type MetroAPIStationExit2096Params added in v0.15.0

type MetroAPIStationExit2096Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,TRTCMG:貓空纜車)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIStationExit2096Params contains all the parameters to send to the API endpoint

for the metro Api station exit 2096 operation.

Typically these are written to a http.Request.

func NewMetroAPIStationExit2096Params added in v0.15.0

func NewMetroAPIStationExit2096Params() *MetroAPIStationExit2096Params

NewMetroAPIStationExit2096Params creates a new MetroAPIStationExit2096Params 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 NewMetroAPIStationExit2096ParamsWithContext added in v0.15.0

func NewMetroAPIStationExit2096ParamsWithContext(ctx context.Context) *MetroAPIStationExit2096Params

NewMetroAPIStationExit2096ParamsWithContext creates a new MetroAPIStationExit2096Params object with the ability to set a context for a request.

func NewMetroAPIStationExit2096ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIStationExit2096ParamsWithHTTPClient(client *http.Client) *MetroAPIStationExit2096Params

NewMetroAPIStationExit2096ParamsWithHTTPClient creates a new MetroAPIStationExit2096Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIStationExit2096ParamsWithTimeout added in v0.15.0

func NewMetroAPIStationExit2096ParamsWithTimeout(timeout time.Duration) *MetroAPIStationExit2096Params

NewMetroAPIStationExit2096ParamsWithTimeout creates a new MetroAPIStationExit2096Params object with the ability to set a timeout on a request.

func (*MetroAPIStationExit2096Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetDefaults added in v0.15.0

func (o *MetroAPIStationExit2096Params) SetDefaults()

SetDefaults hydrates default values in the metro Api station exit 2096 params (not the query body).

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

func (*MetroAPIStationExit2096Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIStationExit2096Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIStationExit2096Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api station exit 2096 params (not the query body).

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

func (*MetroAPIStationExit2096Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithMetroSystem added in v0.15.0

func (o *MetroAPIStationExit2096Params) WithMetroSystem(metroSystem string) *MetroAPIStationExit2096Params

WithMetroSystem adds the metroSystem to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api station exit 2096 params

func (*MetroAPIStationExit2096Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIStationExit2096Reader added in v0.15.0

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

MetroAPIStationExit2096Reader is a Reader for the MetroAPIStationExit2096 structure.

func (*MetroAPIStationExit2096Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIStationExit2096Status299 added in v0.15.0

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

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

func NewMetroAPIStationExit2096Status299 added in v0.15.0

func NewMetroAPIStationExit2096Status299() *MetroAPIStationExit2096Status299

NewMetroAPIStationExit2096Status299 creates a MetroAPIStationExit2096Status299 with default headers values

func (*MetroAPIStationExit2096Status299) Error added in v0.15.0

func (*MetroAPIStationExit2096Status299) GetPayload added in v0.15.0

type MetroAPIStationFacility2095NotModified added in v0.15.0

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

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

func NewMetroAPIStationFacility2095NotModified added in v0.15.0

func NewMetroAPIStationFacility2095NotModified() *MetroAPIStationFacility2095NotModified

NewMetroAPIStationFacility2095NotModified creates a MetroAPIStationFacility2095NotModified with default headers values

func (*MetroAPIStationFacility2095NotModified) Error added in v0.15.0

type MetroAPIStationFacility2095OK added in v0.15.0

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

Success

func NewMetroAPIStationFacility2095OK added in v0.15.0

func NewMetroAPIStationFacility2095OK() *MetroAPIStationFacility2095OK

NewMetroAPIStationFacility2095OK creates a MetroAPIStationFacility2095OK with default headers values

func (*MetroAPIStationFacility2095OK) Error added in v0.15.0

func (*MetroAPIStationFacility2095OK) GetPayload added in v0.15.0

type MetroAPIStationFacility2095Params added in v0.15.0

type MetroAPIStationFacility2095Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TYMC:桃園捷運)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIStationFacility2095Params contains all the parameters to send to the API endpoint

for the metro Api station facility 2095 operation.

Typically these are written to a http.Request.

func NewMetroAPIStationFacility2095Params added in v0.15.0

func NewMetroAPIStationFacility2095Params() *MetroAPIStationFacility2095Params

NewMetroAPIStationFacility2095Params creates a new MetroAPIStationFacility2095Params 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 NewMetroAPIStationFacility2095ParamsWithContext added in v0.15.0

func NewMetroAPIStationFacility2095ParamsWithContext(ctx context.Context) *MetroAPIStationFacility2095Params

NewMetroAPIStationFacility2095ParamsWithContext creates a new MetroAPIStationFacility2095Params object with the ability to set a context for a request.

func NewMetroAPIStationFacility2095ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIStationFacility2095ParamsWithHTTPClient(client *http.Client) *MetroAPIStationFacility2095Params

NewMetroAPIStationFacility2095ParamsWithHTTPClient creates a new MetroAPIStationFacility2095Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIStationFacility2095ParamsWithTimeout added in v0.15.0

func NewMetroAPIStationFacility2095ParamsWithTimeout(timeout time.Duration) *MetroAPIStationFacility2095Params

NewMetroAPIStationFacility2095ParamsWithTimeout creates a new MetroAPIStationFacility2095Params object with the ability to set a timeout on a request.

func (*MetroAPIStationFacility2095Params) SetContext added in v0.15.0

SetContext adds the context to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetDefaults added in v0.15.0

func (o *MetroAPIStationFacility2095Params) SetDefaults()

SetDefaults hydrates default values in the metro Api station facility 2095 params (not the query body).

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

func (*MetroAPIStationFacility2095Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIStationFacility2095Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIStationFacility2095Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api station facility 2095 params (not the query body).

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

func (*MetroAPIStationFacility2095Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithMetroSystem added in v0.15.0

WithMetroSystem adds the metroSystem to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api station facility 2095 params

func (*MetroAPIStationFacility2095Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIStationFacility2095Reader added in v0.15.0

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

MetroAPIStationFacility2095Reader is a Reader for the MetroAPIStationFacility2095 structure.

func (*MetroAPIStationFacility2095Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIStationFacility2095Status299 added in v0.15.0

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

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

func NewMetroAPIStationFacility2095Status299 added in v0.15.0

func NewMetroAPIStationFacility2095Status299() *MetroAPIStationFacility2095Status299

NewMetroAPIStationFacility2095Status299 creates a MetroAPIStationFacility2095Status299 with default headers values

func (*MetroAPIStationFacility2095Status299) Error added in v0.15.0

func (*MetroAPIStationFacility2095Status299) GetPayload added in v0.15.0

type MetroAPIStationOfLine2093NotModified added in v0.15.0

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

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

func NewMetroAPIStationOfLine2093NotModified added in v0.15.0

func NewMetroAPIStationOfLine2093NotModified() *MetroAPIStationOfLine2093NotModified

NewMetroAPIStationOfLine2093NotModified creates a MetroAPIStationOfLine2093NotModified with default headers values

func (*MetroAPIStationOfLine2093NotModified) Error added in v0.15.0

type MetroAPIStationOfLine2093OK added in v0.15.0

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

Success

func NewMetroAPIStationOfLine2093OK added in v0.15.0

func NewMetroAPIStationOfLine2093OK() *MetroAPIStationOfLine2093OK

NewMetroAPIStationOfLine2093OK creates a MetroAPIStationOfLine2093OK with default headers values

func (*MetroAPIStationOfLine2093OK) Error added in v0.15.0

func (*MetroAPIStationOfLine2093OK) GetPayload added in v0.15.0

type MetroAPIStationOfLine2093Params added in v0.15.0

type MetroAPIStationOfLine2093Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,KLRT:高雄輕軌,NTDLRT:淡海輕軌,TRTCMG:貓空纜車)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIStationOfLine2093Params contains all the parameters to send to the API endpoint

for the metro Api station of line 2093 operation.

Typically these are written to a http.Request.

func NewMetroAPIStationOfLine2093Params added in v0.15.0

func NewMetroAPIStationOfLine2093Params() *MetroAPIStationOfLine2093Params

NewMetroAPIStationOfLine2093Params creates a new MetroAPIStationOfLine2093Params 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 NewMetroAPIStationOfLine2093ParamsWithContext added in v0.15.0

func NewMetroAPIStationOfLine2093ParamsWithContext(ctx context.Context) *MetroAPIStationOfLine2093Params

NewMetroAPIStationOfLine2093ParamsWithContext creates a new MetroAPIStationOfLine2093Params object with the ability to set a context for a request.

func NewMetroAPIStationOfLine2093ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIStationOfLine2093ParamsWithHTTPClient(client *http.Client) *MetroAPIStationOfLine2093Params

NewMetroAPIStationOfLine2093ParamsWithHTTPClient creates a new MetroAPIStationOfLine2093Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIStationOfLine2093ParamsWithTimeout added in v0.15.0

func NewMetroAPIStationOfLine2093ParamsWithTimeout(timeout time.Duration) *MetroAPIStationOfLine2093Params

NewMetroAPIStationOfLine2093ParamsWithTimeout creates a new MetroAPIStationOfLine2093Params object with the ability to set a timeout on a request.

func (*MetroAPIStationOfLine2093Params) SetContext added in v0.15.0

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

SetContext adds the context to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetDefaults added in v0.15.0

func (o *MetroAPIStationOfLine2093Params) SetDefaults()

SetDefaults hydrates default values in the metro Api station of line 2093 params (not the query body).

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

func (*MetroAPIStationOfLine2093Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIStationOfLine2093Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIStationOfLine2093Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api station of line 2093 params (not the query body).

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

func (*MetroAPIStationOfLine2093Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithMetroSystem added in v0.15.0

WithMetroSystem adds the metroSystem to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api station of line 2093 params

func (*MetroAPIStationOfLine2093Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIStationOfLine2093Reader added in v0.15.0

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

MetroAPIStationOfLine2093Reader is a Reader for the MetroAPIStationOfLine2093 structure.

func (*MetroAPIStationOfLine2093Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIStationOfLine2093Status299 added in v0.15.0

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

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

func NewMetroAPIStationOfLine2093Status299 added in v0.15.0

func NewMetroAPIStationOfLine2093Status299() *MetroAPIStationOfLine2093Status299

NewMetroAPIStationOfLine2093Status299 creates a MetroAPIStationOfLine2093Status299 with default headers values

func (*MetroAPIStationOfLine2093Status299) Error added in v0.15.0

func (*MetroAPIStationOfLine2093Status299) GetPayload added in v0.15.0

type MetroAPIStationOfRoute2098NotModified added in v0.15.0

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

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

func NewMetroAPIStationOfRoute2098NotModified added in v0.15.0

func NewMetroAPIStationOfRoute2098NotModified() *MetroAPIStationOfRoute2098NotModified

NewMetroAPIStationOfRoute2098NotModified creates a MetroAPIStationOfRoute2098NotModified with default headers values

func (*MetroAPIStationOfRoute2098NotModified) Error added in v0.15.0

type MetroAPIStationOfRoute2098OK added in v0.15.0

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

Success

func NewMetroAPIStationOfRoute2098OK added in v0.15.0

func NewMetroAPIStationOfRoute2098OK() *MetroAPIStationOfRoute2098OK

NewMetroAPIStationOfRoute2098OK creates a MetroAPIStationOfRoute2098OK with default headers values

func (*MetroAPIStationOfRoute2098OK) Error added in v0.15.0

func (*MetroAPIStationOfRoute2098OK) GetPayload added in v0.15.0

type MetroAPIStationOfRoute2098Params added in v0.15.0

type MetroAPIStationOfRoute2098Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,TMRT:臺中捷運,NTDLRT:淡海輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIStationOfRoute2098Params contains all the parameters to send to the API endpoint

for the metro Api station of route 2098 operation.

Typically these are written to a http.Request.

func NewMetroAPIStationOfRoute2098Params added in v0.15.0

func NewMetroAPIStationOfRoute2098Params() *MetroAPIStationOfRoute2098Params

NewMetroAPIStationOfRoute2098Params creates a new MetroAPIStationOfRoute2098Params 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 NewMetroAPIStationOfRoute2098ParamsWithContext added in v0.15.0

func NewMetroAPIStationOfRoute2098ParamsWithContext(ctx context.Context) *MetroAPIStationOfRoute2098Params

NewMetroAPIStationOfRoute2098ParamsWithContext creates a new MetroAPIStationOfRoute2098Params object with the ability to set a context for a request.

func NewMetroAPIStationOfRoute2098ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIStationOfRoute2098ParamsWithHTTPClient(client *http.Client) *MetroAPIStationOfRoute2098Params

NewMetroAPIStationOfRoute2098ParamsWithHTTPClient creates a new MetroAPIStationOfRoute2098Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIStationOfRoute2098ParamsWithTimeout added in v0.15.0

func NewMetroAPIStationOfRoute2098ParamsWithTimeout(timeout time.Duration) *MetroAPIStationOfRoute2098Params

NewMetroAPIStationOfRoute2098ParamsWithTimeout creates a new MetroAPIStationOfRoute2098Params object with the ability to set a timeout on a request.

func (*MetroAPIStationOfRoute2098Params) SetContext added in v0.15.0

SetContext adds the context to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetDefaults added in v0.15.0

func (o *MetroAPIStationOfRoute2098Params) SetDefaults()

SetDefaults hydrates default values in the metro Api station of route 2098 params (not the query body).

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

func (*MetroAPIStationOfRoute2098Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIStationOfRoute2098Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIStationOfRoute2098Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api station of route 2098 params (not the query body).

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

func (*MetroAPIStationOfRoute2098Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithMetroSystem added in v0.15.0

WithMetroSystem adds the metroSystem to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api station of route 2098 params

func (*MetroAPIStationOfRoute2098Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIStationOfRoute2098Reader added in v0.15.0

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

MetroAPIStationOfRoute2098Reader is a Reader for the MetroAPIStationOfRoute2098 structure.

func (*MetroAPIStationOfRoute2098Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIStationOfRoute2098Status299 added in v0.15.0

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

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

func NewMetroAPIStationOfRoute2098Status299 added in v0.15.0

func NewMetroAPIStationOfRoute2098Status299() *MetroAPIStationOfRoute2098Status299

NewMetroAPIStationOfRoute2098Status299 creates a MetroAPIStationOfRoute2098Status299 with default headers values

func (*MetroAPIStationOfRoute2098Status299) Error added in v0.15.0

func (*MetroAPIStationOfRoute2098Status299) GetPayload added in v0.15.0

type MetroAPIStationTimeTable2104NotModified added in v0.15.0

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

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

func NewMetroAPIStationTimeTable2104NotModified added in v0.15.0

func NewMetroAPIStationTimeTable2104NotModified() *MetroAPIStationTimeTable2104NotModified

NewMetroAPIStationTimeTable2104NotModified creates a MetroAPIStationTimeTable2104NotModified with default headers values

func (*MetroAPIStationTimeTable2104NotModified) Error added in v0.15.0

type MetroAPIStationTimeTable2104OK added in v0.15.0

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

Success

func NewMetroAPIStationTimeTable2104OK added in v0.15.0

func NewMetroAPIStationTimeTable2104OK() *MetroAPIStationTimeTable2104OK

NewMetroAPIStationTimeTable2104OK creates a MetroAPIStationTimeTable2104OK with default headers values

func (*MetroAPIStationTimeTable2104OK) Error added in v0.15.0

func (*MetroAPIStationTimeTable2104OK) GetPayload added in v0.15.0

type MetroAPIStationTimeTable2104Params added in v0.15.0

type MetroAPIStationTimeTable2104Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* MetroSystem.

	   欲查詢捷運系統(TRTC:臺北捷運,KRTC:高雄捷運,TYMC:桃園捷運,KLRT:高雄輕軌,NTDLRT:淡海輕軌)
	*/
	MetroSystem string

	/* Health.

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

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

MetroAPIStationTimeTable2104Params contains all the parameters to send to the API endpoint

for the metro Api station time table 2104 operation.

Typically these are written to a http.Request.

func NewMetroAPIStationTimeTable2104Params added in v0.15.0

func NewMetroAPIStationTimeTable2104Params() *MetroAPIStationTimeTable2104Params

NewMetroAPIStationTimeTable2104Params creates a new MetroAPIStationTimeTable2104Params 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 NewMetroAPIStationTimeTable2104ParamsWithContext added in v0.15.0

func NewMetroAPIStationTimeTable2104ParamsWithContext(ctx context.Context) *MetroAPIStationTimeTable2104Params

NewMetroAPIStationTimeTable2104ParamsWithContext creates a new MetroAPIStationTimeTable2104Params object with the ability to set a context for a request.

func NewMetroAPIStationTimeTable2104ParamsWithHTTPClient added in v0.15.0

func NewMetroAPIStationTimeTable2104ParamsWithHTTPClient(client *http.Client) *MetroAPIStationTimeTable2104Params

NewMetroAPIStationTimeTable2104ParamsWithHTTPClient creates a new MetroAPIStationTimeTable2104Params object with the ability to set a custom HTTPClient for a request.

func NewMetroAPIStationTimeTable2104ParamsWithTimeout added in v0.15.0

func NewMetroAPIStationTimeTable2104ParamsWithTimeout(timeout time.Duration) *MetroAPIStationTimeTable2104Params

NewMetroAPIStationTimeTable2104ParamsWithTimeout creates a new MetroAPIStationTimeTable2104Params object with the ability to set a timeout on a request.

func (*MetroAPIStationTimeTable2104Params) SetContext added in v0.15.0

SetContext adds the context to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetDefaults added in v0.15.0

func (o *MetroAPIStationTimeTable2104Params) SetDefaults()

SetDefaults hydrates default values in the metro Api station time table 2104 params (not the query body).

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

func (*MetroAPIStationTimeTable2104Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetDollarFormat added in v0.15.0

func (o *MetroAPIStationTimeTable2104Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetMetroSystem added in v0.15.0

func (o *MetroAPIStationTimeTable2104Params) SetMetroSystem(metroSystem string)

SetMetroSystem adds the metroSystem to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithContext added in v0.15.0

WithContext adds the context to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the metro Api station time table 2104 params (not the query body).

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

func (*MetroAPIStationTimeTable2104Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithHealth added in v0.15.0

WithHealth adds the health to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithMetroSystem added in v0.15.0

WithMetroSystem adds the metroSystem to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the metro Api station time table 2104 params

func (*MetroAPIStationTimeTable2104Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type MetroAPIStationTimeTable2104Reader added in v0.15.0

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

MetroAPIStationTimeTable2104Reader is a Reader for the MetroAPIStationTimeTable2104 structure.

func (*MetroAPIStationTimeTable2104Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type MetroAPIStationTimeTable2104Status299 added in v0.15.0

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

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

func NewMetroAPIStationTimeTable2104Status299 added in v0.15.0

func NewMetroAPIStationTimeTable2104Status299() *MetroAPIStationTimeTable2104Status299

NewMetroAPIStationTimeTable2104Status299 creates a MetroAPIStationTimeTable2104Status299 with default headers values

func (*MetroAPIStationTimeTable2104Status299) Error added in v0.15.0

func (*MetroAPIStationTimeTable2104Status299) GetPayload added in v0.15.0

Jump to

Keyboard shortcuts

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