Documentation
¶
Index ¶
- type Client
- func (a *Client) LiteTrainGeneralTrainTimetable(params *LiteTrainGeneralTrainTimetableParams, opts ...ClientOption) (*LiteTrainGeneralTrainTimetableOK, *LiteTrainGeneralTrainTimetableStatus299, ...)
- func (a *Client) LiteTrainGeneralTrainTimetable1(params *LiteTrainGeneralTrainTimetable1Params, opts ...ClientOption) (*LiteTrainGeneralTrainTimetable1OK, *LiteTrainGeneralTrainTimetable1Status299, ...)
- func (a *Client) LiteTrainLine(params *LiteTrainLineParams, opts ...ClientOption) (*LiteTrainLineOK, *LiteTrainLineStatus299, error)
- func (a *Client) LiteTrainNetwork(params *LiteTrainNetworkParams, opts ...ClientOption) (*LiteTrainNetworkOK, *LiteTrainNetworkStatus299, error)
- func (a *Client) LiteTrainNews(params *LiteTrainNewsParams, opts ...ClientOption) (*LiteTrainNewsOK, *LiteTrainNewsStatus299, error)
- func (a *Client) LiteTrainODFare(params *LiteTrainODFareParams, opts ...ClientOption) (*LiteTrainODFareOK, *LiteTrainODFareStatus299, error)
- func (a *Client) LiteTrainODFare1(params *LiteTrainODFare1Params, opts ...ClientOption) (*LiteTrainODFare1OK, *LiteTrainODFare1Status299, error)
- func (a *Client) LiteTrainOperator(params *LiteTrainOperatorParams, opts ...ClientOption) (*LiteTrainOperatorOK, *LiteTrainOperatorStatus299, error)
- func (a *Client) LiteTrainRoute(params *LiteTrainRouteParams, opts ...ClientOption) (*LiteTrainRouteOK, *LiteTrainRouteStatus299, error)
- func (a *Client) LiteTrainStation(params *LiteTrainStationParams, opts ...ClientOption) (*LiteTrainStationOK, *LiteTrainStationStatus299, error)
- func (a *Client) LiteTrainStationOfLine(params *LiteTrainStationOfLineParams, opts ...ClientOption) (*LiteTrainStationOfLineOK, *LiteTrainStationOfLineStatus299, error)
- func (a *Client) LiteTrainStationOfRoute(params *LiteTrainStationOfRouteParams, opts ...ClientOption) (*LiteTrainStationOfRouteOK, *LiteTrainStationOfRouteStatus299, error)
- func (a *Client) LiteTrainTrainType(params *LiteTrainTrainTypeParams, opts ...ClientOption) (*LiteTrainTrainTypeOK, *LiteTrainTrainTypeStatus299, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type LiteTrainGeneralTrainTimetable1NotModified
- type LiteTrainGeneralTrainTimetable1OK
- type LiteTrainGeneralTrainTimetable1Params
- func NewLiteTrainGeneralTrainTimetable1Params() *LiteTrainGeneralTrainTimetable1Params
- func NewLiteTrainGeneralTrainTimetable1ParamsWithContext(ctx context.Context) *LiteTrainGeneralTrainTimetable1Params
- func NewLiteTrainGeneralTrainTimetable1ParamsWithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetable1Params
- func NewLiteTrainGeneralTrainTimetable1ParamsWithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) SetContext(ctx context.Context)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDefaults()
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetHTTPClient(client *http.Client)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetHealth(health *string)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetTimeout(timeout time.Duration)
- func (o *LiteTrainGeneralTrainTimetable1Params) SetTrainNo(trainNo string)
- func (o *LiteTrainGeneralTrainTimetable1Params) WithContext(ctx context.Context) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDefaults() *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarCount(dollarCount *bool) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarFilter(dollarFilter *string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarFormat(dollarFormat string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarOrderby(dollarOrderby *string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarSelect(dollarSelect *string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarSkip(dollarSkip *string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarTop(dollarTop *int64) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithHealth(health *string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WithTrainNo(trainNo string) *LiteTrainGeneralTrainTimetable1Params
- func (o *LiteTrainGeneralTrainTimetable1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainGeneralTrainTimetable1Reader
- type LiteTrainGeneralTrainTimetable1Status299
- type LiteTrainGeneralTrainTimetableNotModified
- type LiteTrainGeneralTrainTimetableOK
- type LiteTrainGeneralTrainTimetableParams
- func NewLiteTrainGeneralTrainTimetableParams() *LiteTrainGeneralTrainTimetableParams
- func NewLiteTrainGeneralTrainTimetableParamsWithContext(ctx context.Context) *LiteTrainGeneralTrainTimetableParams
- func NewLiteTrainGeneralTrainTimetableParamsWithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetableParams
- func NewLiteTrainGeneralTrainTimetableParamsWithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) SetContext(ctx context.Context)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDefaults()
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainGeneralTrainTimetableParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainGeneralTrainTimetableParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainGeneralTrainTimetableParams) SetHealth(health *string)
- func (o *LiteTrainGeneralTrainTimetableParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainGeneralTrainTimetableParams) WithContext(ctx context.Context) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDefaults() *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarCount(dollarCount *bool) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarFilter(dollarFilter *string) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarFormat(dollarFormat string) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarSelect(dollarSelect *string) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarSkip(dollarSkip *string) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithDollarTop(dollarTop *int64) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithHealth(health *string) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetableParams
- func (o *LiteTrainGeneralTrainTimetableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainGeneralTrainTimetableReader
- type LiteTrainGeneralTrainTimetableStatus299
- type LiteTrainLineNotModified
- type LiteTrainLineOK
- type LiteTrainLineParams
- func (o *LiteTrainLineParams) SetContext(ctx context.Context)
- func (o *LiteTrainLineParams) SetDefaults()
- func (o *LiteTrainLineParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainLineParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainLineParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainLineParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainLineParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainLineParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainLineParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainLineParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainLineParams) SetHealth(health *string)
- func (o *LiteTrainLineParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainLineParams) WithContext(ctx context.Context) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDefaults() *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarCount(dollarCount *bool) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarFilter(dollarFilter *string) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarFormat(dollarFormat string) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarSelect(dollarSelect *string) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarSkip(dollarSkip *string) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithDollarTop(dollarTop *int64) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithHTTPClient(client *http.Client) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithHealth(health *string) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WithTimeout(timeout time.Duration) *LiteTrainLineParams
- func (o *LiteTrainLineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainLineReader
- type LiteTrainLineStatus299
- type LiteTrainNetworkNotModified
- type LiteTrainNetworkOK
- type LiteTrainNetworkParams
- func NewLiteTrainNetworkParams() *LiteTrainNetworkParams
- func NewLiteTrainNetworkParamsWithContext(ctx context.Context) *LiteTrainNetworkParams
- func NewLiteTrainNetworkParamsWithHTTPClient(client *http.Client) *LiteTrainNetworkParams
- func NewLiteTrainNetworkParamsWithTimeout(timeout time.Duration) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) SetContext(ctx context.Context)
- func (o *LiteTrainNetworkParams) SetDefaults()
- func (o *LiteTrainNetworkParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainNetworkParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainNetworkParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainNetworkParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainNetworkParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainNetworkParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainNetworkParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainNetworkParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainNetworkParams) SetHealth(health *string)
- func (o *LiteTrainNetworkParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainNetworkParams) WithContext(ctx context.Context) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDefaults() *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarCount(dollarCount *bool) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarFilter(dollarFilter *string) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarFormat(dollarFormat string) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarSelect(dollarSelect *string) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarSkip(dollarSkip *string) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithDollarTop(dollarTop *int64) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithHTTPClient(client *http.Client) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithHealth(health *string) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WithTimeout(timeout time.Duration) *LiteTrainNetworkParams
- func (o *LiteTrainNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainNetworkReader
- type LiteTrainNetworkStatus299
- type LiteTrainNewsNotModified
- type LiteTrainNewsOK
- type LiteTrainNewsParams
- func (o *LiteTrainNewsParams) SetContext(ctx context.Context)
- func (o *LiteTrainNewsParams) SetDefaults()
- func (o *LiteTrainNewsParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainNewsParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainNewsParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainNewsParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainNewsParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainNewsParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainNewsParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainNewsParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainNewsParams) SetHealth(health *string)
- func (o *LiteTrainNewsParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainNewsParams) WithContext(ctx context.Context) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDefaults() *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarCount(dollarCount *bool) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarFilter(dollarFilter *string) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarFormat(dollarFormat string) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarSelect(dollarSelect *string) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarSkip(dollarSkip *string) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithDollarTop(dollarTop *int64) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithHTTPClient(client *http.Client) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithHealth(health *string) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WithTimeout(timeout time.Duration) *LiteTrainNewsParams
- func (o *LiteTrainNewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainNewsReader
- type LiteTrainNewsStatus299
- type LiteTrainODFare1NotModified
- type LiteTrainODFare1OK
- type LiteTrainODFare1Params
- func NewLiteTrainODFare1Params() *LiteTrainODFare1Params
- func NewLiteTrainODFare1ParamsWithContext(ctx context.Context) *LiteTrainODFare1Params
- func NewLiteTrainODFare1ParamsWithHTTPClient(client *http.Client) *LiteTrainODFare1Params
- func NewLiteTrainODFare1ParamsWithTimeout(timeout time.Duration) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) SetContext(ctx context.Context)
- func (o *LiteTrainODFare1Params) SetDefaults()
- func (o *LiteTrainODFare1Params) SetDestinationStationID(destinationStationID string)
- func (o *LiteTrainODFare1Params) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainODFare1Params) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainODFare1Params) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainODFare1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainODFare1Params) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainODFare1Params) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainODFare1Params) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainODFare1Params) SetHTTPClient(client *http.Client)
- func (o *LiteTrainODFare1Params) SetHealth(health *string)
- func (o *LiteTrainODFare1Params) SetOriginStationID(originStationID string)
- func (o *LiteTrainODFare1Params) SetTimeout(timeout time.Duration)
- func (o *LiteTrainODFare1Params) WithContext(ctx context.Context) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDefaults() *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDestinationStationID(destinationStationID string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarCount(dollarCount *bool) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarFilter(dollarFilter *string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarFormat(dollarFormat string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarOrderby(dollarOrderby *string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarSelect(dollarSelect *string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarSkip(dollarSkip *string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithDollarTop(dollarTop *int64) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithHTTPClient(client *http.Client) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithHealth(health *string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithOriginStationID(originStationID string) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WithTimeout(timeout time.Duration) *LiteTrainODFare1Params
- func (o *LiteTrainODFare1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainODFare1Reader
- type LiteTrainODFare1Status299
- type LiteTrainODFareNotModified
- type LiteTrainODFareOK
- type LiteTrainODFareParams
- func NewLiteTrainODFareParams() *LiteTrainODFareParams
- func NewLiteTrainODFareParamsWithContext(ctx context.Context) *LiteTrainODFareParams
- func NewLiteTrainODFareParamsWithHTTPClient(client *http.Client) *LiteTrainODFareParams
- func NewLiteTrainODFareParamsWithTimeout(timeout time.Duration) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) SetContext(ctx context.Context)
- func (o *LiteTrainODFareParams) SetDefaults()
- func (o *LiteTrainODFareParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainODFareParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainODFareParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainODFareParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainODFareParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainODFareParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainODFareParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainODFareParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainODFareParams) SetHealth(health *string)
- func (o *LiteTrainODFareParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainODFareParams) WithContext(ctx context.Context) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDefaults() *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarCount(dollarCount *bool) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarFilter(dollarFilter *string) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarFormat(dollarFormat string) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarSelect(dollarSelect *string) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarSkip(dollarSkip *string) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithDollarTop(dollarTop *int64) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithHTTPClient(client *http.Client) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithHealth(health *string) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WithTimeout(timeout time.Duration) *LiteTrainODFareParams
- func (o *LiteTrainODFareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainODFareReader
- type LiteTrainODFareStatus299
- type LiteTrainOperatorNotModified
- type LiteTrainOperatorOK
- type LiteTrainOperatorParams
- func NewLiteTrainOperatorParams() *LiteTrainOperatorParams
- func NewLiteTrainOperatorParamsWithContext(ctx context.Context) *LiteTrainOperatorParams
- func NewLiteTrainOperatorParamsWithHTTPClient(client *http.Client) *LiteTrainOperatorParams
- func NewLiteTrainOperatorParamsWithTimeout(timeout time.Duration) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) SetContext(ctx context.Context)
- func (o *LiteTrainOperatorParams) SetDefaults()
- func (o *LiteTrainOperatorParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainOperatorParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainOperatorParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainOperatorParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainOperatorParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainOperatorParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainOperatorParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainOperatorParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainOperatorParams) SetHealth(health *string)
- func (o *LiteTrainOperatorParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainOperatorParams) WithContext(ctx context.Context) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDefaults() *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarCount(dollarCount *bool) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarFilter(dollarFilter *string) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarFormat(dollarFormat string) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarSelect(dollarSelect *string) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarSkip(dollarSkip *string) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithDollarTop(dollarTop *int64) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithHTTPClient(client *http.Client) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithHealth(health *string) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WithTimeout(timeout time.Duration) *LiteTrainOperatorParams
- func (o *LiteTrainOperatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainOperatorReader
- type LiteTrainOperatorStatus299
- type LiteTrainRouteNotModified
- type LiteTrainRouteOK
- type LiteTrainRouteParams
- func NewLiteTrainRouteParams() *LiteTrainRouteParams
- func NewLiteTrainRouteParamsWithContext(ctx context.Context) *LiteTrainRouteParams
- func NewLiteTrainRouteParamsWithHTTPClient(client *http.Client) *LiteTrainRouteParams
- func NewLiteTrainRouteParamsWithTimeout(timeout time.Duration) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) SetContext(ctx context.Context)
- func (o *LiteTrainRouteParams) SetDefaults()
- func (o *LiteTrainRouteParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainRouteParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainRouteParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainRouteParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainRouteParams) SetHealth(health *string)
- func (o *LiteTrainRouteParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainRouteParams) WithContext(ctx context.Context) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDefaults() *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarCount(dollarCount *bool) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarFilter(dollarFilter *string) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarFormat(dollarFormat string) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarSelect(dollarSelect *string) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarSkip(dollarSkip *string) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithDollarTop(dollarTop *int64) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithHTTPClient(client *http.Client) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithHealth(health *string) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WithTimeout(timeout time.Duration) *LiteTrainRouteParams
- func (o *LiteTrainRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainRouteReader
- type LiteTrainRouteStatus299
- type LiteTrainStationNotModified
- type LiteTrainStationOK
- type LiteTrainStationOfLineNotModified
- type LiteTrainStationOfLineOK
- type LiteTrainStationOfLineParams
- func NewLiteTrainStationOfLineParams() *LiteTrainStationOfLineParams
- func NewLiteTrainStationOfLineParamsWithContext(ctx context.Context) *LiteTrainStationOfLineParams
- func NewLiteTrainStationOfLineParamsWithHTTPClient(client *http.Client) *LiteTrainStationOfLineParams
- func NewLiteTrainStationOfLineParamsWithTimeout(timeout time.Duration) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) SetContext(ctx context.Context)
- func (o *LiteTrainStationOfLineParams) SetDefaults()
- func (o *LiteTrainStationOfLineParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainStationOfLineParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainStationOfLineParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainStationOfLineParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainStationOfLineParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainStationOfLineParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainStationOfLineParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainStationOfLineParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainStationOfLineParams) SetHealth(health *string)
- func (o *LiteTrainStationOfLineParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainStationOfLineParams) WithContext(ctx context.Context) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDefaults() *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarCount(dollarCount *bool) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarFilter(dollarFilter *string) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarFormat(dollarFormat string) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarSelect(dollarSelect *string) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarSkip(dollarSkip *string) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithDollarTop(dollarTop *int64) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithHTTPClient(client *http.Client) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithHealth(health *string) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WithTimeout(timeout time.Duration) *LiteTrainStationOfLineParams
- func (o *LiteTrainStationOfLineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainStationOfLineReader
- type LiteTrainStationOfLineStatus299
- type LiteTrainStationOfRouteNotModified
- type LiteTrainStationOfRouteOK
- type LiteTrainStationOfRouteParams
- func NewLiteTrainStationOfRouteParams() *LiteTrainStationOfRouteParams
- func NewLiteTrainStationOfRouteParamsWithContext(ctx context.Context) *LiteTrainStationOfRouteParams
- func NewLiteTrainStationOfRouteParamsWithHTTPClient(client *http.Client) *LiteTrainStationOfRouteParams
- func NewLiteTrainStationOfRouteParamsWithTimeout(timeout time.Duration) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) SetContext(ctx context.Context)
- func (o *LiteTrainStationOfRouteParams) SetDefaults()
- func (o *LiteTrainStationOfRouteParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainStationOfRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainStationOfRouteParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainStationOfRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainStationOfRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainStationOfRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainStationOfRouteParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainStationOfRouteParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainStationOfRouteParams) SetHealth(health *string)
- func (o *LiteTrainStationOfRouteParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainStationOfRouteParams) WithContext(ctx context.Context) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDefaults() *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarCount(dollarCount *bool) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarFilter(dollarFilter *string) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarFormat(dollarFormat string) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarSelect(dollarSelect *string) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarSkip(dollarSkip *string) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithDollarTop(dollarTop *int64) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithHTTPClient(client *http.Client) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithHealth(health *string) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WithTimeout(timeout time.Duration) *LiteTrainStationOfRouteParams
- func (o *LiteTrainStationOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainStationOfRouteReader
- type LiteTrainStationOfRouteStatus299
- type LiteTrainStationParams
- func NewLiteTrainStationParams() *LiteTrainStationParams
- func NewLiteTrainStationParamsWithContext(ctx context.Context) *LiteTrainStationParams
- func NewLiteTrainStationParamsWithHTTPClient(client *http.Client) *LiteTrainStationParams
- func NewLiteTrainStationParamsWithTimeout(timeout time.Duration) *LiteTrainStationParams
- func (o *LiteTrainStationParams) SetContext(ctx context.Context)
- func (o *LiteTrainStationParams) SetDefaults()
- func (o *LiteTrainStationParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainStationParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainStationParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainStationParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainStationParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainStationParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainStationParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *LiteTrainStationParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainStationParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainStationParams) SetHealth(health *string)
- func (o *LiteTrainStationParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainStationParams) WithContext(ctx context.Context) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDefaults() *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarCount(dollarCount *bool) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarFilter(dollarFilter *string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarFormat(dollarFormat string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarSelect(dollarSelect *string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarSkip(dollarSkip *string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithDollarTop(dollarTop *int64) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithHTTPClient(client *http.Client) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithHealth(health *string) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WithTimeout(timeout time.Duration) *LiteTrainStationParams
- func (o *LiteTrainStationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainStationReader
- type LiteTrainStationStatus299
- type LiteTrainTrainTypeNotModified
- type LiteTrainTrainTypeOK
- type LiteTrainTrainTypeParams
- func NewLiteTrainTrainTypeParams() *LiteTrainTrainTypeParams
- func NewLiteTrainTrainTypeParamsWithContext(ctx context.Context) *LiteTrainTrainTypeParams
- func NewLiteTrainTrainTypeParamsWithHTTPClient(client *http.Client) *LiteTrainTrainTypeParams
- func NewLiteTrainTrainTypeParamsWithTimeout(timeout time.Duration) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) SetContext(ctx context.Context)
- func (o *LiteTrainTrainTypeParams) SetDefaults()
- func (o *LiteTrainTrainTypeParams) SetDollarCount(dollarCount *bool)
- func (o *LiteTrainTrainTypeParams) SetDollarFilter(dollarFilter *string)
- func (o *LiteTrainTrainTypeParams) SetDollarFormat(dollarFormat string)
- func (o *LiteTrainTrainTypeParams) SetDollarOrderby(dollarOrderby *string)
- func (o *LiteTrainTrainTypeParams) SetDollarSelect(dollarSelect *string)
- func (o *LiteTrainTrainTypeParams) SetDollarSkip(dollarSkip *string)
- func (o *LiteTrainTrainTypeParams) SetDollarTop(dollarTop *int64)
- func (o *LiteTrainTrainTypeParams) SetHTTPClient(client *http.Client)
- func (o *LiteTrainTrainTypeParams) SetHealth(health *string)
- func (o *LiteTrainTrainTypeParams) SetTimeout(timeout time.Duration)
- func (o *LiteTrainTrainTypeParams) WithContext(ctx context.Context) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDefaults() *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarCount(dollarCount *bool) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarFilter(dollarFilter *string) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarFormat(dollarFormat string) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarSelect(dollarSelect *string) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarSkip(dollarSkip *string) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithDollarTop(dollarTop *int64) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithHTTPClient(client *http.Client) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithHealth(health *string) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WithTimeout(timeout time.Duration) *LiteTrainTrainTypeParams
- func (o *LiteTrainTrainTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LiteTrainTrainTypeReader
- type LiteTrainTrainTypeStatus299
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 ¶
func (a *Client) LiteTrainGeneralTrainTimetable(params *LiteTrainGeneralTrainTimetableParams, opts ...ClientOption) (*LiteTrainGeneralTrainTimetableOK, *LiteTrainGeneralTrainTimetableStatus299, error)
LiteTrainGeneralTrainTimetable 取得所有車次的定期時刻表資料s
取得所有車次的定期時刻表資料
func (*Client) LiteTrainGeneralTrainTimetable1 ¶
func (a *Client) LiteTrainGeneralTrainTimetable1(params *LiteTrainGeneralTrainTimetable1Params, opts ...ClientOption) (*LiteTrainGeneralTrainTimetable1OK, *LiteTrainGeneralTrainTimetable1Status299, error)
LiteTrainGeneralTrainTimetable1 取得指定s 車次 的定期時刻表資料
取得指定[車次]的定期時刻表資料
func (*Client) LiteTrainLine ¶
func (a *Client) LiteTrainLine(params *LiteTrainLineParams, opts ...ClientOption) (*LiteTrainLineOK, *LiteTrainLineStatus299, error)
LiteTrainLine 取得路線基本資料s
取得路線基本資料
func (*Client) LiteTrainNetwork ¶
func (a *Client) LiteTrainNetwork(params *LiteTrainNetworkParams, opts ...ClientOption) (*LiteTrainNetworkOK, *LiteTrainNetworkStatus299, error)
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 ¶
func (a *Client) LiteTrainODFare1(params *LiteTrainODFare1Params, opts ...ClientOption) (*LiteTrainODFare1OK, *LiteTrainODFare1Status299, error)
LiteTrainODFare1 取得指定起迄站間票價資料s
取得指定起迄站間票價資料
func (*Client) LiteTrainOperator ¶
func (a *Client) LiteTrainOperator(params *LiteTrainOperatorParams, opts ...ClientOption) (*LiteTrainOperatorOK, *LiteTrainOperatorStatus299, error)
LiteTrainOperator 取得營運業者基本資料s
取得營運業者基本資料
func (*Client) LiteTrainRoute ¶
func (a *Client) LiteTrainRoute(params *LiteTrainRouteParams, opts ...ClientOption) (*LiteTrainRouteOK, *LiteTrainRouteStatus299, error)
LiteTrainRoute 取得營運路線基本資料s
取得營運路線基本資料
func (*Client) LiteTrainStation ¶
func (a *Client) LiteTrainStation(params *LiteTrainStationParams, opts ...ClientOption) (*LiteTrainStationOK, *LiteTrainStationStatus299, error)
LiteTrainStation 取得車站基本資料s
取得車站基本資料
func (*Client) LiteTrainStationOfLine ¶
func (a *Client) LiteTrainStationOfLine(params *LiteTrainStationOfLineParams, opts ...ClientOption) (*LiteTrainStationOfLineOK, *LiteTrainStationOfLineStatus299, error)
LiteTrainStationOfLine 取得路線車站基本資料s
取得路線車站基本資料
func (*Client) LiteTrainStationOfRoute ¶
func (a *Client) LiteTrainStationOfRoute(params *LiteTrainStationOfRouteParams, opts ...ClientOption) (*LiteTrainStationOfRouteOK, *LiteTrainStationOfRouteStatus299, error)
LiteTrainStationOfRoute 取得營運路線車站基本資料s
取得營運路線車站基本資料
func (*Client) LiteTrainTrainType ¶
func (a *Client) LiteTrainTrainType(params *LiteTrainTrainTypeParams, opts ...ClientOption) (*LiteTrainTrainTypeOK, *LiteTrainTrainTypeStatus299, error)
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 ¶
func (o *LiteTrainGeneralTrainTimetable1NotModified) Error() string
type LiteTrainGeneralTrainTimetable1OK ¶
type LiteTrainGeneralTrainTimetable1OK struct {
Payload *models.PTXAPIRailModelLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable
}
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 ¶
func (o *LiteTrainGeneralTrainTimetable1OK) Error() string
func (*LiteTrainGeneralTrainTimetable1OK) GetPayload ¶
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 ¶
func (o *LiteTrainGeneralTrainTimetable1Params) SetContext(ctx context.Context)
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 ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithContext(ctx context.Context) *LiteTrainGeneralTrainTimetable1Params
WithContext adds the context to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDefaults ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDefaults() *LiteTrainGeneralTrainTimetable1Params
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 ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarCount(dollarCount *bool) *LiteTrainGeneralTrainTimetable1Params
WithDollarCount adds the dollarCount to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDollarFilter ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarFilter(dollarFilter *string) *LiteTrainGeneralTrainTimetable1Params
WithDollarFilter adds the dollarFilter to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDollarFormat ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarFormat(dollarFormat string) *LiteTrainGeneralTrainTimetable1Params
WithDollarFormat adds the dollarFormat to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDollarOrderby ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarOrderby(dollarOrderby *string) *LiteTrainGeneralTrainTimetable1Params
WithDollarOrderby adds the dollarOrderby to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDollarSelect ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarSelect(dollarSelect *string) *LiteTrainGeneralTrainTimetable1Params
WithDollarSelect adds the dollarSelect to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDollarSkip ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarSkip(dollarSkip *string) *LiteTrainGeneralTrainTimetable1Params
WithDollarSkip adds the dollarSkip to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithDollarTop ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithDollarTop(dollarTop *int64) *LiteTrainGeneralTrainTimetable1Params
WithDollarTop adds the dollarTop to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithHTTPClient ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetable1Params
WithHTTPClient adds the HTTPClient to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithHealth ¶ added in v0.12.0
func (o *LiteTrainGeneralTrainTimetable1Params) WithHealth(health *string) *LiteTrainGeneralTrainTimetable1Params
WithHealth adds the health to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithTimeout ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetable1Params
WithTimeout adds the timeout to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WithTrainNo ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WithTrainNo(trainNo string) *LiteTrainGeneralTrainTimetable1Params
WithTrainNo adds the trainNo to the lite train general train timetable 1 params
func (*LiteTrainGeneralTrainTimetable1Params) WriteToRequest ¶
func (o *LiteTrainGeneralTrainTimetable1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LiteTrainGeneralTrainTimetable1Status299) Error() string
func (*LiteTrainGeneralTrainTimetable1Status299) GetPayload ¶ added in v0.12.0
func (o *LiteTrainGeneralTrainTimetable1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainGeneralTrainTimetableNotModified) Error() string
type LiteTrainGeneralTrainTimetableOK ¶
type LiteTrainGeneralTrainTimetableOK struct {
Payload *models.PTXAPIRailModelLiteTrainGeneralTrainWrapperPTXServiceDTORailSpecificationV3LiteTrainGeneralTrainTimetable
}
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 ¶
func (o *LiteTrainGeneralTrainTimetableOK) Error() string
func (*LiteTrainGeneralTrainTimetableOK) GetPayload ¶
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 ¶
func (o *LiteTrainGeneralTrainTimetableParams) SetContext(ctx context.Context)
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 ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithContext(ctx context.Context) *LiteTrainGeneralTrainTimetableParams
WithContext adds the context to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDefaults ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDefaults() *LiteTrainGeneralTrainTimetableParams
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 ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarCount(dollarCount *bool) *LiteTrainGeneralTrainTimetableParams
WithDollarCount adds the dollarCount to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDollarFilter ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarFilter(dollarFilter *string) *LiteTrainGeneralTrainTimetableParams
WithDollarFilter adds the dollarFilter to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDollarFormat ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarFormat(dollarFormat string) *LiteTrainGeneralTrainTimetableParams
WithDollarFormat adds the dollarFormat to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDollarOrderby ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarOrderby(dollarOrderby *string) *LiteTrainGeneralTrainTimetableParams
WithDollarOrderby adds the dollarOrderby to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDollarSelect ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarSelect(dollarSelect *string) *LiteTrainGeneralTrainTimetableParams
WithDollarSelect adds the dollarSelect to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDollarSkip ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarSkip(dollarSkip *string) *LiteTrainGeneralTrainTimetableParams
WithDollarSkip adds the dollarSkip to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithDollarTop ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithDollarTop(dollarTop *int64) *LiteTrainGeneralTrainTimetableParams
WithDollarTop adds the dollarTop to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithHTTPClient ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithHTTPClient(client *http.Client) *LiteTrainGeneralTrainTimetableParams
WithHTTPClient adds the HTTPClient to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithHealth ¶ added in v0.12.0
func (o *LiteTrainGeneralTrainTimetableParams) WithHealth(health *string) *LiteTrainGeneralTrainTimetableParams
WithHealth adds the health to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WithTimeout ¶
func (o *LiteTrainGeneralTrainTimetableParams) WithTimeout(timeout time.Duration) *LiteTrainGeneralTrainTimetableParams
WithTimeout adds the timeout to the lite train general train timetable params
func (*LiteTrainGeneralTrainTimetableParams) WriteToRequest ¶
func (o *LiteTrainGeneralTrainTimetableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LiteTrainGeneralTrainTimetableStatus299) Error() string
func (*LiteTrainGeneralTrainTimetableStatus299) GetPayload ¶ added in v0.12.0
func (o *LiteTrainGeneralTrainTimetableStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
type LiteTrainLineOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine
}
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
func (*LiteTrainLineOK) GetPayload ¶
func (o *LiteTrainLineOK) GetPayload() *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainLine
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 ¶
func (o *LiteTrainLineParams) WithContext(ctx context.Context) *LiteTrainLineParams
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
func (o *LiteTrainLineStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainNetworkNotModified) Error() string
type LiteTrainNetworkOK ¶
type LiteTrainNetworkOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainNetworkNetwork
}
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
func (*LiteTrainNetworkOK) GetPayload ¶
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 ¶
func (o *LiteTrainNetworkParams) WithContext(ctx context.Context) *LiteTrainNetworkParams
WithContext adds the context to the lite train network params
func (*LiteTrainNetworkParams) WithDefaults ¶
func (o *LiteTrainNetworkParams) WithDefaults() *LiteTrainNetworkParams
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 ¶
func (o *LiteTrainNetworkParams) WithTimeout(timeout time.Duration) *LiteTrainNetworkParams
WithTimeout adds the timeout to the lite train network params
func (*LiteTrainNetworkParams) WriteToRequest ¶
func (o *LiteTrainNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *LiteTrainNetworkStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
type LiteTrainNewsOK struct {
Payload *models.PTXAPIRailModelLiteTrainRealTimeWrapperPTXServiceDTORailSpecificationV3TRATRANewsListNews
}
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
func (*LiteTrainNewsOK) GetPayload ¶
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 ¶
func (o *LiteTrainNewsParams) WithContext(ctx context.Context) *LiteTrainNewsParams
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
func (o *LiteTrainNewsStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainODFare1NotModified) Error() string
type LiteTrainODFare1OK ¶
type LiteTrainODFare1OK struct {
Payload *models.PTXAPIRailModelLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare
}
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
func (*LiteTrainODFare1OK) GetPayload ¶
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 ¶
func (o *LiteTrainODFare1Params) WithContext(ctx context.Context) *LiteTrainODFare1Params
WithContext adds the context to the lite train o d fare 1 params
func (*LiteTrainODFare1Params) WithDefaults ¶
func (o *LiteTrainODFare1Params) WithDefaults() *LiteTrainODFare1Params
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 ¶
func (o *LiteTrainODFare1Params) WithTimeout(timeout time.Duration) *LiteTrainODFare1Params
WithTimeout adds the timeout to the lite train o d fare 1 params
func (*LiteTrainODFare1Params) WriteToRequest ¶
func (o *LiteTrainODFare1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *LiteTrainODFare1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainODFareNotModified) Error() string
type LiteTrainODFareOK ¶
type LiteTrainODFareOK struct {
Payload *models.PTXAPIRailModelLiteTrainODFareWrapperPTXServiceDTORailSpecificationV3LiteTrainODFareODFare
}
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
func (*LiteTrainODFareOK) GetPayload ¶
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 ¶
func (o *LiteTrainODFareParams) WithContext(ctx context.Context) *LiteTrainODFareParams
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
func (o *LiteTrainODFareStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainOperatorNotModified) Error() string
type LiteTrainOperatorOK ¶
type LiteTrainOperatorOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainOperator
}
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
func (*LiteTrainOperatorOK) GetPayload ¶
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 ¶
func (o *LiteTrainOperatorParams) WithContext(ctx context.Context) *LiteTrainOperatorParams
WithContext adds the context to the lite train operator params
func (*LiteTrainOperatorParams) WithDefaults ¶
func (o *LiteTrainOperatorParams) WithDefaults() *LiteTrainOperatorParams
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 ¶
func (o *LiteTrainOperatorParams) WithTimeout(timeout time.Duration) *LiteTrainOperatorParams
WithTimeout adds the timeout to the lite train operator params
func (*LiteTrainOperatorParams) WriteToRequest ¶
func (o *LiteTrainOperatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LiteTrainOperatorStatus299) Error() string
func (*LiteTrainOperatorStatus299) GetPayload ¶ added in v0.12.0
func (o *LiteTrainOperatorStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
type LiteTrainRouteOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute
}
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
func (*LiteTrainRouteOK) GetPayload ¶
func (o *LiteTrainRouteOK) GetPayload() *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainRoute
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 ¶
func (o *LiteTrainRouteParams) WithContext(ctx context.Context) *LiteTrainRouteParams
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
func (o *LiteTrainRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainStationNotModified) Error() string
type LiteTrainStationOK ¶
type LiteTrainStationOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStation
}
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
func (*LiteTrainStationOK) GetPayload ¶
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 ¶
func (o *LiteTrainStationOfLineNotModified) Error() string
type LiteTrainStationOfLineOK ¶
type LiteTrainStationOfLineOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfLineStationOfLine
}
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
func (*LiteTrainStationOfLineOK) GetPayload ¶
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 ¶
func (o *LiteTrainStationOfLineParams) WithContext(ctx context.Context) *LiteTrainStationOfLineParams
WithContext adds the context to the lite train station of line params
func (*LiteTrainStationOfLineParams) WithDefaults ¶
func (o *LiteTrainStationOfLineParams) WithDefaults() *LiteTrainStationOfLineParams
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 ¶
func (o *LiteTrainStationOfLineParams) WithHTTPClient(client *http.Client) *LiteTrainStationOfLineParams
WithHTTPClient adds the HTTPClient to the lite train station of line params
func (*LiteTrainStationOfLineParams) WithHealth ¶ added in v0.12.0
func (o *LiteTrainStationOfLineParams) WithHealth(health *string) *LiteTrainStationOfLineParams
WithHealth adds the health to the lite train station of line params
func (*LiteTrainStationOfLineParams) WithTimeout ¶
func (o *LiteTrainStationOfLineParams) WithTimeout(timeout time.Duration) *LiteTrainStationOfLineParams
WithTimeout adds the timeout to the lite train station of line params
func (*LiteTrainStationOfLineParams) WriteToRequest ¶
func (o *LiteTrainStationOfLineParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LiteTrainStationOfLineStatus299) Error() string
func (*LiteTrainStationOfLineStatus299) GetPayload ¶ added in v0.12.0
func (o *LiteTrainStationOfLineStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainStationOfRouteNotModified) Error() string
type LiteTrainStationOfRouteOK ¶
type LiteTrainStationOfRouteOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainStationOfRouteStationOfRoute
}
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
func (*LiteTrainStationOfRouteOK) GetPayload ¶
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 ¶
func (o *LiteTrainStationOfRouteParams) WithContext(ctx context.Context) *LiteTrainStationOfRouteParams
WithContext adds the context to the lite train station of route params
func (*LiteTrainStationOfRouteParams) WithDefaults ¶
func (o *LiteTrainStationOfRouteParams) WithDefaults() *LiteTrainStationOfRouteParams
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 ¶
func (o *LiteTrainStationOfRouteParams) WithDollarTop(dollarTop *int64) *LiteTrainStationOfRouteParams
WithDollarTop adds the dollarTop to the lite train station of route params
func (*LiteTrainStationOfRouteParams) WithHTTPClient ¶
func (o *LiteTrainStationOfRouteParams) WithHTTPClient(client *http.Client) *LiteTrainStationOfRouteParams
WithHTTPClient adds the HTTPClient to the lite train station of route params
func (*LiteTrainStationOfRouteParams) WithHealth ¶ added in v0.12.0
func (o *LiteTrainStationOfRouteParams) WithHealth(health *string) *LiteTrainStationOfRouteParams
WithHealth adds the health to the lite train station of route params
func (*LiteTrainStationOfRouteParams) WithTimeout ¶
func (o *LiteTrainStationOfRouteParams) WithTimeout(timeout time.Duration) *LiteTrainStationOfRouteParams
WithTimeout adds the timeout to the lite train station of route params
func (*LiteTrainStationOfRouteParams) WriteToRequest ¶
func (o *LiteTrainStationOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LiteTrainStationOfRouteStatus299) Error() string
func (*LiteTrainStationOfRouteStatus299) GetPayload ¶ added in v0.12.0
func (o *LiteTrainStationOfRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainStationParams) WithContext(ctx context.Context) *LiteTrainStationParams
WithContext adds the context to the lite train station params
func (*LiteTrainStationParams) WithDefaults ¶
func (o *LiteTrainStationParams) WithDefaults() *LiteTrainStationParams
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 ¶
func (o *LiteTrainStationParams) WithTimeout(timeout time.Duration) *LiteTrainStationParams
WithTimeout adds the timeout to the lite train station params
func (*LiteTrainStationParams) WriteToRequest ¶
func (o *LiteTrainStationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *LiteTrainStationStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
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 ¶
func (o *LiteTrainTrainTypeNotModified) Error() string
type LiteTrainTrainTypeOK ¶
type LiteTrainTrainTypeOK struct {
Payload *models.PTXAPIRailModelLiteTrainBaseWrapperPTXServiceDTORailSpecificationV3LiteTrainTrainType
}
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
func (*LiteTrainTrainTypeOK) GetPayload ¶
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 ¶
func (o *LiteTrainTrainTypeParams) WithContext(ctx context.Context) *LiteTrainTrainTypeParams
WithContext adds the context to the lite train train type params
func (*LiteTrainTrainTypeParams) WithDefaults ¶
func (o *LiteTrainTrainTypeParams) WithDefaults() *LiteTrainTrainTypeParams
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
func (o *LiteTrainTrainTypeParams) WithHealth(health *string) *LiteTrainTrainTypeParams
WithHealth adds the health to the lite train train type params
func (*LiteTrainTrainTypeParams) WithTimeout ¶
func (o *LiteTrainTrainTypeParams) WithTimeout(timeout time.Duration) *LiteTrainTrainTypeParams
WithTimeout adds the timeout to the lite train train type params
func (*LiteTrainTrainTypeParams) WriteToRequest ¶
func (o *LiteTrainTrainTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LiteTrainTrainTypeStatus299) Error() string
func (*LiteTrainTrainTypeStatus299) GetPayload ¶ added in v0.12.0
func (o *LiteTrainTrainTypeStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
Source Files
¶
- afr_client.go
- lite_train_general_train_timetable1_parameters.go
- lite_train_general_train_timetable1_responses.go
- lite_train_general_train_timetable_parameters.go
- lite_train_general_train_timetable_responses.go
- lite_train_line_parameters.go
- lite_train_line_responses.go
- lite_train_network_parameters.go
- lite_train_network_responses.go
- lite_train_news_parameters.go
- lite_train_news_responses.go
- lite_train_o_d_fare1_parameters.go
- lite_train_o_d_fare1_responses.go
- lite_train_o_d_fare_parameters.go
- lite_train_o_d_fare_responses.go
- lite_train_operator_parameters.go
- lite_train_operator_responses.go
- lite_train_route_parameters.go
- lite_train_route_responses.go
- lite_train_station_of_line_parameters.go
- lite_train_station_of_line_responses.go
- lite_train_station_of_route_parameters.go
- lite_train_station_of_route_responses.go
- lite_train_station_parameters.go
- lite_train_station_responses.go
- lite_train_train_type_parameters.go
- lite_train_train_type_responses.go