a_f_r

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for a f r API

func (*Client) LiteTrainGeneralTrainTimetable

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

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

func (*Client) LiteTrainGeneralTrainTimetable1

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

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

func (*Client) LiteTrainLine

func (a *Client) LiteTrainLine(params *LiteTrainLineParams, opts ...ClientOption) (*LiteTrainLineOK, *LiteTrainLineStatus299, error)

LiteTrainLine 取得路線基本資料s

取得路線基本資料

func (*Client) LiteTrainNetwork

LiteTrainNetwork 取得路網資料s

取得路網資料

func (*Client) LiteTrainNews

func (a *Client) LiteTrainNews(params *LiteTrainNewsParams, opts ...ClientOption) (*LiteTrainNewsOK, *LiteTrainNewsStatus299, error)

LiteTrainNews 取得最新消息s

取得最新消息

func (*Client) LiteTrainODFare

func (a *Client) LiteTrainODFare(params *LiteTrainODFareParams, opts ...ClientOption) (*LiteTrainODFareOK, *LiteTrainODFareStatus299, error)

LiteTrainODFare 取得所有票價資料s

取得所有票價資料

func (*Client) LiteTrainODFare1

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

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

func (*Client) LiteTrainOperator

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

取得營運業者基本資料

func (*Client) LiteTrainRoute

func (a *Client) LiteTrainRoute(params *LiteTrainRouteParams, opts ...ClientOption) (*LiteTrainRouteOK, *LiteTrainRouteStatus299, error)

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

取得營運路線基本資料

func (*Client) LiteTrainStation

LiteTrainStation 取得車站基本資料s

取得車站基本資料

func (*Client) LiteTrainStationOfLine

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

取得路線車站基本資料

func (*Client) LiteTrainStationOfRoute

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

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

func (*Client) LiteTrainTrainType

LiteTrainTrainType 取得所有列車車種資料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 {
	LiteTrainGeneralTrainTimetable(params *LiteTrainGeneralTrainTimetableParams, opts ...ClientOption) (*LiteTrainGeneralTrainTimetableOK, *LiteTrainGeneralTrainTimetableStatus299, error)

	LiteTrainGeneralTrainTimetable1(params *LiteTrainGeneralTrainTimetable1Params, opts ...ClientOption) (*LiteTrainGeneralTrainTimetable1OK, *LiteTrainGeneralTrainTimetable1Status299, error)

	LiteTrainLine(params *LiteTrainLineParams, opts ...ClientOption) (*LiteTrainLineOK, *LiteTrainLineStatus299, error)

	LiteTrainNetwork(params *LiteTrainNetworkParams, opts ...ClientOption) (*LiteTrainNetworkOK, *LiteTrainNetworkStatus299, error)

	LiteTrainNews(params *LiteTrainNewsParams, opts ...ClientOption) (*LiteTrainNewsOK, *LiteTrainNewsStatus299, error)

	LiteTrainODFare(params *LiteTrainODFareParams, opts ...ClientOption) (*LiteTrainODFareOK, *LiteTrainODFareStatus299, error)

	LiteTrainODFare1(params *LiteTrainODFare1Params, opts ...ClientOption) (*LiteTrainODFare1OK, *LiteTrainODFare1Status299, error)

	LiteTrainOperator(params *LiteTrainOperatorParams, opts ...ClientOption) (*LiteTrainOperatorOK, *LiteTrainOperatorStatus299, error)

	LiteTrainRoute(params *LiteTrainRouteParams, opts ...ClientOption) (*LiteTrainRouteOK, *LiteTrainRouteStatus299, error)

	LiteTrainStation(params *LiteTrainStationParams, opts ...ClientOption) (*LiteTrainStationOK, *LiteTrainStationStatus299, error)

	LiteTrainStationOfLine(params *LiteTrainStationOfLineParams, opts ...ClientOption) (*LiteTrainStationOfLineOK, *LiteTrainStationOfLineStatus299, error)

	LiteTrainStationOfRoute(params *LiteTrainStationOfRouteParams, opts ...ClientOption) (*LiteTrainStationOfRouteOK, *LiteTrainStationOfRouteStatus299, error)

	LiteTrainTrainType(params *LiteTrainTrainTypeParams, opts ...ClientOption) (*LiteTrainTrainTypeOK, *LiteTrainTrainTypeStatus299, 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 LiteTrainGeneralTrainTimetable1NotModified

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

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

func NewLiteTrainGeneralTrainTimetable1NotModified

func NewLiteTrainGeneralTrainTimetable1NotModified() *LiteTrainGeneralTrainTimetable1NotModified

NewLiteTrainGeneralTrainTimetable1NotModified creates a LiteTrainGeneralTrainTimetable1NotModified with default headers values

func (*LiteTrainGeneralTrainTimetable1NotModified) Error

type LiteTrainGeneralTrainTimetable1OK

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

Success

func NewLiteTrainGeneralTrainTimetable1OK

func NewLiteTrainGeneralTrainTimetable1OK() *LiteTrainGeneralTrainTimetable1OK

NewLiteTrainGeneralTrainTimetable1OK creates a LiteTrainGeneralTrainTimetable1OK with default headers values

func (*LiteTrainGeneralTrainTimetable1OK) Error

type LiteTrainGeneralTrainTimetable1Params

type LiteTrainGeneralTrainTimetable1Params 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
}

LiteTrainGeneralTrainTimetable1Params contains all the parameters to send to the API endpoint

for the lite train general train timetable 1 operation.

Typically these are written to a http.Request.

func NewLiteTrainGeneralTrainTimetable1Params

func NewLiteTrainGeneralTrainTimetable1Params() *LiteTrainGeneralTrainTimetable1Params

NewLiteTrainGeneralTrainTimetable1Params creates a new LiteTrainGeneralTrainTimetable1Params 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 NewLiteTrainGeneralTrainTimetable1ParamsWithContext

func NewLiteTrainGeneralTrainTimetable1ParamsWithContext(ctx context.Context) *LiteTrainGeneralTrainTimetable1Params

NewLiteTrainGeneralTrainTimetable1ParamsWithContext creates a new LiteTrainGeneralTrainTimetable1Params object with the ability to set a context for a request.

func NewLiteTrainGeneralTrainTimetable1ParamsWithHTTPClient

func NewLiteTrainGeneralTrainTimetable1ParamsWithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetable1Params

NewLiteTrainGeneralTrainTimetable1ParamsWithHTTPClient creates a new LiteTrainGeneralTrainTimetable1Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainGeneralTrainTimetable1ParamsWithTimeout

func NewLiteTrainGeneralTrainTimetable1ParamsWithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetable1Params

NewLiteTrainGeneralTrainTimetable1ParamsWithTimeout creates a new LiteTrainGeneralTrainTimetable1Params object with the ability to set a timeout on a request.

func (*LiteTrainGeneralTrainTimetable1Params) SetContext

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDefaults

func (o *LiteTrainGeneralTrainTimetable1Params) SetDefaults()

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarCount

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarFilter

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarFormat

func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarFormat(dollarFormat string)

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarOrderby

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarSelect

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarSkip

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetDollarTop

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetHTTPClient

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetHealth added in v0.12.0

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetTimeout

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

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

func (*LiteTrainGeneralTrainTimetable1Params) SetTrainNo

func (o *LiteTrainGeneralTrainTimetable1Params) SetTrainNo(trainNo string)

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

func (*LiteTrainGeneralTrainTimetable1Params) WithContext

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDefaults

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

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarCount

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarFilter

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarFormat

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarOrderby

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarSelect

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarSkip

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

func (*LiteTrainGeneralTrainTimetable1Params) WithDollarTop

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

func (*LiteTrainGeneralTrainTimetable1Params) WithHTTPClient

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

func (*LiteTrainGeneralTrainTimetable1Params) WithHealth added in v0.12.0

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

func (*LiteTrainGeneralTrainTimetable1Params) WithTimeout

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

func (*LiteTrainGeneralTrainTimetable1Params) WithTrainNo

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

func (*LiteTrainGeneralTrainTimetable1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainGeneralTrainTimetable1Reader

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

LiteTrainGeneralTrainTimetable1Reader is a Reader for the LiteTrainGeneralTrainTimetable1 structure.

func (*LiteTrainGeneralTrainTimetable1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainGeneralTrainTimetable1Status299 added in v0.12.0

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

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

func NewLiteTrainGeneralTrainTimetable1Status299 added in v0.12.0

func NewLiteTrainGeneralTrainTimetable1Status299() *LiteTrainGeneralTrainTimetable1Status299

NewLiteTrainGeneralTrainTimetable1Status299 creates a LiteTrainGeneralTrainTimetable1Status299 with default headers values

func (*LiteTrainGeneralTrainTimetable1Status299) Error added in v0.12.0

func (*LiteTrainGeneralTrainTimetable1Status299) GetPayload added in v0.12.0

type LiteTrainGeneralTrainTimetableNotModified

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

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

func NewLiteTrainGeneralTrainTimetableNotModified

func NewLiteTrainGeneralTrainTimetableNotModified() *LiteTrainGeneralTrainTimetableNotModified

NewLiteTrainGeneralTrainTimetableNotModified creates a LiteTrainGeneralTrainTimetableNotModified with default headers values

func (*LiteTrainGeneralTrainTimetableNotModified) Error

type LiteTrainGeneralTrainTimetableOK

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

Success

func NewLiteTrainGeneralTrainTimetableOK

func NewLiteTrainGeneralTrainTimetableOK() *LiteTrainGeneralTrainTimetableOK

NewLiteTrainGeneralTrainTimetableOK creates a LiteTrainGeneralTrainTimetableOK with default headers values

func (*LiteTrainGeneralTrainTimetableOK) Error

type LiteTrainGeneralTrainTimetableParams

type LiteTrainGeneralTrainTimetableParams 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
}

LiteTrainGeneralTrainTimetableParams contains all the parameters to send to the API endpoint

for the lite train general train timetable operation.

Typically these are written to a http.Request.

func NewLiteTrainGeneralTrainTimetableParams

func NewLiteTrainGeneralTrainTimetableParams() *LiteTrainGeneralTrainTimetableParams

NewLiteTrainGeneralTrainTimetableParams creates a new LiteTrainGeneralTrainTimetableParams 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 NewLiteTrainGeneralTrainTimetableParamsWithContext

func NewLiteTrainGeneralTrainTimetableParamsWithContext(ctx context.Context) *LiteTrainGeneralTrainTimetableParams

NewLiteTrainGeneralTrainTimetableParamsWithContext creates a new LiteTrainGeneralTrainTimetableParams object with the ability to set a context for a request.

func NewLiteTrainGeneralTrainTimetableParamsWithHTTPClient

func NewLiteTrainGeneralTrainTimetableParamsWithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetableParams

NewLiteTrainGeneralTrainTimetableParamsWithHTTPClient creates a new LiteTrainGeneralTrainTimetableParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainGeneralTrainTimetableParamsWithTimeout

func NewLiteTrainGeneralTrainTimetableParamsWithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetableParams

NewLiteTrainGeneralTrainTimetableParamsWithTimeout creates a new LiteTrainGeneralTrainTimetableParams object with the ability to set a timeout on a request.

func (*LiteTrainGeneralTrainTimetableParams) SetContext

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

func (*LiteTrainGeneralTrainTimetableParams) SetDefaults

func (o *LiteTrainGeneralTrainTimetableParams) SetDefaults()

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarCount

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarFilter

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarFormat

func (o *LiteTrainGeneralTrainTimetableParams) SetDollarFormat(dollarFormat string)

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarOrderby

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarSelect

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarSkip

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetDollarTop

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetHTTPClient

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetHealth added in v0.12.0

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

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

func (*LiteTrainGeneralTrainTimetableParams) SetTimeout

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

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

func (*LiteTrainGeneralTrainTimetableParams) WithContext

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

func (*LiteTrainGeneralTrainTimetableParams) WithDefaults

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

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarCount

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarFilter

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarFormat

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarOrderby

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarSelect

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarSkip

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

func (*LiteTrainGeneralTrainTimetableParams) WithDollarTop

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

func (*LiteTrainGeneralTrainTimetableParams) WithHTTPClient

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

func (*LiteTrainGeneralTrainTimetableParams) WithHealth added in v0.12.0

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

func (*LiteTrainGeneralTrainTimetableParams) WithTimeout

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

func (*LiteTrainGeneralTrainTimetableParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainGeneralTrainTimetableReader

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

LiteTrainGeneralTrainTimetableReader is a Reader for the LiteTrainGeneralTrainTimetable structure.

func (*LiteTrainGeneralTrainTimetableReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainGeneralTrainTimetableStatus299 added in v0.12.0

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

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

func NewLiteTrainGeneralTrainTimetableStatus299 added in v0.12.0

func NewLiteTrainGeneralTrainTimetableStatus299() *LiteTrainGeneralTrainTimetableStatus299

NewLiteTrainGeneralTrainTimetableStatus299 creates a LiteTrainGeneralTrainTimetableStatus299 with default headers values

func (*LiteTrainGeneralTrainTimetableStatus299) Error added in v0.12.0

func (*LiteTrainGeneralTrainTimetableStatus299) GetPayload added in v0.12.0

type LiteTrainLineNotModified

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

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

func NewLiteTrainLineNotModified

func NewLiteTrainLineNotModified() *LiteTrainLineNotModified

NewLiteTrainLineNotModified creates a LiteTrainLineNotModified with default headers values

func (*LiteTrainLineNotModified) Error

func (o *LiteTrainLineNotModified) Error() string

type LiteTrainLineOK

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

Success

func NewLiteTrainLineOK

func NewLiteTrainLineOK() *LiteTrainLineOK

NewLiteTrainLineOK creates a LiteTrainLineOK with default headers values

func (*LiteTrainLineOK) Error

func (o *LiteTrainLineOK) Error() string

type LiteTrainLineParams

type LiteTrainLineParams 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
}

LiteTrainLineParams contains all the parameters to send to the API endpoint

for the lite train line operation.

Typically these are written to a http.Request.

func NewLiteTrainLineParams

func NewLiteTrainLineParams() *LiteTrainLineParams

NewLiteTrainLineParams creates a new LiteTrainLineParams 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 NewLiteTrainLineParamsWithContext

func NewLiteTrainLineParamsWithContext(ctx context.Context) *LiteTrainLineParams

NewLiteTrainLineParamsWithContext creates a new LiteTrainLineParams object with the ability to set a context for a request.

func NewLiteTrainLineParamsWithHTTPClient

func NewLiteTrainLineParamsWithHTTPClient(client *http.Client) *LiteTrainLineParams

NewLiteTrainLineParamsWithHTTPClient creates a new LiteTrainLineParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainLineParamsWithTimeout

func NewLiteTrainLineParamsWithTimeout(timeout time.Duration) *LiteTrainLineParams

NewLiteTrainLineParamsWithTimeout creates a new LiteTrainLineParams object with the ability to set a timeout on a request.

func (*LiteTrainLineParams) SetContext

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

SetContext adds the context to the lite train line params

func (*LiteTrainLineParams) SetDefaults

func (o *LiteTrainLineParams) SetDefaults()

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

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

func (*LiteTrainLineParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train line params

func (*LiteTrainLineParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train line params

func (*LiteTrainLineParams) SetDollarFormat

func (o *LiteTrainLineParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train line params

func (*LiteTrainLineParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train line params

func (*LiteTrainLineParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train line params

func (*LiteTrainLineParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train line params

func (*LiteTrainLineParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train line params

func (*LiteTrainLineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train line params

func (*LiteTrainLineParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train line params

func (*LiteTrainLineParams) SetTimeout

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

SetTimeout adds the timeout to the lite train line params

func (*LiteTrainLineParams) WithContext

WithContext adds the context to the lite train line params

func (*LiteTrainLineParams) WithDefaults

func (o *LiteTrainLineParams) WithDefaults() *LiteTrainLineParams

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

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

func (*LiteTrainLineParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train line params

func (*LiteTrainLineParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train line params

func (*LiteTrainLineParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train line params

func (*LiteTrainLineParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train line params

func (*LiteTrainLineParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train line params

func (*LiteTrainLineParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train line params

func (*LiteTrainLineParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train line params

func (*LiteTrainLineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train line params

func (*LiteTrainLineParams) WithHealth added in v0.12.0

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

WithHealth adds the health to the lite train line params

func (*LiteTrainLineParams) WithTimeout

func (o *LiteTrainLineParams) WithTimeout(timeout time.Duration) *LiteTrainLineParams

WithTimeout adds the timeout to the lite train line params

func (*LiteTrainLineParams) WriteToRequest

func (o *LiteTrainLineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LiteTrainLineReader

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

LiteTrainLineReader is a Reader for the LiteTrainLine structure.

func (*LiteTrainLineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainLineStatus299 added in v0.12.0

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

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

func NewLiteTrainLineStatus299 added in v0.12.0

func NewLiteTrainLineStatus299() *LiteTrainLineStatus299

NewLiteTrainLineStatus299 creates a LiteTrainLineStatus299 with default headers values

func (*LiteTrainLineStatus299) Error added in v0.12.0

func (o *LiteTrainLineStatus299) Error() string

func (*LiteTrainLineStatus299) GetPayload added in v0.12.0

type LiteTrainNetworkNotModified

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

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

func NewLiteTrainNetworkNotModified

func NewLiteTrainNetworkNotModified() *LiteTrainNetworkNotModified

NewLiteTrainNetworkNotModified creates a LiteTrainNetworkNotModified with default headers values

func (*LiteTrainNetworkNotModified) Error

type LiteTrainNetworkOK

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

Success

func NewLiteTrainNetworkOK

func NewLiteTrainNetworkOK() *LiteTrainNetworkOK

NewLiteTrainNetworkOK creates a LiteTrainNetworkOK with default headers values

func (*LiteTrainNetworkOK) Error

func (o *LiteTrainNetworkOK) Error() string

type LiteTrainNetworkParams

type LiteTrainNetworkParams 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
}

LiteTrainNetworkParams contains all the parameters to send to the API endpoint

for the lite train network operation.

Typically these are written to a http.Request.

func NewLiteTrainNetworkParams

func NewLiteTrainNetworkParams() *LiteTrainNetworkParams

NewLiteTrainNetworkParams creates a new LiteTrainNetworkParams 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 NewLiteTrainNetworkParamsWithContext

func NewLiteTrainNetworkParamsWithContext(ctx context.Context) *LiteTrainNetworkParams

NewLiteTrainNetworkParamsWithContext creates a new LiteTrainNetworkParams object with the ability to set a context for a request.

func NewLiteTrainNetworkParamsWithHTTPClient

func NewLiteTrainNetworkParamsWithHTTPClient(client *http.Client) *LiteTrainNetworkParams

NewLiteTrainNetworkParamsWithHTTPClient creates a new LiteTrainNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainNetworkParamsWithTimeout

func NewLiteTrainNetworkParamsWithTimeout(timeout time.Duration) *LiteTrainNetworkParams

NewLiteTrainNetworkParamsWithTimeout creates a new LiteTrainNetworkParams object with the ability to set a timeout on a request.

func (*LiteTrainNetworkParams) SetContext

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

SetContext adds the context to the lite train network params

func (*LiteTrainNetworkParams) SetDefaults

func (o *LiteTrainNetworkParams) SetDefaults()

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

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

func (*LiteTrainNetworkParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train network params

func (*LiteTrainNetworkParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train network params

func (*LiteTrainNetworkParams) SetDollarFormat

func (o *LiteTrainNetworkParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train network params

func (*LiteTrainNetworkParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train network params

func (*LiteTrainNetworkParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train network params

func (*LiteTrainNetworkParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train network params

func (*LiteTrainNetworkParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train network params

func (*LiteTrainNetworkParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train network params

func (*LiteTrainNetworkParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train network params

func (*LiteTrainNetworkParams) SetTimeout

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

SetTimeout adds the timeout to the lite train network params

func (*LiteTrainNetworkParams) WithContext

WithContext adds the context to the lite train network params

func (*LiteTrainNetworkParams) WithDefaults

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

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

func (*LiteTrainNetworkParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train network params

func (*LiteTrainNetworkParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train network params

func (*LiteTrainNetworkParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train network params

func (*LiteTrainNetworkParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train network params

func (*LiteTrainNetworkParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train network params

func (*LiteTrainNetworkParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train network params

func (*LiteTrainNetworkParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train network params

func (*LiteTrainNetworkParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train network params

func (*LiteTrainNetworkParams) WithHealth added in v0.12.0

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

WithHealth adds the health to the lite train network params

func (*LiteTrainNetworkParams) WithTimeout

WithTimeout adds the timeout to the lite train network params

func (*LiteTrainNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainNetworkReader

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

LiteTrainNetworkReader is a Reader for the LiteTrainNetwork structure.

func (*LiteTrainNetworkReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainNetworkStatus299 added in v0.12.0

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

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

func NewLiteTrainNetworkStatus299 added in v0.12.0

func NewLiteTrainNetworkStatus299() *LiteTrainNetworkStatus299

NewLiteTrainNetworkStatus299 creates a LiteTrainNetworkStatus299 with default headers values

func (*LiteTrainNetworkStatus299) Error added in v0.12.0

func (o *LiteTrainNetworkStatus299) Error() string

func (*LiteTrainNetworkStatus299) GetPayload added in v0.12.0

type LiteTrainNewsNotModified

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

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

func NewLiteTrainNewsNotModified

func NewLiteTrainNewsNotModified() *LiteTrainNewsNotModified

NewLiteTrainNewsNotModified creates a LiteTrainNewsNotModified with default headers values

func (*LiteTrainNewsNotModified) Error

func (o *LiteTrainNewsNotModified) Error() string

type LiteTrainNewsOK

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

Success

func NewLiteTrainNewsOK

func NewLiteTrainNewsOK() *LiteTrainNewsOK

NewLiteTrainNewsOK creates a LiteTrainNewsOK with default headers values

func (*LiteTrainNewsOK) Error

func (o *LiteTrainNewsOK) Error() string

type LiteTrainNewsParams

type LiteTrainNewsParams 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
}

LiteTrainNewsParams contains all the parameters to send to the API endpoint

for the lite train news operation.

Typically these are written to a http.Request.

func NewLiteTrainNewsParams

func NewLiteTrainNewsParams() *LiteTrainNewsParams

NewLiteTrainNewsParams creates a new LiteTrainNewsParams 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 NewLiteTrainNewsParamsWithContext

func NewLiteTrainNewsParamsWithContext(ctx context.Context) *LiteTrainNewsParams

NewLiteTrainNewsParamsWithContext creates a new LiteTrainNewsParams object with the ability to set a context for a request.

func NewLiteTrainNewsParamsWithHTTPClient

func NewLiteTrainNewsParamsWithHTTPClient(client *http.Client) *LiteTrainNewsParams

NewLiteTrainNewsParamsWithHTTPClient creates a new LiteTrainNewsParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainNewsParamsWithTimeout

func NewLiteTrainNewsParamsWithTimeout(timeout time.Duration) *LiteTrainNewsParams

NewLiteTrainNewsParamsWithTimeout creates a new LiteTrainNewsParams object with the ability to set a timeout on a request.

func (*LiteTrainNewsParams) SetContext

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

SetContext adds the context to the lite train news params

func (*LiteTrainNewsParams) SetDefaults

func (o *LiteTrainNewsParams) SetDefaults()

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

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

func (*LiteTrainNewsParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train news params

func (*LiteTrainNewsParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train news params

func (*LiteTrainNewsParams) SetDollarFormat

func (o *LiteTrainNewsParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train news params

func (*LiteTrainNewsParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train news params

func (*LiteTrainNewsParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train news params

func (*LiteTrainNewsParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train news params

func (*LiteTrainNewsParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train news params

func (*LiteTrainNewsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train news params

func (*LiteTrainNewsParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train news params

func (*LiteTrainNewsParams) SetTimeout

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

SetTimeout adds the timeout to the lite train news params

func (*LiteTrainNewsParams) WithContext

WithContext adds the context to the lite train news params

func (*LiteTrainNewsParams) WithDefaults

func (o *LiteTrainNewsParams) WithDefaults() *LiteTrainNewsParams

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

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

func (*LiteTrainNewsParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train news params

func (*LiteTrainNewsParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train news params

func (*LiteTrainNewsParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train news params

func (*LiteTrainNewsParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train news params

func (*LiteTrainNewsParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train news params

func (*LiteTrainNewsParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train news params

func (*LiteTrainNewsParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train news params

func (*LiteTrainNewsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train news params

func (*LiteTrainNewsParams) WithHealth added in v0.12.0

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

WithHealth adds the health to the lite train news params

func (*LiteTrainNewsParams) WithTimeout

func (o *LiteTrainNewsParams) WithTimeout(timeout time.Duration) *LiteTrainNewsParams

WithTimeout adds the timeout to the lite train news params

func (*LiteTrainNewsParams) WriteToRequest

func (o *LiteTrainNewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LiteTrainNewsReader

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

LiteTrainNewsReader is a Reader for the LiteTrainNews structure.

func (*LiteTrainNewsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainNewsStatus299 added in v0.12.0

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

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

func NewLiteTrainNewsStatus299 added in v0.12.0

func NewLiteTrainNewsStatus299() *LiteTrainNewsStatus299

NewLiteTrainNewsStatus299 creates a LiteTrainNewsStatus299 with default headers values

func (*LiteTrainNewsStatus299) Error added in v0.12.0

func (o *LiteTrainNewsStatus299) Error() string

func (*LiteTrainNewsStatus299) GetPayload added in v0.12.0

type LiteTrainODFare1NotModified

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

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

func NewLiteTrainODFare1NotModified

func NewLiteTrainODFare1NotModified() *LiteTrainODFare1NotModified

NewLiteTrainODFare1NotModified creates a LiteTrainODFare1NotModified with default headers values

func (*LiteTrainODFare1NotModified) Error

type LiteTrainODFare1OK

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

Success

func NewLiteTrainODFare1OK

func NewLiteTrainODFare1OK() *LiteTrainODFare1OK

NewLiteTrainODFare1OK creates a LiteTrainODFare1OK with default headers values

func (*LiteTrainODFare1OK) Error

func (o *LiteTrainODFare1OK) Error() string

type LiteTrainODFare1Params

type LiteTrainODFare1Params 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
}

LiteTrainODFare1Params contains all the parameters to send to the API endpoint

for the lite train o d fare 1 operation.

Typically these are written to a http.Request.

func NewLiteTrainODFare1Params

func NewLiteTrainODFare1Params() *LiteTrainODFare1Params

NewLiteTrainODFare1Params creates a new LiteTrainODFare1Params 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 NewLiteTrainODFare1ParamsWithContext

func NewLiteTrainODFare1ParamsWithContext(ctx context.Context) *LiteTrainODFare1Params

NewLiteTrainODFare1ParamsWithContext creates a new LiteTrainODFare1Params object with the ability to set a context for a request.

func NewLiteTrainODFare1ParamsWithHTTPClient

func NewLiteTrainODFare1ParamsWithHTTPClient(client *http.Client) *LiteTrainODFare1Params

NewLiteTrainODFare1ParamsWithHTTPClient creates a new LiteTrainODFare1Params object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainODFare1ParamsWithTimeout

func NewLiteTrainODFare1ParamsWithTimeout(timeout time.Duration) *LiteTrainODFare1Params

NewLiteTrainODFare1ParamsWithTimeout creates a new LiteTrainODFare1Params object with the ability to set a timeout on a request.

func (*LiteTrainODFare1Params) SetContext

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

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

func (*LiteTrainODFare1Params) SetDefaults

func (o *LiteTrainODFare1Params) SetDefaults()

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

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

func (*LiteTrainODFare1Params) SetDestinationStationID

func (o *LiteTrainODFare1Params) SetDestinationStationID(destinationStationID string)

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

func (*LiteTrainODFare1Params) SetDollarCount

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

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

func (*LiteTrainODFare1Params) SetDollarFilter

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

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

func (*LiteTrainODFare1Params) SetDollarFormat

func (o *LiteTrainODFare1Params) SetDollarFormat(dollarFormat string)

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

func (*LiteTrainODFare1Params) SetDollarOrderby

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

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

func (*LiteTrainODFare1Params) SetDollarSelect

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

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

func (*LiteTrainODFare1Params) SetDollarSkip

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

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

func (*LiteTrainODFare1Params) SetDollarTop

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

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

func (*LiteTrainODFare1Params) SetHTTPClient

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

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

func (*LiteTrainODFare1Params) SetHealth added in v0.12.0

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

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

func (*LiteTrainODFare1Params) SetOriginStationID

func (o *LiteTrainODFare1Params) SetOriginStationID(originStationID string)

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

func (*LiteTrainODFare1Params) SetTimeout

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

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

func (*LiteTrainODFare1Params) WithContext

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

func (*LiteTrainODFare1Params) WithDefaults

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

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

func (*LiteTrainODFare1Params) WithDestinationStationID

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

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

func (*LiteTrainODFare1Params) WithDollarCount

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

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

func (*LiteTrainODFare1Params) WithDollarFilter

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

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

func (*LiteTrainODFare1Params) WithDollarFormat

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

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

func (*LiteTrainODFare1Params) WithDollarOrderby

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

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

func (*LiteTrainODFare1Params) WithDollarSelect

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

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

func (*LiteTrainODFare1Params) WithDollarSkip

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

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

func (*LiteTrainODFare1Params) WithDollarTop

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

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

func (*LiteTrainODFare1Params) WithHTTPClient

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

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

func (*LiteTrainODFare1Params) WithHealth added in v0.12.0

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

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

func (*LiteTrainODFare1Params) WithOriginStationID

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

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

func (*LiteTrainODFare1Params) WithTimeout

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

func (*LiteTrainODFare1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainODFare1Reader

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

LiteTrainODFare1Reader is a Reader for the LiteTrainODFare1 structure.

func (*LiteTrainODFare1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainODFare1Status299 added in v0.12.0

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

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

func NewLiteTrainODFare1Status299 added in v0.12.0

func NewLiteTrainODFare1Status299() *LiteTrainODFare1Status299

NewLiteTrainODFare1Status299 creates a LiteTrainODFare1Status299 with default headers values

func (*LiteTrainODFare1Status299) Error added in v0.12.0

func (o *LiteTrainODFare1Status299) Error() string

func (*LiteTrainODFare1Status299) GetPayload added in v0.12.0

type LiteTrainODFareNotModified

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

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

func NewLiteTrainODFareNotModified

func NewLiteTrainODFareNotModified() *LiteTrainODFareNotModified

NewLiteTrainODFareNotModified creates a LiteTrainODFareNotModified with default headers values

func (*LiteTrainODFareNotModified) Error

type LiteTrainODFareOK

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

Success

func NewLiteTrainODFareOK

func NewLiteTrainODFareOK() *LiteTrainODFareOK

NewLiteTrainODFareOK creates a LiteTrainODFareOK with default headers values

func (*LiteTrainODFareOK) Error

func (o *LiteTrainODFareOK) Error() string

type LiteTrainODFareParams

type LiteTrainODFareParams 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
}

LiteTrainODFareParams contains all the parameters to send to the API endpoint

for the lite train o d fare operation.

Typically these are written to a http.Request.

func NewLiteTrainODFareParams

func NewLiteTrainODFareParams() *LiteTrainODFareParams

NewLiteTrainODFareParams creates a new LiteTrainODFareParams 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 NewLiteTrainODFareParamsWithContext

func NewLiteTrainODFareParamsWithContext(ctx context.Context) *LiteTrainODFareParams

NewLiteTrainODFareParamsWithContext creates a new LiteTrainODFareParams object with the ability to set a context for a request.

func NewLiteTrainODFareParamsWithHTTPClient

func NewLiteTrainODFareParamsWithHTTPClient(client *http.Client) *LiteTrainODFareParams

NewLiteTrainODFareParamsWithHTTPClient creates a new LiteTrainODFareParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainODFareParamsWithTimeout

func NewLiteTrainODFareParamsWithTimeout(timeout time.Duration) *LiteTrainODFareParams

NewLiteTrainODFareParamsWithTimeout creates a new LiteTrainODFareParams object with the ability to set a timeout on a request.

func (*LiteTrainODFareParams) SetContext

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

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

func (*LiteTrainODFareParams) SetDefaults

func (o *LiteTrainODFareParams) SetDefaults()

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

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

func (*LiteTrainODFareParams) SetDollarCount

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

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

func (*LiteTrainODFareParams) SetDollarFilter

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

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

func (*LiteTrainODFareParams) SetDollarFormat

func (o *LiteTrainODFareParams) SetDollarFormat(dollarFormat string)

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

func (*LiteTrainODFareParams) SetDollarOrderby

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

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

func (*LiteTrainODFareParams) SetDollarSelect

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

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

func (*LiteTrainODFareParams) SetDollarSkip

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

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

func (*LiteTrainODFareParams) SetDollarTop

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

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

func (*LiteTrainODFareParams) SetHTTPClient

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

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

func (*LiteTrainODFareParams) SetHealth added in v0.12.0

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

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

func (*LiteTrainODFareParams) SetTimeout

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

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

func (*LiteTrainODFareParams) WithContext

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

func (*LiteTrainODFareParams) WithDefaults

func (o *LiteTrainODFareParams) WithDefaults() *LiteTrainODFareParams

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

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

func (*LiteTrainODFareParams) WithDollarCount

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

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

func (*LiteTrainODFareParams) WithDollarFilter

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

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

func (*LiteTrainODFareParams) WithDollarFormat

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

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

func (*LiteTrainODFareParams) WithDollarOrderby

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

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

func (*LiteTrainODFareParams) WithDollarSelect

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

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

func (*LiteTrainODFareParams) WithDollarSkip

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

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

func (*LiteTrainODFareParams) WithDollarTop

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

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

func (*LiteTrainODFareParams) WithHTTPClient

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

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

func (*LiteTrainODFareParams) WithHealth added in v0.12.0

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

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

func (*LiteTrainODFareParams) WithTimeout

func (o *LiteTrainODFareParams) WithTimeout(timeout time.Duration) *LiteTrainODFareParams

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

func (*LiteTrainODFareParams) WriteToRequest

func (o *LiteTrainODFareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LiteTrainODFareReader

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

LiteTrainODFareReader is a Reader for the LiteTrainODFare structure.

func (*LiteTrainODFareReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainODFareStatus299 added in v0.12.0

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

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

func NewLiteTrainODFareStatus299 added in v0.12.0

func NewLiteTrainODFareStatus299() *LiteTrainODFareStatus299

NewLiteTrainODFareStatus299 creates a LiteTrainODFareStatus299 with default headers values

func (*LiteTrainODFareStatus299) Error added in v0.12.0

func (o *LiteTrainODFareStatus299) Error() string

func (*LiteTrainODFareStatus299) GetPayload added in v0.12.0

type LiteTrainOperatorNotModified

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

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

func NewLiteTrainOperatorNotModified

func NewLiteTrainOperatorNotModified() *LiteTrainOperatorNotModified

NewLiteTrainOperatorNotModified creates a LiteTrainOperatorNotModified with default headers values

func (*LiteTrainOperatorNotModified) Error

type LiteTrainOperatorOK

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

Success

func NewLiteTrainOperatorOK

func NewLiteTrainOperatorOK() *LiteTrainOperatorOK

NewLiteTrainOperatorOK creates a LiteTrainOperatorOK with default headers values

func (*LiteTrainOperatorOK) Error

func (o *LiteTrainOperatorOK) Error() string

type LiteTrainOperatorParams

type LiteTrainOperatorParams 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
}

LiteTrainOperatorParams contains all the parameters to send to the API endpoint

for the lite train operator operation.

Typically these are written to a http.Request.

func NewLiteTrainOperatorParams

func NewLiteTrainOperatorParams() *LiteTrainOperatorParams

NewLiteTrainOperatorParams creates a new LiteTrainOperatorParams 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 NewLiteTrainOperatorParamsWithContext

func NewLiteTrainOperatorParamsWithContext(ctx context.Context) *LiteTrainOperatorParams

NewLiteTrainOperatorParamsWithContext creates a new LiteTrainOperatorParams object with the ability to set a context for a request.

func NewLiteTrainOperatorParamsWithHTTPClient

func NewLiteTrainOperatorParamsWithHTTPClient(client *http.Client) *LiteTrainOperatorParams

NewLiteTrainOperatorParamsWithHTTPClient creates a new LiteTrainOperatorParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainOperatorParamsWithTimeout

func NewLiteTrainOperatorParamsWithTimeout(timeout time.Duration) *LiteTrainOperatorParams

NewLiteTrainOperatorParamsWithTimeout creates a new LiteTrainOperatorParams object with the ability to set a timeout on a request.

func (*LiteTrainOperatorParams) SetContext

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

SetContext adds the context to the lite train operator params

func (*LiteTrainOperatorParams) SetDefaults

func (o *LiteTrainOperatorParams) SetDefaults()

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

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

func (*LiteTrainOperatorParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train operator params

func (*LiteTrainOperatorParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train operator params

func (*LiteTrainOperatorParams) SetDollarFormat

func (o *LiteTrainOperatorParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train operator params

func (*LiteTrainOperatorParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train operator params

func (*LiteTrainOperatorParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train operator params

func (*LiteTrainOperatorParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train operator params

func (*LiteTrainOperatorParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train operator params

func (*LiteTrainOperatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train operator params

func (*LiteTrainOperatorParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train operator params

func (*LiteTrainOperatorParams) SetTimeout

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

SetTimeout adds the timeout to the lite train operator params

func (*LiteTrainOperatorParams) WithContext

WithContext adds the context to the lite train operator params

func (*LiteTrainOperatorParams) WithDefaults

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

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

func (*LiteTrainOperatorParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train operator params

func (*LiteTrainOperatorParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train operator params

func (*LiteTrainOperatorParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train operator params

func (*LiteTrainOperatorParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train operator params

func (*LiteTrainOperatorParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train operator params

func (*LiteTrainOperatorParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train operator params

func (*LiteTrainOperatorParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train operator params

func (*LiteTrainOperatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train operator params

func (*LiteTrainOperatorParams) WithHealth added in v0.12.0

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

WithHealth adds the health to the lite train operator params

func (*LiteTrainOperatorParams) WithTimeout

WithTimeout adds the timeout to the lite train operator params

func (*LiteTrainOperatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainOperatorReader

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

LiteTrainOperatorReader is a Reader for the LiteTrainOperator structure.

func (*LiteTrainOperatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainOperatorStatus299 added in v0.12.0

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

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

func NewLiteTrainOperatorStatus299 added in v0.12.0

func NewLiteTrainOperatorStatus299() *LiteTrainOperatorStatus299

NewLiteTrainOperatorStatus299 creates a LiteTrainOperatorStatus299 with default headers values

func (*LiteTrainOperatorStatus299) Error added in v0.12.0

func (*LiteTrainOperatorStatus299) GetPayload added in v0.12.0

type LiteTrainRouteNotModified

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

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

func NewLiteTrainRouteNotModified

func NewLiteTrainRouteNotModified() *LiteTrainRouteNotModified

NewLiteTrainRouteNotModified creates a LiteTrainRouteNotModified with default headers values

func (*LiteTrainRouteNotModified) Error

func (o *LiteTrainRouteNotModified) Error() string

type LiteTrainRouteOK

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

Success

func NewLiteTrainRouteOK

func NewLiteTrainRouteOK() *LiteTrainRouteOK

NewLiteTrainRouteOK creates a LiteTrainRouteOK with default headers values

func (*LiteTrainRouteOK) Error

func (o *LiteTrainRouteOK) Error() string

type LiteTrainRouteParams

type LiteTrainRouteParams 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
}

LiteTrainRouteParams contains all the parameters to send to the API endpoint

for the lite train route operation.

Typically these are written to a http.Request.

func NewLiteTrainRouteParams

func NewLiteTrainRouteParams() *LiteTrainRouteParams

NewLiteTrainRouteParams creates a new LiteTrainRouteParams 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 NewLiteTrainRouteParamsWithContext

func NewLiteTrainRouteParamsWithContext(ctx context.Context) *LiteTrainRouteParams

NewLiteTrainRouteParamsWithContext creates a new LiteTrainRouteParams object with the ability to set a context for a request.

func NewLiteTrainRouteParamsWithHTTPClient

func NewLiteTrainRouteParamsWithHTTPClient(client *http.Client) *LiteTrainRouteParams

NewLiteTrainRouteParamsWithHTTPClient creates a new LiteTrainRouteParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainRouteParamsWithTimeout

func NewLiteTrainRouteParamsWithTimeout(timeout time.Duration) *LiteTrainRouteParams

NewLiteTrainRouteParamsWithTimeout creates a new LiteTrainRouteParams object with the ability to set a timeout on a request.

func (*LiteTrainRouteParams) SetContext

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

SetContext adds the context to the lite train route params

func (*LiteTrainRouteParams) SetDefaults

func (o *LiteTrainRouteParams) SetDefaults()

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

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

func (*LiteTrainRouteParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train route params

func (*LiteTrainRouteParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train route params

func (*LiteTrainRouteParams) SetDollarFormat

func (o *LiteTrainRouteParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train route params

func (*LiteTrainRouteParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train route params

func (*LiteTrainRouteParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train route params

func (*LiteTrainRouteParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train route params

func (*LiteTrainRouteParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train route params

func (*LiteTrainRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train route params

func (*LiteTrainRouteParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train route params

func (*LiteTrainRouteParams) SetTimeout

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

SetTimeout adds the timeout to the lite train route params

func (*LiteTrainRouteParams) WithContext

WithContext adds the context to the lite train route params

func (*LiteTrainRouteParams) WithDefaults

func (o *LiteTrainRouteParams) WithDefaults() *LiteTrainRouteParams

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

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

func (*LiteTrainRouteParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train route params

func (*LiteTrainRouteParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train route params

func (*LiteTrainRouteParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train route params

func (*LiteTrainRouteParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train route params

func (*LiteTrainRouteParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train route params

func (*LiteTrainRouteParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train route params

func (*LiteTrainRouteParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train route params

func (*LiteTrainRouteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train route params

func (*LiteTrainRouteParams) WithHealth added in v0.12.0

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

WithHealth adds the health to the lite train route params

func (*LiteTrainRouteParams) WithTimeout

func (o *LiteTrainRouteParams) WithTimeout(timeout time.Duration) *LiteTrainRouteParams

WithTimeout adds the timeout to the lite train route params

func (*LiteTrainRouteParams) WriteToRequest

func (o *LiteTrainRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type LiteTrainRouteReader

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

LiteTrainRouteReader is a Reader for the LiteTrainRoute structure.

func (*LiteTrainRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainRouteStatus299 added in v0.12.0

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

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

func NewLiteTrainRouteStatus299 added in v0.12.0

func NewLiteTrainRouteStatus299() *LiteTrainRouteStatus299

NewLiteTrainRouteStatus299 creates a LiteTrainRouteStatus299 with default headers values

func (*LiteTrainRouteStatus299) Error added in v0.12.0

func (o *LiteTrainRouteStatus299) Error() string

func (*LiteTrainRouteStatus299) GetPayload added in v0.12.0

type LiteTrainStationNotModified

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

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

func NewLiteTrainStationNotModified

func NewLiteTrainStationNotModified() *LiteTrainStationNotModified

NewLiteTrainStationNotModified creates a LiteTrainStationNotModified with default headers values

func (*LiteTrainStationNotModified) Error

type LiteTrainStationOK

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

Success

func NewLiteTrainStationOK

func NewLiteTrainStationOK() *LiteTrainStationOK

NewLiteTrainStationOK creates a LiteTrainStationOK with default headers values

func (*LiteTrainStationOK) Error

func (o *LiteTrainStationOK) Error() string

type LiteTrainStationOfLineNotModified

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

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

func NewLiteTrainStationOfLineNotModified

func NewLiteTrainStationOfLineNotModified() *LiteTrainStationOfLineNotModified

NewLiteTrainStationOfLineNotModified creates a LiteTrainStationOfLineNotModified with default headers values

func (*LiteTrainStationOfLineNotModified) Error

type LiteTrainStationOfLineOK

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

Success

func NewLiteTrainStationOfLineOK

func NewLiteTrainStationOfLineOK() *LiteTrainStationOfLineOK

NewLiteTrainStationOfLineOK creates a LiteTrainStationOfLineOK with default headers values

func (*LiteTrainStationOfLineOK) Error

func (o *LiteTrainStationOfLineOK) Error() string

type LiteTrainStationOfLineParams

type LiteTrainStationOfLineParams 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
}

LiteTrainStationOfLineParams contains all the parameters to send to the API endpoint

for the lite train station of line operation.

Typically these are written to a http.Request.

func NewLiteTrainStationOfLineParams

func NewLiteTrainStationOfLineParams() *LiteTrainStationOfLineParams

NewLiteTrainStationOfLineParams creates a new LiteTrainStationOfLineParams 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 NewLiteTrainStationOfLineParamsWithContext

func NewLiteTrainStationOfLineParamsWithContext(ctx context.Context) *LiteTrainStationOfLineParams

NewLiteTrainStationOfLineParamsWithContext creates a new LiteTrainStationOfLineParams object with the ability to set a context for a request.

func NewLiteTrainStationOfLineParamsWithHTTPClient

func NewLiteTrainStationOfLineParamsWithHTTPClient(client *http.Client) *LiteTrainStationOfLineParams

NewLiteTrainStationOfLineParamsWithHTTPClient creates a new LiteTrainStationOfLineParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainStationOfLineParamsWithTimeout

func NewLiteTrainStationOfLineParamsWithTimeout(timeout time.Duration) *LiteTrainStationOfLineParams

NewLiteTrainStationOfLineParamsWithTimeout creates a new LiteTrainStationOfLineParams object with the ability to set a timeout on a request.

func (*LiteTrainStationOfLineParams) SetContext

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

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

func (*LiteTrainStationOfLineParams) SetDefaults

func (o *LiteTrainStationOfLineParams) SetDefaults()

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

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

func (*LiteTrainStationOfLineParams) SetDollarCount

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

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

func (*LiteTrainStationOfLineParams) SetDollarFilter

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

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

func (*LiteTrainStationOfLineParams) SetDollarFormat

func (o *LiteTrainStationOfLineParams) SetDollarFormat(dollarFormat string)

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

func (*LiteTrainStationOfLineParams) SetDollarOrderby

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

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

func (*LiteTrainStationOfLineParams) SetDollarSelect

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

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

func (*LiteTrainStationOfLineParams) SetDollarSkip

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

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

func (*LiteTrainStationOfLineParams) SetDollarTop

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

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

func (*LiteTrainStationOfLineParams) SetHTTPClient

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

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

func (*LiteTrainStationOfLineParams) SetHealth added in v0.12.0

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

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

func (*LiteTrainStationOfLineParams) SetTimeout

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

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

func (*LiteTrainStationOfLineParams) WithContext

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

func (*LiteTrainStationOfLineParams) WithDefaults

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

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

func (*LiteTrainStationOfLineParams) WithDollarCount

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

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

func (*LiteTrainStationOfLineParams) WithDollarFilter

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

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

func (*LiteTrainStationOfLineParams) WithDollarFormat

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

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

func (*LiteTrainStationOfLineParams) WithDollarOrderby

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

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

func (*LiteTrainStationOfLineParams) WithDollarSelect

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

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

func (*LiteTrainStationOfLineParams) WithDollarSkip

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

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

func (*LiteTrainStationOfLineParams) WithDollarTop

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

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

func (*LiteTrainStationOfLineParams) WithHTTPClient

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

func (*LiteTrainStationOfLineParams) WithHealth added in v0.12.0

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

func (*LiteTrainStationOfLineParams) WithTimeout

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

func (*LiteTrainStationOfLineParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainStationOfLineReader

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

LiteTrainStationOfLineReader is a Reader for the LiteTrainStationOfLine structure.

func (*LiteTrainStationOfLineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainStationOfLineStatus299 added in v0.12.0

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

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

func NewLiteTrainStationOfLineStatus299 added in v0.12.0

func NewLiteTrainStationOfLineStatus299() *LiteTrainStationOfLineStatus299

NewLiteTrainStationOfLineStatus299 creates a LiteTrainStationOfLineStatus299 with default headers values

func (*LiteTrainStationOfLineStatus299) Error added in v0.12.0

func (*LiteTrainStationOfLineStatus299) GetPayload added in v0.12.0

type LiteTrainStationOfRouteNotModified

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

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

func NewLiteTrainStationOfRouteNotModified

func NewLiteTrainStationOfRouteNotModified() *LiteTrainStationOfRouteNotModified

NewLiteTrainStationOfRouteNotModified creates a LiteTrainStationOfRouteNotModified with default headers values

func (*LiteTrainStationOfRouteNotModified) Error

type LiteTrainStationOfRouteOK

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

Success

func NewLiteTrainStationOfRouteOK

func NewLiteTrainStationOfRouteOK() *LiteTrainStationOfRouteOK

NewLiteTrainStationOfRouteOK creates a LiteTrainStationOfRouteOK with default headers values

func (*LiteTrainStationOfRouteOK) Error

func (o *LiteTrainStationOfRouteOK) Error() string

type LiteTrainStationOfRouteParams

type LiteTrainStationOfRouteParams 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
}

LiteTrainStationOfRouteParams contains all the parameters to send to the API endpoint

for the lite train station of route operation.

Typically these are written to a http.Request.

func NewLiteTrainStationOfRouteParams

func NewLiteTrainStationOfRouteParams() *LiteTrainStationOfRouteParams

NewLiteTrainStationOfRouteParams creates a new LiteTrainStationOfRouteParams 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 NewLiteTrainStationOfRouteParamsWithContext

func NewLiteTrainStationOfRouteParamsWithContext(ctx context.Context) *LiteTrainStationOfRouteParams

NewLiteTrainStationOfRouteParamsWithContext creates a new LiteTrainStationOfRouteParams object with the ability to set a context for a request.

func NewLiteTrainStationOfRouteParamsWithHTTPClient

func NewLiteTrainStationOfRouteParamsWithHTTPClient(client *http.Client) *LiteTrainStationOfRouteParams

NewLiteTrainStationOfRouteParamsWithHTTPClient creates a new LiteTrainStationOfRouteParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainStationOfRouteParamsWithTimeout

func NewLiteTrainStationOfRouteParamsWithTimeout(timeout time.Duration) *LiteTrainStationOfRouteParams

NewLiteTrainStationOfRouteParamsWithTimeout creates a new LiteTrainStationOfRouteParams object with the ability to set a timeout on a request.

func (*LiteTrainStationOfRouteParams) SetContext

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

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

func (*LiteTrainStationOfRouteParams) SetDefaults

func (o *LiteTrainStationOfRouteParams) SetDefaults()

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

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

func (*LiteTrainStationOfRouteParams) SetDollarCount

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

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

func (*LiteTrainStationOfRouteParams) SetDollarFilter

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

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

func (*LiteTrainStationOfRouteParams) SetDollarFormat

func (o *LiteTrainStationOfRouteParams) SetDollarFormat(dollarFormat string)

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

func (*LiteTrainStationOfRouteParams) SetDollarOrderby

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

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

func (*LiteTrainStationOfRouteParams) SetDollarSelect

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

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

func (*LiteTrainStationOfRouteParams) SetDollarSkip

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

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

func (*LiteTrainStationOfRouteParams) SetDollarTop

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

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

func (*LiteTrainStationOfRouteParams) SetHTTPClient

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

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

func (*LiteTrainStationOfRouteParams) SetHealth added in v0.12.0

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

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

func (*LiteTrainStationOfRouteParams) SetTimeout

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

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

func (*LiteTrainStationOfRouteParams) WithContext

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

func (*LiteTrainStationOfRouteParams) WithDefaults

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

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

func (*LiteTrainStationOfRouteParams) WithDollarCount

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

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

func (*LiteTrainStationOfRouteParams) WithDollarFilter

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

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

func (*LiteTrainStationOfRouteParams) WithDollarFormat

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

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

func (*LiteTrainStationOfRouteParams) WithDollarOrderby

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

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

func (*LiteTrainStationOfRouteParams) WithDollarSelect

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

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

func (*LiteTrainStationOfRouteParams) WithDollarSkip

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

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

func (*LiteTrainStationOfRouteParams) WithDollarTop

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

func (*LiteTrainStationOfRouteParams) WithHTTPClient

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

func (*LiteTrainStationOfRouteParams) WithHealth added in v0.12.0

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

func (*LiteTrainStationOfRouteParams) WithTimeout

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

func (*LiteTrainStationOfRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainStationOfRouteReader

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

LiteTrainStationOfRouteReader is a Reader for the LiteTrainStationOfRoute structure.

func (*LiteTrainStationOfRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainStationOfRouteStatus299 added in v0.12.0

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

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

func NewLiteTrainStationOfRouteStatus299 added in v0.12.0

func NewLiteTrainStationOfRouteStatus299() *LiteTrainStationOfRouteStatus299

NewLiteTrainStationOfRouteStatus299 creates a LiteTrainStationOfRouteStatus299 with default headers values

func (*LiteTrainStationOfRouteStatus299) Error added in v0.12.0

func (*LiteTrainStationOfRouteStatus299) GetPayload added in v0.12.0

type LiteTrainStationParams

type LiteTrainStationParams struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

	   空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100)
	*/
	DollarSpatialFilter *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

LiteTrainStationParams contains all the parameters to send to the API endpoint

for the lite train station operation.

Typically these are written to a http.Request.

func NewLiteTrainStationParams

func NewLiteTrainStationParams() *LiteTrainStationParams

NewLiteTrainStationParams creates a new LiteTrainStationParams 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 NewLiteTrainStationParamsWithContext

func NewLiteTrainStationParamsWithContext(ctx context.Context) *LiteTrainStationParams

NewLiteTrainStationParamsWithContext creates a new LiteTrainStationParams object with the ability to set a context for a request.

func NewLiteTrainStationParamsWithHTTPClient

func NewLiteTrainStationParamsWithHTTPClient(client *http.Client) *LiteTrainStationParams

NewLiteTrainStationParamsWithHTTPClient creates a new LiteTrainStationParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainStationParamsWithTimeout

func NewLiteTrainStationParamsWithTimeout(timeout time.Duration) *LiteTrainStationParams

NewLiteTrainStationParamsWithTimeout creates a new LiteTrainStationParams object with the ability to set a timeout on a request.

func (*LiteTrainStationParams) SetContext

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

SetContext adds the context to the lite train station params

func (*LiteTrainStationParams) SetDefaults

func (o *LiteTrainStationParams) SetDefaults()

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

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

func (*LiteTrainStationParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train station params

func (*LiteTrainStationParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train station params

func (*LiteTrainStationParams) SetDollarFormat

func (o *LiteTrainStationParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train station params

func (*LiteTrainStationParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train station params

func (*LiteTrainStationParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train station params

func (*LiteTrainStationParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train station params

func (*LiteTrainStationParams) SetDollarSpatialFilter

func (o *LiteTrainStationParams) SetDollarSpatialFilter(dollarSpatialFilter *string)

SetDollarSpatialFilter adds the dollarSpatialFilter to the lite train station params

func (*LiteTrainStationParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train station params

func (*LiteTrainStationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train station params

func (*LiteTrainStationParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train station params

func (*LiteTrainStationParams) SetTimeout

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

SetTimeout adds the timeout to the lite train station params

func (*LiteTrainStationParams) WithContext

WithContext adds the context to the lite train station params

func (*LiteTrainStationParams) WithDefaults

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

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

func (*LiteTrainStationParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train station params

func (*LiteTrainStationParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train station params

func (*LiteTrainStationParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train station params

func (*LiteTrainStationParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train station params

func (*LiteTrainStationParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train station params

func (*LiteTrainStationParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train station params

func (*LiteTrainStationParams) WithDollarSpatialFilter

func (o *LiteTrainStationParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *LiteTrainStationParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the lite train station params

func (*LiteTrainStationParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train station params

func (*LiteTrainStationParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train station params

func (*LiteTrainStationParams) WithHealth added in v0.12.0

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

WithHealth adds the health to the lite train station params

func (*LiteTrainStationParams) WithTimeout

WithTimeout adds the timeout to the lite train station params

func (*LiteTrainStationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainStationReader

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

LiteTrainStationReader is a Reader for the LiteTrainStation structure.

func (*LiteTrainStationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainStationStatus299 added in v0.12.0

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

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

func NewLiteTrainStationStatus299 added in v0.12.0

func NewLiteTrainStationStatus299() *LiteTrainStationStatus299

NewLiteTrainStationStatus299 creates a LiteTrainStationStatus299 with default headers values

func (*LiteTrainStationStatus299) Error added in v0.12.0

func (o *LiteTrainStationStatus299) Error() string

func (*LiteTrainStationStatus299) GetPayload added in v0.12.0

type LiteTrainTrainTypeNotModified

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

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

func NewLiteTrainTrainTypeNotModified

func NewLiteTrainTrainTypeNotModified() *LiteTrainTrainTypeNotModified

NewLiteTrainTrainTypeNotModified creates a LiteTrainTrainTypeNotModified with default headers values

func (*LiteTrainTrainTypeNotModified) Error

type LiteTrainTrainTypeOK

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

Success

func NewLiteTrainTrainTypeOK

func NewLiteTrainTrainTypeOK() *LiteTrainTrainTypeOK

NewLiteTrainTrainTypeOK creates a LiteTrainTrainTypeOK with default headers values

func (*LiteTrainTrainTypeOK) Error

func (o *LiteTrainTrainTypeOK) Error() string

type LiteTrainTrainTypeParams

type LiteTrainTrainTypeParams 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
}

LiteTrainTrainTypeParams contains all the parameters to send to the API endpoint

for the lite train train type operation.

Typically these are written to a http.Request.

func NewLiteTrainTrainTypeParams

func NewLiteTrainTrainTypeParams() *LiteTrainTrainTypeParams

NewLiteTrainTrainTypeParams creates a new LiteTrainTrainTypeParams 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 NewLiteTrainTrainTypeParamsWithContext

func NewLiteTrainTrainTypeParamsWithContext(ctx context.Context) *LiteTrainTrainTypeParams

NewLiteTrainTrainTypeParamsWithContext creates a new LiteTrainTrainTypeParams object with the ability to set a context for a request.

func NewLiteTrainTrainTypeParamsWithHTTPClient

func NewLiteTrainTrainTypeParamsWithHTTPClient(client *http.Client) *LiteTrainTrainTypeParams

NewLiteTrainTrainTypeParamsWithHTTPClient creates a new LiteTrainTrainTypeParams object with the ability to set a custom HTTPClient for a request.

func NewLiteTrainTrainTypeParamsWithTimeout

func NewLiteTrainTrainTypeParamsWithTimeout(timeout time.Duration) *LiteTrainTrainTypeParams

NewLiteTrainTrainTypeParamsWithTimeout creates a new LiteTrainTrainTypeParams object with the ability to set a timeout on a request.

func (*LiteTrainTrainTypeParams) SetContext

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

SetContext adds the context to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDefaults

func (o *LiteTrainTrainTypeParams) SetDefaults()

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

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

func (*LiteTrainTrainTypeParams) SetDollarCount

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

SetDollarCount adds the dollarCount to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDollarFormat

func (o *LiteTrainTrainTypeParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the lite train train type params

func (*LiteTrainTrainTypeParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the lite train train type params

func (*LiteTrainTrainTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the lite train train type params

func (*LiteTrainTrainTypeParams) SetHealth added in v0.12.0

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

SetHealth adds the health to the lite train train type params

func (*LiteTrainTrainTypeParams) SetTimeout

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

SetTimeout adds the timeout to the lite train train type params

func (*LiteTrainTrainTypeParams) WithContext

WithContext adds the context to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDefaults

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

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

func (*LiteTrainTrainTypeParams) WithDollarCount

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

WithDollarCount adds the dollarCount to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the lite train train type params

func (*LiteTrainTrainTypeParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the lite train train type params

func (*LiteTrainTrainTypeParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the lite train train type params

func (*LiteTrainTrainTypeParams) WithHealth added in v0.12.0

WithHealth adds the health to the lite train train type params

func (*LiteTrainTrainTypeParams) WithTimeout

WithTimeout adds the timeout to the lite train train type params

func (*LiteTrainTrainTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LiteTrainTrainTypeReader

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

LiteTrainTrainTypeReader is a Reader for the LiteTrainTrainType structure.

func (*LiteTrainTrainTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LiteTrainTrainTypeStatus299 added in v0.12.0

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

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

func NewLiteTrainTrainTypeStatus299 added in v0.12.0

func NewLiteTrainTrainTypeStatus299() *LiteTrainTrainTypeStatus299

NewLiteTrainTrainTypeStatus299 creates a LiteTrainTrainTypeStatus299 with default headers values

func (*LiteTrainTrainTypeStatus299) Error added in v0.12.0

func (*LiteTrainTrainTypeStatus299) GetPayload added in v0.12.0

Jump to

Keyboard shortcuts

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