a_f_r

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 a f r API

func (*Client) LiteTrainGeneralTrainTimetable3285 added in v0.15.0

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

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

func (*Client) LiteTrainGeneralTrainTimetable32851 added in v0.15.0

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

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

func (*Client) LiteTrainLine3283 added in v0.15.0

LiteTrainLine3283 取得路線基本資料s

取得路線基本資料

func (*Client) LiteTrainNetwork3281 added in v0.15.0

LiteTrainNetwork3281 取得路網資料s

取得路網資料

func (*Client) LiteTrainNews3291 added in v0.15.0

LiteTrainNews3291 取得最新消息s

取得最新消息

func (*Client) LiteTrainODFare3286 added in v0.15.0

LiteTrainODFare3286 取得所有票價資料s

取得所有票價資料

func (*Client) LiteTrainODFare32861 added in v0.15.0

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

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

func (*Client) LiteTrainOperator3284 added in v0.15.0

LiteTrainOperator3284 取得營運業者基本資料s

取得營運業者基本資料

func (*Client) LiteTrainRoute3287 added in v0.15.0

LiteTrainRoute3287 取得營運路線基本資料s

取得營運路線基本資料

func (*Client) LiteTrainStation3282 added in v0.15.0

LiteTrainStation3282 取得車站基本資料s

取得車站基本資料

func (*Client) LiteTrainStationOfLine3288 added in v0.15.0

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

取得路線車站基本資料

func (*Client) LiteTrainStationOfRoute3290 added in v0.15.0

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

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

func (*Client) LiteTrainTrainType3289 added in v0.15.0

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

取得所有列車車種資料

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	LiteTrainGeneralTrainTimetable3285(params *LiteTrainGeneralTrainTimetable3285Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainGeneralTrainTimetable3285OK, *LiteTrainGeneralTrainTimetable3285Status299, error)

	LiteTrainGeneralTrainTimetable32851(params *LiteTrainGeneralTrainTimetable32851Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainGeneralTrainTimetable32851OK, *LiteTrainGeneralTrainTimetable32851Status299, error)

	LiteTrainLine3283(params *LiteTrainLine3283Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainLine3283OK, *LiteTrainLine3283Status299, error)

	LiteTrainNetwork3281(params *LiteTrainNetwork3281Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainNetwork3281OK, *LiteTrainNetwork3281Status299, error)

	LiteTrainNews3291(params *LiteTrainNews3291Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainNews3291OK, *LiteTrainNews3291Status299, error)

	LiteTrainODFare3286(params *LiteTrainODFare3286Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainODFare3286OK, *LiteTrainODFare3286Status299, error)

	LiteTrainODFare32861(params *LiteTrainODFare32861Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainODFare32861OK, *LiteTrainODFare32861Status299, error)

	LiteTrainOperator3284(params *LiteTrainOperator3284Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainOperator3284OK, *LiteTrainOperator3284Status299, error)

	LiteTrainRoute3287(params *LiteTrainRoute3287Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainRoute3287OK, *LiteTrainRoute3287Status299, error)

	LiteTrainStationOfLine3288(params *LiteTrainStationOfLine3288Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainStationOfLine3288OK, *LiteTrainStationOfLine3288Status299, error)

	LiteTrainStationOfRoute3290(params *LiteTrainStationOfRoute3290Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainStationOfRoute3290OK, *LiteTrainStationOfRoute3290Status299, error)

	LiteTrainStation3282(params *LiteTrainStation3282Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainStation3282OK, *LiteTrainStation3282Status299, error)

	LiteTrainTrainType3289(params *LiteTrainTrainType3289Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*LiteTrainTrainType3289OK, *LiteTrainTrainType3289Status299, 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 a f r API client.

type LiteTrainGeneralTrainTimetable32851NotModified added in v0.15.0

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

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

func NewLiteTrainGeneralTrainTimetable32851NotModified added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851NotModified() *LiteTrainGeneralTrainTimetable32851NotModified

NewLiteTrainGeneralTrainTimetable32851NotModified creates a LiteTrainGeneralTrainTimetable32851NotModified with default headers values

func (*LiteTrainGeneralTrainTimetable32851NotModified) Error added in v0.15.0

type LiteTrainGeneralTrainTimetable32851OK added in v0.15.0

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

Success

func NewLiteTrainGeneralTrainTimetable32851OK added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851OK() *LiteTrainGeneralTrainTimetable32851OK

NewLiteTrainGeneralTrainTimetable32851OK creates a LiteTrainGeneralTrainTimetable32851OK with default headers values

func (*LiteTrainGeneralTrainTimetable32851OK) Error added in v0.15.0

type LiteTrainGeneralTrainTimetable32851Params added in v0.15.0

type LiteTrainGeneralTrainTimetable32851Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* TrainNo.

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

	/* Health.

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

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

LiteTrainGeneralTrainTimetable32851Params contains all the parameters to send to the API endpoint

for the lite train general train timetable 3285 1 operation.

Typically these are written to a http.Request.

func NewLiteTrainGeneralTrainTimetable32851Params added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851Params() *LiteTrainGeneralTrainTimetable32851Params

NewLiteTrainGeneralTrainTimetable32851Params creates a new LiteTrainGeneralTrainTimetable32851Params 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 NewLiteTrainGeneralTrainTimetable32851ParamsWithContext added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851ParamsWithContext(ctx context.Context) *LiteTrainGeneralTrainTimetable32851Params

NewLiteTrainGeneralTrainTimetable32851ParamsWithContext creates a new LiteTrainGeneralTrainTimetable32851Params object with the ability to set a context for a request.

func NewLiteTrainGeneralTrainTimetable32851ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851ParamsWithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetable32851Params

NewLiteTrainGeneralTrainTimetable32851ParamsWithHTTPClient creates a new LiteTrainGeneralTrainTimetable32851Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainGeneralTrainTimetable32851ParamsWithTimeout added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851ParamsWithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetable32851Params

NewLiteTrainGeneralTrainTimetable32851ParamsWithTimeout creates a new LiteTrainGeneralTrainTimetable32851Params object with the ability to set a timeout on a request.

func (*LiteTrainGeneralTrainTimetable32851Params) SetContext added in v0.15.0

SetContext adds the context to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the lite train general train timetable 3285 1 params (not the query body).

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

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainGeneralTrainTimetable32851Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) SetTrainNo added in v0.15.0

func (o *LiteTrainGeneralTrainTimetable32851Params) SetTrainNo(trainNo string)

SetTrainNo adds the trainNo to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithContext added in v0.15.0

WithContext adds the context to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train general train timetable 3285 1 params (not the query body).

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

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarCount added in v0.15.0

WithDollarCount adds the dollarCount to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WithTrainNo added in v0.15.0

WithTrainNo adds the trainNo to the lite train general train timetable 3285 1 params

func (*LiteTrainGeneralTrainTimetable32851Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainGeneralTrainTimetable32851Reader added in v0.15.0

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

LiteTrainGeneralTrainTimetable32851Reader is a Reader for the LiteTrainGeneralTrainTimetable32851 structure.

func (*LiteTrainGeneralTrainTimetable32851Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainGeneralTrainTimetable32851Status299 added in v0.15.0

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

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

func NewLiteTrainGeneralTrainTimetable32851Status299 added in v0.15.0

func NewLiteTrainGeneralTrainTimetable32851Status299() *LiteTrainGeneralTrainTimetable32851Status299

NewLiteTrainGeneralTrainTimetable32851Status299 creates a LiteTrainGeneralTrainTimetable32851Status299 with default headers values

func (*LiteTrainGeneralTrainTimetable32851Status299) Error added in v0.15.0

func (*LiteTrainGeneralTrainTimetable32851Status299) GetPayload added in v0.15.0

type LiteTrainGeneralTrainTimetable3285NotModified added in v0.15.0

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

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

func NewLiteTrainGeneralTrainTimetable3285NotModified added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285NotModified() *LiteTrainGeneralTrainTimetable3285NotModified

NewLiteTrainGeneralTrainTimetable3285NotModified creates a LiteTrainGeneralTrainTimetable3285NotModified with default headers values

func (*LiteTrainGeneralTrainTimetable3285NotModified) Error added in v0.15.0

type LiteTrainGeneralTrainTimetable3285OK added in v0.15.0

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

Success

func NewLiteTrainGeneralTrainTimetable3285OK added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285OK() *LiteTrainGeneralTrainTimetable3285OK

NewLiteTrainGeneralTrainTimetable3285OK creates a LiteTrainGeneralTrainTimetable3285OK with default headers values

func (*LiteTrainGeneralTrainTimetable3285OK) Error added in v0.15.0

type LiteTrainGeneralTrainTimetable3285Params added in v0.15.0

type LiteTrainGeneralTrainTimetable3285Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainGeneralTrainTimetable3285Params contains all the parameters to send to the API endpoint

for the lite train general train timetable 3285 operation.

Typically these are written to a http.Request.

func NewLiteTrainGeneralTrainTimetable3285Params added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285Params() *LiteTrainGeneralTrainTimetable3285Params

NewLiteTrainGeneralTrainTimetable3285Params creates a new LiteTrainGeneralTrainTimetable3285Params 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 NewLiteTrainGeneralTrainTimetable3285ParamsWithContext added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285ParamsWithContext(ctx context.Context) *LiteTrainGeneralTrainTimetable3285Params

NewLiteTrainGeneralTrainTimetable3285ParamsWithContext creates a new LiteTrainGeneralTrainTimetable3285Params object with the ability to set a context for a request.

func NewLiteTrainGeneralTrainTimetable3285ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285ParamsWithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetable3285Params

NewLiteTrainGeneralTrainTimetable3285ParamsWithHTTPClient creates a new LiteTrainGeneralTrainTimetable3285Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainGeneralTrainTimetable3285ParamsWithTimeout added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285ParamsWithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetable3285Params

NewLiteTrainGeneralTrainTimetable3285ParamsWithTimeout creates a new LiteTrainGeneralTrainTimetable3285Params object with the ability to set a timeout on a request.

func (*LiteTrainGeneralTrainTimetable3285Params) SetContext added in v0.15.0

SetContext adds the context to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the lite train general train timetable 3285 params (not the query body).

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

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainGeneralTrainTimetable3285Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithContext added in v0.15.0

WithContext adds the context to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train general train timetable 3285 params (not the query body).

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

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarCount added in v0.15.0

WithDollarCount adds the dollarCount to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train general train timetable 3285 params

func (*LiteTrainGeneralTrainTimetable3285Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainGeneralTrainTimetable3285Reader added in v0.15.0

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

LiteTrainGeneralTrainTimetable3285Reader is a Reader for the LiteTrainGeneralTrainTimetable3285 structure.

func (*LiteTrainGeneralTrainTimetable3285Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainGeneralTrainTimetable3285Status299 added in v0.15.0

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

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

func NewLiteTrainGeneralTrainTimetable3285Status299 added in v0.15.0

func NewLiteTrainGeneralTrainTimetable3285Status299() *LiteTrainGeneralTrainTimetable3285Status299

NewLiteTrainGeneralTrainTimetable3285Status299 creates a LiteTrainGeneralTrainTimetable3285Status299 with default headers values

func (*LiteTrainGeneralTrainTimetable3285Status299) Error added in v0.15.0

func (*LiteTrainGeneralTrainTimetable3285Status299) GetPayload added in v0.15.0

type LiteTrainLine3283NotModified added in v0.15.0

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

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

func NewLiteTrainLine3283NotModified added in v0.15.0

func NewLiteTrainLine3283NotModified() *LiteTrainLine3283NotModified

NewLiteTrainLine3283NotModified creates a LiteTrainLine3283NotModified with default headers values

func (*LiteTrainLine3283NotModified) Error added in v0.15.0

type LiteTrainLine3283OK added in v0.15.0

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

Success

func NewLiteTrainLine3283OK added in v0.15.0

func NewLiteTrainLine3283OK() *LiteTrainLine3283OK

NewLiteTrainLine3283OK creates a LiteTrainLine3283OK with default headers values

func (*LiteTrainLine3283OK) Error added in v0.15.0

func (o *LiteTrainLine3283OK) Error() string

type LiteTrainLine3283Params added in v0.15.0

type LiteTrainLine3283Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainLine3283Params contains all the parameters to send to the API endpoint

for the lite train line 3283 operation.

Typically these are written to a http.Request.

func NewLiteTrainLine3283Params added in v0.15.0

func NewLiteTrainLine3283Params() *LiteTrainLine3283Params

NewLiteTrainLine3283Params creates a new LiteTrainLine3283Params 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 NewLiteTrainLine3283ParamsWithContext added in v0.15.0

func NewLiteTrainLine3283ParamsWithContext(ctx context.Context) *LiteTrainLine3283Params

NewLiteTrainLine3283ParamsWithContext creates a new LiteTrainLine3283Params object with the ability to set a context for a request.

func NewLiteTrainLine3283ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainLine3283ParamsWithHTTPClient(client *http.Client) *LiteTrainLine3283Params

NewLiteTrainLine3283ParamsWithHTTPClient creates a new LiteTrainLine3283Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainLine3283ParamsWithTimeout added in v0.15.0

func NewLiteTrainLine3283ParamsWithTimeout(timeout time.Duration) *LiteTrainLine3283Params

NewLiteTrainLine3283ParamsWithTimeout creates a new LiteTrainLine3283Params object with the ability to set a timeout on a request.

func (*LiteTrainLine3283Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDefaults added in v0.15.0

func (o *LiteTrainLine3283Params) SetDefaults()

SetDefaults hydrates default values in the lite train line 3283 params (not the query body).

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

func (*LiteTrainLine3283Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainLine3283Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train line 3283 params

func (*LiteTrainLine3283Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithContext added in v0.15.0

WithContext adds the context to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train line 3283 params (not the query body).

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

func (*LiteTrainLine3283Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithHealth added in v0.15.0

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

WithHealth adds the health to the lite train line 3283 params

func (*LiteTrainLine3283Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train line 3283 params

func (*LiteTrainLine3283Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainLine3283Reader added in v0.15.0

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

LiteTrainLine3283Reader is a Reader for the LiteTrainLine3283 structure.

func (*LiteTrainLine3283Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainLine3283Status299 added in v0.15.0

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

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

func NewLiteTrainLine3283Status299 added in v0.15.0

func NewLiteTrainLine3283Status299() *LiteTrainLine3283Status299

NewLiteTrainLine3283Status299 creates a LiteTrainLine3283Status299 with default headers values

func (*LiteTrainLine3283Status299) Error added in v0.15.0

func (*LiteTrainLine3283Status299) GetPayload added in v0.15.0

type LiteTrainNetwork3281NotModified added in v0.15.0

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

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

func NewLiteTrainNetwork3281NotModified added in v0.15.0

func NewLiteTrainNetwork3281NotModified() *LiteTrainNetwork3281NotModified

NewLiteTrainNetwork3281NotModified creates a LiteTrainNetwork3281NotModified with default headers values

func (*LiteTrainNetwork3281NotModified) Error added in v0.15.0

type LiteTrainNetwork3281OK added in v0.15.0

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

Success

func NewLiteTrainNetwork3281OK added in v0.15.0

func NewLiteTrainNetwork3281OK() *LiteTrainNetwork3281OK

NewLiteTrainNetwork3281OK creates a LiteTrainNetwork3281OK with default headers values

func (*LiteTrainNetwork3281OK) Error added in v0.15.0

func (o *LiteTrainNetwork3281OK) Error() string

type LiteTrainNetwork3281Params added in v0.15.0

type LiteTrainNetwork3281Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainNetwork3281Params contains all the parameters to send to the API endpoint

for the lite train network 3281 operation.

Typically these are written to a http.Request.

func NewLiteTrainNetwork3281Params added in v0.15.0

func NewLiteTrainNetwork3281Params() *LiteTrainNetwork3281Params

NewLiteTrainNetwork3281Params creates a new LiteTrainNetwork3281Params 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 NewLiteTrainNetwork3281ParamsWithContext added in v0.15.0

func NewLiteTrainNetwork3281ParamsWithContext(ctx context.Context) *LiteTrainNetwork3281Params

NewLiteTrainNetwork3281ParamsWithContext creates a new LiteTrainNetwork3281Params object with the ability to set a context for a request.

func NewLiteTrainNetwork3281ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainNetwork3281ParamsWithHTTPClient(client *http.Client) *LiteTrainNetwork3281Params

NewLiteTrainNetwork3281ParamsWithHTTPClient creates a new LiteTrainNetwork3281Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainNetwork3281ParamsWithTimeout added in v0.15.0

func NewLiteTrainNetwork3281ParamsWithTimeout(timeout time.Duration) *LiteTrainNetwork3281Params

NewLiteTrainNetwork3281ParamsWithTimeout creates a new LiteTrainNetwork3281Params object with the ability to set a timeout on a request.

func (*LiteTrainNetwork3281Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDefaults added in v0.15.0

func (o *LiteTrainNetwork3281Params) SetDefaults()

SetDefaults hydrates default values in the lite train network 3281 params (not the query body).

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

func (*LiteTrainNetwork3281Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainNetwork3281Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithContext added in v0.15.0

WithContext adds the context to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train network 3281 params (not the query body).

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

func (*LiteTrainNetwork3281Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train network 3281 params

func (*LiteTrainNetwork3281Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainNetwork3281Reader added in v0.15.0

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

LiteTrainNetwork3281Reader is a Reader for the LiteTrainNetwork3281 structure.

func (*LiteTrainNetwork3281Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainNetwork3281Status299 added in v0.15.0

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

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

func NewLiteTrainNetwork3281Status299 added in v0.15.0

func NewLiteTrainNetwork3281Status299() *LiteTrainNetwork3281Status299

NewLiteTrainNetwork3281Status299 creates a LiteTrainNetwork3281Status299 with default headers values

func (*LiteTrainNetwork3281Status299) Error added in v0.15.0

func (*LiteTrainNetwork3281Status299) GetPayload added in v0.15.0

type LiteTrainNews3291NotModified added in v0.15.0

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

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

func NewLiteTrainNews3291NotModified added in v0.15.0

func NewLiteTrainNews3291NotModified() *LiteTrainNews3291NotModified

NewLiteTrainNews3291NotModified creates a LiteTrainNews3291NotModified with default headers values

func (*LiteTrainNews3291NotModified) Error added in v0.15.0

type LiteTrainNews3291OK added in v0.15.0

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

Success

func NewLiteTrainNews3291OK added in v0.15.0

func NewLiteTrainNews3291OK() *LiteTrainNews3291OK

NewLiteTrainNews3291OK creates a LiteTrainNews3291OK with default headers values

func (*LiteTrainNews3291OK) Error added in v0.15.0

func (o *LiteTrainNews3291OK) Error() string

type LiteTrainNews3291Params added in v0.15.0

type LiteTrainNews3291Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainNews3291Params contains all the parameters to send to the API endpoint

for the lite train news 3291 operation.

Typically these are written to a http.Request.

func NewLiteTrainNews3291Params added in v0.15.0

func NewLiteTrainNews3291Params() *LiteTrainNews3291Params

NewLiteTrainNews3291Params creates a new LiteTrainNews3291Params 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 NewLiteTrainNews3291ParamsWithContext added in v0.15.0

func NewLiteTrainNews3291ParamsWithContext(ctx context.Context) *LiteTrainNews3291Params

NewLiteTrainNews3291ParamsWithContext creates a new LiteTrainNews3291Params object with the ability to set a context for a request.

func NewLiteTrainNews3291ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainNews3291ParamsWithHTTPClient(client *http.Client) *LiteTrainNews3291Params

NewLiteTrainNews3291ParamsWithHTTPClient creates a new LiteTrainNews3291Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainNews3291ParamsWithTimeout added in v0.15.0

func NewLiteTrainNews3291ParamsWithTimeout(timeout time.Duration) *LiteTrainNews3291Params

NewLiteTrainNews3291ParamsWithTimeout creates a new LiteTrainNews3291Params object with the ability to set a timeout on a request.

func (*LiteTrainNews3291Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDefaults added in v0.15.0

func (o *LiteTrainNews3291Params) SetDefaults()

SetDefaults hydrates default values in the lite train news 3291 params (not the query body).

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

func (*LiteTrainNews3291Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainNews3291Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train news 3291 params

func (*LiteTrainNews3291Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithContext added in v0.15.0

WithContext adds the context to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train news 3291 params (not the query body).

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

func (*LiteTrainNews3291Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithHealth added in v0.15.0

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

WithHealth adds the health to the lite train news 3291 params

func (*LiteTrainNews3291Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train news 3291 params

func (*LiteTrainNews3291Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainNews3291Reader added in v0.15.0

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

LiteTrainNews3291Reader is a Reader for the LiteTrainNews3291 structure.

func (*LiteTrainNews3291Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainNews3291Status299 added in v0.15.0

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

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

func NewLiteTrainNews3291Status299 added in v0.15.0

func NewLiteTrainNews3291Status299() *LiteTrainNews3291Status299

NewLiteTrainNews3291Status299 creates a LiteTrainNews3291Status299 with default headers values

func (*LiteTrainNews3291Status299) Error added in v0.15.0

func (*LiteTrainNews3291Status299) GetPayload added in v0.15.0

type LiteTrainODFare32861NotModified added in v0.15.0

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

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

func NewLiteTrainODFare32861NotModified added in v0.15.0

func NewLiteTrainODFare32861NotModified() *LiteTrainODFare32861NotModified

NewLiteTrainODFare32861NotModified creates a LiteTrainODFare32861NotModified with default headers values

func (*LiteTrainODFare32861NotModified) Error added in v0.15.0

type LiteTrainODFare32861OK added in v0.15.0

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

Success

func NewLiteTrainODFare32861OK added in v0.15.0

func NewLiteTrainODFare32861OK() *LiteTrainODFare32861OK

NewLiteTrainODFare32861OK creates a LiteTrainODFare32861OK with default headers values

func (*LiteTrainODFare32861OK) Error added in v0.15.0

func (o *LiteTrainODFare32861OK) Error() string

type LiteTrainODFare32861Params added in v0.15.0

type LiteTrainODFare32861Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* DestinationStationID.

	   迄點車站代碼
	*/
	DestinationStationID string

	/* OriginStationID.

	   起點車站代碼
	*/
	OriginStationID string

	/* Health.

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

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

LiteTrainODFare32861Params contains all the parameters to send to the API endpoint

for the lite train o d fare 3286 1 operation.

Typically these are written to a http.Request.

func NewLiteTrainODFare32861Params added in v0.15.0

func NewLiteTrainODFare32861Params() *LiteTrainODFare32861Params

NewLiteTrainODFare32861Params creates a new LiteTrainODFare32861Params 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 NewLiteTrainODFare32861ParamsWithContext added in v0.15.0

func NewLiteTrainODFare32861ParamsWithContext(ctx context.Context) *LiteTrainODFare32861Params

NewLiteTrainODFare32861ParamsWithContext creates a new LiteTrainODFare32861Params object with the ability to set a context for a request.

func NewLiteTrainODFare32861ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainODFare32861ParamsWithHTTPClient(client *http.Client) *LiteTrainODFare32861Params

NewLiteTrainODFare32861ParamsWithHTTPClient creates a new LiteTrainODFare32861Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainODFare32861ParamsWithTimeout added in v0.15.0

func NewLiteTrainODFare32861ParamsWithTimeout(timeout time.Duration) *LiteTrainODFare32861Params

NewLiteTrainODFare32861ParamsWithTimeout creates a new LiteTrainODFare32861Params object with the ability to set a timeout on a request.

func (*LiteTrainODFare32861Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDefaults added in v0.15.0

func (o *LiteTrainODFare32861Params) SetDefaults()

SetDefaults hydrates default values in the lite train o d fare 3286 1 params (not the query body).

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

func (*LiteTrainODFare32861Params) SetDestinationStationID added in v0.15.0

func (o *LiteTrainODFare32861Params) SetDestinationStationID(destinationStationID string)

SetDestinationStationID adds the destinationStationId to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainODFare32861Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetOriginStationID added in v0.15.0

func (o *LiteTrainODFare32861Params) SetOriginStationID(originStationID string)

SetOriginStationID adds the originStationId to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithContext added in v0.15.0

WithContext adds the context to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train o d fare 3286 1 params (not the query body).

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

func (*LiteTrainODFare32861Params) WithDestinationStationID added in v0.15.0

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

WithDestinationStationID adds the destinationStationID to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithOriginStationID added in v0.15.0

func (o *LiteTrainODFare32861Params) WithOriginStationID(originStationID string) *LiteTrainODFare32861Params

WithOriginStationID adds the originStationID to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train o d fare 3286 1 params

func (*LiteTrainODFare32861Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainODFare32861Reader added in v0.15.0

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

LiteTrainODFare32861Reader is a Reader for the LiteTrainODFare32861 structure.

func (*LiteTrainODFare32861Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainODFare32861Status299 added in v0.15.0

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

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

func NewLiteTrainODFare32861Status299 added in v0.15.0

func NewLiteTrainODFare32861Status299() *LiteTrainODFare32861Status299

NewLiteTrainODFare32861Status299 creates a LiteTrainODFare32861Status299 with default headers values

func (*LiteTrainODFare32861Status299) Error added in v0.15.0

func (*LiteTrainODFare32861Status299) GetPayload added in v0.15.0

type LiteTrainODFare3286NotModified added in v0.15.0

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

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

func NewLiteTrainODFare3286NotModified added in v0.15.0

func NewLiteTrainODFare3286NotModified() *LiteTrainODFare3286NotModified

NewLiteTrainODFare3286NotModified creates a LiteTrainODFare3286NotModified with default headers values

func (*LiteTrainODFare3286NotModified) Error added in v0.15.0

type LiteTrainODFare3286OK added in v0.15.0

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

Success

func NewLiteTrainODFare3286OK added in v0.15.0

func NewLiteTrainODFare3286OK() *LiteTrainODFare3286OK

NewLiteTrainODFare3286OK creates a LiteTrainODFare3286OK with default headers values

func (*LiteTrainODFare3286OK) Error added in v0.15.0

func (o *LiteTrainODFare3286OK) Error() string

type LiteTrainODFare3286Params added in v0.15.0

type LiteTrainODFare3286Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainODFare3286Params contains all the parameters to send to the API endpoint

for the lite train o d fare 3286 operation.

Typically these are written to a http.Request.

func NewLiteTrainODFare3286Params added in v0.15.0

func NewLiteTrainODFare3286Params() *LiteTrainODFare3286Params

NewLiteTrainODFare3286Params creates a new LiteTrainODFare3286Params 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 NewLiteTrainODFare3286ParamsWithContext added in v0.15.0

func NewLiteTrainODFare3286ParamsWithContext(ctx context.Context) *LiteTrainODFare3286Params

NewLiteTrainODFare3286ParamsWithContext creates a new LiteTrainODFare3286Params object with the ability to set a context for a request.

func NewLiteTrainODFare3286ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainODFare3286ParamsWithHTTPClient(client *http.Client) *LiteTrainODFare3286Params

NewLiteTrainODFare3286ParamsWithHTTPClient creates a new LiteTrainODFare3286Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainODFare3286ParamsWithTimeout added in v0.15.0

func NewLiteTrainODFare3286ParamsWithTimeout(timeout time.Duration) *LiteTrainODFare3286Params

NewLiteTrainODFare3286ParamsWithTimeout creates a new LiteTrainODFare3286Params object with the ability to set a timeout on a request.

func (*LiteTrainODFare3286Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDefaults added in v0.15.0

func (o *LiteTrainODFare3286Params) SetDefaults()

SetDefaults hydrates default values in the lite train o d fare 3286 params (not the query body).

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

func (*LiteTrainODFare3286Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainODFare3286Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithContext added in v0.15.0

WithContext adds the context to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train o d fare 3286 params (not the query body).

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

func (*LiteTrainODFare3286Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train o d fare 3286 params

func (*LiteTrainODFare3286Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainODFare3286Reader added in v0.15.0

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

LiteTrainODFare3286Reader is a Reader for the LiteTrainODFare3286 structure.

func (*LiteTrainODFare3286Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainODFare3286Status299 added in v0.15.0

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

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

func NewLiteTrainODFare3286Status299 added in v0.15.0

func NewLiteTrainODFare3286Status299() *LiteTrainODFare3286Status299

NewLiteTrainODFare3286Status299 creates a LiteTrainODFare3286Status299 with default headers values

func (*LiteTrainODFare3286Status299) Error added in v0.15.0

func (*LiteTrainODFare3286Status299) GetPayload added in v0.15.0

type LiteTrainOperator3284NotModified added in v0.15.0

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

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

func NewLiteTrainOperator3284NotModified added in v0.15.0

func NewLiteTrainOperator3284NotModified() *LiteTrainOperator3284NotModified

NewLiteTrainOperator3284NotModified creates a LiteTrainOperator3284NotModified with default headers values

func (*LiteTrainOperator3284NotModified) Error added in v0.15.0

type LiteTrainOperator3284OK added in v0.15.0

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

Success

func NewLiteTrainOperator3284OK added in v0.15.0

func NewLiteTrainOperator3284OK() *LiteTrainOperator3284OK

NewLiteTrainOperator3284OK creates a LiteTrainOperator3284OK with default headers values

func (*LiteTrainOperator3284OK) Error added in v0.15.0

func (o *LiteTrainOperator3284OK) Error() string

type LiteTrainOperator3284Params added in v0.15.0

type LiteTrainOperator3284Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainOperator3284Params contains all the parameters to send to the API endpoint

for the lite train operator 3284 operation.

Typically these are written to a http.Request.

func NewLiteTrainOperator3284Params added in v0.15.0

func NewLiteTrainOperator3284Params() *LiteTrainOperator3284Params

NewLiteTrainOperator3284Params creates a new LiteTrainOperator3284Params 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 NewLiteTrainOperator3284ParamsWithContext added in v0.15.0

func NewLiteTrainOperator3284ParamsWithContext(ctx context.Context) *LiteTrainOperator3284Params

NewLiteTrainOperator3284ParamsWithContext creates a new LiteTrainOperator3284Params object with the ability to set a context for a request.

func NewLiteTrainOperator3284ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainOperator3284ParamsWithHTTPClient(client *http.Client) *LiteTrainOperator3284Params

NewLiteTrainOperator3284ParamsWithHTTPClient creates a new LiteTrainOperator3284Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainOperator3284ParamsWithTimeout added in v0.15.0

func NewLiteTrainOperator3284ParamsWithTimeout(timeout time.Duration) *LiteTrainOperator3284Params

NewLiteTrainOperator3284ParamsWithTimeout creates a new LiteTrainOperator3284Params object with the ability to set a timeout on a request.

func (*LiteTrainOperator3284Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDefaults added in v0.15.0

func (o *LiteTrainOperator3284Params) SetDefaults()

SetDefaults hydrates default values in the lite train operator 3284 params (not the query body).

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

func (*LiteTrainOperator3284Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainOperator3284Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithContext added in v0.15.0

WithContext adds the context to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train operator 3284 params (not the query body).

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

func (*LiteTrainOperator3284Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train operator 3284 params

func (*LiteTrainOperator3284Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainOperator3284Reader added in v0.15.0

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

LiteTrainOperator3284Reader is a Reader for the LiteTrainOperator3284 structure.

func (*LiteTrainOperator3284Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainOperator3284Status299 added in v0.15.0

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

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

func NewLiteTrainOperator3284Status299 added in v0.15.0

func NewLiteTrainOperator3284Status299() *LiteTrainOperator3284Status299

NewLiteTrainOperator3284Status299 creates a LiteTrainOperator3284Status299 with default headers values

func (*LiteTrainOperator3284Status299) Error added in v0.15.0

func (*LiteTrainOperator3284Status299) GetPayload added in v0.15.0

type LiteTrainRoute3287NotModified added in v0.15.0

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

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

func NewLiteTrainRoute3287NotModified added in v0.15.0

func NewLiteTrainRoute3287NotModified() *LiteTrainRoute3287NotModified

NewLiteTrainRoute3287NotModified creates a LiteTrainRoute3287NotModified with default headers values

func (*LiteTrainRoute3287NotModified) Error added in v0.15.0

type LiteTrainRoute3287OK added in v0.15.0

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

Success

func NewLiteTrainRoute3287OK added in v0.15.0

func NewLiteTrainRoute3287OK() *LiteTrainRoute3287OK

NewLiteTrainRoute3287OK creates a LiteTrainRoute3287OK with default headers values

func (*LiteTrainRoute3287OK) Error added in v0.15.0

func (o *LiteTrainRoute3287OK) Error() string

type LiteTrainRoute3287Params added in v0.15.0

type LiteTrainRoute3287Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainRoute3287Params contains all the parameters to send to the API endpoint

for the lite train route 3287 operation.

Typically these are written to a http.Request.

func NewLiteTrainRoute3287Params added in v0.15.0

func NewLiteTrainRoute3287Params() *LiteTrainRoute3287Params

NewLiteTrainRoute3287Params creates a new LiteTrainRoute3287Params 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 NewLiteTrainRoute3287ParamsWithContext added in v0.15.0

func NewLiteTrainRoute3287ParamsWithContext(ctx context.Context) *LiteTrainRoute3287Params

NewLiteTrainRoute3287ParamsWithContext creates a new LiteTrainRoute3287Params object with the ability to set a context for a request.

func NewLiteTrainRoute3287ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainRoute3287ParamsWithHTTPClient(client *http.Client) *LiteTrainRoute3287Params

NewLiteTrainRoute3287ParamsWithHTTPClient creates a new LiteTrainRoute3287Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainRoute3287ParamsWithTimeout added in v0.15.0

func NewLiteTrainRoute3287ParamsWithTimeout(timeout time.Duration) *LiteTrainRoute3287Params

NewLiteTrainRoute3287ParamsWithTimeout creates a new LiteTrainRoute3287Params object with the ability to set a timeout on a request.

func (*LiteTrainRoute3287Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDefaults added in v0.15.0

func (o *LiteTrainRoute3287Params) SetDefaults()

SetDefaults hydrates default values in the lite train route 3287 params (not the query body).

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

func (*LiteTrainRoute3287Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainRoute3287Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train route 3287 params

func (*LiteTrainRoute3287Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithContext added in v0.15.0

WithContext adds the context to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train route 3287 params (not the query body).

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

func (*LiteTrainRoute3287Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train route 3287 params

func (*LiteTrainRoute3287Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainRoute3287Reader added in v0.15.0

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

LiteTrainRoute3287Reader is a Reader for the LiteTrainRoute3287 structure.

func (*LiteTrainRoute3287Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainRoute3287Status299 added in v0.15.0

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

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

func NewLiteTrainRoute3287Status299 added in v0.15.0

func NewLiteTrainRoute3287Status299() *LiteTrainRoute3287Status299

NewLiteTrainRoute3287Status299 creates a LiteTrainRoute3287Status299 with default headers values

func (*LiteTrainRoute3287Status299) Error added in v0.15.0

func (*LiteTrainRoute3287Status299) GetPayload added in v0.15.0

type LiteTrainStation3282NotModified added in v0.15.0

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

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

func NewLiteTrainStation3282NotModified added in v0.15.0

func NewLiteTrainStation3282NotModified() *LiteTrainStation3282NotModified

NewLiteTrainStation3282NotModified creates a LiteTrainStation3282NotModified with default headers values

func (*LiteTrainStation3282NotModified) Error added in v0.15.0

type LiteTrainStation3282OK added in v0.15.0

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

Success

func NewLiteTrainStation3282OK added in v0.15.0

func NewLiteTrainStation3282OK() *LiteTrainStation3282OK

NewLiteTrainStation3282OK creates a LiteTrainStation3282OK with default headers values

func (*LiteTrainStation3282OK) Error added in v0.15.0

func (o *LiteTrainStation3282OK) Error() string

type LiteTrainStation3282Params added in v0.15.0

type LiteTrainStation3282Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainStation3282Params contains all the parameters to send to the API endpoint

for the lite train station 3282 operation.

Typically these are written to a http.Request.

func NewLiteTrainStation3282Params added in v0.15.0

func NewLiteTrainStation3282Params() *LiteTrainStation3282Params

NewLiteTrainStation3282Params creates a new LiteTrainStation3282Params 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 NewLiteTrainStation3282ParamsWithContext added in v0.15.0

func NewLiteTrainStation3282ParamsWithContext(ctx context.Context) *LiteTrainStation3282Params

NewLiteTrainStation3282ParamsWithContext creates a new LiteTrainStation3282Params object with the ability to set a context for a request.

func NewLiteTrainStation3282ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainStation3282ParamsWithHTTPClient(client *http.Client) *LiteTrainStation3282Params

NewLiteTrainStation3282ParamsWithHTTPClient creates a new LiteTrainStation3282Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainStation3282ParamsWithTimeout added in v0.15.0

func NewLiteTrainStation3282ParamsWithTimeout(timeout time.Duration) *LiteTrainStation3282Params

NewLiteTrainStation3282ParamsWithTimeout creates a new LiteTrainStation3282Params object with the ability to set a timeout on a request.

func (*LiteTrainStation3282Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDefaults added in v0.15.0

func (o *LiteTrainStation3282Params) SetDefaults()

SetDefaults hydrates default values in the lite train station 3282 params (not the query body).

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

func (*LiteTrainStation3282Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainStation3282Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train station 3282 params

func (*LiteTrainStation3282Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithContext added in v0.15.0

WithContext adds the context to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train station 3282 params (not the query body).

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

func (*LiteTrainStation3282Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train station 3282 params

func (*LiteTrainStation3282Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train station 3282 params

func (*LiteTrainStation3282Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainStation3282Reader added in v0.15.0

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

LiteTrainStation3282Reader is a Reader for the LiteTrainStation3282 structure.

func (*LiteTrainStation3282Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainStation3282Status299 added in v0.15.0

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

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

func NewLiteTrainStation3282Status299 added in v0.15.0

func NewLiteTrainStation3282Status299() *LiteTrainStation3282Status299

NewLiteTrainStation3282Status299 creates a LiteTrainStation3282Status299 with default headers values

func (*LiteTrainStation3282Status299) Error added in v0.15.0

func (*LiteTrainStation3282Status299) GetPayload added in v0.15.0

type LiteTrainStationOfLine3288NotModified added in v0.15.0

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

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

func NewLiteTrainStationOfLine3288NotModified added in v0.15.0

func NewLiteTrainStationOfLine3288NotModified() *LiteTrainStationOfLine3288NotModified

NewLiteTrainStationOfLine3288NotModified creates a LiteTrainStationOfLine3288NotModified with default headers values

func (*LiteTrainStationOfLine3288NotModified) Error added in v0.15.0

type LiteTrainStationOfLine3288OK added in v0.15.0

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

Success

func NewLiteTrainStationOfLine3288OK added in v0.15.0

func NewLiteTrainStationOfLine3288OK() *LiteTrainStationOfLine3288OK

NewLiteTrainStationOfLine3288OK creates a LiteTrainStationOfLine3288OK with default headers values

func (*LiteTrainStationOfLine3288OK) Error added in v0.15.0

type LiteTrainStationOfLine3288Params added in v0.15.0

type LiteTrainStationOfLine3288Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainStationOfLine3288Params contains all the parameters to send to the API endpoint

for the lite train station of line 3288 operation.

Typically these are written to a http.Request.

func NewLiteTrainStationOfLine3288Params added in v0.15.0

func NewLiteTrainStationOfLine3288Params() *LiteTrainStationOfLine3288Params

NewLiteTrainStationOfLine3288Params creates a new LiteTrainStationOfLine3288Params 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 NewLiteTrainStationOfLine3288ParamsWithContext added in v0.15.0

func NewLiteTrainStationOfLine3288ParamsWithContext(ctx context.Context) *LiteTrainStationOfLine3288Params

NewLiteTrainStationOfLine3288ParamsWithContext creates a new LiteTrainStationOfLine3288Params object with the ability to set a context for a request.

func NewLiteTrainStationOfLine3288ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainStationOfLine3288ParamsWithHTTPClient(client *http.Client) *LiteTrainStationOfLine3288Params

NewLiteTrainStationOfLine3288ParamsWithHTTPClient creates a new LiteTrainStationOfLine3288Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainStationOfLine3288ParamsWithTimeout added in v0.15.0

func NewLiteTrainStationOfLine3288ParamsWithTimeout(timeout time.Duration) *LiteTrainStationOfLine3288Params

NewLiteTrainStationOfLine3288ParamsWithTimeout creates a new LiteTrainStationOfLine3288Params object with the ability to set a timeout on a request.

func (*LiteTrainStationOfLine3288Params) SetContext added in v0.15.0

SetContext adds the context to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDefaults added in v0.15.0

func (o *LiteTrainStationOfLine3288Params) SetDefaults()

SetDefaults hydrates default values in the lite train station of line 3288 params (not the query body).

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

func (*LiteTrainStationOfLine3288Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainStationOfLine3288Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithContext added in v0.15.0

WithContext adds the context to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train station of line 3288 params (not the query body).

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

func (*LiteTrainStationOfLine3288Params) WithDollarCount added in v0.15.0

WithDollarCount adds the dollarCount to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train station of line 3288 params

func (*LiteTrainStationOfLine3288Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainStationOfLine3288Reader added in v0.15.0

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

LiteTrainStationOfLine3288Reader is a Reader for the LiteTrainStationOfLine3288 structure.

func (*LiteTrainStationOfLine3288Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainStationOfLine3288Status299 added in v0.15.0

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

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

func NewLiteTrainStationOfLine3288Status299 added in v0.15.0

func NewLiteTrainStationOfLine3288Status299() *LiteTrainStationOfLine3288Status299

NewLiteTrainStationOfLine3288Status299 creates a LiteTrainStationOfLine3288Status299 with default headers values

func (*LiteTrainStationOfLine3288Status299) Error added in v0.15.0

func (*LiteTrainStationOfLine3288Status299) GetPayload added in v0.15.0

type LiteTrainStationOfRoute3290NotModified added in v0.15.0

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

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

func NewLiteTrainStationOfRoute3290NotModified added in v0.15.0

func NewLiteTrainStationOfRoute3290NotModified() *LiteTrainStationOfRoute3290NotModified

NewLiteTrainStationOfRoute3290NotModified creates a LiteTrainStationOfRoute3290NotModified with default headers values

func (*LiteTrainStationOfRoute3290NotModified) Error added in v0.15.0

type LiteTrainStationOfRoute3290OK added in v0.15.0

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

Success

func NewLiteTrainStationOfRoute3290OK added in v0.15.0

func NewLiteTrainStationOfRoute3290OK() *LiteTrainStationOfRoute3290OK

NewLiteTrainStationOfRoute3290OK creates a LiteTrainStationOfRoute3290OK with default headers values

func (*LiteTrainStationOfRoute3290OK) Error added in v0.15.0

type LiteTrainStationOfRoute3290Params added in v0.15.0

type LiteTrainStationOfRoute3290Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainStationOfRoute3290Params contains all the parameters to send to the API endpoint

for the lite train station of route 3290 operation.

Typically these are written to a http.Request.

func NewLiteTrainStationOfRoute3290Params added in v0.15.0

func NewLiteTrainStationOfRoute3290Params() *LiteTrainStationOfRoute3290Params

NewLiteTrainStationOfRoute3290Params creates a new LiteTrainStationOfRoute3290Params 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 NewLiteTrainStationOfRoute3290ParamsWithContext added in v0.15.0

func NewLiteTrainStationOfRoute3290ParamsWithContext(ctx context.Context) *LiteTrainStationOfRoute3290Params

NewLiteTrainStationOfRoute3290ParamsWithContext creates a new LiteTrainStationOfRoute3290Params object with the ability to set a context for a request.

func NewLiteTrainStationOfRoute3290ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainStationOfRoute3290ParamsWithHTTPClient(client *http.Client) *LiteTrainStationOfRoute3290Params

NewLiteTrainStationOfRoute3290ParamsWithHTTPClient creates a new LiteTrainStationOfRoute3290Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainStationOfRoute3290ParamsWithTimeout added in v0.15.0

func NewLiteTrainStationOfRoute3290ParamsWithTimeout(timeout time.Duration) *LiteTrainStationOfRoute3290Params

NewLiteTrainStationOfRoute3290ParamsWithTimeout creates a new LiteTrainStationOfRoute3290Params object with the ability to set a timeout on a request.

func (*LiteTrainStationOfRoute3290Params) SetContext added in v0.15.0

SetContext adds the context to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDefaults added in v0.15.0

func (o *LiteTrainStationOfRoute3290Params) SetDefaults()

SetDefaults hydrates default values in the lite train station of route 3290 params (not the query body).

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

func (*LiteTrainStationOfRoute3290Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainStationOfRoute3290Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithContext added in v0.15.0

WithContext adds the context to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train station of route 3290 params (not the query body).

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

func (*LiteTrainStationOfRoute3290Params) WithDollarCount added in v0.15.0

WithDollarCount adds the dollarCount to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train station of route 3290 params

func (*LiteTrainStationOfRoute3290Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainStationOfRoute3290Reader added in v0.15.0

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

LiteTrainStationOfRoute3290Reader is a Reader for the LiteTrainStationOfRoute3290 structure.

func (*LiteTrainStationOfRoute3290Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainStationOfRoute3290Status299 added in v0.15.0

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

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

func NewLiteTrainStationOfRoute3290Status299 added in v0.15.0

func NewLiteTrainStationOfRoute3290Status299() *LiteTrainStationOfRoute3290Status299

NewLiteTrainStationOfRoute3290Status299 creates a LiteTrainStationOfRoute3290Status299 with default headers values

func (*LiteTrainStationOfRoute3290Status299) Error added in v0.15.0

func (*LiteTrainStationOfRoute3290Status299) GetPayload added in v0.15.0

type LiteTrainTrainType3289NotModified added in v0.15.0

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

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

func NewLiteTrainTrainType3289NotModified added in v0.15.0

func NewLiteTrainTrainType3289NotModified() *LiteTrainTrainType3289NotModified

NewLiteTrainTrainType3289NotModified creates a LiteTrainTrainType3289NotModified with default headers values

func (*LiteTrainTrainType3289NotModified) Error added in v0.15.0

type LiteTrainTrainType3289OK added in v0.15.0

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

Success

func NewLiteTrainTrainType3289OK added in v0.15.0

func NewLiteTrainTrainType3289OK() *LiteTrainTrainType3289OK

NewLiteTrainTrainType3289OK creates a LiteTrainTrainType3289OK with default headers values

func (*LiteTrainTrainType3289OK) Error added in v0.15.0

func (o *LiteTrainTrainType3289OK) Error() string

type LiteTrainTrainType3289Params added in v0.15.0

type LiteTrainTrainType3289Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainTrainType3289Params contains all the parameters to send to the API endpoint

for the lite train train type 3289 operation.

Typically these are written to a http.Request.

func NewLiteTrainTrainType3289Params added in v0.15.0

func NewLiteTrainTrainType3289Params() *LiteTrainTrainType3289Params

NewLiteTrainTrainType3289Params creates a new LiteTrainTrainType3289Params 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 NewLiteTrainTrainType3289ParamsWithContext added in v0.15.0

func NewLiteTrainTrainType3289ParamsWithContext(ctx context.Context) *LiteTrainTrainType3289Params

NewLiteTrainTrainType3289ParamsWithContext creates a new LiteTrainTrainType3289Params object with the ability to set a context for a request.

func NewLiteTrainTrainType3289ParamsWithHTTPClient added in v0.15.0

func NewLiteTrainTrainType3289ParamsWithHTTPClient(client *http.Client) *LiteTrainTrainType3289Params

NewLiteTrainTrainType3289ParamsWithHTTPClient creates a new LiteTrainTrainType3289Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainTrainType3289ParamsWithTimeout added in v0.15.0

func NewLiteTrainTrainType3289ParamsWithTimeout(timeout time.Duration) *LiteTrainTrainType3289Params

NewLiteTrainTrainType3289ParamsWithTimeout creates a new LiteTrainTrainType3289Params object with the ability to set a timeout on a request.

func (*LiteTrainTrainType3289Params) SetContext added in v0.15.0

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

SetContext adds the context to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDefaults added in v0.15.0

func (o *LiteTrainTrainType3289Params) SetDefaults()

SetDefaults hydrates default values in the lite train train type 3289 params (not the query body).

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

func (*LiteTrainTrainType3289Params) SetDollarCount added in v0.15.0

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

SetDollarCount adds the dollarCount to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDollarFormat added in v0.15.0

func (o *LiteTrainTrainType3289Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithContext added in v0.15.0

WithContext adds the context to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the lite train train type 3289 params (not the query body).

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

func (*LiteTrainTrainType3289Params) WithDollarCount added in v0.15.0

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

WithDollarCount adds the dollarCount to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithHealth added in v0.15.0

WithHealth adds the health to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the lite train train type 3289 params

func (*LiteTrainTrainType3289Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type LiteTrainTrainType3289Reader added in v0.15.0

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

LiteTrainTrainType3289Reader is a Reader for the LiteTrainTrainType3289 structure.

func (*LiteTrainTrainType3289Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type LiteTrainTrainType3289Status299 added in v0.15.0

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

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

func NewLiteTrainTrainType3289Status299 added in v0.15.0

func NewLiteTrainTrainType3289Status299() *LiteTrainTrainType3289Status299

NewLiteTrainTrainType3289Status299 creates a LiteTrainTrainType3289Status299 with default headers values

func (*LiteTrainTrainType3289Status299) Error added in v0.15.0

func (*LiteTrainTrainType3289Status299) GetPayload added in v0.15.0

Jump to

Keyboard shortcuts

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