Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) THSRAPIAlertInfo2127(params *THSRAPIAlertInfo2127Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIAlertInfo2127OK, *THSRAPIAlertInfo2127Status299, error)
- func (a *Client) THSRAPIAvailableSeatStatus2135(params *THSRAPIAvailableSeatStatus2135Params, ...) (*THSRAPIAvailableSeatStatus2135OK, *THSRAPIAvailableSeatStatus2135Status299, ...)
- func (a *Client) THSRAPIAvailableSeatStatus21351(params *THSRAPIAvailableSeatStatus21351Params, ...) (*THSRAPIAvailableSeatStatus21351OK, *THSRAPIAvailableSeatStatus21351Status299, ...)
- func (a *Client) THSRAPIAvailableSeatStatusListStation2130(params *THSRAPIAvailableSeatStatusListStation2130Params, ...) (*THSRAPIAvailableSeatStatusListStation2130OK, ...)
- func (a *Client) THSRAPIAvailableSeatStatusListStation21301(params *THSRAPIAvailableSeatStatusListStation21301Params, ...) (*THSRAPIAvailableSeatStatusListStation21301OK, ...)
- func (a *Client) THSRAPIAvailableSeatStatusOD2136(params *THSRAPIAvailableSeatStatusOD2136Params, ...) (*THSRAPIAvailableSeatStatusOD2136OK, ...)
- func (a *Client) THSRAPIAvailableSeatStatusOD21361(params *THSRAPIAvailableSeatStatusOD21361Params, ...) (*THSRAPIAvailableSeatStatusOD21361OK, ...)
- func (a *Client) THSRAPIAvailableSeatStatusOD21362(params *THSRAPIAvailableSeatStatusOD21362Params, ...) (*THSRAPIAvailableSeatStatusOD21362OK, ...)
- func (a *Client) THSRAPIDailyTimetable2124(params *THSRAPIDailyTimetable2124Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIDailyTimetable2124OK, *THSRAPIDailyTimetable2124Status299, error)
- func (a *Client) THSRAPIDailyTimetable21241(params *THSRAPIDailyTimetable21241Params, ...) (*THSRAPIDailyTimetable21241OK, *THSRAPIDailyTimetable21241Status299, error)
- func (a *Client) THSRAPIDailyTimetable21242(params *THSRAPIDailyTimetable21242Params, ...) (*THSRAPIDailyTimetable21242OK, *THSRAPIDailyTimetable21242Status299, error)
- func (a *Client) THSRAPIDailyTimetable21243(params *THSRAPIDailyTimetable21243Params, ...) (*THSRAPIDailyTimetable21243OK, *THSRAPIDailyTimetable21243Status299, error)
- func (a *Client) THSRAPIDailyTimetable21244(params *THSRAPIDailyTimetable21244Params, ...) (*THSRAPIDailyTimetable21244OK, *THSRAPIDailyTimetable21244Status299, error)
- func (a *Client) THSRAPIDailyTrainInfo2123(params *THSRAPIDailyTrainInfo2123Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIDailyTrainInfo2123OK, *THSRAPIDailyTrainInfo2123Status299, error)
- func (a *Client) THSRAPIDailyTrainInfo21231(params *THSRAPIDailyTrainInfo21231Params, ...) (*THSRAPIDailyTrainInfo21231OK, *THSRAPIDailyTrainInfo21231Status299, error)
- func (a *Client) THSRAPIDailyTrainInfo21232(params *THSRAPIDailyTrainInfo21232Params, ...) (*THSRAPIDailyTrainInfo21232OK, *THSRAPIDailyTrainInfo21232Status299, error)
- func (a *Client) THSRAPIDailyTrainInfo21233(params *THSRAPIDailyTrainInfo21233Params, ...) (*THSRAPIDailyTrainInfo21233OK, *THSRAPIDailyTrainInfo21233Status299, error)
- func (a *Client) THSRAPIGeneralTimetable2122(params *THSRAPIGeneralTimetable2122Params, ...) (*THSRAPIGeneralTimetable2122OK, *THSRAPIGeneralTimetable2122Status299, error)
- func (a *Client) THSRAPIGeneralTimetable21221(params *THSRAPIGeneralTimetable21221Params, ...) (*THSRAPIGeneralTimetable21221OK, *THSRAPIGeneralTimetable21221Status299, error)
- func (a *Client) THSRAPINews2128(params *THSRAPINews2128Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPINews2128OK, *THSRAPINews2128Status299, error)
- func (a *Client) THSRAPIODDailyTimetable2126(params *THSRAPIODDailyTimetable2126Params, ...) (*THSRAPIODDailyTimetable2126OK, *THSRAPIODDailyTimetable2126Status299, error)
- func (a *Client) THSRAPIODFare2121(params *THSRAPIODFare2121Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIODFare2121OK, *THSRAPIODFare2121Status299, error)
- func (a *Client) THSRAPIODFare21211(params *THSRAPIODFare21211Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIODFare21211OK, *THSRAPIODFare21211Status299, error)
- func (a *Client) THSRAPIShape2129(params *THSRAPIShape2129Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIShape2129OK, *THSRAPIShape2129Status299, error)
- func (a *Client) THSRAPIStation2120(params *THSRAPIStation2120Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIStation2120OK, *THSRAPIStation2120Status299, error)
- func (a *Client) THSRAPIStationExit2132(params *THSRAPIStationExit2132Params, authInfo runtime.ClientAuthInfoWriter, ...) (*THSRAPIStationExit2132OK, *THSRAPIStationExit2132Status299, error)
- func (a *Client) THSRAPIStationTimetable2125(params *THSRAPIStationTimetable2125Params, ...) (*THSRAPIStationTimetable2125OK, *THSRAPIStationTimetable2125Status299, error)
- type ClientOption
- type ClientService
- type THSRAPIAlertInfo2127NotModified
- type THSRAPIAlertInfo2127OK
- type THSRAPIAlertInfo2127Params
- func NewTHSRAPIAlertInfo2127Params() *THSRAPIAlertInfo2127Params
- func NewTHSRAPIAlertInfo2127ParamsWithContext(ctx context.Context) *THSRAPIAlertInfo2127Params
- func NewTHSRAPIAlertInfo2127ParamsWithHTTPClient(client *http.Client) *THSRAPIAlertInfo2127Params
- func NewTHSRAPIAlertInfo2127ParamsWithTimeout(timeout time.Duration) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) SetContext(ctx context.Context)
- func (o *THSRAPIAlertInfo2127Params) SetDefaults()
- func (o *THSRAPIAlertInfo2127Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAlertInfo2127Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAlertInfo2127Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAlertInfo2127Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAlertInfo2127Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAlertInfo2127Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAlertInfo2127Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAlertInfo2127Params) SetHealth(health *string)
- func (o *THSRAPIAlertInfo2127Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAlertInfo2127Params) WithContext(ctx context.Context) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDefaults() *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDollarFilter(dollarFilter *string) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDollarFormat(dollarFormat string) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDollarSelect(dollarSelect *string) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDollarSkip(dollarSkip *string) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithDollarTop(dollarTop *int64) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithHTTPClient(client *http.Client) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithHealth(health *string) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WithTimeout(timeout time.Duration) *THSRAPIAlertInfo2127Params
- func (o *THSRAPIAlertInfo2127Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAlertInfo2127Reader
- type THSRAPIAlertInfo2127Status299
- type THSRAPIAvailableSeatStatus21351NotModified
- type THSRAPIAvailableSeatStatus21351OK
- type THSRAPIAvailableSeatStatus21351Params
- func NewTHSRAPIAvailableSeatStatus21351Params() *THSRAPIAvailableSeatStatus21351Params
- func NewTHSRAPIAvailableSeatStatus21351ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatus21351Params
- func NewTHSRAPIAvailableSeatStatus21351ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus21351Params
- func NewTHSRAPIAvailableSeatStatus21351ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatus21351Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIAvailableSeatStatus21351Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDefaults() *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithHealth(health *string) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatus21351Params
- func (o *THSRAPIAvailableSeatStatus21351Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatus21351Reader
- type THSRAPIAvailableSeatStatus21351Status299
- type THSRAPIAvailableSeatStatus2135NotModified
- type THSRAPIAvailableSeatStatus2135OK
- type THSRAPIAvailableSeatStatus2135Params
- func NewTHSRAPIAvailableSeatStatus2135Params() *THSRAPIAvailableSeatStatus2135Params
- func NewTHSRAPIAvailableSeatStatus2135ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatus2135Params
- func NewTHSRAPIAvailableSeatStatus2135ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus2135Params
- func NewTHSRAPIAvailableSeatStatus2135ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatus2135Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatus2135Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDefaults() *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithHealth(health *string) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus2135Params
- func (o *THSRAPIAvailableSeatStatus2135Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatus2135Reader
- type THSRAPIAvailableSeatStatus2135Status299
- type THSRAPIAvailableSeatStatusListStation21301NotModified
- type THSRAPIAvailableSeatStatusListStation21301OK
- type THSRAPIAvailableSeatStatusListStation21301Params
- func NewTHSRAPIAvailableSeatStatusListStation21301Params() *THSRAPIAvailableSeatStatusListStation21301Params
- func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation21301Params
- func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation21301Params
- func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetStationID(stationID string)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDefaults() *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithStationID(stationID string) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation21301Params
- func (o *THSRAPIAvailableSeatStatusListStation21301Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatusListStation21301Reader
- type THSRAPIAvailableSeatStatusListStation21301Status299
- type THSRAPIAvailableSeatStatusListStation2130NotModified
- type THSRAPIAvailableSeatStatusListStation2130OK
- type THSRAPIAvailableSeatStatusListStation2130Params
- func NewTHSRAPIAvailableSeatStatusListStation2130Params() *THSRAPIAvailableSeatStatusListStation2130Params
- func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation2130Params
- func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation2130Params
- func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDefaults() *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation2130Params
- func (o *THSRAPIAvailableSeatStatusListStation2130Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatusListStation2130Reader
- type THSRAPIAvailableSeatStatusListStation2130Status299
- type THSRAPIAvailableSeatStatusOD21361NotModified
- type THSRAPIAvailableSeatStatusOD21361OK
- type THSRAPIAvailableSeatStatusOD21361Params
- func NewTHSRAPIAvailableSeatStatusOD21361Params() *THSRAPIAvailableSeatStatusOD21361Params
- func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21361Params
- func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21361Params
- func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDestinationStationID(destinationStationID string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetOriginStationID(originStationID string)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDefaults() *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDestinationStationID(destinationStationID string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithOriginStationID(originStationID string) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatusOD21361Params
- func (o *THSRAPIAvailableSeatStatusOD21361Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatusOD21361Reader
- type THSRAPIAvailableSeatStatusOD21361Status299
- type THSRAPIAvailableSeatStatusOD21362NotModified
- type THSRAPIAvailableSeatStatusOD21362OK
- type THSRAPIAvailableSeatStatusOD21362Params
- func NewTHSRAPIAvailableSeatStatusOD21362Params() *THSRAPIAvailableSeatStatusOD21362Params
- func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21362Params
- func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21362Params
- func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDestinationStationID(destinationStationID string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetOriginStationID(originStationID string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) SetTrainNo(trainNo string)
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDefaults() *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDestinationStationID(destinationStationID string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithOriginStationID(originStationID string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WithTrainNo(trainNo string) *THSRAPIAvailableSeatStatusOD21362Params
- func (o *THSRAPIAvailableSeatStatusOD21362Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatusOD21362Reader
- type THSRAPIAvailableSeatStatusOD21362Status299
- type THSRAPIAvailableSeatStatusOD2136NotModified
- type THSRAPIAvailableSeatStatusOD2136OK
- type THSRAPIAvailableSeatStatusOD2136Params
- func NewTHSRAPIAvailableSeatStatusOD2136Params() *THSRAPIAvailableSeatStatusOD2136Params
- func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD2136Params
- func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD2136Params
- func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetContext(ctx context.Context)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDefaults()
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarCount(dollarCount *bool)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetHealth(health *string)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDefaults() *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatusOD2136Params
- func (o *THSRAPIAvailableSeatStatusOD2136Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIAvailableSeatStatusOD2136Reader
- type THSRAPIAvailableSeatStatusOD2136Status299
- type THSRAPIDailyTimetable21241NotModified
- type THSRAPIDailyTimetable21241OK
- type THSRAPIDailyTimetable21241Params
- func NewTHSRAPIDailyTimetable21241Params() *THSRAPIDailyTimetable21241Params
- func NewTHSRAPIDailyTimetable21241ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21241Params
- func NewTHSRAPIDailyTimetable21241ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21241Params
- func NewTHSRAPIDailyTimetable21241ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTimetable21241Params) SetDefaults()
- func (o *THSRAPIDailyTimetable21241Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTimetable21241Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTimetable21241Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTimetable21241Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTimetable21241Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTimetable21241Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTimetable21241Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTimetable21241Params) SetHealth(health *string)
- func (o *THSRAPIDailyTimetable21241Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTimetable21241Params) SetTrainNo(trainNo string)
- func (o *THSRAPIDailyTimetable21241Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDefaults() *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithHealth(health *string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WithTrainNo(trainNo string) *THSRAPIDailyTimetable21241Params
- func (o *THSRAPIDailyTimetable21241Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTimetable21241Reader
- type THSRAPIDailyTimetable21241Status299
- type THSRAPIDailyTimetable21242OK
- type THSRAPIDailyTimetable21242Params
- func NewTHSRAPIDailyTimetable21242Params() *THSRAPIDailyTimetable21242Params
- func NewTHSRAPIDailyTimetable21242ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21242Params
- func NewTHSRAPIDailyTimetable21242ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21242Params
- func NewTHSRAPIDailyTimetable21242ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTimetable21242Params) SetDefaults()
- func (o *THSRAPIDailyTimetable21242Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTimetable21242Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTimetable21242Params) SetHealth(health *string)
- func (o *THSRAPIDailyTimetable21242Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTimetable21242Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) WithDefaults() *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) WithHealth(health *string) *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21242Params
- func (o *THSRAPIDailyTimetable21242Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTimetable21242Reader
- type THSRAPIDailyTimetable21242Status299
- type THSRAPIDailyTimetable21243NotModified
- type THSRAPIDailyTimetable21243OK
- type THSRAPIDailyTimetable21243Params
- func NewTHSRAPIDailyTimetable21243Params() *THSRAPIDailyTimetable21243Params
- func NewTHSRAPIDailyTimetable21243ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21243Params
- func NewTHSRAPIDailyTimetable21243ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21243Params
- func NewTHSRAPIDailyTimetable21243ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTimetable21243Params) SetDefaults()
- func (o *THSRAPIDailyTimetable21243Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTimetable21243Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTimetable21243Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTimetable21243Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTimetable21243Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTimetable21243Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTimetable21243Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTimetable21243Params) SetHealth(health *string)
- func (o *THSRAPIDailyTimetable21243Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTimetable21243Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIDailyTimetable21243Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDefaults() *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithHealth(health *string) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTimetable21243Params
- func (o *THSRAPIDailyTimetable21243Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTimetable21243Reader
- type THSRAPIDailyTimetable21243Status299
- type THSRAPIDailyTimetable21244NotModified
- type THSRAPIDailyTimetable21244OK
- type THSRAPIDailyTimetable21244Params
- func NewTHSRAPIDailyTimetable21244Params() *THSRAPIDailyTimetable21244Params
- func NewTHSRAPIDailyTimetable21244ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21244Params
- func NewTHSRAPIDailyTimetable21244ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21244Params
- func NewTHSRAPIDailyTimetable21244ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTimetable21244Params) SetDefaults()
- func (o *THSRAPIDailyTimetable21244Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTimetable21244Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTimetable21244Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTimetable21244Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTimetable21244Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTimetable21244Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTimetable21244Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTimetable21244Params) SetHealth(health *string)
- func (o *THSRAPIDailyTimetable21244Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTimetable21244Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIDailyTimetable21244Params) SetTrainNo(trainNo string)
- func (o *THSRAPIDailyTimetable21244Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDefaults() *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithHealth(health *string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WithTrainNo(trainNo string) *THSRAPIDailyTimetable21244Params
- func (o *THSRAPIDailyTimetable21244Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTimetable21244Reader
- type THSRAPIDailyTimetable21244Status299
- type THSRAPIDailyTimetable2124NotModified
- type THSRAPIDailyTimetable2124OK
- type THSRAPIDailyTimetable2124Params
- func NewTHSRAPIDailyTimetable2124Params() *THSRAPIDailyTimetable2124Params
- func NewTHSRAPIDailyTimetable2124ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable2124Params
- func NewTHSRAPIDailyTimetable2124ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable2124Params
- func NewTHSRAPIDailyTimetable2124ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTimetable2124Params) SetDefaults()
- func (o *THSRAPIDailyTimetable2124Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTimetable2124Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTimetable2124Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTimetable2124Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTimetable2124Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTimetable2124Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTimetable2124Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTimetable2124Params) SetHealth(health *string)
- func (o *THSRAPIDailyTimetable2124Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTimetable2124Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDefaults() *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithHealth(health *string) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable2124Params
- func (o *THSRAPIDailyTimetable2124Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTimetable2124Reader
- type THSRAPIDailyTimetable2124Status299
- type THSRAPIDailyTrainInfo21231NotModified
- type THSRAPIDailyTrainInfo21231OK
- type THSRAPIDailyTrainInfo21231Params
- func NewTHSRAPIDailyTrainInfo21231Params() *THSRAPIDailyTrainInfo21231Params
- func NewTHSRAPIDailyTrainInfo21231ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo21231Params
- func NewTHSRAPIDailyTrainInfo21231ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21231Params
- func NewTHSRAPIDailyTrainInfo21231ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTrainInfo21231Params) SetDefaults()
- func (o *THSRAPIDailyTrainInfo21231Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTrainInfo21231Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTrainInfo21231Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTrainInfo21231Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTrainInfo21231Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTrainInfo21231Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTrainInfo21231Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTrainInfo21231Params) SetHealth(health *string)
- func (o *THSRAPIDailyTrainInfo21231Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTrainInfo21231Params) SetTrainNo(trainNo string)
- func (o *THSRAPIDailyTrainInfo21231Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDefaults() *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithHealth(health *string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WithTrainNo(trainNo string) *THSRAPIDailyTrainInfo21231Params
- func (o *THSRAPIDailyTrainInfo21231Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTrainInfo21231Reader
- type THSRAPIDailyTrainInfo21231Status299
- type THSRAPIDailyTrainInfo21232NotModified
- type THSRAPIDailyTrainInfo21232OK
- type THSRAPIDailyTrainInfo21232Params
- func NewTHSRAPIDailyTrainInfo21232Params() *THSRAPIDailyTrainInfo21232Params
- func NewTHSRAPIDailyTrainInfo21232ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo21232Params
- func NewTHSRAPIDailyTrainInfo21232ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21232Params
- func NewTHSRAPIDailyTrainInfo21232ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTrainInfo21232Params) SetDefaults()
- func (o *THSRAPIDailyTrainInfo21232Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTrainInfo21232Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTrainInfo21232Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTrainInfo21232Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTrainInfo21232Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTrainInfo21232Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTrainInfo21232Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTrainInfo21232Params) SetHealth(health *string)
- func (o *THSRAPIDailyTrainInfo21232Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTrainInfo21232Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIDailyTrainInfo21232Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDefaults() *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithHealth(health *string) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTrainInfo21232Params
- func (o *THSRAPIDailyTrainInfo21232Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTrainInfo21232Reader
- type THSRAPIDailyTrainInfo21232Status299
- type THSRAPIDailyTrainInfo21233NotModified
- type THSRAPIDailyTrainInfo21233OK
- type THSRAPIDailyTrainInfo21233Params
- func NewTHSRAPIDailyTrainInfo21233Params() *THSRAPIDailyTrainInfo21233Params
- func NewTHSRAPIDailyTrainInfo21233ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo21233Params
- func NewTHSRAPIDailyTrainInfo21233ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21233Params
- func NewTHSRAPIDailyTrainInfo21233ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTrainInfo21233Params) SetDefaults()
- func (o *THSRAPIDailyTrainInfo21233Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTrainInfo21233Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTrainInfo21233Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTrainInfo21233Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTrainInfo21233Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTrainInfo21233Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTrainInfo21233Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTrainInfo21233Params) SetHealth(health *string)
- func (o *THSRAPIDailyTrainInfo21233Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTrainInfo21233Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIDailyTrainInfo21233Params) SetTrainNo(trainNo string)
- func (o *THSRAPIDailyTrainInfo21233Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDefaults() *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithHealth(health *string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WithTrainNo(trainNo string) *THSRAPIDailyTrainInfo21233Params
- func (o *THSRAPIDailyTrainInfo21233Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTrainInfo21233Reader
- type THSRAPIDailyTrainInfo21233Status299
- type THSRAPIDailyTrainInfo2123NotModified
- type THSRAPIDailyTrainInfo2123OK
- type THSRAPIDailyTrainInfo2123Params
- func NewTHSRAPIDailyTrainInfo2123Params() *THSRAPIDailyTrainInfo2123Params
- func NewTHSRAPIDailyTrainInfo2123ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo2123Params
- func NewTHSRAPIDailyTrainInfo2123ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo2123Params
- func NewTHSRAPIDailyTrainInfo2123ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) SetContext(ctx context.Context)
- func (o *THSRAPIDailyTrainInfo2123Params) SetDefaults()
- func (o *THSRAPIDailyTrainInfo2123Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIDailyTrainInfo2123Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIDailyTrainInfo2123Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIDailyTrainInfo2123Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIDailyTrainInfo2123Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIDailyTrainInfo2123Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIDailyTrainInfo2123Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIDailyTrainInfo2123Params) SetHealth(health *string)
- func (o *THSRAPIDailyTrainInfo2123Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIDailyTrainInfo2123Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDefaults() *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithHealth(health *string) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo2123Params
- func (o *THSRAPIDailyTrainInfo2123Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIDailyTrainInfo2123Reader
- type THSRAPIDailyTrainInfo2123Status299
- type THSRAPIGeneralTimetable21221NotModified
- type THSRAPIGeneralTimetable21221OK
- type THSRAPIGeneralTimetable21221Params
- func NewTHSRAPIGeneralTimetable21221Params() *THSRAPIGeneralTimetable21221Params
- func NewTHSRAPIGeneralTimetable21221ParamsWithContext(ctx context.Context) *THSRAPIGeneralTimetable21221Params
- func NewTHSRAPIGeneralTimetable21221ParamsWithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable21221Params
- func NewTHSRAPIGeneralTimetable21221ParamsWithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) SetContext(ctx context.Context)
- func (o *THSRAPIGeneralTimetable21221Params) SetDefaults()
- func (o *THSRAPIGeneralTimetable21221Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIGeneralTimetable21221Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIGeneralTimetable21221Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIGeneralTimetable21221Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIGeneralTimetable21221Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIGeneralTimetable21221Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIGeneralTimetable21221Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIGeneralTimetable21221Params) SetHealth(health *string)
- func (o *THSRAPIGeneralTimetable21221Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIGeneralTimetable21221Params) SetTrainNo(trainNo string)
- func (o *THSRAPIGeneralTimetable21221Params) WithContext(ctx context.Context) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDefaults() *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDollarFilter(dollarFilter *string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDollarFormat(dollarFormat string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDollarSelect(dollarSelect *string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDollarSkip(dollarSkip *string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithDollarTop(dollarTop *int64) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithHealth(health *string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WithTrainNo(trainNo string) *THSRAPIGeneralTimetable21221Params
- func (o *THSRAPIGeneralTimetable21221Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIGeneralTimetable21221Reader
- type THSRAPIGeneralTimetable21221Status299
- type THSRAPIGeneralTimetable2122NotModified
- type THSRAPIGeneralTimetable2122OK
- type THSRAPIGeneralTimetable2122Params
- func NewTHSRAPIGeneralTimetable2122Params() *THSRAPIGeneralTimetable2122Params
- func NewTHSRAPIGeneralTimetable2122ParamsWithContext(ctx context.Context) *THSRAPIGeneralTimetable2122Params
- func NewTHSRAPIGeneralTimetable2122ParamsWithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable2122Params
- func NewTHSRAPIGeneralTimetable2122ParamsWithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) SetContext(ctx context.Context)
- func (o *THSRAPIGeneralTimetable2122Params) SetDefaults()
- func (o *THSRAPIGeneralTimetable2122Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIGeneralTimetable2122Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIGeneralTimetable2122Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIGeneralTimetable2122Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIGeneralTimetable2122Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIGeneralTimetable2122Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIGeneralTimetable2122Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIGeneralTimetable2122Params) SetHealth(health *string)
- func (o *THSRAPIGeneralTimetable2122Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIGeneralTimetable2122Params) WithContext(ctx context.Context) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDefaults() *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDollarFilter(dollarFilter *string) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDollarFormat(dollarFormat string) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDollarSelect(dollarSelect *string) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDollarSkip(dollarSkip *string) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithDollarTop(dollarTop *int64) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithHealth(health *string) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable2122Params
- func (o *THSRAPIGeneralTimetable2122Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIGeneralTimetable2122Reader
- type THSRAPIGeneralTimetable2122Status299
- type THSRAPINews2128NotModified
- type THSRAPINews2128OK
- type THSRAPINews2128Params
- func NewTHSRAPINews2128Params() *THSRAPINews2128Params
- func NewTHSRAPINews2128ParamsWithContext(ctx context.Context) *THSRAPINews2128Params
- func NewTHSRAPINews2128ParamsWithHTTPClient(client *http.Client) *THSRAPINews2128Params
- func NewTHSRAPINews2128ParamsWithTimeout(timeout time.Duration) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) SetContext(ctx context.Context)
- func (o *THSRAPINews2128Params) SetDefaults()
- func (o *THSRAPINews2128Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPINews2128Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPINews2128Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPINews2128Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPINews2128Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPINews2128Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPINews2128Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPINews2128Params) SetHealth(health *string)
- func (o *THSRAPINews2128Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPINews2128Params) WithContext(ctx context.Context) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDefaults() *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDollarFilter(dollarFilter *string) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDollarFormat(dollarFormat string) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDollarOrderby(dollarOrderby *string) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDollarSelect(dollarSelect *string) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDollarSkip(dollarSkip *string) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithDollarTop(dollarTop *int64) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithHTTPClient(client *http.Client) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithHealth(health *string) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WithTimeout(timeout time.Duration) *THSRAPINews2128Params
- func (o *THSRAPINews2128Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPINews2128Reader
- type THSRAPINews2128Status299
- type THSRAPIODDailyTimetable2126NotModified
- type THSRAPIODDailyTimetable2126OK
- type THSRAPIODDailyTimetable2126Params
- func NewTHSRAPIODDailyTimetable2126Params() *THSRAPIODDailyTimetable2126Params
- func NewTHSRAPIODDailyTimetable2126ParamsWithContext(ctx context.Context) *THSRAPIODDailyTimetable2126Params
- func NewTHSRAPIODDailyTimetable2126ParamsWithHTTPClient(client *http.Client) *THSRAPIODDailyTimetable2126Params
- func NewTHSRAPIODDailyTimetable2126ParamsWithTimeout(timeout time.Duration) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) SetContext(ctx context.Context)
- func (o *THSRAPIODDailyTimetable2126Params) SetDefaults()
- func (o *THSRAPIODDailyTimetable2126Params) SetDestinationStationID(destinationStationID string)
- func (o *THSRAPIODDailyTimetable2126Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIODDailyTimetable2126Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIODDailyTimetable2126Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIODDailyTimetable2126Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIODDailyTimetable2126Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIODDailyTimetable2126Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIODDailyTimetable2126Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIODDailyTimetable2126Params) SetHealth(health *string)
- func (o *THSRAPIODDailyTimetable2126Params) SetOriginStationID(originStationID string)
- func (o *THSRAPIODDailyTimetable2126Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIODDailyTimetable2126Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIODDailyTimetable2126Params) WithContext(ctx context.Context) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDefaults() *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDestinationStationID(destinationStationID string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDollarFilter(dollarFilter *string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDollarFormat(dollarFormat string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDollarSelect(dollarSelect *string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDollarSkip(dollarSkip *string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithDollarTop(dollarTop *int64) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithHTTPClient(client *http.Client) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithHealth(health *string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithOriginStationID(originStationID string) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithTimeout(timeout time.Duration) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIODDailyTimetable2126Params
- func (o *THSRAPIODDailyTimetable2126Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIODDailyTimetable2126Reader
- type THSRAPIODDailyTimetable2126Status299
- type THSRAPIODFare21211NotModified
- type THSRAPIODFare21211OK
- type THSRAPIODFare21211Params
- func NewTHSRAPIODFare21211Params() *THSRAPIODFare21211Params
- func NewTHSRAPIODFare21211ParamsWithContext(ctx context.Context) *THSRAPIODFare21211Params
- func NewTHSRAPIODFare21211ParamsWithHTTPClient(client *http.Client) *THSRAPIODFare21211Params
- func NewTHSRAPIODFare21211ParamsWithTimeout(timeout time.Duration) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) SetContext(ctx context.Context)
- func (o *THSRAPIODFare21211Params) SetDefaults()
- func (o *THSRAPIODFare21211Params) SetDestinationStationID(destinationStationID string)
- func (o *THSRAPIODFare21211Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIODFare21211Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIODFare21211Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIODFare21211Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIODFare21211Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIODFare21211Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIODFare21211Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIODFare21211Params) SetHealth(health *string)
- func (o *THSRAPIODFare21211Params) SetOriginStationID(originStationID string)
- func (o *THSRAPIODFare21211Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIODFare21211Params) WithContext(ctx context.Context) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDefaults() *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDestinationStationID(destinationStationID string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDollarFilter(dollarFilter *string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDollarFormat(dollarFormat string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDollarSelect(dollarSelect *string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDollarSkip(dollarSkip *string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithDollarTop(dollarTop *int64) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithHTTPClient(client *http.Client) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithHealth(health *string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithOriginStationID(originStationID string) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WithTimeout(timeout time.Duration) *THSRAPIODFare21211Params
- func (o *THSRAPIODFare21211Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIODFare21211Reader
- type THSRAPIODFare21211Status299
- type THSRAPIODFare2121NotModified
- type THSRAPIODFare2121OK
- type THSRAPIODFare2121Params
- func NewTHSRAPIODFare2121Params() *THSRAPIODFare2121Params
- func NewTHSRAPIODFare2121ParamsWithContext(ctx context.Context) *THSRAPIODFare2121Params
- func NewTHSRAPIODFare2121ParamsWithHTTPClient(client *http.Client) *THSRAPIODFare2121Params
- func NewTHSRAPIODFare2121ParamsWithTimeout(timeout time.Duration) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) SetContext(ctx context.Context)
- func (o *THSRAPIODFare2121Params) SetDefaults()
- func (o *THSRAPIODFare2121Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIODFare2121Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIODFare2121Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIODFare2121Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIODFare2121Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIODFare2121Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIODFare2121Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIODFare2121Params) SetHealth(health *string)
- func (o *THSRAPIODFare2121Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIODFare2121Params) WithContext(ctx context.Context) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDefaults() *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDollarFilter(dollarFilter *string) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDollarFormat(dollarFormat string) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDollarSelect(dollarSelect *string) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDollarSkip(dollarSkip *string) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithDollarTop(dollarTop *int64) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithHTTPClient(client *http.Client) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithHealth(health *string) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WithTimeout(timeout time.Duration) *THSRAPIODFare2121Params
- func (o *THSRAPIODFare2121Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIODFare2121Reader
- type THSRAPIODFare2121Status299
- type THSRAPIShape2129NotModified
- type THSRAPIShape2129OK
- type THSRAPIShape2129Params
- func NewTHSRAPIShape2129Params() *THSRAPIShape2129Params
- func NewTHSRAPIShape2129ParamsWithContext(ctx context.Context) *THSRAPIShape2129Params
- func NewTHSRAPIShape2129ParamsWithHTTPClient(client *http.Client) *THSRAPIShape2129Params
- func NewTHSRAPIShape2129ParamsWithTimeout(timeout time.Duration) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) SetContext(ctx context.Context)
- func (o *THSRAPIShape2129Params) SetDefaults()
- func (o *THSRAPIShape2129Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIShape2129Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIShape2129Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIShape2129Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIShape2129Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIShape2129Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIShape2129Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIShape2129Params) SetHealth(health *string)
- func (o *THSRAPIShape2129Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIShape2129Params) WithContext(ctx context.Context) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDefaults() *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDollarFilter(dollarFilter *string) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDollarFormat(dollarFormat string) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDollarSelect(dollarSelect *string) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDollarSkip(dollarSkip *string) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithDollarTop(dollarTop *int64) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithHTTPClient(client *http.Client) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithHealth(health *string) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WithTimeout(timeout time.Duration) *THSRAPIShape2129Params
- func (o *THSRAPIShape2129Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIShape2129Reader
- type THSRAPIShape2129Status299
- type THSRAPIStation2120NotModified
- type THSRAPIStation2120OK
- type THSRAPIStation2120Params
- func NewTHSRAPIStation2120Params() *THSRAPIStation2120Params
- func NewTHSRAPIStation2120ParamsWithContext(ctx context.Context) *THSRAPIStation2120Params
- func NewTHSRAPIStation2120ParamsWithHTTPClient(client *http.Client) *THSRAPIStation2120Params
- func NewTHSRAPIStation2120ParamsWithTimeout(timeout time.Duration) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) SetContext(ctx context.Context)
- func (o *THSRAPIStation2120Params) SetDefaults()
- func (o *THSRAPIStation2120Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIStation2120Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIStation2120Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIStation2120Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIStation2120Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIStation2120Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIStation2120Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIStation2120Params) SetHealth(health *string)
- func (o *THSRAPIStation2120Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIStation2120Params) WithContext(ctx context.Context) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDefaults() *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDollarFilter(dollarFilter *string) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDollarFormat(dollarFormat string) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDollarSelect(dollarSelect *string) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDollarSkip(dollarSkip *string) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithDollarTop(dollarTop *int64) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithHTTPClient(client *http.Client) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithHealth(health *string) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WithTimeout(timeout time.Duration) *THSRAPIStation2120Params
- func (o *THSRAPIStation2120Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIStation2120Reader
- type THSRAPIStation2120Status299
- type THSRAPIStationExit2132NotModified
- type THSRAPIStationExit2132OK
- type THSRAPIStationExit2132Params
- func NewTHSRAPIStationExit2132Params() *THSRAPIStationExit2132Params
- func NewTHSRAPIStationExit2132ParamsWithContext(ctx context.Context) *THSRAPIStationExit2132Params
- func NewTHSRAPIStationExit2132ParamsWithHTTPClient(client *http.Client) *THSRAPIStationExit2132Params
- func NewTHSRAPIStationExit2132ParamsWithTimeout(timeout time.Duration) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) SetContext(ctx context.Context)
- func (o *THSRAPIStationExit2132Params) SetDefaults()
- func (o *THSRAPIStationExit2132Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIStationExit2132Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIStationExit2132Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIStationExit2132Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIStationExit2132Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIStationExit2132Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIStationExit2132Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIStationExit2132Params) SetHealth(health *string)
- func (o *THSRAPIStationExit2132Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIStationExit2132Params) WithContext(ctx context.Context) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDefaults() *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDollarFilter(dollarFilter *string) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDollarFormat(dollarFormat string) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDollarSelect(dollarSelect *string) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDollarSkip(dollarSkip *string) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithDollarTop(dollarTop *int64) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithHTTPClient(client *http.Client) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithHealth(health *string) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WithTimeout(timeout time.Duration) *THSRAPIStationExit2132Params
- func (o *THSRAPIStationExit2132Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIStationExit2132Reader
- type THSRAPIStationExit2132Status299
- type THSRAPIStationTimetable2125NotModified
- type THSRAPIStationTimetable2125OK
- type THSRAPIStationTimetable2125Params
- func NewTHSRAPIStationTimetable2125Params() *THSRAPIStationTimetable2125Params
- func NewTHSRAPIStationTimetable2125ParamsWithContext(ctx context.Context) *THSRAPIStationTimetable2125Params
- func NewTHSRAPIStationTimetable2125ParamsWithHTTPClient(client *http.Client) *THSRAPIStationTimetable2125Params
- func NewTHSRAPIStationTimetable2125ParamsWithTimeout(timeout time.Duration) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) SetContext(ctx context.Context)
- func (o *THSRAPIStationTimetable2125Params) SetDefaults()
- func (o *THSRAPIStationTimetable2125Params) SetDollarFilter(dollarFilter *string)
- func (o *THSRAPIStationTimetable2125Params) SetDollarFormat(dollarFormat string)
- func (o *THSRAPIStationTimetable2125Params) SetDollarOrderby(dollarOrderby *string)
- func (o *THSRAPIStationTimetable2125Params) SetDollarSelect(dollarSelect *string)
- func (o *THSRAPIStationTimetable2125Params) SetDollarSkip(dollarSkip *string)
- func (o *THSRAPIStationTimetable2125Params) SetDollarTop(dollarTop *int64)
- func (o *THSRAPIStationTimetable2125Params) SetHTTPClient(client *http.Client)
- func (o *THSRAPIStationTimetable2125Params) SetHealth(health *string)
- func (o *THSRAPIStationTimetable2125Params) SetStationID(stationID string)
- func (o *THSRAPIStationTimetable2125Params) SetTimeout(timeout time.Duration)
- func (o *THSRAPIStationTimetable2125Params) SetTrainDate(trainDate strfmt.DateTime)
- func (o *THSRAPIStationTimetable2125Params) WithContext(ctx context.Context) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDefaults() *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDollarFilter(dollarFilter *string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDollarFormat(dollarFormat string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDollarSelect(dollarSelect *string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDollarSkip(dollarSkip *string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithDollarTop(dollarTop *int64) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithHTTPClient(client *http.Client) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithHealth(health *string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithStationID(stationID string) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithTimeout(timeout time.Duration) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIStationTimetable2125Params
- func (o *THSRAPIStationTimetable2125Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type THSRAPIStationTimetable2125Reader
- type THSRAPIStationTimetable2125Status299
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 t h s r API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) THSRAPIAlertInfo2127 ¶ added in v0.15.0
func (a *Client) THSRAPIAlertInfo2127(params *THSRAPIAlertInfo2127Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAlertInfo2127OK, *THSRAPIAlertInfo2127Status299, error)
THSRAPIAlertInfo2127 取得即時通阻事件資料s
取得即時通阻事件資料
func (*Client) THSRAPIAvailableSeatStatus2135 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatus2135(params *THSRAPIAvailableSeatStatus2135Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatus2135OK, *THSRAPIAvailableSeatStatus2135Status299, error)
THSRAPIAvailableSeatStatus2135 開發用測試版s 取得當天對號座即時剩餘位資料 原始 列車區段 leg角度 取得當天對號座即時剩餘位資料({原始}列車區段Leg角度)
- (更新頻率為10分鐘) - **(本服務尚在測試中,穩定度及更新頻率將持續優化)**
func (*Client) THSRAPIAvailableSeatStatus21351 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatus21351(params *THSRAPIAvailableSeatStatus21351Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatus21351OK, *THSRAPIAvailableSeatStatus21351Status299, error)
THSRAPIAvailableSeatStatus21351 開發用測試版s 取得指定 日期 對號座即時剩餘位資料 原始 列車區段 leg角度 取得指定[日期]對號座即時剩餘位資料({原始}列車區段Leg角度)
- (更新頻率為每日的10、16、22時) - **(本服務尚在測試中,穩定度及更新頻率將持續優化)**
func (*Client) THSRAPIAvailableSeatStatusListStation2130 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatusListStation2130(params *THSRAPIAvailableSeatStatusListStation2130Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusListStation2130OK, *THSRAPIAvailableSeatStatusListStation2130Status299, error)
THSRAPIAvailableSeatStatusListStation2130 取得動態對號座剩餘座位資訊看板資料s
取得動態對號座剩餘座位資訊看板資料
func (*Client) THSRAPIAvailableSeatStatusListStation21301 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatusListStation21301(params *THSRAPIAvailableSeatStatusListStation21301Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusListStation21301OK, *THSRAPIAvailableSeatStatusListStation21301Status299, error)
THSRAPIAvailableSeatStatusListStation21301 取得動態指定s 車站 的對號座剩餘座位資訊看板資料
取得動態指定[車站]的對號座剩餘座位資訊看板資料
func (*Client) THSRAPIAvailableSeatStatusOD2136 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatusOD2136(params *THSRAPIAvailableSeatStatusOD2136Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusOD2136OK, *THSRAPIAvailableSeatStatusOD2136Status299, error)
THSRAPIAvailableSeatStatusOD2136 開發用測試版s 取得指定 日期 對號座即時剩餘位資料 加值型列車起迄段 o d角度 取得指定[日期]對號座即時剩餘位資料(加值型列車起迄段OD角度)
- 當日(D)之更新頻率為每10分鐘 - 當日後27日(D+1~D+27)之更新頻率為每日的10、16、22時 - **(本服務尚在測試中,穩定度及更新頻率將持續優化)**
func (*Client) THSRAPIAvailableSeatStatusOD21361 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatusOD21361(params *THSRAPIAvailableSeatStatusOD21361Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusOD21361OK, *THSRAPIAvailableSeatStatusOD21361Status299, error)
THSRAPIAvailableSeatStatusOD21361 開發用測試版s 取得指定 日期 起迄站 對號座即時剩餘位資料 加值型列車起迄段 o d角度 取得指定[日期], [起迄站]對號座即時剩餘位資料(加值型列車起迄段OD角度)
- 當日(D)之更新頻率為每10分鐘 - 當日後27日(D+1~D+27)之更新頻率為每日的10、16、22時 - **(本服務尚在測試中,穩定度及更新頻率將持續優化)**
func (*Client) THSRAPIAvailableSeatStatusOD21362 ¶ added in v0.15.0
func (a *Client) THSRAPIAvailableSeatStatusOD21362(params *THSRAPIAvailableSeatStatusOD21362Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusOD21362OK, *THSRAPIAvailableSeatStatusOD21362Status299, error)
THSRAPIAvailableSeatStatusOD21362 開發用測試版s 取得指定 日期 車次 起迄站 對號座即時剩餘位資料 加值型列車起迄段 o d角度 取得指定[日期], [起迄站]對號座即時剩餘位資料(加值型列車起迄段OD角度)
- 當日(D)之更新頻率為每10分鐘 - 當日後27日(D+1~D+27)之更新頻率為每日的10、16、22時 - **(本服務尚在測試中,穩定度及更新頻率將持續優化)**
func (*Client) THSRAPIDailyTimetable2124 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTimetable2124(params *THSRAPIDailyTimetable2124Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable2124OK, *THSRAPIDailyTimetable2124Status299, error)
THSRAPIDailyTimetable2124 取得當天所有車次的時刻表資料s
取得當天所有車次的時刻表資料
func (*Client) THSRAPIDailyTimetable21241 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTimetable21241(params *THSRAPIDailyTimetable21241Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21241OK, *THSRAPIDailyTimetable21241Status299, error)
THSRAPIDailyTimetable21241 取得當天指定s 車次 的時刻表資料
取得當天指定[車次]的時刻表資料
func (*Client) THSRAPIDailyTimetable21242 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTimetable21242(params *THSRAPIDailyTimetable21242Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21242OK, *THSRAPIDailyTimetable21242Status299, error)
THSRAPIDailyTimetable21242 取得高鐵每日時刻表所有供應的日期資料s
取得高鐵每日時刻表所有供應的日期資料
func (*Client) THSRAPIDailyTimetable21243 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTimetable21243(params *THSRAPIDailyTimetable21243Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21243OK, *THSRAPIDailyTimetable21243Status299, error)
THSRAPIDailyTimetable21243 取得指定s 日期 所有車次的時刻表資料
取得指定[日期]所有車次的時刻表資料(高鐵提供近28天每日時刻表)
func (*Client) THSRAPIDailyTimetable21244 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTimetable21244(params *THSRAPIDailyTimetable21244Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21244OK, *THSRAPIDailyTimetable21244Status299, error)
THSRAPIDailyTimetable21244 取得指定s 日期 車次 的時刻表資料
取得指定[日期],[車次]的時刻表資料(高鐵提供近28天每日時刻表)
func (*Client) THSRAPIDailyTrainInfo2123 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTrainInfo2123(params *THSRAPIDailyTrainInfo2123Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo2123OK, *THSRAPIDailyTrainInfo2123Status299, error)
THSRAPIDailyTrainInfo2123 取得當天所有車次的車次資料s
取得當天所有車次的車次資料
func (*Client) THSRAPIDailyTrainInfo21231 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTrainInfo21231(params *THSRAPIDailyTrainInfo21231Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo21231OK, *THSRAPIDailyTrainInfo21231Status299, error)
THSRAPIDailyTrainInfo21231 取得當天指定s 車次 的車次資料
取得當天指定[車次]的車次資料
func (*Client) THSRAPIDailyTrainInfo21232 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTrainInfo21232(params *THSRAPIDailyTrainInfo21232Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo21232OK, *THSRAPIDailyTrainInfo21232Status299, error)
THSRAPIDailyTrainInfo21232 取得指定s 日期 所有車次的車次資料
取得指定[日期]所有車次的車次資料(高鐵提供近28天每日時刻表)
func (*Client) THSRAPIDailyTrainInfo21233 ¶ added in v0.15.0
func (a *Client) THSRAPIDailyTrainInfo21233(params *THSRAPIDailyTrainInfo21233Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo21233OK, *THSRAPIDailyTrainInfo21233Status299, error)
THSRAPIDailyTrainInfo21233 取得指定s 日期 車次 的車次資料
取得指定[日期],[車次]的車次資料(高鐵提供近28天每日時刻表)
func (*Client) THSRAPIGeneralTimetable2122 ¶ added in v0.15.0
func (a *Client) THSRAPIGeneralTimetable2122(params *THSRAPIGeneralTimetable2122Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIGeneralTimetable2122OK, *THSRAPIGeneralTimetable2122Status299, error)
THSRAPIGeneralTimetable2122 取得所有車次的定期時刻表資料s
取得所有車次的定期時刻表資料
func (*Client) THSRAPIGeneralTimetable21221 ¶ added in v0.15.0
func (a *Client) THSRAPIGeneralTimetable21221(params *THSRAPIGeneralTimetable21221Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIGeneralTimetable21221OK, *THSRAPIGeneralTimetable21221Status299, error)
THSRAPIGeneralTimetable21221 取得指定s 車次 的定期時刻表資料
取得指定[車次]的定期時刻表資料
func (*Client) THSRAPINews2128 ¶ added in v0.15.0
func (a *Client) THSRAPINews2128(params *THSRAPINews2128Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPINews2128OK, *THSRAPINews2128Status299, error)
THSRAPINews2128 取得高鐵最新消息資料s
取得高鐵最新消息資料
func (*Client) THSRAPIODDailyTimetable2126 ¶ added in v0.15.0
func (a *Client) THSRAPIODDailyTimetable2126(params *THSRAPIODDailyTimetable2126Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIODDailyTimetable2126OK, *THSRAPIODDailyTimetable2126Status299, error)
THSRAPIODDailyTimetable2126 取得指定s 日期 起迄站間 之時刻表資料
取得指定[日期],[起迄站間]之時刻表資料
func (*Client) THSRAPIODFare2121 ¶ added in v0.15.0
func (a *Client) THSRAPIODFare2121(params *THSRAPIODFare2121Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIODFare2121OK, *THSRAPIODFare2121Status299, error)
THSRAPIODFare2121 取得票價資料s
取得票價資料
func (*Client) THSRAPIODFare21211 ¶ added in v0.15.0
func (a *Client) THSRAPIODFare21211(params *THSRAPIODFare21211Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIODFare21211OK, *THSRAPIODFare21211Status299, error)
THSRAPIODFare21211 取得指定s 起訖站間 之票價資料
取得指定[起訖站間]之票價資料
func (*Client) THSRAPIShape2129 ¶ added in v0.15.0
func (a *Client) THSRAPIShape2129(params *THSRAPIShape2129Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIShape2129OK, *THSRAPIShape2129Status299, error)
THSRAPIShape2129 取得軌道路網實體路線圖資資料s
取得軌道路網實體路線圖資資料
func (*Client) THSRAPIStation2120 ¶ added in v0.15.0
func (a *Client) THSRAPIStation2120(params *THSRAPIStation2120Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIStation2120OK, *THSRAPIStation2120Status299, error)
THSRAPIStation2120 取得車站基本資料s
取得車站基本資料
func (*Client) THSRAPIStationExit2132 ¶ added in v0.15.0
func (a *Client) THSRAPIStationExit2132(params *THSRAPIStationExit2132Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIStationExit2132OK, *THSRAPIStationExit2132Status299, error)
THSRAPIStationExit2132 取得車站出入口基本資料s
取得車站出入口基本資料
func (*Client) THSRAPIStationTimetable2125 ¶ added in v0.15.0
func (a *Client) THSRAPIStationTimetable2125(params *THSRAPIStationTimetable2125Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIStationTimetable2125OK, *THSRAPIStationTimetable2125Status299, error)
THSRAPIStationTimetable2125 取得指定s 日期 車站 的站別時刻表資料
取得指定[日期],[車站]的站別時刻表資料
type ClientOption ¶ added in v0.11.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.5.0
type ClientService interface { THSRAPIAlertInfo2127(params *THSRAPIAlertInfo2127Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAlertInfo2127OK, *THSRAPIAlertInfo2127Status299, error) THSRAPIAvailableSeatStatusListStation2130(params *THSRAPIAvailableSeatStatusListStation2130Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusListStation2130OK, *THSRAPIAvailableSeatStatusListStation2130Status299, error) THSRAPIAvailableSeatStatusListStation21301(params *THSRAPIAvailableSeatStatusListStation21301Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusListStation21301OK, *THSRAPIAvailableSeatStatusListStation21301Status299, error) THSRAPIAvailableSeatStatus2135(params *THSRAPIAvailableSeatStatus2135Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatus2135OK, *THSRAPIAvailableSeatStatus2135Status299, error) THSRAPIAvailableSeatStatus21351(params *THSRAPIAvailableSeatStatus21351Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatus21351OK, *THSRAPIAvailableSeatStatus21351Status299, error) THSRAPIAvailableSeatStatusOD2136(params *THSRAPIAvailableSeatStatusOD2136Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusOD2136OK, *THSRAPIAvailableSeatStatusOD2136Status299, error) THSRAPIAvailableSeatStatusOD21361(params *THSRAPIAvailableSeatStatusOD21361Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusOD21361OK, *THSRAPIAvailableSeatStatusOD21361Status299, error) THSRAPIAvailableSeatStatusOD21362(params *THSRAPIAvailableSeatStatusOD21362Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIAvailableSeatStatusOD21362OK, *THSRAPIAvailableSeatStatusOD21362Status299, error) THSRAPIDailyTimetable2124(params *THSRAPIDailyTimetable2124Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable2124OK, *THSRAPIDailyTimetable2124Status299, error) THSRAPIDailyTimetable21241(params *THSRAPIDailyTimetable21241Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21241OK, *THSRAPIDailyTimetable21241Status299, error) THSRAPIDailyTimetable21242(params *THSRAPIDailyTimetable21242Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21242OK, *THSRAPIDailyTimetable21242Status299, error) THSRAPIDailyTimetable21243(params *THSRAPIDailyTimetable21243Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21243OK, *THSRAPIDailyTimetable21243Status299, error) THSRAPIDailyTimetable21244(params *THSRAPIDailyTimetable21244Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTimetable21244OK, *THSRAPIDailyTimetable21244Status299, error) THSRAPIDailyTrainInfo2123(params *THSRAPIDailyTrainInfo2123Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo2123OK, *THSRAPIDailyTrainInfo2123Status299, error) THSRAPIDailyTrainInfo21231(params *THSRAPIDailyTrainInfo21231Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo21231OK, *THSRAPIDailyTrainInfo21231Status299, error) THSRAPIDailyTrainInfo21232(params *THSRAPIDailyTrainInfo21232Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo21232OK, *THSRAPIDailyTrainInfo21232Status299, error) THSRAPIDailyTrainInfo21233(params *THSRAPIDailyTrainInfo21233Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIDailyTrainInfo21233OK, *THSRAPIDailyTrainInfo21233Status299, error) THSRAPIGeneralTimetable2122(params *THSRAPIGeneralTimetable2122Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIGeneralTimetable2122OK, *THSRAPIGeneralTimetable2122Status299, error) THSRAPIGeneralTimetable21221(params *THSRAPIGeneralTimetable21221Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIGeneralTimetable21221OK, *THSRAPIGeneralTimetable21221Status299, error) THSRAPINews2128(params *THSRAPINews2128Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPINews2128OK, *THSRAPINews2128Status299, error) THSRAPIODDailyTimetable2126(params *THSRAPIODDailyTimetable2126Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIODDailyTimetable2126OK, *THSRAPIODDailyTimetable2126Status299, error) THSRAPIODFare2121(params *THSRAPIODFare2121Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIODFare2121OK, *THSRAPIODFare2121Status299, error) THSRAPIODFare21211(params *THSRAPIODFare21211Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIODFare21211OK, *THSRAPIODFare21211Status299, error) THSRAPIShape2129(params *THSRAPIShape2129Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIShape2129OK, *THSRAPIShape2129Status299, error) THSRAPIStationExit2132(params *THSRAPIStationExit2132Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIStationExit2132OK, *THSRAPIStationExit2132Status299, error) THSRAPIStationTimetable2125(params *THSRAPIStationTimetable2125Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIStationTimetable2125OK, *THSRAPIStationTimetable2125Status299, error) THSRAPIStation2120(params *THSRAPIStation2120Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*THSRAPIStation2120OK, *THSRAPIStation2120Status299, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new t h s r API client.
type THSRAPIAlertInfo2127NotModified ¶ added in v0.15.0
type THSRAPIAlertInfo2127NotModified struct { }
THSRAPIAlertInfo2127NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAlertInfo2127NotModified ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127NotModified() *THSRAPIAlertInfo2127NotModified
NewTHSRAPIAlertInfo2127NotModified creates a THSRAPIAlertInfo2127NotModified with default headers values
func (*THSRAPIAlertInfo2127NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127NotModified) Error() string
type THSRAPIAlertInfo2127OK ¶ added in v0.15.0
type THSRAPIAlertInfo2127OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRAlertInfo
}
THSRAPIAlertInfo2127OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAlertInfo2127OK ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127OK() *THSRAPIAlertInfo2127OK
NewTHSRAPIAlertInfo2127OK creates a THSRAPIAlertInfo2127OK with default headers values
func (*THSRAPIAlertInfo2127OK) Error ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127OK) Error() string
func (*THSRAPIAlertInfo2127OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRAlertInfo
type THSRAPIAlertInfo2127Params ¶ added in v0.15.0
type THSRAPIAlertInfo2127Params struct { /* 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 }
THSRAPIAlertInfo2127Params contains all the parameters to send to the API endpoint
for the t h s r Api alert info 2127 operation. Typically these are written to a http.Request.
func NewTHSRAPIAlertInfo2127Params ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127Params() *THSRAPIAlertInfo2127Params
NewTHSRAPIAlertInfo2127Params creates a new THSRAPIAlertInfo2127Params 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 NewTHSRAPIAlertInfo2127ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127ParamsWithContext(ctx context.Context) *THSRAPIAlertInfo2127Params
NewTHSRAPIAlertInfo2127ParamsWithContext creates a new THSRAPIAlertInfo2127Params object with the ability to set a context for a request.
func NewTHSRAPIAlertInfo2127ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127ParamsWithHTTPClient(client *http.Client) *THSRAPIAlertInfo2127Params
NewTHSRAPIAlertInfo2127ParamsWithHTTPClient creates a new THSRAPIAlertInfo2127Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAlertInfo2127ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127ParamsWithTimeout(timeout time.Duration) *THSRAPIAlertInfo2127Params
NewTHSRAPIAlertInfo2127ParamsWithTimeout creates a new THSRAPIAlertInfo2127Params object with the ability to set a timeout on a request.
func (*THSRAPIAlertInfo2127Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api alert info 2127 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAlertInfo2127Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithContext(ctx context.Context) *THSRAPIAlertInfo2127Params
WithContext adds the context to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDefaults() *THSRAPIAlertInfo2127Params
WithDefaults hydrates default values in the t h s r Api alert info 2127 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAlertInfo2127Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDollarFilter(dollarFilter *string) *THSRAPIAlertInfo2127Params
WithDollarFilter adds the dollarFilter to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDollarFormat(dollarFormat string) *THSRAPIAlertInfo2127Params
WithDollarFormat adds the dollarFormat to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAlertInfo2127Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDollarSelect(dollarSelect *string) *THSRAPIAlertInfo2127Params
WithDollarSelect adds the dollarSelect to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDollarSkip(dollarSkip *string) *THSRAPIAlertInfo2127Params
WithDollarSkip adds the dollarSkip to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithDollarTop(dollarTop *int64) *THSRAPIAlertInfo2127Params
WithDollarTop adds the dollarTop to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithHTTPClient(client *http.Client) *THSRAPIAlertInfo2127Params
WithHTTPClient adds the HTTPClient to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithHealth(health *string) *THSRAPIAlertInfo2127Params
WithHealth adds the health to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WithTimeout(timeout time.Duration) *THSRAPIAlertInfo2127Params
WithTimeout adds the timeout to the t h s r Api alert info 2127 params
func (*THSRAPIAlertInfo2127Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAlertInfo2127Reader ¶ added in v0.15.0
type THSRAPIAlertInfo2127Reader struct {
// contains filtered or unexported fields
}
THSRAPIAlertInfo2127Reader is a Reader for the THSRAPIAlertInfo2127 structure.
func (*THSRAPIAlertInfo2127Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAlertInfo2127Status299 ¶ added in v0.15.0
type THSRAPIAlertInfo2127Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAlertInfo2127Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAlertInfo2127Status299 ¶ added in v0.15.0
func NewTHSRAPIAlertInfo2127Status299() *THSRAPIAlertInfo2127Status299
NewTHSRAPIAlertInfo2127Status299 creates a THSRAPIAlertInfo2127Status299 with default headers values
func (*THSRAPIAlertInfo2127Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Status299) Error() string
func (*THSRAPIAlertInfo2127Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAlertInfo2127Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIAvailableSeatStatus21351NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus21351NotModified struct { }
THSRAPIAvailableSeatStatus21351NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatus21351NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351NotModified() *THSRAPIAvailableSeatStatus21351NotModified
NewTHSRAPIAvailableSeatStatus21351NotModified creates a THSRAPIAvailableSeatStatus21351NotModified with default headers values
func (*THSRAPIAvailableSeatStatus21351NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351NotModified) Error() string
type THSRAPIAvailableSeatStatus21351OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus21351OK struct {
Payload *models.PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat
}
THSRAPIAvailableSeatStatus21351OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatus21351OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351OK() *THSRAPIAvailableSeatStatus21351OK
NewTHSRAPIAvailableSeatStatus21351OK creates a THSRAPIAvailableSeatStatus21351OK with default headers values
func (*THSRAPIAvailableSeatStatus21351OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351OK) Error() string
func (*THSRAPIAvailableSeatStatus21351OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus21351Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus21351Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* TrainDate. 欲查詢車次的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIAvailableSeatStatus21351Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status 2135 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatus21351Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351Params() *THSRAPIAvailableSeatStatus21351Params
NewTHSRAPIAvailableSeatStatus21351Params creates a new THSRAPIAvailableSeatStatus21351Params 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 NewTHSRAPIAvailableSeatStatus21351ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatus21351Params
NewTHSRAPIAvailableSeatStatus21351ParamsWithContext creates a new THSRAPIAvailableSeatStatus21351Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatus21351ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus21351Params
NewTHSRAPIAvailableSeatStatus21351ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatus21351Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatus21351ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus21351Params
NewTHSRAPIAvailableSeatStatus21351ParamsWithTimeout creates a new THSRAPIAvailableSeatStatus21351Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatus21351Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status 2135 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatus21351Params
WithContext adds the context to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDefaults() *THSRAPIAvailableSeatStatus21351Params
WithDefaults hydrates default values in the t h s r Api available seat status 2135 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatus21351Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatus21351Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatus21351Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatus21351Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatus21351Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatus21351Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatus21351Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus21351Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithHealth(health *string) *THSRAPIAvailableSeatStatus21351Params
WithHealth adds the health to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus21351Params
WithTimeout adds the timeout to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatus21351Params
WithTrainDate adds the trainDate to the t h s r Api available seat status 2135 1 params
func (*THSRAPIAvailableSeatStatus21351Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatus21351Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus21351Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatus21351Reader is a Reader for the THSRAPIAvailableSeatStatus21351 structure.
func (*THSRAPIAvailableSeatStatus21351Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatus21351Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus21351Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatus21351Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatus21351Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus21351Status299() *THSRAPIAvailableSeatStatus21351Status299
NewTHSRAPIAvailableSeatStatus21351Status299 creates a THSRAPIAvailableSeatStatus21351Status299 with default headers values
func (*THSRAPIAvailableSeatStatus21351Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Status299) Error() string
func (*THSRAPIAvailableSeatStatus21351Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus21351Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIAvailableSeatStatus2135NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus2135NotModified struct { }
THSRAPIAvailableSeatStatus2135NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatus2135NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135NotModified() *THSRAPIAvailableSeatStatus2135NotModified
NewTHSRAPIAvailableSeatStatus2135NotModified creates a THSRAPIAvailableSeatStatus2135NotModified with default headers values
func (*THSRAPIAvailableSeatStatus2135NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135NotModified) Error() string
type THSRAPIAvailableSeatStatus2135OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus2135OK struct {
Payload *models.PTXAPIRailModelV2THSRAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRAvailableSeat
}
THSRAPIAvailableSeatStatus2135OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatus2135OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135OK() *THSRAPIAvailableSeatStatus2135OK
NewTHSRAPIAvailableSeatStatus2135OK creates a THSRAPIAvailableSeatStatus2135OK with default headers values
func (*THSRAPIAvailableSeatStatus2135OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135OK) Error() string
func (*THSRAPIAvailableSeatStatus2135OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus2135Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus2135Params 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 }
THSRAPIAvailableSeatStatus2135Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status 2135 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatus2135Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135Params() *THSRAPIAvailableSeatStatus2135Params
NewTHSRAPIAvailableSeatStatus2135Params creates a new THSRAPIAvailableSeatStatus2135Params 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 NewTHSRAPIAvailableSeatStatus2135ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatus2135Params
NewTHSRAPIAvailableSeatStatus2135ParamsWithContext creates a new THSRAPIAvailableSeatStatus2135Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatus2135ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus2135Params
NewTHSRAPIAvailableSeatStatus2135ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatus2135Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatus2135ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus2135Params
NewTHSRAPIAvailableSeatStatus2135ParamsWithTimeout creates a new THSRAPIAvailableSeatStatus2135Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatus2135Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status 2135 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatus2135Params
WithContext adds the context to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDefaults() *THSRAPIAvailableSeatStatus2135Params
WithDefaults hydrates default values in the t h s r Api available seat status 2135 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatus2135Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatus2135Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatus2135Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatus2135Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatus2135Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatus2135Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatus2135Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatus2135Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithHealth(health *string) *THSRAPIAvailableSeatStatus2135Params
WithHealth adds the health to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatus2135Params
WithTimeout adds the timeout to the t h s r Api available seat status 2135 params
func (*THSRAPIAvailableSeatStatus2135Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatus2135Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus2135Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatus2135Reader is a Reader for the THSRAPIAvailableSeatStatus2135 structure.
func (*THSRAPIAvailableSeatStatus2135Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatus2135Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatus2135Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatus2135Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatus2135Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatus2135Status299() *THSRAPIAvailableSeatStatus2135Status299
NewTHSRAPIAvailableSeatStatus2135Status299 creates a THSRAPIAvailableSeatStatus2135Status299 with default headers values
func (*THSRAPIAvailableSeatStatus2135Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Status299) Error() string
func (*THSRAPIAvailableSeatStatus2135Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatus2135Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIAvailableSeatStatusListStation21301NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation21301NotModified struct { }
THSRAPIAvailableSeatStatusListStation21301NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatusListStation21301NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301NotModified() *THSRAPIAvailableSeatStatusListStation21301NotModified
NewTHSRAPIAvailableSeatStatusListStation21301NotModified creates a THSRAPIAvailableSeatStatusListStation21301NotModified with default headers values
func (*THSRAPIAvailableSeatStatusListStation21301NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301NotModified) Error() string
type THSRAPIAvailableSeatStatusListStation21301OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation21301OK struct {
Payload *models.PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat
}
THSRAPIAvailableSeatStatusListStation21301OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatusListStation21301OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301OK() *THSRAPIAvailableSeatStatusListStation21301OK
NewTHSRAPIAvailableSeatStatusListStation21301OK creates a THSRAPIAvailableSeatStatusListStation21301OK with default headers values
func (*THSRAPIAvailableSeatStatusListStation21301OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301OK) Error() string
func (*THSRAPIAvailableSeatStatusListStation21301OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation21301Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation21301Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* StationID. 起點車站代碼 */ StationID string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIAvailableSeatStatusListStation21301Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status list station 2130 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatusListStation21301Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301Params() *THSRAPIAvailableSeatStatusListStation21301Params
NewTHSRAPIAvailableSeatStatusListStation21301Params creates a new THSRAPIAvailableSeatStatusListStation21301Params 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 NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation21301Params
NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithContext creates a new THSRAPIAvailableSeatStatusListStation21301Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation21301Params
NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatusListStation21301Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation21301Params
NewTHSRAPIAvailableSeatStatusListStation21301ParamsWithTimeout creates a new THSRAPIAvailableSeatStatusListStation21301Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status list station 2130 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetStationID(stationID string)
SetStationID adds the stationId to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation21301Params
WithContext adds the context to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDefaults() *THSRAPIAvailableSeatStatusListStation21301Params
WithDefaults hydrates default values in the t h s r Api available seat status list station 2130 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusListStation21301Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation21301Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusListStation21301Params
WithHealth adds the health to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithStationID(stationID string) *THSRAPIAvailableSeatStatusListStation21301Params
WithStationID adds the stationID to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation21301Params
WithTimeout adds the timeout to the t h s r Api available seat status list station 2130 1 params
func (*THSRAPIAvailableSeatStatusListStation21301Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatusListStation21301Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation21301Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatusListStation21301Reader is a Reader for the THSRAPIAvailableSeatStatusListStation21301 structure.
func (*THSRAPIAvailableSeatStatusListStation21301Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatusListStation21301Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation21301Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatusListStation21301Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatusListStation21301Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation21301Status299() *THSRAPIAvailableSeatStatusListStation21301Status299
NewTHSRAPIAvailableSeatStatusListStation21301Status299 creates a THSRAPIAvailableSeatStatusListStation21301Status299 with default headers values
func (*THSRAPIAvailableSeatStatusListStation21301Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation21301Status299) Error() string
func (*THSRAPIAvailableSeatStatusListStation21301Status299) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130NotModified struct { }
THSRAPIAvailableSeatStatusListStation2130NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatusListStation2130NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130NotModified() *THSRAPIAvailableSeatStatusListStation2130NotModified
NewTHSRAPIAvailableSeatStatusListStation2130NotModified creates a THSRAPIAvailableSeatStatusListStation2130NotModified with default headers values
func (*THSRAPIAvailableSeatStatusListStation2130NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130NotModified) Error() string
type THSRAPIAvailableSeatStatusListStation2130OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130OK struct {
Payload *models.PTXAPIRailModelV2THSRAvailableSeatStatusOldWrapperPTXServiceDTORailSpecificationV2THSROldAvailableSeat
}
THSRAPIAvailableSeatStatusListStation2130OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatusListStation2130OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130OK() *THSRAPIAvailableSeatStatusListStation2130OK
NewTHSRAPIAvailableSeatStatusListStation2130OK creates a THSRAPIAvailableSeatStatusListStation2130OK with default headers values
func (*THSRAPIAvailableSeatStatusListStation2130OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130OK) Error() string
func (*THSRAPIAvailableSeatStatusListStation2130OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130Params 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 }
THSRAPIAvailableSeatStatusListStation2130Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status list station 2130 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatusListStation2130Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130Params() *THSRAPIAvailableSeatStatusListStation2130Params
NewTHSRAPIAvailableSeatStatusListStation2130Params creates a new THSRAPIAvailableSeatStatusListStation2130Params 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 NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation2130Params
NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithContext creates a new THSRAPIAvailableSeatStatusListStation2130Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation2130Params
NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatusListStation2130Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation2130Params
NewTHSRAPIAvailableSeatStatusListStation2130ParamsWithTimeout creates a new THSRAPIAvailableSeatStatusListStation2130Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status list station 2130 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusListStation2130Params
WithContext adds the context to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDefaults() *THSRAPIAvailableSeatStatusListStation2130Params
WithDefaults hydrates default values in the t h s r Api available seat status list station 2130 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusListStation2130Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusListStation2130Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusListStation2130Params
WithHealth adds the health to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusListStation2130Params
WithTimeout adds the timeout to the t h s r Api available seat status list station 2130 params
func (*THSRAPIAvailableSeatStatusListStation2130Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatusListStation2130Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatusListStation2130Reader is a Reader for the THSRAPIAvailableSeatStatusListStation2130 structure.
func (*THSRAPIAvailableSeatStatusListStation2130Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatusListStation2130Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusListStation2130Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatusListStation2130Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatusListStation2130Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusListStation2130Status299() *THSRAPIAvailableSeatStatusListStation2130Status299
NewTHSRAPIAvailableSeatStatusListStation2130Status299 creates a THSRAPIAvailableSeatStatusListStation2130Status299 with default headers values
func (*THSRAPIAvailableSeatStatusListStation2130Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusListStation2130Status299) Error() string
func (*THSRAPIAvailableSeatStatusListStation2130Status299) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361NotModified struct { }
THSRAPIAvailableSeatStatusOD21361NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatusOD21361NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361NotModified() *THSRAPIAvailableSeatStatusOD21361NotModified
NewTHSRAPIAvailableSeatStatusOD21361NotModified creates a THSRAPIAvailableSeatStatusOD21361NotModified with default headers values
func (*THSRAPIAvailableSeatStatusOD21361NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361NotModified) Error() string
type THSRAPIAvailableSeatStatusOD21361OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361OK struct {
Payload *models.PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat
}
THSRAPIAvailableSeatStatusOD21361OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatusOD21361OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361OK() *THSRAPIAvailableSeatStatusOD21361OK
NewTHSRAPIAvailableSeatStatusOD21361OK creates a THSRAPIAvailableSeatStatusOD21361OK with default headers values
func (*THSRAPIAvailableSeatStatusOD21361OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361OK) Error() string
func (*THSRAPIAvailableSeatStatusOD21361OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* DestinationStationID. 指定迄止車站 */ DestinationStationID string /* OriginStationID. 指定起始車站 */ OriginStationID string /* TrainDate. 欲查詢車次的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIAvailableSeatStatusOD21361Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status o d 2136 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatusOD21361Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361Params() *THSRAPIAvailableSeatStatusOD21361Params
NewTHSRAPIAvailableSeatStatusOD21361Params creates a new THSRAPIAvailableSeatStatusOD21361Params 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 NewTHSRAPIAvailableSeatStatusOD21361ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21361Params
NewTHSRAPIAvailableSeatStatusOD21361ParamsWithContext creates a new THSRAPIAvailableSeatStatusOD21361Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21361Params
NewTHSRAPIAvailableSeatStatusOD21361ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatusOD21361Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21361Params
NewTHSRAPIAvailableSeatStatusOD21361ParamsWithTimeout creates a new THSRAPIAvailableSeatStatusOD21361Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatusOD21361Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status o d 2136 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDestinationStationID(destinationStationID string)
SetDestinationStationID adds the destinationStationId to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetOriginStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetOriginStationID(originStationID string)
SetOriginStationID adds the originStationId to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21361Params
WithContext adds the context to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDefaults() *THSRAPIAvailableSeatStatusOD21361Params
WithDefaults hydrates default values in the t h s r Api available seat status o d 2136 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDestinationStationID(destinationStationID string) *THSRAPIAvailableSeatStatusOD21361Params
WithDestinationStationID adds the destinationStationID to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusOD21361Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21361Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusOD21361Params
WithHealth adds the health to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithOriginStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithOriginStationID(originStationID string) *THSRAPIAvailableSeatStatusOD21361Params
WithOriginStationID adds the originStationID to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21361Params
WithTimeout adds the timeout to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatusOD21361Params
WithTrainDate adds the trainDate to the t h s r Api available seat status o d 2136 1 params
func (*THSRAPIAvailableSeatStatusOD21361Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatusOD21361Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatusOD21361Reader is a Reader for the THSRAPIAvailableSeatStatusOD21361 structure.
func (*THSRAPIAvailableSeatStatusOD21361Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatusOD21361Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21361Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatusOD21361Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatusOD21361Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21361Status299() *THSRAPIAvailableSeatStatusOD21361Status299
NewTHSRAPIAvailableSeatStatusOD21361Status299 creates a THSRAPIAvailableSeatStatusOD21361Status299 with default headers values
func (*THSRAPIAvailableSeatStatusOD21361Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Status299) Error() string
func (*THSRAPIAvailableSeatStatusOD21361Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21361Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIAvailableSeatStatusOD21362NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21362NotModified struct { }
THSRAPIAvailableSeatStatusOD21362NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatusOD21362NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362NotModified() *THSRAPIAvailableSeatStatusOD21362NotModified
NewTHSRAPIAvailableSeatStatusOD21362NotModified creates a THSRAPIAvailableSeatStatusOD21362NotModified with default headers values
func (*THSRAPIAvailableSeatStatusOD21362NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362NotModified) Error() string
type THSRAPIAvailableSeatStatusOD21362OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21362OK struct {
Payload *models.PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat
}
THSRAPIAvailableSeatStatusOD21362OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatusOD21362OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362OK() *THSRAPIAvailableSeatStatusOD21362OK
NewTHSRAPIAvailableSeatStatusOD21362OK creates a THSRAPIAvailableSeatStatusOD21362OK with default headers values
func (*THSRAPIAvailableSeatStatusOD21362OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362OK) Error() string
func (*THSRAPIAvailableSeatStatusOD21362OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21362Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21362Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* DestinationStationID. 指定迄止車站 */ DestinationStationID string /* OriginStationID. 指定起始車站 */ OriginStationID string /* TrainDate. 欲查詢車次的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* TrainNo. 欲查詢車次號碼(格式: yyyy-MM-dd) */ TrainNo string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIAvailableSeatStatusOD21362Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status o d 2136 2 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatusOD21362Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362Params() *THSRAPIAvailableSeatStatusOD21362Params
NewTHSRAPIAvailableSeatStatusOD21362Params creates a new THSRAPIAvailableSeatStatusOD21362Params 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 NewTHSRAPIAvailableSeatStatusOD21362ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21362Params
NewTHSRAPIAvailableSeatStatusOD21362ParamsWithContext creates a new THSRAPIAvailableSeatStatusOD21362Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21362Params
NewTHSRAPIAvailableSeatStatusOD21362ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatusOD21362Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21362Params
NewTHSRAPIAvailableSeatStatusOD21362ParamsWithTimeout creates a new THSRAPIAvailableSeatStatusOD21362Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatusOD21362Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status o d 2136 2 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDestinationStationID(destinationStationID string)
SetDestinationStationID adds the destinationStationId to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetOriginStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetOriginStationID(originStationID string)
SetOriginStationID adds the originStationId to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) SetTrainNo ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) SetTrainNo(trainNo string)
SetTrainNo adds the trainNo to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD21362Params
WithContext adds the context to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDefaults() *THSRAPIAvailableSeatStatusOD21362Params
WithDefaults hydrates default values in the t h s r Api available seat status o d 2136 2 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDestinationStationID(destinationStationID string) *THSRAPIAvailableSeatStatusOD21362Params
WithDestinationStationID adds the destinationStationID to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusOD21362Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD21362Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusOD21362Params
WithHealth adds the health to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithOriginStationID ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithOriginStationID(originStationID string) *THSRAPIAvailableSeatStatusOD21362Params
WithOriginStationID adds the originStationID to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD21362Params
WithTimeout adds the timeout to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatusOD21362Params
WithTrainDate adds the trainDate to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WithTrainNo ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WithTrainNo(trainNo string) *THSRAPIAvailableSeatStatusOD21362Params
WithTrainNo adds the trainNo to the t h s r Api available seat status o d 2136 2 params
func (*THSRAPIAvailableSeatStatusOD21362Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatusOD21362Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21362Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatusOD21362Reader is a Reader for the THSRAPIAvailableSeatStatusOD21362 structure.
func (*THSRAPIAvailableSeatStatusOD21362Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatusOD21362Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD21362Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatusOD21362Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatusOD21362Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD21362Status299() *THSRAPIAvailableSeatStatusOD21362Status299
NewTHSRAPIAvailableSeatStatusOD21362Status299 creates a THSRAPIAvailableSeatStatusOD21362Status299 with default headers values
func (*THSRAPIAvailableSeatStatusOD21362Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Status299) Error() string
func (*THSRAPIAvailableSeatStatusOD21362Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD21362Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIAvailableSeatStatusOD2136NotModified ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD2136NotModified struct { }
THSRAPIAvailableSeatStatusOD2136NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIAvailableSeatStatusOD2136NotModified ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136NotModified() *THSRAPIAvailableSeatStatusOD2136NotModified
NewTHSRAPIAvailableSeatStatusOD2136NotModified creates a THSRAPIAvailableSeatStatusOD2136NotModified with default headers values
func (*THSRAPIAvailableSeatStatusOD2136NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136NotModified) Error() string
type THSRAPIAvailableSeatStatusOD2136OK ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD2136OK struct {
Payload *models.PTXAPIRailModelV2THSRODAvailableSeatStatusWrapperPTXServiceDTORailSpecificationV2THSRODAvailableSeat
}
THSRAPIAvailableSeatStatusOD2136OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIAvailableSeatStatusOD2136OK ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136OK() *THSRAPIAvailableSeatStatusOD2136OK
NewTHSRAPIAvailableSeatStatusOD2136OK creates a THSRAPIAvailableSeatStatusOD2136OK with default headers values
func (*THSRAPIAvailableSeatStatusOD2136OK) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136OK) Error() string
func (*THSRAPIAvailableSeatStatusOD2136OK) GetPayload ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD2136Params ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD2136Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* TrainDate. 欲查詢車次的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIAvailableSeatStatusOD2136Params contains all the parameters to send to the API endpoint
for the t h s r Api available seat status o d 2136 operation. Typically these are written to a http.Request.
func NewTHSRAPIAvailableSeatStatusOD2136Params ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136Params() *THSRAPIAvailableSeatStatusOD2136Params
NewTHSRAPIAvailableSeatStatusOD2136Params creates a new THSRAPIAvailableSeatStatusOD2136Params 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 NewTHSRAPIAvailableSeatStatusOD2136ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD2136Params
NewTHSRAPIAvailableSeatStatusOD2136ParamsWithContext creates a new THSRAPIAvailableSeatStatusOD2136Params object with the ability to set a context for a request.
func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD2136Params
NewTHSRAPIAvailableSeatStatusOD2136ParamsWithHTTPClient creates a new THSRAPIAvailableSeatStatusOD2136Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136ParamsWithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD2136Params
NewTHSRAPIAvailableSeatStatusOD2136ParamsWithTimeout creates a new THSRAPIAvailableSeatStatusOD2136Params object with the ability to set a timeout on a request.
func (*THSRAPIAvailableSeatStatusOD2136Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api available seat status o d 2136 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithContext(ctx context.Context) *THSRAPIAvailableSeatStatusOD2136Params
WithContext adds the context to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDefaults() *THSRAPIAvailableSeatStatusOD2136Params
WithDefaults hydrates default values in the t h s r Api available seat status o d 2136 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarCount ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarCount(dollarCount *bool) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarCount adds the dollarCount to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarFilter(dollarFilter *string) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarFilter adds the dollarFilter to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarFormat(dollarFormat string) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarFormat adds the dollarFormat to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarSelect(dollarSelect *string) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarSelect adds the dollarSelect to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarSkip(dollarSkip *string) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarSkip adds the dollarSkip to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithDollarTop(dollarTop *int64) *THSRAPIAvailableSeatStatusOD2136Params
WithDollarTop adds the dollarTop to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithHTTPClient(client *http.Client) *THSRAPIAvailableSeatStatusOD2136Params
WithHTTPClient adds the HTTPClient to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithHealth(health *string) *THSRAPIAvailableSeatStatusOD2136Params
WithHealth adds the health to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithTimeout(timeout time.Duration) *THSRAPIAvailableSeatStatusOD2136Params
WithTimeout adds the timeout to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIAvailableSeatStatusOD2136Params
WithTrainDate adds the trainDate to the t h s r Api available seat status o d 2136 params
func (*THSRAPIAvailableSeatStatusOD2136Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIAvailableSeatStatusOD2136Reader ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD2136Reader struct {
// contains filtered or unexported fields
}
THSRAPIAvailableSeatStatusOD2136Reader is a Reader for the THSRAPIAvailableSeatStatusOD2136 structure.
func (*THSRAPIAvailableSeatStatusOD2136Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIAvailableSeatStatusOD2136Status299 ¶ added in v0.15.0
type THSRAPIAvailableSeatStatusOD2136Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIAvailableSeatStatusOD2136Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIAvailableSeatStatusOD2136Status299 ¶ added in v0.15.0
func NewTHSRAPIAvailableSeatStatusOD2136Status299() *THSRAPIAvailableSeatStatusOD2136Status299
NewTHSRAPIAvailableSeatStatusOD2136Status299 creates a THSRAPIAvailableSeatStatusOD2136Status299 with default headers values
func (*THSRAPIAvailableSeatStatusOD2136Status299) Error ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Status299) Error() string
func (*THSRAPIAvailableSeatStatusOD2136Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIAvailableSeatStatusOD2136Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTimetable21241NotModified ¶ added in v0.15.0
type THSRAPIDailyTimetable21241NotModified struct { }
THSRAPIDailyTimetable21241NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTimetable21241NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241NotModified() *THSRAPIDailyTimetable21241NotModified
NewTHSRAPIDailyTimetable21241NotModified creates a THSRAPIDailyTimetable21241NotModified with default headers values
func (*THSRAPIDailyTimetable21241NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241NotModified) Error() string
type THSRAPIDailyTimetable21241OK ¶ added in v0.15.0
type THSRAPIDailyTimetable21241OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
}
THSRAPIDailyTimetable21241OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTimetable21241OK ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241OK() *THSRAPIDailyTimetable21241OK
NewTHSRAPIDailyTimetable21241OK creates a THSRAPIDailyTimetable21241OK with default headers values
func (*THSRAPIDailyTimetable21241OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241OK) Error() string
func (*THSRAPIDailyTimetable21241OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
type THSRAPIDailyTimetable21241Params ¶ added in v0.15.0
type THSRAPIDailyTimetable21241Params struct { /* 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 }
THSRAPIDailyTimetable21241Params contains all the parameters to send to the API endpoint
for the t h s r Api daily timetable 2124 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTimetable21241Params ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241Params() *THSRAPIDailyTimetable21241Params
NewTHSRAPIDailyTimetable21241Params creates a new THSRAPIDailyTimetable21241Params 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 NewTHSRAPIDailyTimetable21241ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21241Params
NewTHSRAPIDailyTimetable21241ParamsWithContext creates a new THSRAPIDailyTimetable21241Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTimetable21241ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21241Params
NewTHSRAPIDailyTimetable21241ParamsWithHTTPClient creates a new THSRAPIDailyTimetable21241Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTimetable21241ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21241Params
NewTHSRAPIDailyTimetable21241ParamsWithTimeout creates a new THSRAPIDailyTimetable21241Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTimetable21241Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily timetable 2124 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21241Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) SetTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) SetTrainNo(trainNo string)
SetTrainNo adds the trainNo to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21241Params
WithContext adds the context to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDefaults() *THSRAPIDailyTimetable21241Params
WithDefaults hydrates default values in the t h s r Api daily timetable 2124 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21241Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable21241Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21241Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable21241Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable21241Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable21241Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable21241Params
WithDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21241Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithHealth(health *string) *THSRAPIDailyTimetable21241Params
WithHealth adds the health to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21241Params
WithTimeout adds the timeout to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WithTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WithTrainNo(trainNo string) *THSRAPIDailyTimetable21241Params
WithTrainNo adds the trainNo to the t h s r Api daily timetable 2124 1 params
func (*THSRAPIDailyTimetable21241Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTimetable21241Reader ¶ added in v0.15.0
type THSRAPIDailyTimetable21241Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTimetable21241Reader is a Reader for the THSRAPIDailyTimetable21241 structure.
func (*THSRAPIDailyTimetable21241Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTimetable21241Status299 ¶ added in v0.15.0
type THSRAPIDailyTimetable21241Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTimetable21241Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTimetable21241Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21241Status299() *THSRAPIDailyTimetable21241Status299
NewTHSRAPIDailyTimetable21241Status299 creates a THSRAPIDailyTimetable21241Status299 with default headers values
func (*THSRAPIDailyTimetable21241Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Status299) Error() string
func (*THSRAPIDailyTimetable21241Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21241Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTimetable21242OK ¶ added in v0.15.0
type THSRAPIDailyTimetable21242OK struct {
Payload *models.PTXServiceDTORailSpecificationV2THSRTrainDateList
}
THSRAPIDailyTimetable21242OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTimetable21242OK ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21242OK() *THSRAPIDailyTimetable21242OK
NewTHSRAPIDailyTimetable21242OK creates a THSRAPIDailyTimetable21242OK with default headers values
func (*THSRAPIDailyTimetable21242OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242OK) Error() string
func (*THSRAPIDailyTimetable21242OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242OK) GetPayload() *models.PTXServiceDTORailSpecificationV2THSRTrainDateList
type THSRAPIDailyTimetable21242Params ¶ added in v0.15.0
type THSRAPIDailyTimetable21242Params struct { /* DollarFormat. 指定來源格式 */ DollarFormat string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIDailyTimetable21242Params contains all the parameters to send to the API endpoint
for the t h s r Api daily timetable 2124 2 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTimetable21242Params ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21242Params() *THSRAPIDailyTimetable21242Params
NewTHSRAPIDailyTimetable21242Params creates a new THSRAPIDailyTimetable21242Params 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 NewTHSRAPIDailyTimetable21242ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21242ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21242Params
NewTHSRAPIDailyTimetable21242ParamsWithContext creates a new THSRAPIDailyTimetable21242Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTimetable21242ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21242ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21242Params
NewTHSRAPIDailyTimetable21242ParamsWithHTTPClient creates a new THSRAPIDailyTimetable21242Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTimetable21242ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21242ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21242Params
NewTHSRAPIDailyTimetable21242ParamsWithTimeout creates a new THSRAPIDailyTimetable21242Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTimetable21242Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily timetable 2124 2 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21242Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21242Params
WithContext adds the context to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WithDefaults() *THSRAPIDailyTimetable21242Params
WithDefaults hydrates default values in the t h s r Api daily timetable 2124 2 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21242Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21242Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21242Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WithHealth(health *string) *THSRAPIDailyTimetable21242Params
WithHealth adds the health to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21242Params
WithTimeout adds the timeout to the t h s r Api daily timetable 2124 2 params
func (*THSRAPIDailyTimetable21242Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTimetable21242Reader ¶ added in v0.15.0
type THSRAPIDailyTimetable21242Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTimetable21242Reader is a Reader for the THSRAPIDailyTimetable21242 structure.
func (*THSRAPIDailyTimetable21242Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTimetable21242Status299 ¶ added in v0.15.0
type THSRAPIDailyTimetable21242Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTimetable21242Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTimetable21242Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21242Status299() *THSRAPIDailyTimetable21242Status299
NewTHSRAPIDailyTimetable21242Status299 creates a THSRAPIDailyTimetable21242Status299 with default headers values
func (*THSRAPIDailyTimetable21242Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Status299) Error() string
func (*THSRAPIDailyTimetable21242Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21242Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTimetable21243NotModified ¶ added in v0.15.0
type THSRAPIDailyTimetable21243NotModified struct { }
THSRAPIDailyTimetable21243NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTimetable21243NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243NotModified() *THSRAPIDailyTimetable21243NotModified
NewTHSRAPIDailyTimetable21243NotModified creates a THSRAPIDailyTimetable21243NotModified with default headers values
func (*THSRAPIDailyTimetable21243NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243NotModified) Error() string
type THSRAPIDailyTimetable21243OK ¶ added in v0.15.0
type THSRAPIDailyTimetable21243OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
}
THSRAPIDailyTimetable21243OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTimetable21243OK ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243OK() *THSRAPIDailyTimetable21243OK
NewTHSRAPIDailyTimetable21243OK creates a THSRAPIDailyTimetable21243OK with default headers values
func (*THSRAPIDailyTimetable21243OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243OK) Error() string
func (*THSRAPIDailyTimetable21243OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
type THSRAPIDailyTimetable21243Params ¶ added in v0.15.0
type THSRAPIDailyTimetable21243Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* TrainDate. 欲查詢的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIDailyTimetable21243Params contains all the parameters to send to the API endpoint
for the t h s r Api daily timetable 2124 3 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTimetable21243Params ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243Params() *THSRAPIDailyTimetable21243Params
NewTHSRAPIDailyTimetable21243Params creates a new THSRAPIDailyTimetable21243Params 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 NewTHSRAPIDailyTimetable21243ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21243Params
NewTHSRAPIDailyTimetable21243ParamsWithContext creates a new THSRAPIDailyTimetable21243Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTimetable21243ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21243Params
NewTHSRAPIDailyTimetable21243ParamsWithHTTPClient creates a new THSRAPIDailyTimetable21243Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTimetable21243ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21243Params
NewTHSRAPIDailyTimetable21243ParamsWithTimeout creates a new THSRAPIDailyTimetable21243Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTimetable21243Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily timetable 2124 3 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21243Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21243Params
WithContext adds the context to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDefaults() *THSRAPIDailyTimetable21243Params
WithDefaults hydrates default values in the t h s r Api daily timetable 2124 3 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21243Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable21243Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21243Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable21243Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable21243Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable21243Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable21243Params
WithDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21243Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithHealth(health *string) *THSRAPIDailyTimetable21243Params
WithHealth adds the health to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21243Params
WithTimeout adds the timeout to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTimetable21243Params
WithTrainDate adds the trainDate to the t h s r Api daily timetable 2124 3 params
func (*THSRAPIDailyTimetable21243Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTimetable21243Reader ¶ added in v0.15.0
type THSRAPIDailyTimetable21243Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTimetable21243Reader is a Reader for the THSRAPIDailyTimetable21243 structure.
func (*THSRAPIDailyTimetable21243Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTimetable21243Status299 ¶ added in v0.15.0
type THSRAPIDailyTimetable21243Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTimetable21243Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTimetable21243Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21243Status299() *THSRAPIDailyTimetable21243Status299
NewTHSRAPIDailyTimetable21243Status299 creates a THSRAPIDailyTimetable21243Status299 with default headers values
func (*THSRAPIDailyTimetable21243Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Status299) Error() string
func (*THSRAPIDailyTimetable21243Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21243Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTimetable21244NotModified ¶ added in v0.15.0
type THSRAPIDailyTimetable21244NotModified struct { }
THSRAPIDailyTimetable21244NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTimetable21244NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244NotModified() *THSRAPIDailyTimetable21244NotModified
NewTHSRAPIDailyTimetable21244NotModified creates a THSRAPIDailyTimetable21244NotModified with default headers values
func (*THSRAPIDailyTimetable21244NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244NotModified) Error() string
type THSRAPIDailyTimetable21244OK ¶ added in v0.15.0
type THSRAPIDailyTimetable21244OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
}
THSRAPIDailyTimetable21244OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTimetable21244OK ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244OK() *THSRAPIDailyTimetable21244OK
NewTHSRAPIDailyTimetable21244OK creates a THSRAPIDailyTimetable21244OK with default headers values
func (*THSRAPIDailyTimetable21244OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244OK) Error() string
func (*THSRAPIDailyTimetable21244OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
type THSRAPIDailyTimetable21244Params ¶ added in v0.15.0
type THSRAPIDailyTimetable21244Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* TrainDate. 欲查詢的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* TrainNo. 欲查詢車次的代碼 */ TrainNo string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIDailyTimetable21244Params contains all the parameters to send to the API endpoint
for the t h s r Api daily timetable 2124 4 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTimetable21244Params ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244Params() *THSRAPIDailyTimetable21244Params
NewTHSRAPIDailyTimetable21244Params creates a new THSRAPIDailyTimetable21244Params 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 NewTHSRAPIDailyTimetable21244ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable21244Params
NewTHSRAPIDailyTimetable21244ParamsWithContext creates a new THSRAPIDailyTimetable21244Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTimetable21244ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21244Params
NewTHSRAPIDailyTimetable21244ParamsWithHTTPClient creates a new THSRAPIDailyTimetable21244Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTimetable21244ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21244Params
NewTHSRAPIDailyTimetable21244ParamsWithTimeout creates a new THSRAPIDailyTimetable21244Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTimetable21244Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily timetable 2124 4 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21244Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) SetTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) SetTrainNo(trainNo string)
SetTrainNo adds the trainNo to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable21244Params
WithContext adds the context to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDefaults() *THSRAPIDailyTimetable21244Params
WithDefaults hydrates default values in the t h s r Api daily timetable 2124 4 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable21244Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable21244Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable21244Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable21244Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable21244Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable21244Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable21244Params
WithDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable21244Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithHealth(health *string) *THSRAPIDailyTimetable21244Params
WithHealth adds the health to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable21244Params
WithTimeout adds the timeout to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTimetable21244Params
WithTrainDate adds the trainDate to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WithTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WithTrainNo(trainNo string) *THSRAPIDailyTimetable21244Params
WithTrainNo adds the trainNo to the t h s r Api daily timetable 2124 4 params
func (*THSRAPIDailyTimetable21244Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTimetable21244Reader ¶ added in v0.15.0
type THSRAPIDailyTimetable21244Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTimetable21244Reader is a Reader for the THSRAPIDailyTimetable21244 structure.
func (*THSRAPIDailyTimetable21244Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTimetable21244Status299 ¶ added in v0.15.0
type THSRAPIDailyTimetable21244Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTimetable21244Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTimetable21244Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable21244Status299() *THSRAPIDailyTimetable21244Status299
NewTHSRAPIDailyTimetable21244Status299 creates a THSRAPIDailyTimetable21244Status299 with default headers values
func (*THSRAPIDailyTimetable21244Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Status299) Error() string
func (*THSRAPIDailyTimetable21244Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable21244Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTimetable2124NotModified ¶ added in v0.15.0
type THSRAPIDailyTimetable2124NotModified struct { }
THSRAPIDailyTimetable2124NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTimetable2124NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124NotModified() *THSRAPIDailyTimetable2124NotModified
NewTHSRAPIDailyTimetable2124NotModified creates a THSRAPIDailyTimetable2124NotModified with default headers values
func (*THSRAPIDailyTimetable2124NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124NotModified) Error() string
type THSRAPIDailyTimetable2124OK ¶ added in v0.15.0
type THSRAPIDailyTimetable2124OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
}
THSRAPIDailyTimetable2124OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTimetable2124OK ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124OK() *THSRAPIDailyTimetable2124OK
NewTHSRAPIDailyTimetable2124OK creates a THSRAPIDailyTimetable2124OK with default headers values
func (*THSRAPIDailyTimetable2124OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124OK) Error() string
func (*THSRAPIDailyTimetable2124OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTimetable
type THSRAPIDailyTimetable2124Params ¶ added in v0.15.0
type THSRAPIDailyTimetable2124Params struct { /* 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 }
THSRAPIDailyTimetable2124Params contains all the parameters to send to the API endpoint
for the t h s r Api daily timetable 2124 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTimetable2124Params ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124Params() *THSRAPIDailyTimetable2124Params
NewTHSRAPIDailyTimetable2124Params creates a new THSRAPIDailyTimetable2124Params 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 NewTHSRAPIDailyTimetable2124ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124ParamsWithContext(ctx context.Context) *THSRAPIDailyTimetable2124Params
NewTHSRAPIDailyTimetable2124ParamsWithContext creates a new THSRAPIDailyTimetable2124Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTimetable2124ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTimetable2124Params
NewTHSRAPIDailyTimetable2124ParamsWithHTTPClient creates a new THSRAPIDailyTimetable2124Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTimetable2124ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTimetable2124Params
NewTHSRAPIDailyTimetable2124ParamsWithTimeout creates a new THSRAPIDailyTimetable2124Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTimetable2124Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily timetable 2124 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable2124Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithContext(ctx context.Context) *THSRAPIDailyTimetable2124Params
WithContext adds the context to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDefaults() *THSRAPIDailyTimetable2124Params
WithDefaults hydrates default values in the t h s r Api daily timetable 2124 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTimetable2124Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTimetable2124Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTimetable2124Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTimetable2124Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTimetable2124Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTimetable2124Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTimetable2124Params
WithDollarTop adds the dollarTop to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTimetable2124Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithHealth(health *string) *THSRAPIDailyTimetable2124Params
WithHealth adds the health to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTimetable2124Params
WithTimeout adds the timeout to the t h s r Api daily timetable 2124 params
func (*THSRAPIDailyTimetable2124Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTimetable2124Reader ¶ added in v0.15.0
type THSRAPIDailyTimetable2124Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTimetable2124Reader is a Reader for the THSRAPIDailyTimetable2124 structure.
func (*THSRAPIDailyTimetable2124Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTimetable2124Status299 ¶ added in v0.15.0
type THSRAPIDailyTimetable2124Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTimetable2124Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTimetable2124Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTimetable2124Status299() *THSRAPIDailyTimetable2124Status299
NewTHSRAPIDailyTimetable2124Status299 creates a THSRAPIDailyTimetable2124Status299 with default headers values
func (*THSRAPIDailyTimetable2124Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Status299) Error() string
func (*THSRAPIDailyTimetable2124Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTimetable2124Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTrainInfo21231NotModified ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21231NotModified struct { }
THSRAPIDailyTrainInfo21231NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTrainInfo21231NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231NotModified() *THSRAPIDailyTrainInfo21231NotModified
NewTHSRAPIDailyTrainInfo21231NotModified creates a THSRAPIDailyTrainInfo21231NotModified with default headers values
func (*THSRAPIDailyTrainInfo21231NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231NotModified) Error() string
type THSRAPIDailyTrainInfo21231OK ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21231OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
}
THSRAPIDailyTrainInfo21231OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTrainInfo21231OK ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231OK() *THSRAPIDailyTrainInfo21231OK
NewTHSRAPIDailyTrainInfo21231OK creates a THSRAPIDailyTrainInfo21231OK with default headers values
func (*THSRAPIDailyTrainInfo21231OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231OK) Error() string
func (*THSRAPIDailyTrainInfo21231OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
type THSRAPIDailyTrainInfo21231Params ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21231Params struct { /* 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 }
THSRAPIDailyTrainInfo21231Params contains all the parameters to send to the API endpoint
for the t h s r Api daily train info 2123 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTrainInfo21231Params ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231Params() *THSRAPIDailyTrainInfo21231Params
NewTHSRAPIDailyTrainInfo21231Params creates a new THSRAPIDailyTrainInfo21231Params 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 NewTHSRAPIDailyTrainInfo21231ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo21231Params
NewTHSRAPIDailyTrainInfo21231ParamsWithContext creates a new THSRAPIDailyTrainInfo21231Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTrainInfo21231ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21231Params
NewTHSRAPIDailyTrainInfo21231ParamsWithHTTPClient creates a new THSRAPIDailyTrainInfo21231Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTrainInfo21231ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21231Params
NewTHSRAPIDailyTrainInfo21231ParamsWithTimeout creates a new THSRAPIDailyTrainInfo21231Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTrainInfo21231Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily train info 2123 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo21231Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) SetTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) SetTrainNo(trainNo string)
SetTrainNo adds the trainNo to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo21231Params
WithContext adds the context to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDefaults() *THSRAPIDailyTrainInfo21231Params
WithDefaults hydrates default values in the t h s r Api daily train info 2123 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo21231Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo21231Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo21231Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo21231Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo21231Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo21231Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo21231Params
WithDollarTop adds the dollarTop to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21231Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithHealth(health *string) *THSRAPIDailyTrainInfo21231Params
WithHealth adds the health to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21231Params
WithTimeout adds the timeout to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WithTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WithTrainNo(trainNo string) *THSRAPIDailyTrainInfo21231Params
WithTrainNo adds the trainNo to the t h s r Api daily train info 2123 1 params
func (*THSRAPIDailyTrainInfo21231Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTrainInfo21231Reader ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21231Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTrainInfo21231Reader is a Reader for the THSRAPIDailyTrainInfo21231 structure.
func (*THSRAPIDailyTrainInfo21231Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTrainInfo21231Status299 ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21231Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTrainInfo21231Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTrainInfo21231Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21231Status299() *THSRAPIDailyTrainInfo21231Status299
NewTHSRAPIDailyTrainInfo21231Status299 creates a THSRAPIDailyTrainInfo21231Status299 with default headers values
func (*THSRAPIDailyTrainInfo21231Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Status299) Error() string
func (*THSRAPIDailyTrainInfo21231Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21231Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTrainInfo21232NotModified ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21232NotModified struct { }
THSRAPIDailyTrainInfo21232NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTrainInfo21232NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232NotModified() *THSRAPIDailyTrainInfo21232NotModified
NewTHSRAPIDailyTrainInfo21232NotModified creates a THSRAPIDailyTrainInfo21232NotModified with default headers values
func (*THSRAPIDailyTrainInfo21232NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232NotModified) Error() string
type THSRAPIDailyTrainInfo21232OK ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21232OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
}
THSRAPIDailyTrainInfo21232OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTrainInfo21232OK ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232OK() *THSRAPIDailyTrainInfo21232OK
NewTHSRAPIDailyTrainInfo21232OK creates a THSRAPIDailyTrainInfo21232OK with default headers values
func (*THSRAPIDailyTrainInfo21232OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232OK) Error() string
func (*THSRAPIDailyTrainInfo21232OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
type THSRAPIDailyTrainInfo21232Params ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21232Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* TrainDate. 欲查詢車次的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIDailyTrainInfo21232Params contains all the parameters to send to the API endpoint
for the t h s r Api daily train info 2123 2 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTrainInfo21232Params ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232Params() *THSRAPIDailyTrainInfo21232Params
NewTHSRAPIDailyTrainInfo21232Params creates a new THSRAPIDailyTrainInfo21232Params 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 NewTHSRAPIDailyTrainInfo21232ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo21232Params
NewTHSRAPIDailyTrainInfo21232ParamsWithContext creates a new THSRAPIDailyTrainInfo21232Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTrainInfo21232ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21232Params
NewTHSRAPIDailyTrainInfo21232ParamsWithHTTPClient creates a new THSRAPIDailyTrainInfo21232Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTrainInfo21232ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21232Params
NewTHSRAPIDailyTrainInfo21232ParamsWithTimeout creates a new THSRAPIDailyTrainInfo21232Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTrainInfo21232Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily train info 2123 2 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo21232Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo21232Params
WithContext adds the context to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDefaults() *THSRAPIDailyTrainInfo21232Params
WithDefaults hydrates default values in the t h s r Api daily train info 2123 2 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo21232Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo21232Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo21232Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo21232Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo21232Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo21232Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo21232Params
WithDollarTop adds the dollarTop to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21232Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithHealth(health *string) *THSRAPIDailyTrainInfo21232Params
WithHealth adds the health to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21232Params
WithTimeout adds the timeout to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTrainInfo21232Params
WithTrainDate adds the trainDate to the t h s r Api daily train info 2123 2 params
func (*THSRAPIDailyTrainInfo21232Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTrainInfo21232Reader ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21232Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTrainInfo21232Reader is a Reader for the THSRAPIDailyTrainInfo21232 structure.
func (*THSRAPIDailyTrainInfo21232Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTrainInfo21232Status299 ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21232Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTrainInfo21232Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTrainInfo21232Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21232Status299() *THSRAPIDailyTrainInfo21232Status299
NewTHSRAPIDailyTrainInfo21232Status299 creates a THSRAPIDailyTrainInfo21232Status299 with default headers values
func (*THSRAPIDailyTrainInfo21232Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Status299) Error() string
func (*THSRAPIDailyTrainInfo21232Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21232Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTrainInfo21233NotModified ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21233NotModified struct { }
THSRAPIDailyTrainInfo21233NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTrainInfo21233NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233NotModified() *THSRAPIDailyTrainInfo21233NotModified
NewTHSRAPIDailyTrainInfo21233NotModified creates a THSRAPIDailyTrainInfo21233NotModified with default headers values
func (*THSRAPIDailyTrainInfo21233NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233NotModified) Error() string
type THSRAPIDailyTrainInfo21233OK ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21233OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
}
THSRAPIDailyTrainInfo21233OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTrainInfo21233OK ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233OK() *THSRAPIDailyTrainInfo21233OK
NewTHSRAPIDailyTrainInfo21233OK creates a THSRAPIDailyTrainInfo21233OK with default headers values
func (*THSRAPIDailyTrainInfo21233OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233OK) Error() string
func (*THSRAPIDailyTrainInfo21233OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
type THSRAPIDailyTrainInfo21233Params ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21233Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* TrainDate. 欲查詢車次的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* TrainNo. 欲查詢車次的代碼 */ TrainNo string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIDailyTrainInfo21233Params contains all the parameters to send to the API endpoint
for the t h s r Api daily train info 2123 3 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTrainInfo21233Params ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233Params() *THSRAPIDailyTrainInfo21233Params
NewTHSRAPIDailyTrainInfo21233Params creates a new THSRAPIDailyTrainInfo21233Params 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 NewTHSRAPIDailyTrainInfo21233ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo21233Params
NewTHSRAPIDailyTrainInfo21233ParamsWithContext creates a new THSRAPIDailyTrainInfo21233Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTrainInfo21233ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21233Params
NewTHSRAPIDailyTrainInfo21233ParamsWithHTTPClient creates a new THSRAPIDailyTrainInfo21233Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTrainInfo21233ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21233Params
NewTHSRAPIDailyTrainInfo21233ParamsWithTimeout creates a new THSRAPIDailyTrainInfo21233Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTrainInfo21233Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily train info 2123 3 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo21233Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) SetTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) SetTrainNo(trainNo string)
SetTrainNo adds the trainNo to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo21233Params
WithContext adds the context to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDefaults() *THSRAPIDailyTrainInfo21233Params
WithDefaults hydrates default values in the t h s r Api daily train info 2123 3 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo21233Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo21233Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo21233Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo21233Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo21233Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo21233Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo21233Params
WithDollarTop adds the dollarTop to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo21233Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithHealth(health *string) *THSRAPIDailyTrainInfo21233Params
WithHealth adds the health to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo21233Params
WithTimeout adds the timeout to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIDailyTrainInfo21233Params
WithTrainDate adds the trainDate to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WithTrainNo ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WithTrainNo(trainNo string) *THSRAPIDailyTrainInfo21233Params
WithTrainNo adds the trainNo to the t h s r Api daily train info 2123 3 params
func (*THSRAPIDailyTrainInfo21233Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTrainInfo21233Reader ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21233Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTrainInfo21233Reader is a Reader for the THSRAPIDailyTrainInfo21233 structure.
func (*THSRAPIDailyTrainInfo21233Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTrainInfo21233Status299 ¶ added in v0.15.0
type THSRAPIDailyTrainInfo21233Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTrainInfo21233Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTrainInfo21233Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo21233Status299() *THSRAPIDailyTrainInfo21233Status299
NewTHSRAPIDailyTrainInfo21233Status299 creates a THSRAPIDailyTrainInfo21233Status299 with default headers values
func (*THSRAPIDailyTrainInfo21233Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Status299) Error() string
func (*THSRAPIDailyTrainInfo21233Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo21233Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIDailyTrainInfo2123NotModified ¶ added in v0.15.0
type THSRAPIDailyTrainInfo2123NotModified struct { }
THSRAPIDailyTrainInfo2123NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIDailyTrainInfo2123NotModified ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123NotModified() *THSRAPIDailyTrainInfo2123NotModified
NewTHSRAPIDailyTrainInfo2123NotModified creates a THSRAPIDailyTrainInfo2123NotModified with default headers values
func (*THSRAPIDailyTrainInfo2123NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123NotModified) Error() string
type THSRAPIDailyTrainInfo2123OK ¶ added in v0.15.0
type THSRAPIDailyTrainInfo2123OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
}
THSRAPIDailyTrainInfo2123OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIDailyTrainInfo2123OK ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123OK() *THSRAPIDailyTrainInfo2123OK
NewTHSRAPIDailyTrainInfo2123OK creates a THSRAPIDailyTrainInfo2123OK with default headers values
func (*THSRAPIDailyTrainInfo2123OK) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123OK) Error() string
func (*THSRAPIDailyTrainInfo2123OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailDailyTrainInfo
type THSRAPIDailyTrainInfo2123Params ¶ added in v0.15.0
type THSRAPIDailyTrainInfo2123Params struct { /* 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 }
THSRAPIDailyTrainInfo2123Params contains all the parameters to send to the API endpoint
for the t h s r Api daily train info 2123 operation. Typically these are written to a http.Request.
func NewTHSRAPIDailyTrainInfo2123Params ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123Params() *THSRAPIDailyTrainInfo2123Params
NewTHSRAPIDailyTrainInfo2123Params creates a new THSRAPIDailyTrainInfo2123Params 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 NewTHSRAPIDailyTrainInfo2123ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123ParamsWithContext(ctx context.Context) *THSRAPIDailyTrainInfo2123Params
NewTHSRAPIDailyTrainInfo2123ParamsWithContext creates a new THSRAPIDailyTrainInfo2123Params object with the ability to set a context for a request.
func NewTHSRAPIDailyTrainInfo2123ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123ParamsWithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo2123Params
NewTHSRAPIDailyTrainInfo2123ParamsWithHTTPClient creates a new THSRAPIDailyTrainInfo2123Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIDailyTrainInfo2123ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123ParamsWithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo2123Params
NewTHSRAPIDailyTrainInfo2123ParamsWithTimeout creates a new THSRAPIDailyTrainInfo2123Params object with the ability to set a timeout on a request.
func (*THSRAPIDailyTrainInfo2123Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api daily train info 2123 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo2123Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithContext(ctx context.Context) *THSRAPIDailyTrainInfo2123Params
WithContext adds the context to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDefaults() *THSRAPIDailyTrainInfo2123Params
WithDefaults hydrates default values in the t h s r Api daily train info 2123 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIDailyTrainInfo2123Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDollarFilter(dollarFilter *string) *THSRAPIDailyTrainInfo2123Params
WithDollarFilter adds the dollarFilter to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDollarFormat(dollarFormat string) *THSRAPIDailyTrainInfo2123Params
WithDollarFormat adds the dollarFormat to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIDailyTrainInfo2123Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDollarSelect(dollarSelect *string) *THSRAPIDailyTrainInfo2123Params
WithDollarSelect adds the dollarSelect to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDollarSkip(dollarSkip *string) *THSRAPIDailyTrainInfo2123Params
WithDollarSkip adds the dollarSkip to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithDollarTop(dollarTop *int64) *THSRAPIDailyTrainInfo2123Params
WithDollarTop adds the dollarTop to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithHTTPClient(client *http.Client) *THSRAPIDailyTrainInfo2123Params
WithHTTPClient adds the HTTPClient to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithHealth(health *string) *THSRAPIDailyTrainInfo2123Params
WithHealth adds the health to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WithTimeout(timeout time.Duration) *THSRAPIDailyTrainInfo2123Params
WithTimeout adds the timeout to the t h s r Api daily train info 2123 params
func (*THSRAPIDailyTrainInfo2123Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIDailyTrainInfo2123Reader ¶ added in v0.15.0
type THSRAPIDailyTrainInfo2123Reader struct {
// contains filtered or unexported fields
}
THSRAPIDailyTrainInfo2123Reader is a Reader for the THSRAPIDailyTrainInfo2123 structure.
func (*THSRAPIDailyTrainInfo2123Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIDailyTrainInfo2123Status299 ¶ added in v0.15.0
type THSRAPIDailyTrainInfo2123Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIDailyTrainInfo2123Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIDailyTrainInfo2123Status299 ¶ added in v0.15.0
func NewTHSRAPIDailyTrainInfo2123Status299() *THSRAPIDailyTrainInfo2123Status299
NewTHSRAPIDailyTrainInfo2123Status299 creates a THSRAPIDailyTrainInfo2123Status299 with default headers values
func (*THSRAPIDailyTrainInfo2123Status299) Error ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Status299) Error() string
func (*THSRAPIDailyTrainInfo2123Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIDailyTrainInfo2123Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIGeneralTimetable21221NotModified ¶ added in v0.15.0
type THSRAPIGeneralTimetable21221NotModified struct { }
THSRAPIGeneralTimetable21221NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIGeneralTimetable21221NotModified ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221NotModified() *THSRAPIGeneralTimetable21221NotModified
NewTHSRAPIGeneralTimetable21221NotModified creates a THSRAPIGeneralTimetable21221NotModified with default headers values
func (*THSRAPIGeneralTimetable21221NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221NotModified) Error() string
type THSRAPIGeneralTimetable21221OK ¶ added in v0.15.0
type THSRAPIGeneralTimetable21221OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable
}
THSRAPIGeneralTimetable21221OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIGeneralTimetable21221OK ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221OK() *THSRAPIGeneralTimetable21221OK
NewTHSRAPIGeneralTimetable21221OK creates a THSRAPIGeneralTimetable21221OK with default headers values
func (*THSRAPIGeneralTimetable21221OK) Error ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221OK) Error() string
func (*THSRAPIGeneralTimetable21221OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable
type THSRAPIGeneralTimetable21221Params ¶ added in v0.15.0
type THSRAPIGeneralTimetable21221Params struct { /* 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 }
THSRAPIGeneralTimetable21221Params contains all the parameters to send to the API endpoint
for the t h s r Api general timetable 2122 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIGeneralTimetable21221Params ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221Params() *THSRAPIGeneralTimetable21221Params
NewTHSRAPIGeneralTimetable21221Params creates a new THSRAPIGeneralTimetable21221Params 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 NewTHSRAPIGeneralTimetable21221ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221ParamsWithContext(ctx context.Context) *THSRAPIGeneralTimetable21221Params
NewTHSRAPIGeneralTimetable21221ParamsWithContext creates a new THSRAPIGeneralTimetable21221Params object with the ability to set a context for a request.
func NewTHSRAPIGeneralTimetable21221ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221ParamsWithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable21221Params
NewTHSRAPIGeneralTimetable21221ParamsWithHTTPClient creates a new THSRAPIGeneralTimetable21221Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIGeneralTimetable21221ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221ParamsWithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable21221Params
NewTHSRAPIGeneralTimetable21221ParamsWithTimeout creates a new THSRAPIGeneralTimetable21221Params object with the ability to set a timeout on a request.
func (*THSRAPIGeneralTimetable21221Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api general timetable 2122 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIGeneralTimetable21221Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) SetTrainNo ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) SetTrainNo(trainNo string)
SetTrainNo adds the trainNo to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithContext(ctx context.Context) *THSRAPIGeneralTimetable21221Params
WithContext adds the context to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDefaults() *THSRAPIGeneralTimetable21221Params
WithDefaults hydrates default values in the t h s r Api general timetable 2122 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIGeneralTimetable21221Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDollarFilter(dollarFilter *string) *THSRAPIGeneralTimetable21221Params
WithDollarFilter adds the dollarFilter to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDollarFormat(dollarFormat string) *THSRAPIGeneralTimetable21221Params
WithDollarFormat adds the dollarFormat to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIGeneralTimetable21221Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDollarSelect(dollarSelect *string) *THSRAPIGeneralTimetable21221Params
WithDollarSelect adds the dollarSelect to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDollarSkip(dollarSkip *string) *THSRAPIGeneralTimetable21221Params
WithDollarSkip adds the dollarSkip to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithDollarTop(dollarTop *int64) *THSRAPIGeneralTimetable21221Params
WithDollarTop adds the dollarTop to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable21221Params
WithHTTPClient adds the HTTPClient to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithHealth(health *string) *THSRAPIGeneralTimetable21221Params
WithHealth adds the health to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable21221Params
WithTimeout adds the timeout to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WithTrainNo ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WithTrainNo(trainNo string) *THSRAPIGeneralTimetable21221Params
WithTrainNo adds the trainNo to the t h s r Api general timetable 2122 1 params
func (*THSRAPIGeneralTimetable21221Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIGeneralTimetable21221Reader ¶ added in v0.15.0
type THSRAPIGeneralTimetable21221Reader struct {
// contains filtered or unexported fields
}
THSRAPIGeneralTimetable21221Reader is a Reader for the THSRAPIGeneralTimetable21221 structure.
func (*THSRAPIGeneralTimetable21221Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIGeneralTimetable21221Status299 ¶ added in v0.15.0
type THSRAPIGeneralTimetable21221Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIGeneralTimetable21221Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIGeneralTimetable21221Status299 ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable21221Status299() *THSRAPIGeneralTimetable21221Status299
NewTHSRAPIGeneralTimetable21221Status299 creates a THSRAPIGeneralTimetable21221Status299 with default headers values
func (*THSRAPIGeneralTimetable21221Status299) Error ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Status299) Error() string
func (*THSRAPIGeneralTimetable21221Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable21221Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIGeneralTimetable2122NotModified ¶ added in v0.15.0
type THSRAPIGeneralTimetable2122NotModified struct { }
THSRAPIGeneralTimetable2122NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIGeneralTimetable2122NotModified ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122NotModified() *THSRAPIGeneralTimetable2122NotModified
NewTHSRAPIGeneralTimetable2122NotModified creates a THSRAPIGeneralTimetable2122NotModified with default headers values
func (*THSRAPIGeneralTimetable2122NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122NotModified) Error() string
type THSRAPIGeneralTimetable2122OK ¶ added in v0.15.0
type THSRAPIGeneralTimetable2122OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable
}
THSRAPIGeneralTimetable2122OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIGeneralTimetable2122OK ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122OK() *THSRAPIGeneralTimetable2122OK
NewTHSRAPIGeneralTimetable2122OK creates a THSRAPIGeneralTimetable2122OK with default headers values
func (*THSRAPIGeneralTimetable2122OK) Error ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122OK) Error() string
func (*THSRAPIGeneralTimetable2122OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailGeneralTimetable
type THSRAPIGeneralTimetable2122Params ¶ added in v0.15.0
type THSRAPIGeneralTimetable2122Params struct { /* 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 }
THSRAPIGeneralTimetable2122Params contains all the parameters to send to the API endpoint
for the t h s r Api general timetable 2122 operation. Typically these are written to a http.Request.
func NewTHSRAPIGeneralTimetable2122Params ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122Params() *THSRAPIGeneralTimetable2122Params
NewTHSRAPIGeneralTimetable2122Params creates a new THSRAPIGeneralTimetable2122Params 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 NewTHSRAPIGeneralTimetable2122ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122ParamsWithContext(ctx context.Context) *THSRAPIGeneralTimetable2122Params
NewTHSRAPIGeneralTimetable2122ParamsWithContext creates a new THSRAPIGeneralTimetable2122Params object with the ability to set a context for a request.
func NewTHSRAPIGeneralTimetable2122ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122ParamsWithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable2122Params
NewTHSRAPIGeneralTimetable2122ParamsWithHTTPClient creates a new THSRAPIGeneralTimetable2122Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIGeneralTimetable2122ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122ParamsWithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable2122Params
NewTHSRAPIGeneralTimetable2122ParamsWithTimeout creates a new THSRAPIGeneralTimetable2122Params object with the ability to set a timeout on a request.
func (*THSRAPIGeneralTimetable2122Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api general timetable 2122 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIGeneralTimetable2122Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithContext(ctx context.Context) *THSRAPIGeneralTimetable2122Params
WithContext adds the context to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDefaults() *THSRAPIGeneralTimetable2122Params
WithDefaults hydrates default values in the t h s r Api general timetable 2122 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIGeneralTimetable2122Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDollarFilter(dollarFilter *string) *THSRAPIGeneralTimetable2122Params
WithDollarFilter adds the dollarFilter to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDollarFormat(dollarFormat string) *THSRAPIGeneralTimetable2122Params
WithDollarFormat adds the dollarFormat to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIGeneralTimetable2122Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDollarSelect(dollarSelect *string) *THSRAPIGeneralTimetable2122Params
WithDollarSelect adds the dollarSelect to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDollarSkip(dollarSkip *string) *THSRAPIGeneralTimetable2122Params
WithDollarSkip adds the dollarSkip to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithDollarTop(dollarTop *int64) *THSRAPIGeneralTimetable2122Params
WithDollarTop adds the dollarTop to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithHTTPClient(client *http.Client) *THSRAPIGeneralTimetable2122Params
WithHTTPClient adds the HTTPClient to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithHealth(health *string) *THSRAPIGeneralTimetable2122Params
WithHealth adds the health to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WithTimeout(timeout time.Duration) *THSRAPIGeneralTimetable2122Params
WithTimeout adds the timeout to the t h s r Api general timetable 2122 params
func (*THSRAPIGeneralTimetable2122Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIGeneralTimetable2122Reader ¶ added in v0.15.0
type THSRAPIGeneralTimetable2122Reader struct {
// contains filtered or unexported fields
}
THSRAPIGeneralTimetable2122Reader is a Reader for the THSRAPIGeneralTimetable2122 structure.
func (*THSRAPIGeneralTimetable2122Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIGeneralTimetable2122Status299 ¶ added in v0.15.0
type THSRAPIGeneralTimetable2122Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIGeneralTimetable2122Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIGeneralTimetable2122Status299 ¶ added in v0.15.0
func NewTHSRAPIGeneralTimetable2122Status299() *THSRAPIGeneralTimetable2122Status299
NewTHSRAPIGeneralTimetable2122Status299 creates a THSRAPIGeneralTimetable2122Status299 with default headers values
func (*THSRAPIGeneralTimetable2122Status299) Error ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Status299) Error() string
func (*THSRAPIGeneralTimetable2122Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIGeneralTimetable2122Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPINews2128NotModified ¶ added in v0.15.0
type THSRAPINews2128NotModified struct { }
THSRAPINews2128NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPINews2128NotModified ¶ added in v0.15.0
func NewTHSRAPINews2128NotModified() *THSRAPINews2128NotModified
NewTHSRAPINews2128NotModified creates a THSRAPINews2128NotModified with default headers values
func (*THSRAPINews2128NotModified) Error ¶ added in v0.15.0
func (o *THSRAPINews2128NotModified) Error() string
type THSRAPINews2128OK ¶ added in v0.15.0
type THSRAPINews2128OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRNews
}
THSRAPINews2128OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPINews2128OK ¶ added in v0.15.0
func NewTHSRAPINews2128OK() *THSRAPINews2128OK
NewTHSRAPINews2128OK creates a THSRAPINews2128OK with default headers values
func (*THSRAPINews2128OK) Error ¶ added in v0.15.0
func (o *THSRAPINews2128OK) Error() string
func (*THSRAPINews2128OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPINews2128OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRNews
type THSRAPINews2128Params ¶ added in v0.15.0
type THSRAPINews2128Params struct { /* 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 }
THSRAPINews2128Params contains all the parameters to send to the API endpoint
for the t h s r Api news 2128 operation. Typically these are written to a http.Request.
func NewTHSRAPINews2128Params ¶ added in v0.15.0
func NewTHSRAPINews2128Params() *THSRAPINews2128Params
NewTHSRAPINews2128Params creates a new THSRAPINews2128Params 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 NewTHSRAPINews2128ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPINews2128ParamsWithContext(ctx context.Context) *THSRAPINews2128Params
NewTHSRAPINews2128ParamsWithContext creates a new THSRAPINews2128Params object with the ability to set a context for a request.
func NewTHSRAPINews2128ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPINews2128ParamsWithHTTPClient(client *http.Client) *THSRAPINews2128Params
NewTHSRAPINews2128ParamsWithHTTPClient creates a new THSRAPINews2128Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPINews2128ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPINews2128ParamsWithTimeout(timeout time.Duration) *THSRAPINews2128Params
NewTHSRAPINews2128ParamsWithTimeout creates a new THSRAPINews2128Params object with the ability to set a timeout on a request.
func (*THSRAPINews2128Params) SetContext ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api news 2128 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPINews2128Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPINews2128Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithContext ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithContext(ctx context.Context) *THSRAPINews2128Params
WithContext adds the context to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDefaults() *THSRAPINews2128Params
WithDefaults hydrates default values in the t h s r Api news 2128 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPINews2128Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDollarFilter(dollarFilter *string) *THSRAPINews2128Params
WithDollarFilter adds the dollarFilter to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDollarFormat(dollarFormat string) *THSRAPINews2128Params
WithDollarFormat adds the dollarFormat to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDollarOrderby(dollarOrderby *string) *THSRAPINews2128Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDollarSelect(dollarSelect *string) *THSRAPINews2128Params
WithDollarSelect adds the dollarSelect to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDollarSkip(dollarSkip *string) *THSRAPINews2128Params
WithDollarSkip adds the dollarSkip to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithDollarTop(dollarTop *int64) *THSRAPINews2128Params
WithDollarTop adds the dollarTop to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithHTTPClient(client *http.Client) *THSRAPINews2128Params
WithHTTPClient adds the HTTPClient to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithHealth(health *string) *THSRAPINews2128Params
WithHealth adds the health to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WithTimeout(timeout time.Duration) *THSRAPINews2128Params
WithTimeout adds the timeout to the t h s r Api news 2128 params
func (*THSRAPINews2128Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPINews2128Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPINews2128Reader ¶ added in v0.15.0
type THSRAPINews2128Reader struct {
// contains filtered or unexported fields
}
THSRAPINews2128Reader is a Reader for the THSRAPINews2128 structure.
func (*THSRAPINews2128Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPINews2128Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPINews2128Status299 ¶ added in v0.15.0
type THSRAPINews2128Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPINews2128Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPINews2128Status299 ¶ added in v0.15.0
func NewTHSRAPINews2128Status299() *THSRAPINews2128Status299
NewTHSRAPINews2128Status299 creates a THSRAPINews2128Status299 with default headers values
func (*THSRAPINews2128Status299) Error ¶ added in v0.15.0
func (o *THSRAPINews2128Status299) Error() string
func (*THSRAPINews2128Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPINews2128Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIODDailyTimetable2126NotModified ¶ added in v0.15.0
type THSRAPIODDailyTimetable2126NotModified struct { }
THSRAPIODDailyTimetable2126NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIODDailyTimetable2126NotModified ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126NotModified() *THSRAPIODDailyTimetable2126NotModified
NewTHSRAPIODDailyTimetable2126NotModified creates a THSRAPIODDailyTimetable2126NotModified with default headers values
func (*THSRAPIODDailyTimetable2126NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126NotModified) Error() string
type THSRAPIODDailyTimetable2126OK ¶ added in v0.15.0
type THSRAPIODDailyTimetable2126OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable
}
THSRAPIODDailyTimetable2126OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIODDailyTimetable2126OK ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126OK() *THSRAPIODDailyTimetable2126OK
NewTHSRAPIODDailyTimetable2126OK creates a THSRAPIODDailyTimetable2126OK with default headers values
func (*THSRAPIODDailyTimetable2126OK) Error ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126OK) Error() string
func (*THSRAPIODDailyTimetable2126OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailODDailyTimetable
type THSRAPIODDailyTimetable2126Params ¶ added in v0.15.0
type THSRAPIODDailyTimetable2126Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* DestinationStationID. 迄點車站代碼 */ DestinationStationID string /* OriginStationID. 起點車站代碼 */ OriginStationID string /* TrainDate. 欲查詢的日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIODDailyTimetable2126Params contains all the parameters to send to the API endpoint
for the t h s r Api o d daily timetable 2126 operation. Typically these are written to a http.Request.
func NewTHSRAPIODDailyTimetable2126Params ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126Params() *THSRAPIODDailyTimetable2126Params
NewTHSRAPIODDailyTimetable2126Params creates a new THSRAPIODDailyTimetable2126Params 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 NewTHSRAPIODDailyTimetable2126ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126ParamsWithContext(ctx context.Context) *THSRAPIODDailyTimetable2126Params
NewTHSRAPIODDailyTimetable2126ParamsWithContext creates a new THSRAPIODDailyTimetable2126Params object with the ability to set a context for a request.
func NewTHSRAPIODDailyTimetable2126ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126ParamsWithHTTPClient(client *http.Client) *THSRAPIODDailyTimetable2126Params
NewTHSRAPIODDailyTimetable2126ParamsWithHTTPClient creates a new THSRAPIODDailyTimetable2126Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIODDailyTimetable2126ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126ParamsWithTimeout(timeout time.Duration) *THSRAPIODDailyTimetable2126Params
NewTHSRAPIODDailyTimetable2126ParamsWithTimeout creates a new THSRAPIODDailyTimetable2126Params object with the ability to set a timeout on a request.
func (*THSRAPIODDailyTimetable2126Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api o d daily timetable 2126 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIODDailyTimetable2126Params) SetDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDestinationStationID(destinationStationID string)
SetDestinationStationID adds the destinationStationId to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetOriginStationID ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetOriginStationID(originStationID string)
SetOriginStationID adds the originStationId to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithContext(ctx context.Context) *THSRAPIODDailyTimetable2126Params
WithContext adds the context to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDefaults() *THSRAPIODDailyTimetable2126Params
WithDefaults hydrates default values in the t h s r Api o d daily timetable 2126 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIODDailyTimetable2126Params) WithDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDestinationStationID(destinationStationID string) *THSRAPIODDailyTimetable2126Params
WithDestinationStationID adds the destinationStationID to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDollarFilter(dollarFilter *string) *THSRAPIODDailyTimetable2126Params
WithDollarFilter adds the dollarFilter to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDollarFormat(dollarFormat string) *THSRAPIODDailyTimetable2126Params
WithDollarFormat adds the dollarFormat to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIODDailyTimetable2126Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDollarSelect(dollarSelect *string) *THSRAPIODDailyTimetable2126Params
WithDollarSelect adds the dollarSelect to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDollarSkip(dollarSkip *string) *THSRAPIODDailyTimetable2126Params
WithDollarSkip adds the dollarSkip to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithDollarTop(dollarTop *int64) *THSRAPIODDailyTimetable2126Params
WithDollarTop adds the dollarTop to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithHTTPClient(client *http.Client) *THSRAPIODDailyTimetable2126Params
WithHTTPClient adds the HTTPClient to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithHealth(health *string) *THSRAPIODDailyTimetable2126Params
WithHealth adds the health to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithOriginStationID ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithOriginStationID(originStationID string) *THSRAPIODDailyTimetable2126Params
WithOriginStationID adds the originStationID to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithTimeout(timeout time.Duration) *THSRAPIODDailyTimetable2126Params
WithTimeout adds the timeout to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIODDailyTimetable2126Params
WithTrainDate adds the trainDate to the t h s r Api o d daily timetable 2126 params
func (*THSRAPIODDailyTimetable2126Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIODDailyTimetable2126Reader ¶ added in v0.15.0
type THSRAPIODDailyTimetable2126Reader struct {
// contains filtered or unexported fields
}
THSRAPIODDailyTimetable2126Reader is a Reader for the THSRAPIODDailyTimetable2126 structure.
func (*THSRAPIODDailyTimetable2126Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIODDailyTimetable2126Status299 ¶ added in v0.15.0
type THSRAPIODDailyTimetable2126Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIODDailyTimetable2126Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIODDailyTimetable2126Status299 ¶ added in v0.15.0
func NewTHSRAPIODDailyTimetable2126Status299() *THSRAPIODDailyTimetable2126Status299
NewTHSRAPIODDailyTimetable2126Status299 creates a THSRAPIODDailyTimetable2126Status299 with default headers values
func (*THSRAPIODDailyTimetable2126Status299) Error ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Status299) Error() string
func (*THSRAPIODDailyTimetable2126Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIODDailyTimetable2126Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIODFare21211NotModified ¶ added in v0.15.0
type THSRAPIODFare21211NotModified struct { }
THSRAPIODFare21211NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIODFare21211NotModified ¶ added in v0.15.0
func NewTHSRAPIODFare21211NotModified() *THSRAPIODFare21211NotModified
NewTHSRAPIODFare21211NotModified creates a THSRAPIODFare21211NotModified with default headers values
func (*THSRAPIODFare21211NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIODFare21211NotModified) Error() string
type THSRAPIODFare21211OK ¶ added in v0.15.0
type THSRAPIODFare21211OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailODFare
}
THSRAPIODFare21211OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIODFare21211OK ¶ added in v0.15.0
func NewTHSRAPIODFare21211OK() *THSRAPIODFare21211OK
NewTHSRAPIODFare21211OK creates a THSRAPIODFare21211OK with default headers values
func (*THSRAPIODFare21211OK) Error ¶ added in v0.15.0
func (o *THSRAPIODFare21211OK) Error() string
func (*THSRAPIODFare21211OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIODFare21211OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailODFare
type THSRAPIODFare21211Params ¶ added in v0.15.0
type THSRAPIODFare21211Params struct { /* 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 }
THSRAPIODFare21211Params contains all the parameters to send to the API endpoint
for the t h s r Api o d fare 2121 1 operation. Typically these are written to a http.Request.
func NewTHSRAPIODFare21211Params ¶ added in v0.15.0
func NewTHSRAPIODFare21211Params() *THSRAPIODFare21211Params
NewTHSRAPIODFare21211Params creates a new THSRAPIODFare21211Params 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 NewTHSRAPIODFare21211ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIODFare21211ParamsWithContext(ctx context.Context) *THSRAPIODFare21211Params
NewTHSRAPIODFare21211ParamsWithContext creates a new THSRAPIODFare21211Params object with the ability to set a context for a request.
func NewTHSRAPIODFare21211ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIODFare21211ParamsWithHTTPClient(client *http.Client) *THSRAPIODFare21211Params
NewTHSRAPIODFare21211ParamsWithHTTPClient creates a new THSRAPIODFare21211Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIODFare21211ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIODFare21211ParamsWithTimeout(timeout time.Duration) *THSRAPIODFare21211Params
NewTHSRAPIODFare21211ParamsWithTimeout creates a new THSRAPIODFare21211Params object with the ability to set a timeout on a request.
func (*THSRAPIODFare21211Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api o d fare 2121 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIODFare21211Params) SetDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDestinationStationID(destinationStationID string)
SetDestinationStationID adds the destinationStationId to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetOriginStationID ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetOriginStationID(originStationID string)
SetOriginStationID adds the originStationId to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithContext(ctx context.Context) *THSRAPIODFare21211Params
WithContext adds the context to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDefaults() *THSRAPIODFare21211Params
WithDefaults hydrates default values in the t h s r Api o d fare 2121 1 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIODFare21211Params) WithDestinationStationID ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDestinationStationID(destinationStationID string) *THSRAPIODFare21211Params
WithDestinationStationID adds the destinationStationID to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDollarFilter(dollarFilter *string) *THSRAPIODFare21211Params
WithDollarFilter adds the dollarFilter to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDollarFormat(dollarFormat string) *THSRAPIODFare21211Params
WithDollarFormat adds the dollarFormat to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIODFare21211Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDollarSelect(dollarSelect *string) *THSRAPIODFare21211Params
WithDollarSelect adds the dollarSelect to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDollarSkip(dollarSkip *string) *THSRAPIODFare21211Params
WithDollarSkip adds the dollarSkip to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithDollarTop(dollarTop *int64) *THSRAPIODFare21211Params
WithDollarTop adds the dollarTop to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithHTTPClient(client *http.Client) *THSRAPIODFare21211Params
WithHTTPClient adds the HTTPClient to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithHealth(health *string) *THSRAPIODFare21211Params
WithHealth adds the health to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithOriginStationID ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithOriginStationID(originStationID string) *THSRAPIODFare21211Params
WithOriginStationID adds the originStationID to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WithTimeout(timeout time.Duration) *THSRAPIODFare21211Params
WithTimeout adds the timeout to the t h s r Api o d fare 2121 1 params
func (*THSRAPIODFare21211Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIODFare21211Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIODFare21211Reader ¶ added in v0.15.0
type THSRAPIODFare21211Reader struct {
// contains filtered or unexported fields
}
THSRAPIODFare21211Reader is a Reader for the THSRAPIODFare21211 structure.
func (*THSRAPIODFare21211Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIODFare21211Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIODFare21211Status299 ¶ added in v0.15.0
type THSRAPIODFare21211Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIODFare21211Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIODFare21211Status299 ¶ added in v0.15.0
func NewTHSRAPIODFare21211Status299() *THSRAPIODFare21211Status299
NewTHSRAPIODFare21211Status299 creates a THSRAPIODFare21211Status299 with default headers values
func (*THSRAPIODFare21211Status299) Error ¶ added in v0.15.0
func (o *THSRAPIODFare21211Status299) Error() string
func (*THSRAPIODFare21211Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIODFare21211Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIODFare2121NotModified ¶ added in v0.15.0
type THSRAPIODFare2121NotModified struct { }
THSRAPIODFare2121NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIODFare2121NotModified ¶ added in v0.15.0
func NewTHSRAPIODFare2121NotModified() *THSRAPIODFare2121NotModified
NewTHSRAPIODFare2121NotModified creates a THSRAPIODFare2121NotModified with default headers values
func (*THSRAPIODFare2121NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIODFare2121NotModified) Error() string
type THSRAPIODFare2121OK ¶ added in v0.15.0
type THSRAPIODFare2121OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailODFare
}
THSRAPIODFare2121OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIODFare2121OK ¶ added in v0.15.0
func NewTHSRAPIODFare2121OK() *THSRAPIODFare2121OK
NewTHSRAPIODFare2121OK creates a THSRAPIODFare2121OK with default headers values
func (*THSRAPIODFare2121OK) Error ¶ added in v0.15.0
func (o *THSRAPIODFare2121OK) Error() string
func (*THSRAPIODFare2121OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIODFare2121OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailODFare
type THSRAPIODFare2121Params ¶ added in v0.15.0
type THSRAPIODFare2121Params struct { /* 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 }
THSRAPIODFare2121Params contains all the parameters to send to the API endpoint
for the t h s r Api o d fare 2121 operation. Typically these are written to a http.Request.
func NewTHSRAPIODFare2121Params ¶ added in v0.15.0
func NewTHSRAPIODFare2121Params() *THSRAPIODFare2121Params
NewTHSRAPIODFare2121Params creates a new THSRAPIODFare2121Params 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 NewTHSRAPIODFare2121ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIODFare2121ParamsWithContext(ctx context.Context) *THSRAPIODFare2121Params
NewTHSRAPIODFare2121ParamsWithContext creates a new THSRAPIODFare2121Params object with the ability to set a context for a request.
func NewTHSRAPIODFare2121ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIODFare2121ParamsWithHTTPClient(client *http.Client) *THSRAPIODFare2121Params
NewTHSRAPIODFare2121ParamsWithHTTPClient creates a new THSRAPIODFare2121Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIODFare2121ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIODFare2121ParamsWithTimeout(timeout time.Duration) *THSRAPIODFare2121Params
NewTHSRAPIODFare2121ParamsWithTimeout creates a new THSRAPIODFare2121Params object with the ability to set a timeout on a request.
func (*THSRAPIODFare2121Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api o d fare 2121 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIODFare2121Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithContext(ctx context.Context) *THSRAPIODFare2121Params
WithContext adds the context to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDefaults() *THSRAPIODFare2121Params
WithDefaults hydrates default values in the t h s r Api o d fare 2121 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIODFare2121Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDollarFilter(dollarFilter *string) *THSRAPIODFare2121Params
WithDollarFilter adds the dollarFilter to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDollarFormat(dollarFormat string) *THSRAPIODFare2121Params
WithDollarFormat adds the dollarFormat to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIODFare2121Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDollarSelect(dollarSelect *string) *THSRAPIODFare2121Params
WithDollarSelect adds the dollarSelect to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDollarSkip(dollarSkip *string) *THSRAPIODFare2121Params
WithDollarSkip adds the dollarSkip to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithDollarTop(dollarTop *int64) *THSRAPIODFare2121Params
WithDollarTop adds the dollarTop to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithHTTPClient(client *http.Client) *THSRAPIODFare2121Params
WithHTTPClient adds the HTTPClient to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithHealth(health *string) *THSRAPIODFare2121Params
WithHealth adds the health to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WithTimeout(timeout time.Duration) *THSRAPIODFare2121Params
WithTimeout adds the timeout to the t h s r Api o d fare 2121 params
func (*THSRAPIODFare2121Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIODFare2121Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIODFare2121Reader ¶ added in v0.15.0
type THSRAPIODFare2121Reader struct {
// contains filtered or unexported fields
}
THSRAPIODFare2121Reader is a Reader for the THSRAPIODFare2121 structure.
func (*THSRAPIODFare2121Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIODFare2121Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIODFare2121Status299 ¶ added in v0.15.0
type THSRAPIODFare2121Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIODFare2121Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIODFare2121Status299 ¶ added in v0.15.0
func NewTHSRAPIODFare2121Status299() *THSRAPIODFare2121Status299
NewTHSRAPIODFare2121Status299 creates a THSRAPIODFare2121Status299 with default headers values
func (*THSRAPIODFare2121Status299) Error ¶ added in v0.15.0
func (o *THSRAPIODFare2121Status299) Error() string
func (*THSRAPIODFare2121Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIODFare2121Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIShape2129NotModified ¶ added in v0.15.0
type THSRAPIShape2129NotModified struct { }
THSRAPIShape2129NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIShape2129NotModified ¶ added in v0.15.0
func NewTHSRAPIShape2129NotModified() *THSRAPIShape2129NotModified
NewTHSRAPIShape2129NotModified creates a THSRAPIShape2129NotModified with default headers values
func (*THSRAPIShape2129NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIShape2129NotModified) Error() string
type THSRAPIShape2129OK ¶ added in v0.15.0
type THSRAPIShape2129OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRTHSRShape
}
THSRAPIShape2129OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIShape2129OK ¶ added in v0.15.0
func NewTHSRAPIShape2129OK() *THSRAPIShape2129OK
NewTHSRAPIShape2129OK creates a THSRAPIShape2129OK with default headers values
func (*THSRAPIShape2129OK) Error ¶ added in v0.15.0
func (o *THSRAPIShape2129OK) Error() string
func (*THSRAPIShape2129OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIShape2129OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRTHSRShape
type THSRAPIShape2129Params ¶ added in v0.15.0
type THSRAPIShape2129Params struct { /* 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 }
THSRAPIShape2129Params contains all the parameters to send to the API endpoint
for the t h s r Api shape 2129 operation. Typically these are written to a http.Request.
func NewTHSRAPIShape2129Params ¶ added in v0.15.0
func NewTHSRAPIShape2129Params() *THSRAPIShape2129Params
NewTHSRAPIShape2129Params creates a new THSRAPIShape2129Params 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 NewTHSRAPIShape2129ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIShape2129ParamsWithContext(ctx context.Context) *THSRAPIShape2129Params
NewTHSRAPIShape2129ParamsWithContext creates a new THSRAPIShape2129Params object with the ability to set a context for a request.
func NewTHSRAPIShape2129ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIShape2129ParamsWithHTTPClient(client *http.Client) *THSRAPIShape2129Params
NewTHSRAPIShape2129ParamsWithHTTPClient creates a new THSRAPIShape2129Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIShape2129ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIShape2129ParamsWithTimeout(timeout time.Duration) *THSRAPIShape2129Params
NewTHSRAPIShape2129ParamsWithTimeout creates a new THSRAPIShape2129Params object with the ability to set a timeout on a request.
func (*THSRAPIShape2129Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api shape 2129 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIShape2129Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithContext(ctx context.Context) *THSRAPIShape2129Params
WithContext adds the context to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDefaults() *THSRAPIShape2129Params
WithDefaults hydrates default values in the t h s r Api shape 2129 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIShape2129Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDollarFilter(dollarFilter *string) *THSRAPIShape2129Params
WithDollarFilter adds the dollarFilter to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDollarFormat(dollarFormat string) *THSRAPIShape2129Params
WithDollarFormat adds the dollarFormat to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIShape2129Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDollarSelect(dollarSelect *string) *THSRAPIShape2129Params
WithDollarSelect adds the dollarSelect to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDollarSkip(dollarSkip *string) *THSRAPIShape2129Params
WithDollarSkip adds the dollarSkip to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithDollarTop(dollarTop *int64) *THSRAPIShape2129Params
WithDollarTop adds the dollarTop to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithHTTPClient(client *http.Client) *THSRAPIShape2129Params
WithHTTPClient adds the HTTPClient to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithHealth(health *string) *THSRAPIShape2129Params
WithHealth adds the health to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WithTimeout(timeout time.Duration) *THSRAPIShape2129Params
WithTimeout adds the timeout to the t h s r Api shape 2129 params
func (*THSRAPIShape2129Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIShape2129Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIShape2129Reader ¶ added in v0.15.0
type THSRAPIShape2129Reader struct {
// contains filtered or unexported fields
}
THSRAPIShape2129Reader is a Reader for the THSRAPIShape2129 structure.
func (*THSRAPIShape2129Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIShape2129Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIShape2129Status299 ¶ added in v0.15.0
type THSRAPIShape2129Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIShape2129Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIShape2129Status299 ¶ added in v0.15.0
func NewTHSRAPIShape2129Status299() *THSRAPIShape2129Status299
NewTHSRAPIShape2129Status299 creates a THSRAPIShape2129Status299 with default headers values
func (*THSRAPIShape2129Status299) Error ¶ added in v0.15.0
func (o *THSRAPIShape2129Status299) Error() string
func (*THSRAPIShape2129Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIShape2129Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIStation2120NotModified ¶ added in v0.15.0
type THSRAPIStation2120NotModified struct { }
THSRAPIStation2120NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIStation2120NotModified ¶ added in v0.15.0
func NewTHSRAPIStation2120NotModified() *THSRAPIStation2120NotModified
NewTHSRAPIStation2120NotModified creates a THSRAPIStation2120NotModified with default headers values
func (*THSRAPIStation2120NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIStation2120NotModified) Error() string
type THSRAPIStation2120OK ¶ added in v0.15.0
type THSRAPIStation2120OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailStation
}
THSRAPIStation2120OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIStation2120OK ¶ added in v0.15.0
func NewTHSRAPIStation2120OK() *THSRAPIStation2120OK
NewTHSRAPIStation2120OK creates a THSRAPIStation2120OK with default headers values
func (*THSRAPIStation2120OK) Error ¶ added in v0.15.0
func (o *THSRAPIStation2120OK) Error() string
func (*THSRAPIStation2120OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIStation2120OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailStation
type THSRAPIStation2120Params ¶ added in v0.15.0
type THSRAPIStation2120Params struct { /* 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 }
THSRAPIStation2120Params contains all the parameters to send to the API endpoint
for the t h s r Api station 2120 operation. Typically these are written to a http.Request.
func NewTHSRAPIStation2120Params ¶ added in v0.15.0
func NewTHSRAPIStation2120Params() *THSRAPIStation2120Params
NewTHSRAPIStation2120Params creates a new THSRAPIStation2120Params 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 NewTHSRAPIStation2120ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIStation2120ParamsWithContext(ctx context.Context) *THSRAPIStation2120Params
NewTHSRAPIStation2120ParamsWithContext creates a new THSRAPIStation2120Params object with the ability to set a context for a request.
func NewTHSRAPIStation2120ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIStation2120ParamsWithHTTPClient(client *http.Client) *THSRAPIStation2120Params
NewTHSRAPIStation2120ParamsWithHTTPClient creates a new THSRAPIStation2120Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIStation2120ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIStation2120ParamsWithTimeout(timeout time.Duration) *THSRAPIStation2120Params
NewTHSRAPIStation2120ParamsWithTimeout creates a new THSRAPIStation2120Params object with the ability to set a timeout on a request.
func (*THSRAPIStation2120Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api station 2120 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIStation2120Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithContext(ctx context.Context) *THSRAPIStation2120Params
WithContext adds the context to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDefaults() *THSRAPIStation2120Params
WithDefaults hydrates default values in the t h s r Api station 2120 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIStation2120Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDollarFilter(dollarFilter *string) *THSRAPIStation2120Params
WithDollarFilter adds the dollarFilter to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDollarFormat(dollarFormat string) *THSRAPIStation2120Params
WithDollarFormat adds the dollarFormat to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIStation2120Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDollarSelect(dollarSelect *string) *THSRAPIStation2120Params
WithDollarSelect adds the dollarSelect to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDollarSkip(dollarSkip *string) *THSRAPIStation2120Params
WithDollarSkip adds the dollarSkip to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithDollarTop(dollarTop *int64) *THSRAPIStation2120Params
WithDollarTop adds the dollarTop to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithHTTPClient(client *http.Client) *THSRAPIStation2120Params
WithHTTPClient adds the HTTPClient to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithHealth(health *string) *THSRAPIStation2120Params
WithHealth adds the health to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WithTimeout(timeout time.Duration) *THSRAPIStation2120Params
WithTimeout adds the timeout to the t h s r Api station 2120 params
func (*THSRAPIStation2120Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIStation2120Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIStation2120Reader ¶ added in v0.15.0
type THSRAPIStation2120Reader struct {
// contains filtered or unexported fields
}
THSRAPIStation2120Reader is a Reader for the THSRAPIStation2120 structure.
func (*THSRAPIStation2120Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIStation2120Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIStation2120Status299 ¶ added in v0.15.0
type THSRAPIStation2120Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIStation2120Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIStation2120Status299 ¶ added in v0.15.0
func NewTHSRAPIStation2120Status299() *THSRAPIStation2120Status299
NewTHSRAPIStation2120Status299 creates a THSRAPIStation2120Status299 with default headers values
func (*THSRAPIStation2120Status299) Error ¶ added in v0.15.0
func (o *THSRAPIStation2120Status299) Error() string
func (*THSRAPIStation2120Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIStation2120Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIStationExit2132NotModified ¶ added in v0.15.0
type THSRAPIStationExit2132NotModified struct { }
THSRAPIStationExit2132NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIStationExit2132NotModified ¶ added in v0.15.0
func NewTHSRAPIStationExit2132NotModified() *THSRAPIStationExit2132NotModified
NewTHSRAPIStationExit2132NotModified creates a THSRAPIStationExit2132NotModified with default headers values
func (*THSRAPIStationExit2132NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIStationExit2132NotModified) Error() string
type THSRAPIStationExit2132OK ¶ added in v0.15.0
type THSRAPIStationExit2132OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRStationExit
}
THSRAPIStationExit2132OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIStationExit2132OK ¶ added in v0.15.0
func NewTHSRAPIStationExit2132OK() *THSRAPIStationExit2132OK
NewTHSRAPIStationExit2132OK creates a THSRAPIStationExit2132OK with default headers values
func (*THSRAPIStationExit2132OK) Error ¶ added in v0.15.0
func (o *THSRAPIStationExit2132OK) Error() string
func (*THSRAPIStationExit2132OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIStationExit2132OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRStationExit
type THSRAPIStationExit2132Params ¶ added in v0.15.0
type THSRAPIStationExit2132Params struct { /* 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 }
THSRAPIStationExit2132Params contains all the parameters to send to the API endpoint
for the t h s r Api station exit 2132 operation. Typically these are written to a http.Request.
func NewTHSRAPIStationExit2132Params ¶ added in v0.15.0
func NewTHSRAPIStationExit2132Params() *THSRAPIStationExit2132Params
NewTHSRAPIStationExit2132Params creates a new THSRAPIStationExit2132Params 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 NewTHSRAPIStationExit2132ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIStationExit2132ParamsWithContext(ctx context.Context) *THSRAPIStationExit2132Params
NewTHSRAPIStationExit2132ParamsWithContext creates a new THSRAPIStationExit2132Params object with the ability to set a context for a request.
func NewTHSRAPIStationExit2132ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIStationExit2132ParamsWithHTTPClient(client *http.Client) *THSRAPIStationExit2132Params
NewTHSRAPIStationExit2132ParamsWithHTTPClient creates a new THSRAPIStationExit2132Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIStationExit2132ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIStationExit2132ParamsWithTimeout(timeout time.Duration) *THSRAPIStationExit2132Params
NewTHSRAPIStationExit2132ParamsWithTimeout creates a new THSRAPIStationExit2132Params object with the ability to set a timeout on a request.
func (*THSRAPIStationExit2132Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api station exit 2132 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIStationExit2132Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithContext(ctx context.Context) *THSRAPIStationExit2132Params
WithContext adds the context to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDefaults() *THSRAPIStationExit2132Params
WithDefaults hydrates default values in the t h s r Api station exit 2132 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIStationExit2132Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDollarFilter(dollarFilter *string) *THSRAPIStationExit2132Params
WithDollarFilter adds the dollarFilter to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDollarFormat(dollarFormat string) *THSRAPIStationExit2132Params
WithDollarFormat adds the dollarFormat to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIStationExit2132Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDollarSelect(dollarSelect *string) *THSRAPIStationExit2132Params
WithDollarSelect adds the dollarSelect to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDollarSkip(dollarSkip *string) *THSRAPIStationExit2132Params
WithDollarSkip adds the dollarSkip to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithDollarTop(dollarTop *int64) *THSRAPIStationExit2132Params
WithDollarTop adds the dollarTop to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithHTTPClient(client *http.Client) *THSRAPIStationExit2132Params
WithHTTPClient adds the HTTPClient to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithHealth(health *string) *THSRAPIStationExit2132Params
WithHealth adds the health to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WithTimeout(timeout time.Duration) *THSRAPIStationExit2132Params
WithTimeout adds the timeout to the t h s r Api station exit 2132 params
func (*THSRAPIStationExit2132Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIStationExit2132Reader ¶ added in v0.15.0
type THSRAPIStationExit2132Reader struct {
// contains filtered or unexported fields
}
THSRAPIStationExit2132Reader is a Reader for the THSRAPIStationExit2132 structure.
func (*THSRAPIStationExit2132Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIStationExit2132Status299 ¶ added in v0.15.0
type THSRAPIStationExit2132Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIStationExit2132Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIStationExit2132Status299 ¶ added in v0.15.0
func NewTHSRAPIStationExit2132Status299() *THSRAPIStationExit2132Status299
NewTHSRAPIStationExit2132Status299 creates a THSRAPIStationExit2132Status299 with default headers values
func (*THSRAPIStationExit2132Status299) Error ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Status299) Error() string
func (*THSRAPIStationExit2132Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIStationExit2132Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type THSRAPIStationTimetable2125NotModified ¶ added in v0.15.0
type THSRAPIStationTimetable2125NotModified struct { }
THSRAPIStationTimetable2125NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewTHSRAPIStationTimetable2125NotModified ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125NotModified() *THSRAPIStationTimetable2125NotModified
NewTHSRAPIStationTimetable2125NotModified creates a THSRAPIStationTimetable2125NotModified with default headers values
func (*THSRAPIStationTimetable2125NotModified) Error ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125NotModified) Error() string
type THSRAPIStationTimetable2125OK ¶ added in v0.15.0
type THSRAPIStationTimetable2125OK struct {
Payload []*models.PTXServiceDTORailSpecificationV2THSRRailStationTimetable
}
THSRAPIStationTimetable2125OK describes a response with status code 200, with default header values.
Success
func NewTHSRAPIStationTimetable2125OK ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125OK() *THSRAPIStationTimetable2125OK
NewTHSRAPIStationTimetable2125OK creates a THSRAPIStationTimetable2125OK with default headers values
func (*THSRAPIStationTimetable2125OK) Error ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125OK) Error() string
func (*THSRAPIStationTimetable2125OK) GetPayload ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125OK) GetPayload() []*models.PTXServiceDTORailSpecificationV2THSRRailStationTimetable
type THSRAPIStationTimetable2125Params ¶ added in v0.15.0
type THSRAPIStationTimetable2125Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* StationID. 車站代號 */ StationID string /* TrainDate. 時刻表日期(格式: yyyy-MM-dd) Format: date-time */ TrainDate strfmt.DateTime /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
THSRAPIStationTimetable2125Params contains all the parameters to send to the API endpoint
for the t h s r Api station timetable 2125 operation. Typically these are written to a http.Request.
func NewTHSRAPIStationTimetable2125Params ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125Params() *THSRAPIStationTimetable2125Params
NewTHSRAPIStationTimetable2125Params creates a new THSRAPIStationTimetable2125Params 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 NewTHSRAPIStationTimetable2125ParamsWithContext ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125ParamsWithContext(ctx context.Context) *THSRAPIStationTimetable2125Params
NewTHSRAPIStationTimetable2125ParamsWithContext creates a new THSRAPIStationTimetable2125Params object with the ability to set a context for a request.
func NewTHSRAPIStationTimetable2125ParamsWithHTTPClient ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125ParamsWithHTTPClient(client *http.Client) *THSRAPIStationTimetable2125Params
NewTHSRAPIStationTimetable2125ParamsWithHTTPClient creates a new THSRAPIStationTimetable2125Params object with the ability to set a custom HTTPClient for a request.
func NewTHSRAPIStationTimetable2125ParamsWithTimeout ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125ParamsWithTimeout(timeout time.Duration) *THSRAPIStationTimetable2125Params
NewTHSRAPIStationTimetable2125ParamsWithTimeout creates a new THSRAPIStationTimetable2125Params object with the ability to set a timeout on a request.
func (*THSRAPIStationTimetable2125Params) SetContext ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetContext(ctx context.Context)
SetContext adds the context to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetDefaults ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDefaults()
SetDefaults hydrates default values in the t h s r Api station timetable 2125 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIStationTimetable2125Params) SetDollarFilter ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetDollarFormat ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetDollarSelect ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetDollarSkip ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetDollarTop ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetHTTPClient ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetHealth ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetHealth(health *string)
SetHealth adds the health to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetStationID ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetStationID(stationID string)
SetStationID adds the stationId to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetTimeout ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) SetTrainDate ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) SetTrainDate(trainDate strfmt.DateTime)
SetTrainDate adds the trainDate to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithContext ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithContext(ctx context.Context) *THSRAPIStationTimetable2125Params
WithContext adds the context to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithDefaults ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDefaults() *THSRAPIStationTimetable2125Params
WithDefaults hydrates default values in the t h s r Api station timetable 2125 params (not the query body).
All values with no default are reset to their zero value.
func (*THSRAPIStationTimetable2125Params) WithDollarFilter ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDollarFilter(dollarFilter *string) *THSRAPIStationTimetable2125Params
WithDollarFilter adds the dollarFilter to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithDollarFormat ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDollarFormat(dollarFormat string) *THSRAPIStationTimetable2125Params
WithDollarFormat adds the dollarFormat to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithDollarOrderby ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDollarOrderby(dollarOrderby *string) *THSRAPIStationTimetable2125Params
WithDollarOrderby adds the dollarOrderby to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithDollarSelect ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDollarSelect(dollarSelect *string) *THSRAPIStationTimetable2125Params
WithDollarSelect adds the dollarSelect to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithDollarSkip ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDollarSkip(dollarSkip *string) *THSRAPIStationTimetable2125Params
WithDollarSkip adds the dollarSkip to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithDollarTop ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithDollarTop(dollarTop *int64) *THSRAPIStationTimetable2125Params
WithDollarTop adds the dollarTop to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithHTTPClient ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithHTTPClient(client *http.Client) *THSRAPIStationTimetable2125Params
WithHTTPClient adds the HTTPClient to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithHealth ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithHealth(health *string) *THSRAPIStationTimetable2125Params
WithHealth adds the health to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithStationID ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithStationID(stationID string) *THSRAPIStationTimetable2125Params
WithStationID adds the stationID to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithTimeout ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithTimeout(timeout time.Duration) *THSRAPIStationTimetable2125Params
WithTimeout adds the timeout to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WithTrainDate ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WithTrainDate(trainDate strfmt.DateTime) *THSRAPIStationTimetable2125Params
WithTrainDate adds the trainDate to the t h s r Api station timetable 2125 params
func (*THSRAPIStationTimetable2125Params) WriteToRequest ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type THSRAPIStationTimetable2125Reader ¶ added in v0.15.0
type THSRAPIStationTimetable2125Reader struct {
// contains filtered or unexported fields
}
THSRAPIStationTimetable2125Reader is a Reader for the THSRAPIStationTimetable2125 structure.
func (*THSRAPIStationTimetable2125Reader) ReadResponse ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type THSRAPIStationTimetable2125Status299 ¶ added in v0.15.0
type THSRAPIStationTimetable2125Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
THSRAPIStationTimetable2125Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewTHSRAPIStationTimetable2125Status299 ¶ added in v0.15.0
func NewTHSRAPIStationTimetable2125Status299() *THSRAPIStationTimetable2125Status299
NewTHSRAPIStationTimetable2125Status299 creates a THSRAPIStationTimetable2125Status299 with default headers values
func (*THSRAPIStationTimetable2125Status299) Error ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Status299) Error() string
func (*THSRAPIStationTimetable2125Status299) GetPayload ¶ added in v0.15.0
func (o *THSRAPIStationTimetable2125Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
Source Files
¶
- t_h_s_r_api_alert_info2127_parameters.go
- t_h_s_r_api_alert_info2127_responses.go
- t_h_s_r_api_available_seat_status21351_parameters.go
- t_h_s_r_api_available_seat_status21351_responses.go
- t_h_s_r_api_available_seat_status2135_parameters.go
- t_h_s_r_api_available_seat_status2135_responses.go
- t_h_s_r_api_available_seat_status_list_station21301_parameters.go
- t_h_s_r_api_available_seat_status_list_station21301_responses.go
- t_h_s_r_api_available_seat_status_list_station2130_parameters.go
- t_h_s_r_api_available_seat_status_list_station2130_responses.go
- t_h_s_r_api_available_seat_status_o_d21361_parameters.go
- t_h_s_r_api_available_seat_status_o_d21361_responses.go
- t_h_s_r_api_available_seat_status_o_d21362_parameters.go
- t_h_s_r_api_available_seat_status_o_d21362_responses.go
- t_h_s_r_api_available_seat_status_o_d2136_parameters.go
- t_h_s_r_api_available_seat_status_o_d2136_responses.go
- t_h_s_r_api_daily_timetable21241_parameters.go
- t_h_s_r_api_daily_timetable21241_responses.go
- t_h_s_r_api_daily_timetable21242_parameters.go
- t_h_s_r_api_daily_timetable21242_responses.go
- t_h_s_r_api_daily_timetable21243_parameters.go
- t_h_s_r_api_daily_timetable21243_responses.go
- t_h_s_r_api_daily_timetable21244_parameters.go
- t_h_s_r_api_daily_timetable21244_responses.go
- t_h_s_r_api_daily_timetable2124_parameters.go
- t_h_s_r_api_daily_timetable2124_responses.go
- t_h_s_r_api_daily_train_info21231_parameters.go
- t_h_s_r_api_daily_train_info21231_responses.go
- t_h_s_r_api_daily_train_info21232_parameters.go
- t_h_s_r_api_daily_train_info21232_responses.go
- t_h_s_r_api_daily_train_info21233_parameters.go
- t_h_s_r_api_daily_train_info21233_responses.go
- t_h_s_r_api_daily_train_info2123_parameters.go
- t_h_s_r_api_daily_train_info2123_responses.go
- t_h_s_r_api_general_timetable21221_parameters.go
- t_h_s_r_api_general_timetable21221_responses.go
- t_h_s_r_api_general_timetable2122_parameters.go
- t_h_s_r_api_general_timetable2122_responses.go
- t_h_s_r_api_news2128_parameters.go
- t_h_s_r_api_news2128_responses.go
- t_h_s_r_api_o_d_daily_timetable2126_parameters.go
- t_h_s_r_api_o_d_daily_timetable2126_responses.go
- t_h_s_r_api_o_d_fare21211_parameters.go
- t_h_s_r_api_o_d_fare21211_responses.go
- t_h_s_r_api_o_d_fare2121_parameters.go
- t_h_s_r_api_o_d_fare2121_responses.go
- t_h_s_r_api_shape2129_parameters.go
- t_h_s_r_api_shape2129_responses.go
- t_h_s_r_api_station2120_parameters.go
- t_h_s_r_api_station2120_responses.go
- t_h_s_r_api_station_exit2132_parameters.go
- t_h_s_r_api_station_exit2132_responses.go
- t_h_s_r_api_station_timetable2125_parameters.go
- t_h_s_r_api_station_timetable2125_responses.go
- thsr_client.go