Documentation ¶
Index ¶
- type CityBusAPIAlertNotModified
- type CityBusAPIAlertOK
- type CityBusAPIAlertParams
- func NewCityBusAPIAlertParams() *CityBusAPIAlertParams
- func NewCityBusAPIAlertParamsWithContext(ctx context.Context) *CityBusAPIAlertParams
- func NewCityBusAPIAlertParamsWithHTTPClient(client *http.Client) *CityBusAPIAlertParams
- func NewCityBusAPIAlertParamsWithTimeout(timeout time.Duration) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) SetCity(city string)
- func (o *CityBusAPIAlertParams) SetContext(ctx context.Context)
- func (o *CityBusAPIAlertParams) SetDefaults()
- func (o *CityBusAPIAlertParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIAlertParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIAlertParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIAlertParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIAlertParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIAlertParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIAlertParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIAlertParams) SetHealth(health *string)
- func (o *CityBusAPIAlertParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIAlertParams) WithCity(city string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithContext(ctx context.Context) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDefaults() *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDollarFilter(dollarFilter *string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDollarFormat(dollarFormat string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDollarSelect(dollarSelect *string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDollarSkip(dollarSkip *string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithDollarTop(dollarTop *int64) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithHTTPClient(client *http.Client) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithHealth(health *string) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WithTimeout(timeout time.Duration) *CityBusAPIAlertParams
- func (o *CityBusAPIAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIAlertReader
- type CityBusAPIAlertStatus299
- type CityBusAPIDailyStopTimeTable1NotModified
- type CityBusAPIDailyStopTimeTable1OK
- type CityBusAPIDailyStopTimeTable1Params
- func NewCityBusAPIDailyStopTimeTable1Params() *CityBusAPIDailyStopTimeTable1Params
- func NewCityBusAPIDailyStopTimeTable1ParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable1Params
- func NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable1Params
- func NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) SetCity(city string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDefaults()
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetHealth(health *string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetRouteName(routeName string)
- func (o *CityBusAPIDailyStopTimeTable1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDailyStopTimeTable1Params) WithCity(city string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDefaults() *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarFormat(dollarFormat string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarTop(dollarTop *int64) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithHealth(health *string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithRouteName(routeName string) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable1Params
- func (o *CityBusAPIDailyStopTimeTable1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDailyStopTimeTable1Reader
- type CityBusAPIDailyStopTimeTable1Status299
- type CityBusAPIDailyStopTimeTableNotModified
- type CityBusAPIDailyStopTimeTableOK
- type CityBusAPIDailyStopTimeTableParams
- func NewCityBusAPIDailyStopTimeTableParams() *CityBusAPIDailyStopTimeTableParams
- func NewCityBusAPIDailyStopTimeTableParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTableParams
- func NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTableParams
- func NewCityBusAPIDailyStopTimeTableParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) SetCity(city string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetContext(ctx context.Context)
- func (o *CityBusAPIDailyStopTimeTableParams) SetDefaults()
- func (o *CityBusAPIDailyStopTimeTableParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIDailyStopTimeTableParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDailyStopTimeTableParams) SetHealth(health *string)
- func (o *CityBusAPIDailyStopTimeTableParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDailyStopTimeTableParams) WithCity(city string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithContext(ctx context.Context) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDefaults() *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDollarFormat(dollarFormat string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithDollarTop(dollarTop *int64) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithHealth(health *string) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTableParams
- func (o *CityBusAPIDailyStopTimeTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDailyStopTimeTableReader
- type CityBusAPIDailyStopTimeTableStatus299
- type CityBusAPIDailyTimeTable1NotModified
- type CityBusAPIDailyTimeTable1OK
- type CityBusAPIDailyTimeTable1Params
- func NewCityBusAPIDailyTimeTable1Params() *CityBusAPIDailyTimeTable1Params
- func NewCityBusAPIDailyTimeTable1ParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTable1Params
- func NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable1Params
- func NewCityBusAPIDailyTimeTable1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) SetCity(city string)
- func (o *CityBusAPIDailyTimeTable1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIDailyTimeTable1Params) SetDefaults()
- func (o *CityBusAPIDailyTimeTable1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIDailyTimeTable1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDailyTimeTable1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIDailyTimeTable1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIDailyTimeTable1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIDailyTimeTable1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIDailyTimeTable1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDailyTimeTable1Params) SetHealth(health *string)
- func (o *CityBusAPIDailyTimeTable1Params) SetRouteName(routeName string)
- func (o *CityBusAPIDailyTimeTable1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDailyTimeTable1Params) WithCity(city string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithContext(ctx context.Context) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDefaults() *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDollarFormat(dollarFormat string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithDollarTop(dollarTop *int64) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithHealth(health *string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithRouteName(routeName string) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable1Params
- func (o *CityBusAPIDailyTimeTable1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDailyTimeTable1Reader
- type CityBusAPIDailyTimeTable1Status299
- type CityBusAPIDailyTimeTableNotModified
- type CityBusAPIDailyTimeTableOK
- type CityBusAPIDailyTimeTableParams
- func NewCityBusAPIDailyTimeTableParams() *CityBusAPIDailyTimeTableParams
- func NewCityBusAPIDailyTimeTableParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTableParams
- func NewCityBusAPIDailyTimeTableParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTableParams
- func NewCityBusAPIDailyTimeTableParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) SetCity(city string)
- func (o *CityBusAPIDailyTimeTableParams) SetContext(ctx context.Context)
- func (o *CityBusAPIDailyTimeTableParams) SetDefaults()
- func (o *CityBusAPIDailyTimeTableParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIDailyTimeTableParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDailyTimeTableParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIDailyTimeTableParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIDailyTimeTableParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIDailyTimeTableParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIDailyTimeTableParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDailyTimeTableParams) SetHealth(health *string)
- func (o *CityBusAPIDailyTimeTableParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDailyTimeTableParams) WithCity(city string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithContext(ctx context.Context) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDefaults() *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDollarFormat(dollarFormat string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithDollarTop(dollarTop *int64) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithHealth(health *string) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTableParams
- func (o *CityBusAPIDailyTimeTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDailyTimeTableReader
- type CityBusAPIDailyTimeTableStatus299
- type CityBusAPIDataVersionNotModified
- type CityBusAPIDataVersionOK
- type CityBusAPIDataVersionParams
- func NewCityBusAPIDataVersionParams() *CityBusAPIDataVersionParams
- func NewCityBusAPIDataVersionParamsWithContext(ctx context.Context) *CityBusAPIDataVersionParams
- func NewCityBusAPIDataVersionParamsWithHTTPClient(client *http.Client) *CityBusAPIDataVersionParams
- func NewCityBusAPIDataVersionParamsWithTimeout(timeout time.Duration) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) SetCity(city string)
- func (o *CityBusAPIDataVersionParams) SetContext(ctx context.Context)
- func (o *CityBusAPIDataVersionParams) SetDefaults()
- func (o *CityBusAPIDataVersionParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDataVersionParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDataVersionParams) SetHealth(health *string)
- func (o *CityBusAPIDataVersionParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDataVersionParams) WithCity(city string) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WithContext(ctx context.Context) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WithDefaults() *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WithDollarFormat(dollarFormat string) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WithHTTPClient(client *http.Client) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WithHealth(health *string) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WithTimeout(timeout time.Duration) *CityBusAPIDataVersionParams
- func (o *CityBusAPIDataVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDataVersionReader
- type CityBusAPIDataVersionStatus299
- type CityBusAPIDisplayStopOfRoute1NotModified
- type CityBusAPIDisplayStopOfRoute1OK
- type CityBusAPIDisplayStopOfRoute1Params
- func NewCityBusAPIDisplayStopOfRoute1Params() *CityBusAPIDisplayStopOfRoute1Params
- func NewCityBusAPIDisplayStopOfRoute1ParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute1Params
- func NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute1Params
- func NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetCity(city string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDefaults()
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetHealth(health *string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetRouteName(routeName string)
- func (o *CityBusAPIDisplayStopOfRoute1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithCity(city string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDefaults() *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithHealth(health *string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithRouteName(routeName string) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute1Params
- func (o *CityBusAPIDisplayStopOfRoute1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDisplayStopOfRoute1Reader
- type CityBusAPIDisplayStopOfRoute1Status299
- type CityBusAPIDisplayStopOfRouteNotModified
- type CityBusAPIDisplayStopOfRouteOK
- type CityBusAPIDisplayStopOfRouteParams
- func NewCityBusAPIDisplayStopOfRouteParams() *CityBusAPIDisplayStopOfRouteParams
- func NewCityBusAPIDisplayStopOfRouteParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRouteParams
- func NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRouteParams
- func NewCityBusAPIDisplayStopOfRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) SetCity(city string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetContext(ctx context.Context)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDefaults()
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetHealth(health *string)
- func (o *CityBusAPIDisplayStopOfRouteParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIDisplayStopOfRouteParams) WithCity(city string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithContext(ctx context.Context) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDefaults() *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithHealth(health *string) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRouteParams
- func (o *CityBusAPIDisplayStopOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIDisplayStopOfRouteReader
- type CityBusAPIDisplayStopOfRouteStatus299
- type CityBusAPIEstimatedTimeOfArrival1NotModified
- type CityBusAPIEstimatedTimeOfArrival1OK
- type CityBusAPIEstimatedTimeOfArrival1Params
- func NewCityBusAPIEstimatedTimeOfArrival1Params() *CityBusAPIEstimatedTimeOfArrival1Params
- func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival1Params
- func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival1Params
- func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetCity(city string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDefaults()
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetHealth(health *string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetRouteName(routeName string)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithCity(city string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDefaults() *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithRouteName(routeName string) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival1Params
- func (o *CityBusAPIEstimatedTimeOfArrival1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIEstimatedTimeOfArrival1Reader
- type CityBusAPIEstimatedTimeOfArrival1Status299
- type CityBusAPIEstimatedTimeOfArrivalNotModified
- type CityBusAPIEstimatedTimeOfArrivalOK
- type CityBusAPIEstimatedTimeOfArrivalParams
- func NewCityBusAPIEstimatedTimeOfArrivalParams() *CityBusAPIEstimatedTimeOfArrivalParams
- func NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalParams
- func NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalParams
- func NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetCity(city string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetContext(ctx context.Context)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDefaults()
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetHealth(health *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithCity(city string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDefaults() *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalParams
- func (o *CityBusAPIEstimatedTimeOfArrivalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIEstimatedTimeOfArrivalReader
- type CityBusAPIEstimatedTimeOfArrivalStatus299
- type CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func NewCityBusAPIEstimatedTimeOfArrivalUDP1Params() *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetCity(city string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDefaults()
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHealth(health *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetRouteName(routeName string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithCity(city string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDefaults() *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithRouteName(routeName string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
- func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIEstimatedTimeOfArrivalUDP1Reader
- type CityBusAPIEstimatedTimeOfArrivalUDPNotModified
- type CityBusAPIEstimatedTimeOfArrivalUDPOK
- type CityBusAPIEstimatedTimeOfArrivalUDPParams
- func NewCityBusAPIEstimatedTimeOfArrivalUDPParams() *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetCity(city string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetContext(ctx context.Context)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDefaults()
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHealth(health *string)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithCity(city string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDefaults() *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDPParams
- func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIEstimatedTimeOfArrivalUDPReader
- type CityBusAPIEstimatedTimeOfArrivalUDPStatus299
- type CityBusAPIEstimatedTimeOfArrivalUdp1NotModified
- type CityBusAPIEstimatedTimeOfArrivalUdp1OK
- type CityBusAPIEstimatedTimeOfArrivalUdp1Status299
- type CityBusAPIFirstLastTripInfo1NotModified
- type CityBusAPIFirstLastTripInfo1OK
- type CityBusAPIFirstLastTripInfo1Params
- func NewCityBusAPIFirstLastTripInfo1Params() *CityBusAPIFirstLastTripInfo1Params
- func NewCityBusAPIFirstLastTripInfo1ParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo1Params
- func NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo1Params
- func NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) SetCity(city string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDefaults()
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetHealth(health *string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetRouteName(routeName string)
- func (o *CityBusAPIFirstLastTripInfo1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIFirstLastTripInfo1Params) WithCity(city string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDefaults() *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarFormat(dollarFormat string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarTop(dollarTop *int64) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithHealth(health *string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithRouteName(routeName string) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo1Params
- func (o *CityBusAPIFirstLastTripInfo1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIFirstLastTripInfo1Reader
- type CityBusAPIFirstLastTripInfo1Status299
- type CityBusAPIFirstLastTripInfoNotModified
- type CityBusAPIFirstLastTripInfoOK
- type CityBusAPIFirstLastTripInfoParams
- func NewCityBusAPIFirstLastTripInfoParams() *CityBusAPIFirstLastTripInfoParams
- func NewCityBusAPIFirstLastTripInfoParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfoParams
- func NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfoParams
- func NewCityBusAPIFirstLastTripInfoParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) SetCity(city string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetContext(ctx context.Context)
- func (o *CityBusAPIFirstLastTripInfoParams) SetDefaults()
- func (o *CityBusAPIFirstLastTripInfoParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIFirstLastTripInfoParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIFirstLastTripInfoParams) SetHealth(health *string)
- func (o *CityBusAPIFirstLastTripInfoParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIFirstLastTripInfoParams) WithCity(city string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithContext(ctx context.Context) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDefaults() *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDollarFilter(dollarFilter *string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDollarFormat(dollarFormat string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDollarSelect(dollarSelect *string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDollarSkip(dollarSkip *string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithDollarTop(dollarTop *int64) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithHealth(health *string) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfoParams
- func (o *CityBusAPIFirstLastTripInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIFirstLastTripInfoReader
- type CityBusAPIFirstLastTripInfoStatus299
- type CityBusAPINewsNotModified
- type CityBusAPINewsOK
- type CityBusAPINewsParams
- func NewCityBusAPINewsParams() *CityBusAPINewsParams
- func NewCityBusAPINewsParamsWithContext(ctx context.Context) *CityBusAPINewsParams
- func NewCityBusAPINewsParamsWithHTTPClient(client *http.Client) *CityBusAPINewsParams
- func NewCityBusAPINewsParamsWithTimeout(timeout time.Duration) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) SetCity(city string)
- func (o *CityBusAPINewsParams) SetContext(ctx context.Context)
- func (o *CityBusAPINewsParams) SetDefaults()
- func (o *CityBusAPINewsParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPINewsParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPINewsParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPINewsParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPINewsParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPINewsParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPINewsParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPINewsParams) SetHealth(health *string)
- func (o *CityBusAPINewsParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPINewsParams) WithCity(city string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithContext(ctx context.Context) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDefaults() *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDollarFilter(dollarFilter *string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDollarFormat(dollarFormat string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDollarSelect(dollarSelect *string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDollarSkip(dollarSkip *string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithDollarTop(dollarTop *int64) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithHTTPClient(client *http.Client) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithHealth(health *string) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WithTimeout(timeout time.Duration) *CityBusAPINewsParams
- func (o *CityBusAPINewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPINewsReader
- type CityBusAPINewsStatus299
- type CityBusAPIOperatorNotModified
- type CityBusAPIOperatorOK
- type CityBusAPIOperatorParams
- func NewCityBusAPIOperatorParams() *CityBusAPIOperatorParams
- func NewCityBusAPIOperatorParamsWithContext(ctx context.Context) *CityBusAPIOperatorParams
- func NewCityBusAPIOperatorParamsWithHTTPClient(client *http.Client) *CityBusAPIOperatorParams
- func NewCityBusAPIOperatorParamsWithTimeout(timeout time.Duration) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) SetCity(city string)
- func (o *CityBusAPIOperatorParams) SetContext(ctx context.Context)
- func (o *CityBusAPIOperatorParams) SetDefaults()
- func (o *CityBusAPIOperatorParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIOperatorParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIOperatorParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIOperatorParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIOperatorParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIOperatorParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIOperatorParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIOperatorParams) SetHealth(health *string)
- func (o *CityBusAPIOperatorParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIOperatorParams) WithCity(city string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithContext(ctx context.Context) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDefaults() *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDollarFilter(dollarFilter *string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDollarFormat(dollarFormat string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDollarSelect(dollarSelect *string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDollarSkip(dollarSkip *string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithDollarTop(dollarTop *int64) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithHTTPClient(client *http.Client) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithHealth(health *string) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WithTimeout(timeout time.Duration) *CityBusAPIOperatorParams
- func (o *CityBusAPIOperatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIOperatorReader
- type CityBusAPIOperatorStatus299
- type CityBusAPIRealTimeByFrequency1NotModified
- type CityBusAPIRealTimeByFrequency1OK
- type CityBusAPIRealTimeByFrequency1Params
- func NewCityBusAPIRealTimeByFrequency1Params() *CityBusAPIRealTimeByFrequency1Params
- func NewCityBusAPIRealTimeByFrequency1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency1Params
- func NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency1Params
- func NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) SetCity(city string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDefaults()
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetHealth(health *string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRealTimeByFrequency1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeByFrequency1Params) WithCity(city string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDefaults() *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithHealth(health *string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithRouteName(routeName string) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency1Params
- func (o *CityBusAPIRealTimeByFrequency1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeByFrequency1Reader
- type CityBusAPIRealTimeByFrequency1Status299
- type CityBusAPIRealTimeByFrequencyNotModified
- type CityBusAPIRealTimeByFrequencyOK
- type CityBusAPIRealTimeByFrequencyParams
- func NewCityBusAPIRealTimeByFrequencyParams() *CityBusAPIRealTimeByFrequencyParams
- func NewCityBusAPIRealTimeByFrequencyParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyParams
- func NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyParams
- func NewCityBusAPIRealTimeByFrequencyParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) SetCity(city string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDefaults()
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetHealth(health *string)
- func (o *CityBusAPIRealTimeByFrequencyParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeByFrequencyParams) WithCity(city string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDefaults() *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithHealth(health *string) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyParams
- func (o *CityBusAPIRealTimeByFrequencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeByFrequencyReader
- type CityBusAPIRealTimeByFrequencyStatus299
- type CityBusAPIRealTimeByFrequencyUDP1Params
- func NewCityBusAPIRealTimeByFrequencyUDP1Params() *CityBusAPIRealTimeByFrequencyUDP1Params
- func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP1Params
- func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP1Params
- func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetCity(city string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDefaults()
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetHealth(health *string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithCity(city string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDefaults() *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithHealth(health *string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithRouteName(routeName string) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP1Params
- func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeByFrequencyUDP1Reader
- type CityBusAPIRealTimeByFrequencyUDPNotModified
- type CityBusAPIRealTimeByFrequencyUDPOK
- type CityBusAPIRealTimeByFrequencyUDPParams
- func NewCityBusAPIRealTimeByFrequencyUDPParams() *CityBusAPIRealTimeByFrequencyUDPParams
- func NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDPParams
- func NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDPParams
- func NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetCity(city string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDefaults()
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetHealth(health *string)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithCity(city string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDefaults() *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithHealth(health *string) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDPParams
- func (o *CityBusAPIRealTimeByFrequencyUDPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeByFrequencyUDPReader
- type CityBusAPIRealTimeByFrequencyUDPStatus299
- type CityBusAPIRealTimeByFrequencyUdp1NotModified
- type CityBusAPIRealTimeByFrequencyUdp1OK
- type CityBusAPIRealTimeByFrequencyUdp1Status299
- type CityBusAPIRealTimeNearStop1NotModified
- type CityBusAPIRealTimeNearStop1OK
- type CityBusAPIRealTimeNearStop1Params
- func NewCityBusAPIRealTimeNearStop1Params() *CityBusAPIRealTimeNearStop1Params
- func NewCityBusAPIRealTimeNearStop1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStop1Params
- func NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop1Params
- func NewCityBusAPIRealTimeNearStop1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) SetCity(city string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeNearStop1Params) SetDefaults()
- func (o *CityBusAPIRealTimeNearStop1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeNearStop1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeNearStop1Params) SetHealth(health *string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRealTimeNearStop1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeNearStop1Params) WithCity(city string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDefaults() *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithHealth(health *string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithRouteName(routeName string) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop1Params
- func (o *CityBusAPIRealTimeNearStop1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeNearStop1Reader
- type CityBusAPIRealTimeNearStop1Status299
- type CityBusAPIRealTimeNearStopNotModified
- type CityBusAPIRealTimeNearStopOK
- type CityBusAPIRealTimeNearStopParams
- func NewCityBusAPIRealTimeNearStopParams() *CityBusAPIRealTimeNearStopParams
- func NewCityBusAPIRealTimeNearStopParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopParams
- func NewCityBusAPIRealTimeNearStopParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopParams
- func NewCityBusAPIRealTimeNearStopParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) SetCity(city string)
- func (o *CityBusAPIRealTimeNearStopParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeNearStopParams) SetDefaults()
- func (o *CityBusAPIRealTimeNearStopParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeNearStopParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeNearStopParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeNearStopParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeNearStopParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeNearStopParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeNearStopParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeNearStopParams) SetHealth(health *string)
- func (o *CityBusAPIRealTimeNearStopParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeNearStopParams) WithCity(city string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDefaults() *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithHealth(health *string) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopParams
- func (o *CityBusAPIRealTimeNearStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeNearStopReader
- type CityBusAPIRealTimeNearStopStatus299
- type CityBusAPIRealTimeNearStopUDP1Params
- func NewCityBusAPIRealTimeNearStopUDP1Params() *CityBusAPIRealTimeNearStopUDP1Params
- func NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP1Params
- func NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP1Params
- func NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetCity(city string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDefaults()
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetHealth(health *string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithCity(city string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDefaults() *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithHealth(health *string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithRouteName(routeName string) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP1Params
- func (o *CityBusAPIRealTimeNearStopUDP1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeNearStopUDP1Reader
- type CityBusAPIRealTimeNearStopUDPNotModified
- type CityBusAPIRealTimeNearStopUDPOK
- type CityBusAPIRealTimeNearStopUDPParams
- func NewCityBusAPIRealTimeNearStopUDPParams() *CityBusAPIRealTimeNearStopUDPParams
- func NewCityBusAPIRealTimeNearStopUDPParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDPParams
- func NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDPParams
- func NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetCity(city string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDefaults()
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetHealth(health *string)
- func (o *CityBusAPIRealTimeNearStopUDPParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithCity(city string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDefaults() *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithHealth(health *string) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDPParams
- func (o *CityBusAPIRealTimeNearStopUDPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRealTimeNearStopUDPReader
- type CityBusAPIRealTimeNearStopUDPStatus299
- type CityBusAPIRealTimeNearStopUdp1NotModified
- type CityBusAPIRealTimeNearStopUdp1OK
- type CityBusAPIRealTimeNearStopUdp1Status299
- type CityBusAPIRoute1NotModified
- type CityBusAPIRoute1OK
- type CityBusAPIRoute1Params
- func NewCityBusAPIRoute1Params() *CityBusAPIRoute1Params
- func NewCityBusAPIRoute1ParamsWithContext(ctx context.Context) *CityBusAPIRoute1Params
- func NewCityBusAPIRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRoute1Params
- func NewCityBusAPIRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) SetCity(city string)
- func (o *CityBusAPIRoute1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRoute1Params) SetDefaults()
- func (o *CityBusAPIRoute1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRoute1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRoute1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRoute1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRoute1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRoute1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRoute1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRoute1Params) SetHealth(health *string)
- func (o *CityBusAPIRoute1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRoute1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRoute1Params) WithCity(city string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithContext(ctx context.Context) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDefaults() *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithHealth(health *string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithRouteName(routeName string) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WithTimeout(timeout time.Duration) *CityBusAPIRoute1Params
- func (o *CityBusAPIRoute1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRoute1Reader
- type CityBusAPIRoute1Status299
- type CityBusAPIRouteFare1NotModified
- type CityBusAPIRouteFare1OK
- type CityBusAPIRouteFare1Params
- func NewCityBusAPIRouteFare1Params() *CityBusAPIRouteFare1Params
- func NewCityBusAPIRouteFare1ParamsWithContext(ctx context.Context) *CityBusAPIRouteFare1Params
- func NewCityBusAPIRouteFare1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFare1Params
- func NewCityBusAPIRouteFare1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) SetCity(city string)
- func (o *CityBusAPIRouteFare1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRouteFare1Params) SetDefaults()
- func (o *CityBusAPIRouteFare1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRouteFare1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRouteFare1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRouteFare1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRouteFare1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRouteFare1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRouteFare1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRouteFare1Params) SetHealth(health *string)
- func (o *CityBusAPIRouteFare1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRouteFare1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRouteFare1Params) WithCity(city string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithContext(ctx context.Context) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDefaults() *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithHTTPClient(client *http.Client) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithHealth(health *string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithRouteName(routeName string) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WithTimeout(timeout time.Duration) *CityBusAPIRouteFare1Params
- func (o *CityBusAPIRouteFare1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRouteFare1Reader
- type CityBusAPIRouteFare1Status299
- type CityBusAPIRouteFareNotModified
- type CityBusAPIRouteFareOK
- type CityBusAPIRouteFareParams
- func NewCityBusAPIRouteFareParams() *CityBusAPIRouteFareParams
- func NewCityBusAPIRouteFareParamsWithContext(ctx context.Context) *CityBusAPIRouteFareParams
- func NewCityBusAPIRouteFareParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFareParams
- func NewCityBusAPIRouteFareParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) SetCity(city string)
- func (o *CityBusAPIRouteFareParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRouteFareParams) SetDefaults()
- func (o *CityBusAPIRouteFareParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRouteFareParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRouteFareParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRouteFareParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRouteFareParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRouteFareParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRouteFareParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRouteFareParams) SetHealth(health *string)
- func (o *CityBusAPIRouteFareParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRouteFareParams) WithCity(city string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithContext(ctx context.Context) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDefaults() *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithHealth(health *string) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteFareParams
- func (o *CityBusAPIRouteFareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRouteFareReader
- type CityBusAPIRouteFareStatus299
- type CityBusAPIRouteNetwork1NotModified
- type CityBusAPIRouteNetwork1OK
- type CityBusAPIRouteNetwork1Params
- func NewCityBusAPIRouteNetwork1Params() *CityBusAPIRouteNetwork1Params
- func NewCityBusAPIRouteNetwork1ParamsWithContext(ctx context.Context) *CityBusAPIRouteNetwork1Params
- func NewCityBusAPIRouteNetwork1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork1Params
- func NewCityBusAPIRouteNetwork1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) SetCity(city string)
- func (o *CityBusAPIRouteNetwork1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIRouteNetwork1Params) SetDefaults()
- func (o *CityBusAPIRouteNetwork1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRouteNetwork1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRouteNetwork1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRouteNetwork1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRouteNetwork1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRouteNetwork1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRouteNetwork1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRouteNetwork1Params) SetHealth(health *string)
- func (o *CityBusAPIRouteNetwork1Params) SetRouteName(routeName string)
- func (o *CityBusAPIRouteNetwork1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRouteNetwork1Params) WithCity(city string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithContext(ctx context.Context) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDefaults() *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithHealth(health *string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithRouteName(routeName string) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork1Params
- func (o *CityBusAPIRouteNetwork1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRouteNetwork1Reader
- type CityBusAPIRouteNetwork1Status299
- type CityBusAPIRouteNetworkNotModified
- type CityBusAPIRouteNetworkOK
- type CityBusAPIRouteNetworkParams
- func NewCityBusAPIRouteNetworkParams() *CityBusAPIRouteNetworkParams
- func NewCityBusAPIRouteNetworkParamsWithContext(ctx context.Context) *CityBusAPIRouteNetworkParams
- func NewCityBusAPIRouteNetworkParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetworkParams
- func NewCityBusAPIRouteNetworkParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) SetCity(city string)
- func (o *CityBusAPIRouteNetworkParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRouteNetworkParams) SetDefaults()
- func (o *CityBusAPIRouteNetworkParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRouteNetworkParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRouteNetworkParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRouteNetworkParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRouteNetworkParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRouteNetworkParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRouteNetworkParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRouteNetworkParams) SetHealth(health *string)
- func (o *CityBusAPIRouteNetworkParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRouteNetworkParams) WithCity(city string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithContext(ctx context.Context) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDefaults() *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithHealth(health *string) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteNetworkParams
- func (o *CityBusAPIRouteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRouteNetworkReader
- type CityBusAPIRouteNetworkStatus299
- type CityBusAPIRouteNotModified
- type CityBusAPIRouteOK
- type CityBusAPIRouteParams
- func NewCityBusAPIRouteParams() *CityBusAPIRouteParams
- func NewCityBusAPIRouteParamsWithContext(ctx context.Context) *CityBusAPIRouteParams
- func NewCityBusAPIRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteParams
- func NewCityBusAPIRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) SetCity(city string)
- func (o *CityBusAPIRouteParams) SetContext(ctx context.Context)
- func (o *CityBusAPIRouteParams) SetDefaults()
- func (o *CityBusAPIRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIRouteParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIRouteParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIRouteParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIRouteParams) SetHealth(health *string)
- func (o *CityBusAPIRouteParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIRouteParams) WithCity(city string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithContext(ctx context.Context) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDefaults() *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithHealth(health *string) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteParams
- func (o *CityBusAPIRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIRouteReader
- type CityBusAPIRouteStatus299
- type CityBusAPIS2STravelTimeDetailNotModified
- type CityBusAPIS2STravelTimeDetailOK
- type CityBusAPIS2STravelTimeDetailParams
- func NewCityBusAPIS2STravelTimeDetailParams() *CityBusAPIS2STravelTimeDetailParams
- func NewCityBusAPIS2STravelTimeDetailParamsWithContext(ctx context.Context) *CityBusAPIS2STravelTimeDetailParams
- func NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient(client *http.Client) *CityBusAPIS2STravelTimeDetailParams
- func NewCityBusAPIS2STravelTimeDetailParamsWithTimeout(timeout time.Duration) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) SetCity(city string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetContext(ctx context.Context)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDefaults()
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetHealth(health *string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetRouteID(routeID string)
- func (o *CityBusAPIS2STravelTimeDetailParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIS2STravelTimeDetailParams) WithCity(city string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithContext(ctx context.Context) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDefaults() *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarFilter(dollarFilter *string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarFormat(dollarFormat string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarSelect(dollarSelect *string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarSkip(dollarSkip *string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarTop(dollarTop *int64) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithHTTPClient(client *http.Client) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithHealth(health *string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithRouteID(routeID string) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WithTimeout(timeout time.Duration) *CityBusAPIS2STravelTimeDetailParams
- func (o *CityBusAPIS2STravelTimeDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIS2STravelTimeDetailReader
- type CityBusAPIS2STravelTimeDetailStatus299
- type CityBusAPISchedule1NotModified
- type CityBusAPISchedule1OK
- type CityBusAPISchedule1Params
- func NewCityBusAPISchedule1Params() *CityBusAPISchedule1Params
- func NewCityBusAPISchedule1ParamsWithContext(ctx context.Context) *CityBusAPISchedule1Params
- func NewCityBusAPISchedule1ParamsWithHTTPClient(client *http.Client) *CityBusAPISchedule1Params
- func NewCityBusAPISchedule1ParamsWithTimeout(timeout time.Duration) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) SetCity(city string)
- func (o *CityBusAPISchedule1Params) SetContext(ctx context.Context)
- func (o *CityBusAPISchedule1Params) SetDefaults()
- func (o *CityBusAPISchedule1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPISchedule1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPISchedule1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPISchedule1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPISchedule1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPISchedule1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPISchedule1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPISchedule1Params) SetHealth(health *string)
- func (o *CityBusAPISchedule1Params) SetRouteName(routeName string)
- func (o *CityBusAPISchedule1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPISchedule1Params) WithCity(city string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithContext(ctx context.Context) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDefaults() *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDollarFilter(dollarFilter *string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDollarFormat(dollarFormat string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDollarSelect(dollarSelect *string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDollarSkip(dollarSkip *string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithDollarTop(dollarTop *int64) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithHTTPClient(client *http.Client) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithHealth(health *string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithRouteName(routeName string) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WithTimeout(timeout time.Duration) *CityBusAPISchedule1Params
- func (o *CityBusAPISchedule1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPISchedule1Reader
- type CityBusAPISchedule1Status299
- type CityBusAPIScheduleNotModified
- type CityBusAPIScheduleOK
- type CityBusAPIScheduleParams
- func NewCityBusAPIScheduleParams() *CityBusAPIScheduleParams
- func NewCityBusAPIScheduleParamsWithContext(ctx context.Context) *CityBusAPIScheduleParams
- func NewCityBusAPIScheduleParamsWithHTTPClient(client *http.Client) *CityBusAPIScheduleParams
- func NewCityBusAPIScheduleParamsWithTimeout(timeout time.Duration) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) SetCity(city string)
- func (o *CityBusAPIScheduleParams) SetContext(ctx context.Context)
- func (o *CityBusAPIScheduleParams) SetDefaults()
- func (o *CityBusAPIScheduleParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIScheduleParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIScheduleParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIScheduleParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIScheduleParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIScheduleParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIScheduleParams) SetHealth(health *string)
- func (o *CityBusAPIScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIScheduleParams) WithCity(city string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithContext(ctx context.Context) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDefaults() *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDollarFilter(dollarFilter *string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDollarFormat(dollarFormat string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDollarSelect(dollarSelect *string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDollarSkip(dollarSkip *string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithDollarTop(dollarTop *int64) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithHTTPClient(client *http.Client) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithHealth(health *string) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WithTimeout(timeout time.Duration) *CityBusAPIScheduleParams
- func (o *CityBusAPIScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIScheduleReader
- type CityBusAPIScheduleStatus299
- type CityBusAPIShape1NotModified
- type CityBusAPIShape1OK
- type CityBusAPIShape1Params
- func NewCityBusAPIShape1Params() *CityBusAPIShape1Params
- func NewCityBusAPIShape1ParamsWithContext(ctx context.Context) *CityBusAPIShape1Params
- func NewCityBusAPIShape1ParamsWithHTTPClient(client *http.Client) *CityBusAPIShape1Params
- func NewCityBusAPIShape1ParamsWithTimeout(timeout time.Duration) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) SetCity(city string)
- func (o *CityBusAPIShape1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIShape1Params) SetDefaults()
- func (o *CityBusAPIShape1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIShape1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIShape1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIShape1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIShape1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIShape1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIShape1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIShape1Params) SetHealth(health *string)
- func (o *CityBusAPIShape1Params) SetRouteName(routeName string)
- func (o *CityBusAPIShape1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIShape1Params) WithCity(city string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithContext(ctx context.Context) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDefaults() *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDollarFormat(dollarFormat string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithDollarTop(dollarTop *int64) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithHTTPClient(client *http.Client) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithHealth(health *string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithRouteName(routeName string) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WithTimeout(timeout time.Duration) *CityBusAPIShape1Params
- func (o *CityBusAPIShape1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIShape1Reader
- type CityBusAPIShape1Status299
- type CityBusAPIShapeNotModified
- type CityBusAPIShapeOK
- type CityBusAPIShapeParams
- func NewCityBusAPIShapeParams() *CityBusAPIShapeParams
- func NewCityBusAPIShapeParamsWithContext(ctx context.Context) *CityBusAPIShapeParams
- func NewCityBusAPIShapeParamsWithHTTPClient(client *http.Client) *CityBusAPIShapeParams
- func NewCityBusAPIShapeParamsWithTimeout(timeout time.Duration) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) SetCity(city string)
- func (o *CityBusAPIShapeParams) SetContext(ctx context.Context)
- func (o *CityBusAPIShapeParams) SetDefaults()
- func (o *CityBusAPIShapeParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIShapeParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIShapeParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIShapeParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIShapeParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIShapeParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIShapeParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIShapeParams) SetHealth(health *string)
- func (o *CityBusAPIShapeParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIShapeParams) WithCity(city string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithContext(ctx context.Context) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDefaults() *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDollarFilter(dollarFilter *string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDollarFormat(dollarFormat string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDollarSelect(dollarSelect *string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDollarSkip(dollarSkip *string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithDollarTop(dollarTop *int64) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithHTTPClient(client *http.Client) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithHealth(health *string) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WithTimeout(timeout time.Duration) *CityBusAPIShapeParams
- func (o *CityBusAPIShapeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIShapeReader
- type CityBusAPIShapeStatus299
- type CityBusAPIStationGroupNotModified
- type CityBusAPIStationGroupOK
- type CityBusAPIStationGroupParams
- func NewCityBusAPIStationGroupParams() *CityBusAPIStationGroupParams
- func NewCityBusAPIStationGroupParamsWithContext(ctx context.Context) *CityBusAPIStationGroupParams
- func NewCityBusAPIStationGroupParamsWithHTTPClient(client *http.Client) *CityBusAPIStationGroupParams
- func NewCityBusAPIStationGroupParamsWithTimeout(timeout time.Duration) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) SetCity(city string)
- func (o *CityBusAPIStationGroupParams) SetContext(ctx context.Context)
- func (o *CityBusAPIStationGroupParams) SetDefaults()
- func (o *CityBusAPIStationGroupParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIStationGroupParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIStationGroupParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIStationGroupParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIStationGroupParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIStationGroupParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIStationGroupParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIStationGroupParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIStationGroupParams) SetHealth(health *string)
- func (o *CityBusAPIStationGroupParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIStationGroupParams) WithCity(city string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithContext(ctx context.Context) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDefaults() *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarFormat(dollarFormat string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithDollarTop(dollarTop *int64) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithHTTPClient(client *http.Client) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithHealth(health *string) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WithTimeout(timeout time.Duration) *CityBusAPIStationGroupParams
- func (o *CityBusAPIStationGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIStationGroupReader
- type CityBusAPIStationGroupStatus299
- type CityBusAPIStationNotModified
- type CityBusAPIStationOK
- type CityBusAPIStationParams
- func NewCityBusAPIStationParams() *CityBusAPIStationParams
- func NewCityBusAPIStationParamsWithContext(ctx context.Context) *CityBusAPIStationParams
- func NewCityBusAPIStationParamsWithHTTPClient(client *http.Client) *CityBusAPIStationParams
- func NewCityBusAPIStationParamsWithTimeout(timeout time.Duration) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) SetCity(city string)
- func (o *CityBusAPIStationParams) SetContext(ctx context.Context)
- func (o *CityBusAPIStationParams) SetDefaults()
- func (o *CityBusAPIStationParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIStationParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIStationParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIStationParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIStationParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIStationParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIStationParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIStationParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIStationParams) SetHealth(health *string)
- func (o *CityBusAPIStationParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIStationParams) WithCity(city string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithContext(ctx context.Context) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDefaults() *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarFormat(dollarFormat string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithDollarTop(dollarTop *int64) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithHTTPClient(client *http.Client) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithHealth(health *string) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WithTimeout(timeout time.Duration) *CityBusAPIStationParams
- func (o *CityBusAPIStationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIStationReader
- type CityBusAPIStationStatus299
- type CityBusAPIStopNotModified
- type CityBusAPIStopOK
- type CityBusAPIStopOfRoute1NotModified
- type CityBusAPIStopOfRoute1OK
- type CityBusAPIStopOfRoute1Params
- func NewCityBusAPIStopOfRoute1Params() *CityBusAPIStopOfRoute1Params
- func NewCityBusAPIStopOfRoute1ParamsWithContext(ctx context.Context) *CityBusAPIStopOfRoute1Params
- func NewCityBusAPIStopOfRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute1Params
- func NewCityBusAPIStopOfRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) SetCity(city string)
- func (o *CityBusAPIStopOfRoute1Params) SetContext(ctx context.Context)
- func (o *CityBusAPIStopOfRoute1Params) SetDefaults()
- func (o *CityBusAPIStopOfRoute1Params) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIStopOfRoute1Params) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIStopOfRoute1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIStopOfRoute1Params) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIStopOfRoute1Params) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIStopOfRoute1Params) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIStopOfRoute1Params) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIStopOfRoute1Params) SetHealth(health *string)
- func (o *CityBusAPIStopOfRoute1Params) SetRouteName(routeName string)
- func (o *CityBusAPIStopOfRoute1Params) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIStopOfRoute1Params) WithCity(city string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithContext(ctx context.Context) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDefaults() *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithHealth(health *string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithRouteName(routeName string) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute1Params
- func (o *CityBusAPIStopOfRoute1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIStopOfRoute1Reader
- type CityBusAPIStopOfRoute1Status299
- type CityBusAPIStopOfRouteNotModified
- type CityBusAPIStopOfRouteOK
- type CityBusAPIStopOfRouteParams
- func NewCityBusAPIStopOfRouteParams() *CityBusAPIStopOfRouteParams
- func NewCityBusAPIStopOfRouteParamsWithContext(ctx context.Context) *CityBusAPIStopOfRouteParams
- func NewCityBusAPIStopOfRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRouteParams
- func NewCityBusAPIStopOfRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) SetCity(city string)
- func (o *CityBusAPIStopOfRouteParams) SetContext(ctx context.Context)
- func (o *CityBusAPIStopOfRouteParams) SetDefaults()
- func (o *CityBusAPIStopOfRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIStopOfRouteParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIStopOfRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIStopOfRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIStopOfRouteParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIStopOfRouteParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIStopOfRouteParams) SetHealth(health *string)
- func (o *CityBusAPIStopOfRouteParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIStopOfRouteParams) WithCity(city string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithContext(ctx context.Context) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDefaults() *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithHealth(health *string) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIStopOfRouteParams
- func (o *CityBusAPIStopOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIStopOfRouteReader
- type CityBusAPIStopOfRouteStatus299
- type CityBusAPIStopParams
- func NewCityBusAPIStopParams() *CityBusAPIStopParams
- func NewCityBusAPIStopParamsWithContext(ctx context.Context) *CityBusAPIStopParams
- func NewCityBusAPIStopParamsWithHTTPClient(client *http.Client) *CityBusAPIStopParams
- func NewCityBusAPIStopParamsWithTimeout(timeout time.Duration) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) SetCity(city string)
- func (o *CityBusAPIStopParams) SetContext(ctx context.Context)
- func (o *CityBusAPIStopParams) SetDefaults()
- func (o *CityBusAPIStopParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIStopParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIStopParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIStopParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIStopParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIStopParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
- func (o *CityBusAPIStopParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIStopParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIStopParams) SetHealth(health *string)
- func (o *CityBusAPIStopParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIStopParams) WithCity(city string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithContext(ctx context.Context) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDefaults() *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarFormat(dollarFormat string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithDollarTop(dollarTop *int64) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithHTTPClient(client *http.Client) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithHealth(health *string) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WithTimeout(timeout time.Duration) *CityBusAPIStopParams
- func (o *CityBusAPIStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIStopReader
- type CityBusAPIStopStatus299
- type CityBusAPIVehicleNotModified
- type CityBusAPIVehicleOK
- type CityBusAPIVehicleParams
- func NewCityBusAPIVehicleParams() *CityBusAPIVehicleParams
- func NewCityBusAPIVehicleParamsWithContext(ctx context.Context) *CityBusAPIVehicleParams
- func NewCityBusAPIVehicleParamsWithHTTPClient(client *http.Client) *CityBusAPIVehicleParams
- func NewCityBusAPIVehicleParamsWithTimeout(timeout time.Duration) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) SetCity(city string)
- func (o *CityBusAPIVehicleParams) SetContext(ctx context.Context)
- func (o *CityBusAPIVehicleParams) SetDefaults()
- func (o *CityBusAPIVehicleParams) SetDollarFilter(dollarFilter *string)
- func (o *CityBusAPIVehicleParams) SetDollarFormat(dollarFormat string)
- func (o *CityBusAPIVehicleParams) SetDollarOrderby(dollarOrderby *string)
- func (o *CityBusAPIVehicleParams) SetDollarSelect(dollarSelect *string)
- func (o *CityBusAPIVehicleParams) SetDollarSkip(dollarSkip *string)
- func (o *CityBusAPIVehicleParams) SetDollarTop(dollarTop *int64)
- func (o *CityBusAPIVehicleParams) SetHTTPClient(client *http.Client)
- func (o *CityBusAPIVehicleParams) SetHealth(health *string)
- func (o *CityBusAPIVehicleParams) SetTimeout(timeout time.Duration)
- func (o *CityBusAPIVehicleParams) WithCity(city string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithContext(ctx context.Context) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDefaults() *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDollarFilter(dollarFilter *string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDollarFormat(dollarFormat string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDollarSelect(dollarSelect *string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDollarSkip(dollarSkip *string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithDollarTop(dollarTop *int64) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithHTTPClient(client *http.Client) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithHealth(health *string) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WithTimeout(timeout time.Duration) *CityBusAPIVehicleParams
- func (o *CityBusAPIVehicleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CityBusAPIVehicleReader
- type CityBusAPIVehicleStatus299
- type Client
- func (a *Client) CityBusAPIAlert(params *CityBusAPIAlertParams, opts ...ClientOption) (*CityBusAPIAlertOK, *CityBusAPIAlertStatus299, error)
- func (a *Client) CityBusAPIDailyStopTimeTable(params *CityBusAPIDailyStopTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyStopTimeTableOK, *CityBusAPIDailyStopTimeTableStatus299, error)
- func (a *Client) CityBusAPIDailyStopTimeTable1(params *CityBusAPIDailyStopTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyStopTimeTable1OK, *CityBusAPIDailyStopTimeTable1Status299, ...)
- func (a *Client) CityBusAPIDailyTimeTable(params *CityBusAPIDailyTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyTimeTableOK, *CityBusAPIDailyTimeTableStatus299, error)
- func (a *Client) CityBusAPIDailyTimeTable1(params *CityBusAPIDailyTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyTimeTable1OK, *CityBusAPIDailyTimeTable1Status299, error)
- func (a *Client) CityBusAPIDataVersion(params *CityBusAPIDataVersionParams, opts ...ClientOption) (*CityBusAPIDataVersionOK, *CityBusAPIDataVersionStatus299, error)
- func (a *Client) CityBusAPIDisplayStopOfRoute(params *CityBusAPIDisplayStopOfRouteParams, opts ...ClientOption) (*CityBusAPIDisplayStopOfRouteOK, *CityBusAPIDisplayStopOfRouteStatus299, error)
- func (a *Client) CityBusAPIDisplayStopOfRoute1(params *CityBusAPIDisplayStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIDisplayStopOfRoute1OK, *CityBusAPIDisplayStopOfRoute1Status299, ...)
- func (a *Client) CityBusAPIEstimatedTimeOfArrival(params *CityBusAPIEstimatedTimeOfArrivalParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalOK, ...)
- func (a *Client) CityBusAPIEstimatedTimeOfArrival1(params *CityBusAPIEstimatedTimeOfArrival1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrival1OK, ...)
- func (a *Client) CityBusAPIEstimatedTimeOfArrivalUDP(params *CityBusAPIEstimatedTimeOfArrivalUDPParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUDPOK, ...)
- func (a *Client) CityBusAPIEstimatedTimeOfArrivalUDP1(params *CityBusAPIEstimatedTimeOfArrivalUDP1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUdp1OK, ...)
- func (a *Client) CityBusAPIFirstLastTripInfo(params *CityBusAPIFirstLastTripInfoParams, opts ...ClientOption) (*CityBusAPIFirstLastTripInfoOK, *CityBusAPIFirstLastTripInfoStatus299, error)
- func (a *Client) CityBusAPIFirstLastTripInfo1(params *CityBusAPIFirstLastTripInfo1Params, opts ...ClientOption) (*CityBusAPIFirstLastTripInfo1OK, *CityBusAPIFirstLastTripInfo1Status299, error)
- func (a *Client) CityBusAPINews(params *CityBusAPINewsParams, opts ...ClientOption) (*CityBusAPINewsOK, *CityBusAPINewsStatus299, error)
- func (a *Client) CityBusAPIOperator(params *CityBusAPIOperatorParams, opts ...ClientOption) (*CityBusAPIOperatorOK, *CityBusAPIOperatorStatus299, error)
- func (a *Client) CityBusAPIRealTimeByFrequency(params *CityBusAPIRealTimeByFrequencyParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyOK, *CityBusAPIRealTimeByFrequencyStatus299, ...)
- func (a *Client) CityBusAPIRealTimeByFrequency1(params *CityBusAPIRealTimeByFrequency1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequency1OK, *CityBusAPIRealTimeByFrequency1Status299, ...)
- func (a *Client) CityBusAPIRealTimeByFrequencyUDP(params *CityBusAPIRealTimeByFrequencyUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUDPOK, ...)
- func (a *Client) CityBusAPIRealTimeByFrequencyUDP1(params *CityBusAPIRealTimeByFrequencyUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUdp1OK, ...)
- func (a *Client) CityBusAPIRealTimeNearStop(params *CityBusAPIRealTimeNearStopParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopOK, *CityBusAPIRealTimeNearStopStatus299, error)
- func (a *Client) CityBusAPIRealTimeNearStop1(params *CityBusAPIRealTimeNearStop1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStop1OK, *CityBusAPIRealTimeNearStop1Status299, error)
- func (a *Client) CityBusAPIRealTimeNearStopUDP(params *CityBusAPIRealTimeNearStopUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUDPOK, *CityBusAPIRealTimeNearStopUDPStatus299, ...)
- func (a *Client) CityBusAPIRealTimeNearStopUDP1(params *CityBusAPIRealTimeNearStopUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUdp1OK, *CityBusAPIRealTimeNearStopUdp1Status299, ...)
- func (a *Client) CityBusAPIRoute(params *CityBusAPIRouteParams, opts ...ClientOption) (*CityBusAPIRouteOK, *CityBusAPIRouteStatus299, error)
- func (a *Client) CityBusAPIRoute1(params *CityBusAPIRoute1Params, opts ...ClientOption) (*CityBusAPIRoute1OK, *CityBusAPIRoute1Status299, error)
- func (a *Client) CityBusAPIRouteFare(params *CityBusAPIRouteFareParams, opts ...ClientOption) (*CityBusAPIRouteFareOK, *CityBusAPIRouteFareStatus299, error)
- func (a *Client) CityBusAPIRouteFare1(params *CityBusAPIRouteFare1Params, opts ...ClientOption) (*CityBusAPIRouteFare1OK, *CityBusAPIRouteFare1Status299, error)
- func (a *Client) CityBusAPIRouteNetwork(params *CityBusAPIRouteNetworkParams, opts ...ClientOption) (*CityBusAPIRouteNetworkOK, *CityBusAPIRouteNetworkStatus299, error)
- func (a *Client) CityBusAPIRouteNetwork1(params *CityBusAPIRouteNetwork1Params, opts ...ClientOption) (*CityBusAPIRouteNetwork1OK, *CityBusAPIRouteNetwork1Status299, error)
- func (a *Client) CityBusAPIS2STravelTimeDetail(params *CityBusAPIS2STravelTimeDetailParams, opts ...ClientOption) (*CityBusAPIS2STravelTimeDetailOK, *CityBusAPIS2STravelTimeDetailStatus299, ...)
- func (a *Client) CityBusAPISchedule(params *CityBusAPIScheduleParams, opts ...ClientOption) (*CityBusAPIScheduleOK, *CityBusAPIScheduleStatus299, error)
- func (a *Client) CityBusAPISchedule1(params *CityBusAPISchedule1Params, opts ...ClientOption) (*CityBusAPISchedule1OK, *CityBusAPISchedule1Status299, error)
- func (a *Client) CityBusAPIShape(params *CityBusAPIShapeParams, opts ...ClientOption) (*CityBusAPIShapeOK, *CityBusAPIShapeStatus299, error)
- func (a *Client) CityBusAPIShape1(params *CityBusAPIShape1Params, opts ...ClientOption) (*CityBusAPIShape1OK, *CityBusAPIShape1Status299, error)
- func (a *Client) CityBusAPIStation(params *CityBusAPIStationParams, opts ...ClientOption) (*CityBusAPIStationOK, *CityBusAPIStationStatus299, error)
- func (a *Client) CityBusAPIStationGroup(params *CityBusAPIStationGroupParams, opts ...ClientOption) (*CityBusAPIStationGroupOK, *CityBusAPIStationGroupStatus299, error)
- func (a *Client) CityBusAPIStop(params *CityBusAPIStopParams, opts ...ClientOption) (*CityBusAPIStopOK, *CityBusAPIStopStatus299, error)
- func (a *Client) CityBusAPIStopOfRoute(params *CityBusAPIStopOfRouteParams, opts ...ClientOption) (*CityBusAPIStopOfRouteOK, *CityBusAPIStopOfRouteStatus299, error)
- func (a *Client) CityBusAPIStopOfRoute1(params *CityBusAPIStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIStopOfRoute1OK, *CityBusAPIStopOfRoute1Status299, error)
- func (a *Client) CityBusAPIVehicle(params *CityBusAPIVehicleParams, opts ...ClientOption) (*CityBusAPIVehicleOK, *CityBusAPIVehicleStatus299, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CityBusAPIAlertNotModified ¶ added in v0.11.0
type CityBusAPIAlertNotModified struct { }
CityBusAPIAlertNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIAlertNotModified ¶ added in v0.11.0
func NewCityBusAPIAlertNotModified() *CityBusAPIAlertNotModified
NewCityBusAPIAlertNotModified creates a CityBusAPIAlertNotModified with default headers values
func (*CityBusAPIAlertNotModified) Error ¶ added in v0.11.0
func (o *CityBusAPIAlertNotModified) Error() string
type CityBusAPIAlertOK ¶ added in v0.11.0
type CityBusAPIAlertOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusAlert
}
CityBusAPIAlertOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIAlertOK ¶ added in v0.11.0
func NewCityBusAPIAlertOK() *CityBusAPIAlertOK
NewCityBusAPIAlertOK creates a CityBusAPIAlertOK with default headers values
func (*CityBusAPIAlertOK) Error ¶ added in v0.11.0
func (o *CityBusAPIAlertOK) Error() string
func (*CityBusAPIAlertOK) GetPayload ¶ added in v0.11.0
func (o *CityBusAPIAlertOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusAlert
type CityBusAPIAlertParams ¶ added in v0.11.0
type CityBusAPIAlertParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIAlertParams contains all the parameters to send to the API endpoint
for the city bus Api alert operation. Typically these are written to a http.Request.
func NewCityBusAPIAlertParams ¶ added in v0.11.0
func NewCityBusAPIAlertParams() *CityBusAPIAlertParams
NewCityBusAPIAlertParams creates a new CityBusAPIAlertParams 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 NewCityBusAPIAlertParamsWithContext ¶ added in v0.11.0
func NewCityBusAPIAlertParamsWithContext(ctx context.Context) *CityBusAPIAlertParams
NewCityBusAPIAlertParamsWithContext creates a new CityBusAPIAlertParams object with the ability to set a context for a request.
func NewCityBusAPIAlertParamsWithHTTPClient ¶ added in v0.11.0
func NewCityBusAPIAlertParamsWithHTTPClient(client *http.Client) *CityBusAPIAlertParams
NewCityBusAPIAlertParamsWithHTTPClient creates a new CityBusAPIAlertParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIAlertParamsWithTimeout ¶ added in v0.11.0
func NewCityBusAPIAlertParamsWithTimeout(timeout time.Duration) *CityBusAPIAlertParams
NewCityBusAPIAlertParamsWithTimeout creates a new CityBusAPIAlertParams object with the ability to set a timeout on a request.
func (*CityBusAPIAlertParams) SetCity ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetCity(city string)
SetCity adds the city to the city bus Api alert params
func (*CityBusAPIAlertParams) SetContext ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api alert params
func (*CityBusAPIAlertParams) SetDefaults ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api alert params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIAlertParams) SetDollarFilter ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api alert params
func (*CityBusAPIAlertParams) SetDollarFormat ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api alert params
func (*CityBusAPIAlertParams) SetDollarOrderby ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api alert params
func (*CityBusAPIAlertParams) SetDollarSelect ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api alert params
func (*CityBusAPIAlertParams) SetDollarSkip ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api alert params
func (*CityBusAPIAlertParams) SetDollarTop ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api alert params
func (*CityBusAPIAlertParams) SetHTTPClient ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api alert params
func (*CityBusAPIAlertParams) SetHealth ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api alert params
func (*CityBusAPIAlertParams) SetTimeout ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api alert params
func (*CityBusAPIAlertParams) WithCity ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithCity(city string) *CityBusAPIAlertParams
WithCity adds the city to the city bus Api alert params
func (*CityBusAPIAlertParams) WithContext ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithContext(ctx context.Context) *CityBusAPIAlertParams
WithContext adds the context to the city bus Api alert params
func (*CityBusAPIAlertParams) WithDefaults ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDefaults() *CityBusAPIAlertParams
WithDefaults hydrates default values in the city bus Api alert params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIAlertParams) WithDollarFilter ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDollarFilter(dollarFilter *string) *CityBusAPIAlertParams
WithDollarFilter adds the dollarFilter to the city bus Api alert params
func (*CityBusAPIAlertParams) WithDollarFormat ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDollarFormat(dollarFormat string) *CityBusAPIAlertParams
WithDollarFormat adds the dollarFormat to the city bus Api alert params
func (*CityBusAPIAlertParams) WithDollarOrderby ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIAlertParams
WithDollarOrderby adds the dollarOrderby to the city bus Api alert params
func (*CityBusAPIAlertParams) WithDollarSelect ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDollarSelect(dollarSelect *string) *CityBusAPIAlertParams
WithDollarSelect adds the dollarSelect to the city bus Api alert params
func (*CityBusAPIAlertParams) WithDollarSkip ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDollarSkip(dollarSkip *string) *CityBusAPIAlertParams
WithDollarSkip adds the dollarSkip to the city bus Api alert params
func (*CityBusAPIAlertParams) WithDollarTop ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithDollarTop(dollarTop *int64) *CityBusAPIAlertParams
WithDollarTop adds the dollarTop to the city bus Api alert params
func (*CityBusAPIAlertParams) WithHTTPClient ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithHTTPClient(client *http.Client) *CityBusAPIAlertParams
WithHTTPClient adds the HTTPClient to the city bus Api alert params
func (*CityBusAPIAlertParams) WithHealth ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithHealth(health *string) *CityBusAPIAlertParams
WithHealth adds the health to the city bus Api alert params
func (*CityBusAPIAlertParams) WithTimeout ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WithTimeout(timeout time.Duration) *CityBusAPIAlertParams
WithTimeout adds the timeout to the city bus Api alert params
func (*CityBusAPIAlertParams) WriteToRequest ¶ added in v0.11.0
func (o *CityBusAPIAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIAlertReader ¶ added in v0.11.0
type CityBusAPIAlertReader struct {
// contains filtered or unexported fields
}
CityBusAPIAlertReader is a Reader for the CityBusAPIAlert structure.
func (*CityBusAPIAlertReader) ReadResponse ¶ added in v0.11.0
func (o *CityBusAPIAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIAlertStatus299 ¶ added in v0.11.0
type CityBusAPIAlertStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIAlertStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIAlertStatus299 ¶ added in v0.11.0
func NewCityBusAPIAlertStatus299() *CityBusAPIAlertStatus299
NewCityBusAPIAlertStatus299 creates a CityBusAPIAlertStatus299 with default headers values
func (*CityBusAPIAlertStatus299) Error ¶ added in v0.11.0
func (o *CityBusAPIAlertStatus299) Error() string
func (*CityBusAPIAlertStatus299) GetPayload ¶ added in v0.11.0
func (o *CityBusAPIAlertStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDailyStopTimeTable1NotModified ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTable1NotModified struct { }
CityBusAPIDailyStopTimeTable1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDailyStopTimeTable1NotModified ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1NotModified() *CityBusAPIDailyStopTimeTable1NotModified
NewCityBusAPIDailyStopTimeTable1NotModified creates a CityBusAPIDailyStopTimeTable1NotModified with default headers values
func (*CityBusAPIDailyStopTimeTable1NotModified) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1NotModified) Error() string
type CityBusAPIDailyStopTimeTable1OK ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTable1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyStopTimeTable
}
CityBusAPIDailyStopTimeTable1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDailyStopTimeTable1OK ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1OK() *CityBusAPIDailyStopTimeTable1OK
NewCityBusAPIDailyStopTimeTable1OK creates a CityBusAPIDailyStopTimeTable1OK with default headers values
func (*CityBusAPIDailyStopTimeTable1OK) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1OK) Error() string
func (*CityBusAPIDailyStopTimeTable1OK) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusDailyStopTimeTable
type CityBusAPIDailyStopTimeTable1Params ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTable1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDailyStopTimeTable1Params contains all the parameters to send to the API endpoint
for the city bus Api daily stop time table 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIDailyStopTimeTable1Params ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1Params() *CityBusAPIDailyStopTimeTable1Params
NewCityBusAPIDailyStopTimeTable1Params creates a new CityBusAPIDailyStopTimeTable1Params 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 NewCityBusAPIDailyStopTimeTable1ParamsWithContext ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1ParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable1Params
NewCityBusAPIDailyStopTimeTable1ParamsWithContext creates a new CityBusAPIDailyStopTimeTable1Params object with the ability to set a context for a request.
func NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable1Params
NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient creates a new CityBusAPIDailyStopTimeTable1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable1Params
NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout creates a new CityBusAPIDailyStopTimeTable1Params object with the ability to set a timeout on a request.
func (*CityBusAPIDailyStopTimeTable1Params) SetCity ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetCity(city string)
SetCity adds the city to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetContext ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api daily stop time table 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyStopTimeTable1Params) SetDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetRouteName ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) SetTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithCity ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithCity(city string) *CityBusAPIDailyStopTimeTable1Params
WithCity adds the city to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithContext ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable1Params
WithContext adds the context to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDefaults() *CityBusAPIDailyStopTimeTable1Params
WithDefaults hydrates default values in the city bus Api daily stop time table 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyStopTimeTable1Params) WithDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyStopTimeTable1Params
WithDollarFilter adds the dollarFilter to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarFormat(dollarFormat string) *CityBusAPIDailyStopTimeTable1Params
WithDollarFormat adds the dollarFormat to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyStopTimeTable1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyStopTimeTable1Params
WithDollarSelect adds the dollarSelect to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyStopTimeTable1Params
WithDollarSkip adds the dollarSkip to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithDollarTop(dollarTop *int64) *CityBusAPIDailyStopTimeTable1Params
WithDollarTop adds the dollarTop to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable1Params
WithHTTPClient adds the HTTPClient to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithHealth(health *string) *CityBusAPIDailyStopTimeTable1Params
WithHealth adds the health to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithRouteName ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithRouteName(routeName string) *CityBusAPIDailyStopTimeTable1Params
WithRouteName adds the routeName to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WithTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable1Params
WithTimeout adds the timeout to the city bus Api daily stop time table 1 params
func (*CityBusAPIDailyStopTimeTable1Params) WriteToRequest ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDailyStopTimeTable1Reader ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTable1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIDailyStopTimeTable1Reader is a Reader for the CityBusAPIDailyStopTimeTable1 structure.
func (*CityBusAPIDailyStopTimeTable1Reader) ReadResponse ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDailyStopTimeTable1Status299 ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTable1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDailyStopTimeTable1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDailyStopTimeTable1Status299 ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTable1Status299() *CityBusAPIDailyStopTimeTable1Status299
NewCityBusAPIDailyStopTimeTable1Status299 creates a CityBusAPIDailyStopTimeTable1Status299 with default headers values
func (*CityBusAPIDailyStopTimeTable1Status299) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Status299) Error() string
func (*CityBusAPIDailyStopTimeTable1Status299) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTable1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDailyStopTimeTableNotModified ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTableNotModified struct { }
CityBusAPIDailyStopTimeTableNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDailyStopTimeTableNotModified ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableNotModified() *CityBusAPIDailyStopTimeTableNotModified
NewCityBusAPIDailyStopTimeTableNotModified creates a CityBusAPIDailyStopTimeTableNotModified with default headers values
func (*CityBusAPIDailyStopTimeTableNotModified) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableNotModified) Error() string
type CityBusAPIDailyStopTimeTableOK ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTableOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyStopTimeTable
}
CityBusAPIDailyStopTimeTableOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDailyStopTimeTableOK ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableOK() *CityBusAPIDailyStopTimeTableOK
NewCityBusAPIDailyStopTimeTableOK creates a CityBusAPIDailyStopTimeTableOK with default headers values
func (*CityBusAPIDailyStopTimeTableOK) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableOK) Error() string
func (*CityBusAPIDailyStopTimeTableOK) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusDailyStopTimeTable
type CityBusAPIDailyStopTimeTableParams ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTableParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDailyStopTimeTableParams contains all the parameters to send to the API endpoint
for the city bus Api daily stop time table operation. Typically these are written to a http.Request.
func NewCityBusAPIDailyStopTimeTableParams ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableParams() *CityBusAPIDailyStopTimeTableParams
NewCityBusAPIDailyStopTimeTableParams creates a new CityBusAPIDailyStopTimeTableParams 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 NewCityBusAPIDailyStopTimeTableParamsWithContext ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTableParams
NewCityBusAPIDailyStopTimeTableParamsWithContext creates a new CityBusAPIDailyStopTimeTableParams object with the ability to set a context for a request.
func NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTableParams
NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient creates a new CityBusAPIDailyStopTimeTableParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDailyStopTimeTableParamsWithTimeout ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTableParams
NewCityBusAPIDailyStopTimeTableParamsWithTimeout creates a new CityBusAPIDailyStopTimeTableParams object with the ability to set a timeout on a request.
func (*CityBusAPIDailyStopTimeTableParams) SetCity ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetCity(city string)
SetCity adds the city to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetContext ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api daily stop time table params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyStopTimeTableParams) SetDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) SetTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithCity ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithCity(city string) *CityBusAPIDailyStopTimeTableParams
WithCity adds the city to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithContext ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithContext(ctx context.Context) *CityBusAPIDailyStopTimeTableParams
WithContext adds the context to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDefaults() *CityBusAPIDailyStopTimeTableParams
WithDefaults hydrates default values in the city bus Api daily stop time table params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyStopTimeTableParams) WithDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyStopTimeTableParams
WithDollarFilter adds the dollarFilter to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDollarFormat(dollarFormat string) *CityBusAPIDailyStopTimeTableParams
WithDollarFormat adds the dollarFormat to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyStopTimeTableParams
WithDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyStopTimeTableParams
WithDollarSelect adds the dollarSelect to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyStopTimeTableParams
WithDollarSkip adds the dollarSkip to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithDollarTop(dollarTop *int64) *CityBusAPIDailyStopTimeTableParams
WithDollarTop adds the dollarTop to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTableParams
WithHTTPClient adds the HTTPClient to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithHealth(health *string) *CityBusAPIDailyStopTimeTableParams
WithHealth adds the health to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WithTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTableParams
WithTimeout adds the timeout to the city bus Api daily stop time table params
func (*CityBusAPIDailyStopTimeTableParams) WriteToRequest ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDailyStopTimeTableReader ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTableReader struct {
// contains filtered or unexported fields
}
CityBusAPIDailyStopTimeTableReader is a Reader for the CityBusAPIDailyStopTimeTable structure.
func (*CityBusAPIDailyStopTimeTableReader) ReadResponse ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDailyStopTimeTableStatus299 ¶ added in v0.12.0
type CityBusAPIDailyStopTimeTableStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDailyStopTimeTableStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDailyStopTimeTableStatus299 ¶ added in v0.12.0
func NewCityBusAPIDailyStopTimeTableStatus299() *CityBusAPIDailyStopTimeTableStatus299
NewCityBusAPIDailyStopTimeTableStatus299 creates a CityBusAPIDailyStopTimeTableStatus299 with default headers values
func (*CityBusAPIDailyStopTimeTableStatus299) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableStatus299) Error() string
func (*CityBusAPIDailyStopTimeTableStatus299) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyStopTimeTableStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDailyTimeTable1NotModified ¶ added in v0.12.0
type CityBusAPIDailyTimeTable1NotModified struct { }
CityBusAPIDailyTimeTable1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDailyTimeTable1NotModified ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1NotModified() *CityBusAPIDailyTimeTable1NotModified
NewCityBusAPIDailyTimeTable1NotModified creates a CityBusAPIDailyTimeTable1NotModified with default headers values
func (*CityBusAPIDailyTimeTable1NotModified) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1NotModified) Error() string
type CityBusAPIDailyTimeTable1OK ¶ added in v0.12.0
type CityBusAPIDailyTimeTable1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyTimeTable
}
CityBusAPIDailyTimeTable1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDailyTimeTable1OK ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1OK() *CityBusAPIDailyTimeTable1OK
NewCityBusAPIDailyTimeTable1OK creates a CityBusAPIDailyTimeTable1OK with default headers values
func (*CityBusAPIDailyTimeTable1OK) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1OK) Error() string
func (*CityBusAPIDailyTimeTable1OK) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusDailyTimeTable
type CityBusAPIDailyTimeTable1Params ¶ added in v0.12.0
type CityBusAPIDailyTimeTable1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDailyTimeTable1Params contains all the parameters to send to the API endpoint
for the city bus Api daily time table 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIDailyTimeTable1Params ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1Params() *CityBusAPIDailyTimeTable1Params
NewCityBusAPIDailyTimeTable1Params creates a new CityBusAPIDailyTimeTable1Params 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 NewCityBusAPIDailyTimeTable1ParamsWithContext ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1ParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTable1Params
NewCityBusAPIDailyTimeTable1ParamsWithContext creates a new CityBusAPIDailyTimeTable1Params object with the ability to set a context for a request.
func NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable1Params
NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient creates a new CityBusAPIDailyTimeTable1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDailyTimeTable1ParamsWithTimeout ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable1Params
NewCityBusAPIDailyTimeTable1ParamsWithTimeout creates a new CityBusAPIDailyTimeTable1Params object with the ability to set a timeout on a request.
func (*CityBusAPIDailyTimeTable1Params) SetCity ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetCity(city string)
SetCity adds the city to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetContext ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api daily time table 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyTimeTable1Params) SetDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetRouteName ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) SetTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithCity ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithCity(city string) *CityBusAPIDailyTimeTable1Params
WithCity adds the city to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithContext ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithContext(ctx context.Context) *CityBusAPIDailyTimeTable1Params
WithContext adds the context to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDefaults() *CityBusAPIDailyTimeTable1Params
WithDefaults hydrates default values in the city bus Api daily time table 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyTimeTable1Params) WithDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyTimeTable1Params
WithDollarFilter adds the dollarFilter to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDollarFormat(dollarFormat string) *CityBusAPIDailyTimeTable1Params
WithDollarFormat adds the dollarFormat to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyTimeTable1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyTimeTable1Params
WithDollarSelect adds the dollarSelect to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyTimeTable1Params
WithDollarSkip adds the dollarSkip to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithDollarTop(dollarTop *int64) *CityBusAPIDailyTimeTable1Params
WithDollarTop adds the dollarTop to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable1Params
WithHTTPClient adds the HTTPClient to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithHealth(health *string) *CityBusAPIDailyTimeTable1Params
WithHealth adds the health to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithRouteName ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithRouteName(routeName string) *CityBusAPIDailyTimeTable1Params
WithRouteName adds the routeName to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WithTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable1Params
WithTimeout adds the timeout to the city bus Api daily time table 1 params
func (*CityBusAPIDailyTimeTable1Params) WriteToRequest ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDailyTimeTable1Reader ¶ added in v0.12.0
type CityBusAPIDailyTimeTable1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIDailyTimeTable1Reader is a Reader for the CityBusAPIDailyTimeTable1 structure.
func (*CityBusAPIDailyTimeTable1Reader) ReadResponse ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDailyTimeTable1Status299 ¶ added in v0.12.0
type CityBusAPIDailyTimeTable1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDailyTimeTable1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDailyTimeTable1Status299 ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTable1Status299() *CityBusAPIDailyTimeTable1Status299
NewCityBusAPIDailyTimeTable1Status299 creates a CityBusAPIDailyTimeTable1Status299 with default headers values
func (*CityBusAPIDailyTimeTable1Status299) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Status299) Error() string
func (*CityBusAPIDailyTimeTable1Status299) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTable1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDailyTimeTableNotModified ¶ added in v0.12.0
type CityBusAPIDailyTimeTableNotModified struct { }
CityBusAPIDailyTimeTableNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDailyTimeTableNotModified ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableNotModified() *CityBusAPIDailyTimeTableNotModified
NewCityBusAPIDailyTimeTableNotModified creates a CityBusAPIDailyTimeTableNotModified with default headers values
func (*CityBusAPIDailyTimeTableNotModified) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableNotModified) Error() string
type CityBusAPIDailyTimeTableOK ¶ added in v0.12.0
type CityBusAPIDailyTimeTableOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyTimeTable
}
CityBusAPIDailyTimeTableOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDailyTimeTableOK ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableOK() *CityBusAPIDailyTimeTableOK
NewCityBusAPIDailyTimeTableOK creates a CityBusAPIDailyTimeTableOK with default headers values
func (*CityBusAPIDailyTimeTableOK) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableOK) Error() string
func (*CityBusAPIDailyTimeTableOK) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusDailyTimeTable
type CityBusAPIDailyTimeTableParams ¶ added in v0.12.0
type CityBusAPIDailyTimeTableParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDailyTimeTableParams contains all the parameters to send to the API endpoint
for the city bus Api daily time table operation. Typically these are written to a http.Request.
func NewCityBusAPIDailyTimeTableParams ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableParams() *CityBusAPIDailyTimeTableParams
NewCityBusAPIDailyTimeTableParams creates a new CityBusAPIDailyTimeTableParams 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 NewCityBusAPIDailyTimeTableParamsWithContext ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTableParams
NewCityBusAPIDailyTimeTableParamsWithContext creates a new CityBusAPIDailyTimeTableParams object with the ability to set a context for a request.
func NewCityBusAPIDailyTimeTableParamsWithHTTPClient ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTableParams
NewCityBusAPIDailyTimeTableParamsWithHTTPClient creates a new CityBusAPIDailyTimeTableParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDailyTimeTableParamsWithTimeout ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTableParams
NewCityBusAPIDailyTimeTableParamsWithTimeout creates a new CityBusAPIDailyTimeTableParams object with the ability to set a timeout on a request.
func (*CityBusAPIDailyTimeTableParams) SetCity ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetCity(city string)
SetCity adds the city to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetContext ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api daily time table params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyTimeTableParams) SetDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) SetTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithCity ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithCity(city string) *CityBusAPIDailyTimeTableParams
WithCity adds the city to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithContext ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithContext(ctx context.Context) *CityBusAPIDailyTimeTableParams
WithContext adds the context to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithDefaults ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDefaults() *CityBusAPIDailyTimeTableParams
WithDefaults hydrates default values in the city bus Api daily time table params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDailyTimeTableParams) WithDollarFilter ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDollarFilter(dollarFilter *string) *CityBusAPIDailyTimeTableParams
WithDollarFilter adds the dollarFilter to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithDollarFormat ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDollarFormat(dollarFormat string) *CityBusAPIDailyTimeTableParams
WithDollarFormat adds the dollarFormat to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithDollarOrderby ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDailyTimeTableParams
WithDollarOrderby adds the dollarOrderby to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithDollarSelect ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDollarSelect(dollarSelect *string) *CityBusAPIDailyTimeTableParams
WithDollarSelect adds the dollarSelect to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithDollarSkip ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDollarSkip(dollarSkip *string) *CityBusAPIDailyTimeTableParams
WithDollarSkip adds the dollarSkip to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithDollarTop ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithDollarTop(dollarTop *int64) *CityBusAPIDailyTimeTableParams
WithDollarTop adds the dollarTop to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithHTTPClient ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTableParams
WithHTTPClient adds the HTTPClient to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithHealth ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithHealth(health *string) *CityBusAPIDailyTimeTableParams
WithHealth adds the health to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WithTimeout ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTableParams
WithTimeout adds the timeout to the city bus Api daily time table params
func (*CityBusAPIDailyTimeTableParams) WriteToRequest ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDailyTimeTableReader ¶ added in v0.12.0
type CityBusAPIDailyTimeTableReader struct {
// contains filtered or unexported fields
}
CityBusAPIDailyTimeTableReader is a Reader for the CityBusAPIDailyTimeTable structure.
func (*CityBusAPIDailyTimeTableReader) ReadResponse ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDailyTimeTableStatus299 ¶ added in v0.12.0
type CityBusAPIDailyTimeTableStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDailyTimeTableStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDailyTimeTableStatus299 ¶ added in v0.12.0
func NewCityBusAPIDailyTimeTableStatus299() *CityBusAPIDailyTimeTableStatus299
NewCityBusAPIDailyTimeTableStatus299 creates a CityBusAPIDailyTimeTableStatus299 with default headers values
func (*CityBusAPIDailyTimeTableStatus299) Error ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableStatus299) Error() string
func (*CityBusAPIDailyTimeTableStatus299) GetPayload ¶ added in v0.12.0
func (o *CityBusAPIDailyTimeTableStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDataVersionNotModified ¶ added in v0.9.0
type CityBusAPIDataVersionNotModified struct { }
CityBusAPIDataVersionNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDataVersionNotModified ¶ added in v0.9.0
func NewCityBusAPIDataVersionNotModified() *CityBusAPIDataVersionNotModified
NewCityBusAPIDataVersionNotModified creates a CityBusAPIDataVersionNotModified with default headers values
func (*CityBusAPIDataVersionNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIDataVersionNotModified) Error() string
type CityBusAPIDataVersionOK ¶
type CityBusAPIDataVersionOK struct {
Payload *models.PTXServiceDTOBusSpecificationV2BusVersion
}
CityBusAPIDataVersionOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDataVersionOK ¶
func NewCityBusAPIDataVersionOK() *CityBusAPIDataVersionOK
NewCityBusAPIDataVersionOK creates a CityBusAPIDataVersionOK with default headers values
func (*CityBusAPIDataVersionOK) Error ¶
func (o *CityBusAPIDataVersionOK) Error() string
func (*CityBusAPIDataVersionOK) GetPayload ¶
func (o *CityBusAPIDataVersionOK) GetPayload() *models.PTXServiceDTOBusSpecificationV2BusVersion
type CityBusAPIDataVersionParams ¶
type CityBusAPIDataVersionParams struct { /* DollarFormat. 指定來源格式 */ DollarFormat string /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDataVersionParams contains all the parameters to send to the API endpoint
for the city bus Api data version operation. Typically these are written to a http.Request.
func NewCityBusAPIDataVersionParams ¶
func NewCityBusAPIDataVersionParams() *CityBusAPIDataVersionParams
NewCityBusAPIDataVersionParams creates a new CityBusAPIDataVersionParams 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 NewCityBusAPIDataVersionParamsWithContext ¶
func NewCityBusAPIDataVersionParamsWithContext(ctx context.Context) *CityBusAPIDataVersionParams
NewCityBusAPIDataVersionParamsWithContext creates a new CityBusAPIDataVersionParams object with the ability to set a context for a request.
func NewCityBusAPIDataVersionParamsWithHTTPClient ¶
func NewCityBusAPIDataVersionParamsWithHTTPClient(client *http.Client) *CityBusAPIDataVersionParams
NewCityBusAPIDataVersionParamsWithHTTPClient creates a new CityBusAPIDataVersionParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDataVersionParamsWithTimeout ¶
func NewCityBusAPIDataVersionParamsWithTimeout(timeout time.Duration) *CityBusAPIDataVersionParams
NewCityBusAPIDataVersionParamsWithTimeout creates a new CityBusAPIDataVersionParams object with the ability to set a timeout on a request.
func (*CityBusAPIDataVersionParams) SetCity ¶
func (o *CityBusAPIDataVersionParams) SetCity(city string)
SetCity adds the city to the city bus Api data version params
func (*CityBusAPIDataVersionParams) SetContext ¶
func (o *CityBusAPIDataVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api data version params
func (*CityBusAPIDataVersionParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIDataVersionParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api data version params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDataVersionParams) SetDollarFormat ¶
func (o *CityBusAPIDataVersionParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api data version params
func (*CityBusAPIDataVersionParams) SetHTTPClient ¶
func (o *CityBusAPIDataVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api data version params
func (*CityBusAPIDataVersionParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIDataVersionParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api data version params
func (*CityBusAPIDataVersionParams) SetTimeout ¶
func (o *CityBusAPIDataVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WithCity ¶
func (o *CityBusAPIDataVersionParams) WithCity(city string) *CityBusAPIDataVersionParams
WithCity adds the city to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WithContext ¶
func (o *CityBusAPIDataVersionParams) WithContext(ctx context.Context) *CityBusAPIDataVersionParams
WithContext adds the context to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIDataVersionParams) WithDefaults() *CityBusAPIDataVersionParams
WithDefaults hydrates default values in the city bus Api data version params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDataVersionParams) WithDollarFormat ¶
func (o *CityBusAPIDataVersionParams) WithDollarFormat(dollarFormat string) *CityBusAPIDataVersionParams
WithDollarFormat adds the dollarFormat to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WithHTTPClient ¶
func (o *CityBusAPIDataVersionParams) WithHTTPClient(client *http.Client) *CityBusAPIDataVersionParams
WithHTTPClient adds the HTTPClient to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIDataVersionParams) WithHealth(health *string) *CityBusAPIDataVersionParams
WithHealth adds the health to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WithTimeout ¶
func (o *CityBusAPIDataVersionParams) WithTimeout(timeout time.Duration) *CityBusAPIDataVersionParams
WithTimeout adds the timeout to the city bus Api data version params
func (*CityBusAPIDataVersionParams) WriteToRequest ¶
func (o *CityBusAPIDataVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDataVersionReader ¶
type CityBusAPIDataVersionReader struct {
// contains filtered or unexported fields
}
CityBusAPIDataVersionReader is a Reader for the CityBusAPIDataVersion structure.
func (*CityBusAPIDataVersionReader) ReadResponse ¶
func (o *CityBusAPIDataVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDataVersionStatus299 ¶ added in v0.3.0
type CityBusAPIDataVersionStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDataVersionStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDataVersionStatus299 ¶ added in v0.3.0
func NewCityBusAPIDataVersionStatus299() *CityBusAPIDataVersionStatus299
NewCityBusAPIDataVersionStatus299 creates a CityBusAPIDataVersionStatus299 with default headers values
func (*CityBusAPIDataVersionStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIDataVersionStatus299) Error() string
func (*CityBusAPIDataVersionStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIDataVersionStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDisplayStopOfRoute1NotModified ¶ added in v0.9.0
type CityBusAPIDisplayStopOfRoute1NotModified struct { }
CityBusAPIDisplayStopOfRoute1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDisplayStopOfRoute1NotModified ¶ added in v0.9.0
func NewCityBusAPIDisplayStopOfRoute1NotModified() *CityBusAPIDisplayStopOfRoute1NotModified
NewCityBusAPIDisplayStopOfRoute1NotModified creates a CityBusAPIDisplayStopOfRoute1NotModified with default headers values
func (*CityBusAPIDisplayStopOfRoute1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIDisplayStopOfRoute1NotModified) Error() string
type CityBusAPIDisplayStopOfRoute1OK ¶
type CityBusAPIDisplayStopOfRoute1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusDisplayStopOfRoute
}
CityBusAPIDisplayStopOfRoute1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDisplayStopOfRoute1OK ¶
func NewCityBusAPIDisplayStopOfRoute1OK() *CityBusAPIDisplayStopOfRoute1OK
NewCityBusAPIDisplayStopOfRoute1OK creates a CityBusAPIDisplayStopOfRoute1OK with default headers values
func (*CityBusAPIDisplayStopOfRoute1OK) Error ¶
func (o *CityBusAPIDisplayStopOfRoute1OK) Error() string
func (*CityBusAPIDisplayStopOfRoute1OK) GetPayload ¶
func (o *CityBusAPIDisplayStopOfRoute1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusDisplayStopOfRoute
type CityBusAPIDisplayStopOfRoute1Params ¶
type CityBusAPIDisplayStopOfRoute1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDisplayStopOfRoute1Params contains all the parameters to send to the API endpoint
for the city bus Api display stop of route 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIDisplayStopOfRoute1Params ¶
func NewCityBusAPIDisplayStopOfRoute1Params() *CityBusAPIDisplayStopOfRoute1Params
NewCityBusAPIDisplayStopOfRoute1Params creates a new CityBusAPIDisplayStopOfRoute1Params 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 NewCityBusAPIDisplayStopOfRoute1ParamsWithContext ¶
func NewCityBusAPIDisplayStopOfRoute1ParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute1Params
NewCityBusAPIDisplayStopOfRoute1ParamsWithContext creates a new CityBusAPIDisplayStopOfRoute1Params object with the ability to set a context for a request.
func NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient ¶
func NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute1Params
NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient creates a new CityBusAPIDisplayStopOfRoute1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout ¶
func NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute1Params
NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout creates a new CityBusAPIDisplayStopOfRoute1Params object with the ability to set a timeout on a request.
func (*CityBusAPIDisplayStopOfRoute1Params) SetCity ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetCity(city string)
SetCity adds the city to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetContext ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api display stop of route 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarFilter ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarFormat ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarOrderby ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarSelect ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarSkip ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarTop ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetHTTPClient ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRoute1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetRouteName ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) SetTimeout ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithCity ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithCity(city string) *CityBusAPIDisplayStopOfRoute1Params
WithCity adds the city to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithContext ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute1Params
WithContext adds the context to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDefaults() *CityBusAPIDisplayStopOfRoute1Params
WithDefaults hydrates default values in the city bus Api display stop of route 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarFilter ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIDisplayStopOfRoute1Params
WithDollarFilter adds the dollarFilter to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarFormat ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIDisplayStopOfRoute1Params
WithDollarFormat adds the dollarFormat to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarOrderby ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDisplayStopOfRoute1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarSelect ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIDisplayStopOfRoute1Params
WithDollarSelect adds the dollarSelect to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarSkip ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIDisplayStopOfRoute1Params
WithDollarSkip adds the dollarSkip to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarTop ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIDisplayStopOfRoute1Params
WithDollarTop adds the dollarTop to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithHTTPClient ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute1Params
WithHTTPClient adds the HTTPClient to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRoute1Params) WithHealth(health *string) *CityBusAPIDisplayStopOfRoute1Params
WithHealth adds the health to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithRouteName ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithRouteName(routeName string) *CityBusAPIDisplayStopOfRoute1Params
WithRouteName adds the routeName to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WithTimeout ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute1Params
WithTimeout adds the timeout to the city bus Api display stop of route 1 params
func (*CityBusAPIDisplayStopOfRoute1Params) WriteToRequest ¶
func (o *CityBusAPIDisplayStopOfRoute1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDisplayStopOfRoute1Reader ¶
type CityBusAPIDisplayStopOfRoute1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIDisplayStopOfRoute1Reader is a Reader for the CityBusAPIDisplayStopOfRoute1 structure.
func (*CityBusAPIDisplayStopOfRoute1Reader) ReadResponse ¶
func (o *CityBusAPIDisplayStopOfRoute1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDisplayStopOfRoute1Status299 ¶ added in v0.3.0
type CityBusAPIDisplayStopOfRoute1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDisplayStopOfRoute1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDisplayStopOfRoute1Status299 ¶ added in v0.3.0
func NewCityBusAPIDisplayStopOfRoute1Status299() *CityBusAPIDisplayStopOfRoute1Status299
NewCityBusAPIDisplayStopOfRoute1Status299 creates a CityBusAPIDisplayStopOfRoute1Status299 with default headers values
func (*CityBusAPIDisplayStopOfRoute1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRoute1Status299) Error() string
func (*CityBusAPIDisplayStopOfRoute1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRoute1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIDisplayStopOfRouteNotModified ¶ added in v0.9.0
type CityBusAPIDisplayStopOfRouteNotModified struct { }
CityBusAPIDisplayStopOfRouteNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIDisplayStopOfRouteNotModified ¶ added in v0.9.0
func NewCityBusAPIDisplayStopOfRouteNotModified() *CityBusAPIDisplayStopOfRouteNotModified
NewCityBusAPIDisplayStopOfRouteNotModified creates a CityBusAPIDisplayStopOfRouteNotModified with default headers values
func (*CityBusAPIDisplayStopOfRouteNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIDisplayStopOfRouteNotModified) Error() string
type CityBusAPIDisplayStopOfRouteOK ¶
type CityBusAPIDisplayStopOfRouteOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusDisplayStopOfRoute
}
CityBusAPIDisplayStopOfRouteOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIDisplayStopOfRouteOK ¶
func NewCityBusAPIDisplayStopOfRouteOK() *CityBusAPIDisplayStopOfRouteOK
NewCityBusAPIDisplayStopOfRouteOK creates a CityBusAPIDisplayStopOfRouteOK with default headers values
func (*CityBusAPIDisplayStopOfRouteOK) Error ¶
func (o *CityBusAPIDisplayStopOfRouteOK) Error() string
func (*CityBusAPIDisplayStopOfRouteOK) GetPayload ¶
func (o *CityBusAPIDisplayStopOfRouteOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusDisplayStopOfRoute
type CityBusAPIDisplayStopOfRouteParams ¶
type CityBusAPIDisplayStopOfRouteParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIDisplayStopOfRouteParams contains all the parameters to send to the API endpoint
for the city bus Api display stop of route operation. Typically these are written to a http.Request.
func NewCityBusAPIDisplayStopOfRouteParams ¶
func NewCityBusAPIDisplayStopOfRouteParams() *CityBusAPIDisplayStopOfRouteParams
NewCityBusAPIDisplayStopOfRouteParams creates a new CityBusAPIDisplayStopOfRouteParams 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 NewCityBusAPIDisplayStopOfRouteParamsWithContext ¶
func NewCityBusAPIDisplayStopOfRouteParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRouteParams
NewCityBusAPIDisplayStopOfRouteParamsWithContext creates a new CityBusAPIDisplayStopOfRouteParams object with the ability to set a context for a request.
func NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient ¶
func NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRouteParams
NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient creates a new CityBusAPIDisplayStopOfRouteParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIDisplayStopOfRouteParamsWithTimeout ¶
func NewCityBusAPIDisplayStopOfRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRouteParams
NewCityBusAPIDisplayStopOfRouteParamsWithTimeout creates a new CityBusAPIDisplayStopOfRouteParams object with the ability to set a timeout on a request.
func (*CityBusAPIDisplayStopOfRouteParams) SetCity ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetCity(city string)
SetCity adds the city to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetContext ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIDisplayStopOfRouteParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api display stop of route params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDisplayStopOfRouteParams) SetDollarFilter ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetDollarFormat ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetDollarOrderby ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetDollarSelect ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetDollarSkip ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetDollarTop ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetHTTPClient ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRouteParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) SetTimeout ¶
func (o *CityBusAPIDisplayStopOfRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithCity ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithCity(city string) *CityBusAPIDisplayStopOfRouteParams
WithCity adds the city to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithContext ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithContext(ctx context.Context) *CityBusAPIDisplayStopOfRouteParams
WithContext adds the context to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIDisplayStopOfRouteParams) WithDefaults() *CityBusAPIDisplayStopOfRouteParams
WithDefaults hydrates default values in the city bus Api display stop of route params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIDisplayStopOfRouteParams) WithDollarFilter ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIDisplayStopOfRouteParams
WithDollarFilter adds the dollarFilter to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithDollarFormat ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIDisplayStopOfRouteParams
WithDollarFormat adds the dollarFormat to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithDollarOrderby ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIDisplayStopOfRouteParams
WithDollarOrderby adds the dollarOrderby to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithDollarSelect ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIDisplayStopOfRouteParams
WithDollarSelect adds the dollarSelect to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithDollarSkip ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIDisplayStopOfRouteParams
WithDollarSkip adds the dollarSkip to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithDollarTop ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIDisplayStopOfRouteParams
WithDollarTop adds the dollarTop to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithHTTPClient ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRouteParams
WithHTTPClient adds the HTTPClient to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRouteParams) WithHealth(health *string) *CityBusAPIDisplayStopOfRouteParams
WithHealth adds the health to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WithTimeout ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRouteParams
WithTimeout adds the timeout to the city bus Api display stop of route params
func (*CityBusAPIDisplayStopOfRouteParams) WriteToRequest ¶
func (o *CityBusAPIDisplayStopOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIDisplayStopOfRouteReader ¶
type CityBusAPIDisplayStopOfRouteReader struct {
// contains filtered or unexported fields
}
CityBusAPIDisplayStopOfRouteReader is a Reader for the CityBusAPIDisplayStopOfRoute structure.
func (*CityBusAPIDisplayStopOfRouteReader) ReadResponse ¶
func (o *CityBusAPIDisplayStopOfRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIDisplayStopOfRouteStatus299 ¶ added in v0.3.0
type CityBusAPIDisplayStopOfRouteStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIDisplayStopOfRouteStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIDisplayStopOfRouteStatus299 ¶ added in v0.3.0
func NewCityBusAPIDisplayStopOfRouteStatus299() *CityBusAPIDisplayStopOfRouteStatus299
NewCityBusAPIDisplayStopOfRouteStatus299 creates a CityBusAPIDisplayStopOfRouteStatus299 with default headers values
func (*CityBusAPIDisplayStopOfRouteStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRouteStatus299) Error() string
func (*CityBusAPIDisplayStopOfRouteStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIDisplayStopOfRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIEstimatedTimeOfArrival1NotModified ¶ added in v0.9.0
type CityBusAPIEstimatedTimeOfArrival1NotModified struct { }
CityBusAPIEstimatedTimeOfArrival1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIEstimatedTimeOfArrival1NotModified ¶ added in v0.9.0
func NewCityBusAPIEstimatedTimeOfArrival1NotModified() *CityBusAPIEstimatedTimeOfArrival1NotModified
NewCityBusAPIEstimatedTimeOfArrival1NotModified creates a CityBusAPIEstimatedTimeOfArrival1NotModified with default headers values
func (*CityBusAPIEstimatedTimeOfArrival1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrival1NotModified) Error() string
type CityBusAPIEstimatedTimeOfArrival1OK ¶
type CityBusAPIEstimatedTimeOfArrival1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrival1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIEstimatedTimeOfArrival1OK ¶
func NewCityBusAPIEstimatedTimeOfArrival1OK() *CityBusAPIEstimatedTimeOfArrival1OK
NewCityBusAPIEstimatedTimeOfArrival1OK creates a CityBusAPIEstimatedTimeOfArrival1OK with default headers values
func (*CityBusAPIEstimatedTimeOfArrival1OK) Error ¶
func (o *CityBusAPIEstimatedTimeOfArrival1OK) Error() string
func (*CityBusAPIEstimatedTimeOfArrival1OK) GetPayload ¶
func (o *CityBusAPIEstimatedTimeOfArrival1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
type CityBusAPIEstimatedTimeOfArrival1Params ¶
type CityBusAPIEstimatedTimeOfArrival1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIEstimatedTimeOfArrival1Params contains all the parameters to send to the API endpoint
for the city bus Api estimated time of arrival 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIEstimatedTimeOfArrival1Params ¶
func NewCityBusAPIEstimatedTimeOfArrival1Params() *CityBusAPIEstimatedTimeOfArrival1Params
NewCityBusAPIEstimatedTimeOfArrival1Params creates a new CityBusAPIEstimatedTimeOfArrival1Params 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 NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext ¶
func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival1Params
NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrival1Params object with the ability to set a context for a request.
func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient ¶
func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival1Params
NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrival1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout ¶
func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival1Params
NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrival1Params object with the ability to set a timeout on a request.
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetCity ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetCity(city string)
SetCity adds the city to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetContext ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api estimated time of arrival 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFilter ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFormat ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarOrderby ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSelect ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSkip ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarTop ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetHTTPClient ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetRouteName ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) SetTimeout ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithCity ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithCity(city string) *CityBusAPIEstimatedTimeOfArrival1Params
WithCity adds the city to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithContext ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival1Params
WithContext adds the context to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDefaults() *CityBusAPIEstimatedTimeOfArrival1Params
WithDefaults hydrates default values in the city bus Api estimated time of arrival 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFilter ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrival1Params
WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFormat ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrival1Params
WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarOrderby ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrival1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSelect ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrival1Params
WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSkip ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrival1Params
WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarTop ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrival1Params
WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithHTTPClient ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival1Params
WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrival1Params
WithHealth adds the health to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithRouteName ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithRouteName(routeName string) *CityBusAPIEstimatedTimeOfArrival1Params
WithRouteName adds the routeName to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WithTimeout ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival1Params
WithTimeout adds the timeout to the city bus Api estimated time of arrival 1 params
func (*CityBusAPIEstimatedTimeOfArrival1Params) WriteToRequest ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIEstimatedTimeOfArrival1Reader ¶
type CityBusAPIEstimatedTimeOfArrival1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIEstimatedTimeOfArrival1Reader is a Reader for the CityBusAPIEstimatedTimeOfArrival1 structure.
func (*CityBusAPIEstimatedTimeOfArrival1Reader) ReadResponse ¶
func (o *CityBusAPIEstimatedTimeOfArrival1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIEstimatedTimeOfArrival1Status299 ¶ added in v0.3.0
type CityBusAPIEstimatedTimeOfArrival1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIEstimatedTimeOfArrival1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIEstimatedTimeOfArrival1Status299 ¶ added in v0.3.0
func NewCityBusAPIEstimatedTimeOfArrival1Status299() *CityBusAPIEstimatedTimeOfArrival1Status299
NewCityBusAPIEstimatedTimeOfArrival1Status299 creates a CityBusAPIEstimatedTimeOfArrival1Status299 with default headers values
func (*CityBusAPIEstimatedTimeOfArrival1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrival1Status299) Error() string
func (*CityBusAPIEstimatedTimeOfArrival1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrival1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIEstimatedTimeOfArrivalNotModified ¶ added in v0.9.0
type CityBusAPIEstimatedTimeOfArrivalNotModified struct { }
CityBusAPIEstimatedTimeOfArrivalNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIEstimatedTimeOfArrivalNotModified ¶ added in v0.9.0
func NewCityBusAPIEstimatedTimeOfArrivalNotModified() *CityBusAPIEstimatedTimeOfArrivalNotModified
NewCityBusAPIEstimatedTimeOfArrivalNotModified creates a CityBusAPIEstimatedTimeOfArrivalNotModified with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalNotModified) Error() string
type CityBusAPIEstimatedTimeOfArrivalOK ¶
type CityBusAPIEstimatedTimeOfArrivalOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrivalOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIEstimatedTimeOfArrivalOK ¶
func NewCityBusAPIEstimatedTimeOfArrivalOK() *CityBusAPIEstimatedTimeOfArrivalOK
NewCityBusAPIEstimatedTimeOfArrivalOK creates a CityBusAPIEstimatedTimeOfArrivalOK with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalOK) Error ¶
func (o *CityBusAPIEstimatedTimeOfArrivalOK) Error() string
func (*CityBusAPIEstimatedTimeOfArrivalOK) GetPayload ¶
func (o *CityBusAPIEstimatedTimeOfArrivalOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
type CityBusAPIEstimatedTimeOfArrivalParams ¶
type CityBusAPIEstimatedTimeOfArrivalParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIEstimatedTimeOfArrivalParams contains all the parameters to send to the API endpoint
for the city bus Api estimated time of arrival operation. Typically these are written to a http.Request.
func NewCityBusAPIEstimatedTimeOfArrivalParams ¶
func NewCityBusAPIEstimatedTimeOfArrivalParams() *CityBusAPIEstimatedTimeOfArrivalParams
NewCityBusAPIEstimatedTimeOfArrivalParams creates a new CityBusAPIEstimatedTimeOfArrivalParams 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 NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext ¶
func NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalParams
NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalParams object with the ability to set a context for a request.
func NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient ¶
func NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalParams
NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout ¶
func NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalParams
NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalParams object with the ability to set a timeout on a request.
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetCity ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetCity(city string)
SetCity adds the city to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetContext ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api estimated time of arrival params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFilter ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFormat ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarOrderby ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSelect ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSkip ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarTop ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetHTTPClient ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) SetTimeout ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithCity ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithCity(city string) *CityBusAPIEstimatedTimeOfArrivalParams
WithCity adds the city to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithContext ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalParams
WithContext adds the context to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDefaults() *CityBusAPIEstimatedTimeOfArrivalParams
WithDefaults hydrates default values in the city bus Api estimated time of arrival params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFilter ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrivalParams
WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFormat ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrivalParams
WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarOrderby ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrivalParams
WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSelect ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrivalParams
WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSkip ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrivalParams
WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarTop ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrivalParams
WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithHTTPClient ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalParams
WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrivalParams
WithHealth adds the health to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WithTimeout ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalParams
WithTimeout adds the timeout to the city bus Api estimated time of arrival params
func (*CityBusAPIEstimatedTimeOfArrivalParams) WriteToRequest ¶
func (o *CityBusAPIEstimatedTimeOfArrivalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIEstimatedTimeOfArrivalReader ¶
type CityBusAPIEstimatedTimeOfArrivalReader struct {
// contains filtered or unexported fields
}
CityBusAPIEstimatedTimeOfArrivalReader is a Reader for the CityBusAPIEstimatedTimeOfArrival structure.
func (*CityBusAPIEstimatedTimeOfArrivalReader) ReadResponse ¶
func (o *CityBusAPIEstimatedTimeOfArrivalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIEstimatedTimeOfArrivalStatus299 ¶ added in v0.3.0
type CityBusAPIEstimatedTimeOfArrivalStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIEstimatedTimeOfArrivalStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIEstimatedTimeOfArrivalStatus299 ¶ added in v0.3.0
func NewCityBusAPIEstimatedTimeOfArrivalStatus299() *CityBusAPIEstimatedTimeOfArrivalStatus299
NewCityBusAPIEstimatedTimeOfArrivalStatus299 creates a CityBusAPIEstimatedTimeOfArrivalStatus299 with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrivalStatus299) Error() string
func (*CityBusAPIEstimatedTimeOfArrivalStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIEstimatedTimeOfArrivalStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIEstimatedTimeOfArrivalUDP1Params ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUDP1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIEstimatedTimeOfArrivalUDP1Params contains all the parameters to send to the API endpoint
for the city bus Api estimated time of arrival UDP 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIEstimatedTimeOfArrivalUDP1Params ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDP1Params() *CityBusAPIEstimatedTimeOfArrivalUDP1Params
NewCityBusAPIEstimatedTimeOfArrivalUDP1Params creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params 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 NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object with the ability to set a context for a request.
func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object with the ability to set a timeout on a request.
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetCity ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetCity(city string)
SetCity adds the city to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetContext ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api estimated time of arrival UDP 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetRouteName ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithCity ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithCity(city string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithCity adds the city to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithContext ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithContext adds the context to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDefaults() *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDefaults hydrates default values in the city bus Api estimated time of arrival UDP 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithHealth adds the health to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithRouteName ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithRouteName(routeName string) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithRouteName adds the routeName to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP1Params
WithTimeout adds the timeout to the city bus Api estimated time of arrival UDP 1 params
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIEstimatedTimeOfArrivalUDP1Reader ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUDP1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIEstimatedTimeOfArrivalUDP1Reader is a Reader for the CityBusAPIEstimatedTimeOfArrivalUDP1 structure.
func (*CityBusAPIEstimatedTimeOfArrivalUDP1Reader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIEstimatedTimeOfArrivalUDPNotModified ¶ added in v0.9.0
type CityBusAPIEstimatedTimeOfArrivalUDPNotModified struct { }
CityBusAPIEstimatedTimeOfArrivalUDPNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIEstimatedTimeOfArrivalUDPNotModified ¶ added in v0.9.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPNotModified() *CityBusAPIEstimatedTimeOfArrivalUDPNotModified
NewCityBusAPIEstimatedTimeOfArrivalUDPNotModified creates a CityBusAPIEstimatedTimeOfArrivalUDPNotModified with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalUDPNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPNotModified) Error() string
type CityBusAPIEstimatedTimeOfArrivalUDPOK ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUDPOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrivalUDPOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIEstimatedTimeOfArrivalUDPOK ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPOK() *CityBusAPIEstimatedTimeOfArrivalUDPOK
NewCityBusAPIEstimatedTimeOfArrivalUDPOK creates a CityBusAPIEstimatedTimeOfArrivalUDPOK with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalUDPOK) Error ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPOK) Error() string
func (*CityBusAPIEstimatedTimeOfArrivalUDPOK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
type CityBusAPIEstimatedTimeOfArrivalUDPParams ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUDPParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIEstimatedTimeOfArrivalUDPParams contains all the parameters to send to the API endpoint
for the city bus Api estimated time of arrival UDP operation. Typically these are written to a http.Request.
func NewCityBusAPIEstimatedTimeOfArrivalUDPParams ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPParams() *CityBusAPIEstimatedTimeOfArrivalUDPParams
NewCityBusAPIEstimatedTimeOfArrivalUDPParams creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams 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 NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDPParams
NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object with the ability to set a context for a request.
func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDPParams
NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDPParams
NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object with the ability to set a timeout on a request.
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetCity ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetCity(city string)
SetCity adds the city to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetContext ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api estimated time of arrival UDP params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithCity ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithCity(city string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithCity adds the city to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithContext ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithContext adds the context to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDefaults() *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDefaults hydrates default values in the city bus Api estimated time of arrival UDP params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFilter(dollarFilter *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFormat(dollarFormat string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSelect(dollarSelect *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSkip(dollarSkip *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarTop(dollarTop *int64) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHealth(health *string) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithHealth adds the health to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDPParams
WithTimeout adds the timeout to the city bus Api estimated time of arrival UDP params
func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIEstimatedTimeOfArrivalUDPReader ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUDPReader struct {
// contains filtered or unexported fields
}
CityBusAPIEstimatedTimeOfArrivalUDPReader is a Reader for the CityBusAPIEstimatedTimeOfArrivalUDP structure.
func (*CityBusAPIEstimatedTimeOfArrivalUDPReader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIEstimatedTimeOfArrivalUDPStatus299 ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUDPStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIEstimatedTimeOfArrivalUDPStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIEstimatedTimeOfArrivalUDPStatus299 ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUDPStatus299() *CityBusAPIEstimatedTimeOfArrivalUDPStatus299
NewCityBusAPIEstimatedTimeOfArrivalUDPStatus299 creates a CityBusAPIEstimatedTimeOfArrivalUDPStatus299 with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalUDPStatus299) Error ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPStatus299) Error() string
func (*CityBusAPIEstimatedTimeOfArrivalUDPStatus299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUDPStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIEstimatedTimeOfArrivalUdp1NotModified ¶ added in v0.9.0
type CityBusAPIEstimatedTimeOfArrivalUdp1NotModified struct { }
CityBusAPIEstimatedTimeOfArrivalUdp1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIEstimatedTimeOfArrivalUdp1NotModified ¶ added in v0.9.0
func NewCityBusAPIEstimatedTimeOfArrivalUdp1NotModified() *CityBusAPIEstimatedTimeOfArrivalUdp1NotModified
NewCityBusAPIEstimatedTimeOfArrivalUdp1NotModified creates a CityBusAPIEstimatedTimeOfArrivalUdp1NotModified with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalUdp1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIEstimatedTimeOfArrivalUdp1NotModified) Error() string
type CityBusAPIEstimatedTimeOfArrivalUdp1OK ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUdp1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrivalUdp1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIEstimatedTimeOfArrivalUdp1OK ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUdp1OK() *CityBusAPIEstimatedTimeOfArrivalUdp1OK
NewCityBusAPIEstimatedTimeOfArrivalUdp1OK creates a CityBusAPIEstimatedTimeOfArrivalUdp1OK with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalUdp1OK) Error ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUdp1OK) Error() string
func (*CityBusAPIEstimatedTimeOfArrivalUdp1OK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUdp1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
type CityBusAPIEstimatedTimeOfArrivalUdp1Status299 ¶ added in v0.4.0
type CityBusAPIEstimatedTimeOfArrivalUdp1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIEstimatedTimeOfArrivalUdp1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIEstimatedTimeOfArrivalUdp1Status299 ¶ added in v0.4.0
func NewCityBusAPIEstimatedTimeOfArrivalUdp1Status299() *CityBusAPIEstimatedTimeOfArrivalUdp1Status299
NewCityBusAPIEstimatedTimeOfArrivalUdp1Status299 creates a CityBusAPIEstimatedTimeOfArrivalUdp1Status299 with default headers values
func (*CityBusAPIEstimatedTimeOfArrivalUdp1Status299) Error ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUdp1Status299) Error() string
func (*CityBusAPIEstimatedTimeOfArrivalUdp1Status299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIEstimatedTimeOfArrivalUdp1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIFirstLastTripInfo1NotModified ¶ added in v0.9.0
type CityBusAPIFirstLastTripInfo1NotModified struct { }
CityBusAPIFirstLastTripInfo1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIFirstLastTripInfo1NotModified ¶ added in v0.9.0
func NewCityBusAPIFirstLastTripInfo1NotModified() *CityBusAPIFirstLastTripInfo1NotModified
NewCityBusAPIFirstLastTripInfo1NotModified creates a CityBusAPIFirstLastTripInfo1NotModified with default headers values
func (*CityBusAPIFirstLastTripInfo1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIFirstLastTripInfo1NotModified) Error() string
type CityBusAPIFirstLastTripInfo1OK ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfo1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusFirstLastTripInfo
}
CityBusAPIFirstLastTripInfo1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIFirstLastTripInfo1OK ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfo1OK() *CityBusAPIFirstLastTripInfo1OK
NewCityBusAPIFirstLastTripInfo1OK creates a CityBusAPIFirstLastTripInfo1OK with default headers values
func (*CityBusAPIFirstLastTripInfo1OK) Error ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1OK) Error() string
func (*CityBusAPIFirstLastTripInfo1OK) GetPayload ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusFirstLastTripInfo
type CityBusAPIFirstLastTripInfo1Params ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfo1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIFirstLastTripInfo1Params contains all the parameters to send to the API endpoint
for the city bus Api first last trip info 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIFirstLastTripInfo1Params ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfo1Params() *CityBusAPIFirstLastTripInfo1Params
NewCityBusAPIFirstLastTripInfo1Params creates a new CityBusAPIFirstLastTripInfo1Params 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 NewCityBusAPIFirstLastTripInfo1ParamsWithContext ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfo1ParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo1Params
NewCityBusAPIFirstLastTripInfo1ParamsWithContext creates a new CityBusAPIFirstLastTripInfo1Params object with the ability to set a context for a request.
func NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo1Params
NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient creates a new CityBusAPIFirstLastTripInfo1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo1Params
NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout creates a new CityBusAPIFirstLastTripInfo1Params object with the ability to set a timeout on a request.
func (*CityBusAPIFirstLastTripInfo1Params) SetCity ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetCity(city string)
SetCity adds the city to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetContext ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api first last trip info 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIFirstLastTripInfo1Params) SetDollarFilter ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetDollarFormat ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetDollarOrderby ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetDollarSelect ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetDollarSkip ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetDollarTop ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetHTTPClient ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetHealth ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetRouteName ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) SetTimeout ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithCity ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithCity(city string) *CityBusAPIFirstLastTripInfo1Params
WithCity adds the city to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithContext ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo1Params
WithContext adds the context to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDefaults() *CityBusAPIFirstLastTripInfo1Params
WithDefaults hydrates default values in the city bus Api first last trip info 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIFirstLastTripInfo1Params) WithDollarFilter ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIFirstLastTripInfo1Params
WithDollarFilter adds the dollarFilter to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithDollarFormat ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarFormat(dollarFormat string) *CityBusAPIFirstLastTripInfo1Params
WithDollarFormat adds the dollarFormat to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithDollarOrderby ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIFirstLastTripInfo1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithDollarSelect ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIFirstLastTripInfo1Params
WithDollarSelect adds the dollarSelect to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithDollarSkip ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIFirstLastTripInfo1Params
WithDollarSkip adds the dollarSkip to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithDollarTop ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithDollarTop(dollarTop *int64) *CityBusAPIFirstLastTripInfo1Params
WithDollarTop adds the dollarTop to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithHTTPClient ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo1Params
WithHTTPClient adds the HTTPClient to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithHealth ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithHealth(health *string) *CityBusAPIFirstLastTripInfo1Params
WithHealth adds the health to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithRouteName ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithRouteName(routeName string) *CityBusAPIFirstLastTripInfo1Params
WithRouteName adds the routeName to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WithTimeout ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo1Params
WithTimeout adds the timeout to the city bus Api first last trip info 1 params
func (*CityBusAPIFirstLastTripInfo1Params) WriteToRequest ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIFirstLastTripInfo1Reader ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfo1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIFirstLastTripInfo1Reader is a Reader for the CityBusAPIFirstLastTripInfo1 structure.
func (*CityBusAPIFirstLastTripInfo1Reader) ReadResponse ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIFirstLastTripInfo1Status299 ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfo1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIFirstLastTripInfo1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIFirstLastTripInfo1Status299 ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfo1Status299() *CityBusAPIFirstLastTripInfo1Status299
NewCityBusAPIFirstLastTripInfo1Status299 creates a CityBusAPIFirstLastTripInfo1Status299 with default headers values
func (*CityBusAPIFirstLastTripInfo1Status299) Error ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Status299) Error() string
func (*CityBusAPIFirstLastTripInfo1Status299) GetPayload ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfo1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIFirstLastTripInfoNotModified ¶ added in v0.9.0
type CityBusAPIFirstLastTripInfoNotModified struct { }
CityBusAPIFirstLastTripInfoNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIFirstLastTripInfoNotModified ¶ added in v0.9.0
func NewCityBusAPIFirstLastTripInfoNotModified() *CityBusAPIFirstLastTripInfoNotModified
NewCityBusAPIFirstLastTripInfoNotModified creates a CityBusAPIFirstLastTripInfoNotModified with default headers values
func (*CityBusAPIFirstLastTripInfoNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIFirstLastTripInfoNotModified) Error() string
type CityBusAPIFirstLastTripInfoOK ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfoOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusFirstLastTripInfo
}
CityBusAPIFirstLastTripInfoOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIFirstLastTripInfoOK ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfoOK() *CityBusAPIFirstLastTripInfoOK
NewCityBusAPIFirstLastTripInfoOK creates a CityBusAPIFirstLastTripInfoOK with default headers values
func (*CityBusAPIFirstLastTripInfoOK) Error ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoOK) Error() string
func (*CityBusAPIFirstLastTripInfoOK) GetPayload ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusFirstLastTripInfo
type CityBusAPIFirstLastTripInfoParams ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfoParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIFirstLastTripInfoParams contains all the parameters to send to the API endpoint
for the city bus Api first last trip info operation. Typically these are written to a http.Request.
func NewCityBusAPIFirstLastTripInfoParams ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfoParams() *CityBusAPIFirstLastTripInfoParams
NewCityBusAPIFirstLastTripInfoParams creates a new CityBusAPIFirstLastTripInfoParams 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 NewCityBusAPIFirstLastTripInfoParamsWithContext ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfoParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfoParams
NewCityBusAPIFirstLastTripInfoParamsWithContext creates a new CityBusAPIFirstLastTripInfoParams object with the ability to set a context for a request.
func NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfoParams
NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient creates a new CityBusAPIFirstLastTripInfoParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIFirstLastTripInfoParamsWithTimeout ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfoParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfoParams
NewCityBusAPIFirstLastTripInfoParamsWithTimeout creates a new CityBusAPIFirstLastTripInfoParams object with the ability to set a timeout on a request.
func (*CityBusAPIFirstLastTripInfoParams) SetCity ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetCity(city string)
SetCity adds the city to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetContext ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api first last trip info params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIFirstLastTripInfoParams) SetDollarFilter ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetDollarFormat ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetDollarOrderby ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetDollarSelect ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetDollarSkip ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetDollarTop ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetHTTPClient ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetHealth ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) SetTimeout ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithCity ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithCity(city string) *CityBusAPIFirstLastTripInfoParams
WithCity adds the city to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithContext ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithContext(ctx context.Context) *CityBusAPIFirstLastTripInfoParams
WithContext adds the context to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDefaults() *CityBusAPIFirstLastTripInfoParams
WithDefaults hydrates default values in the city bus Api first last trip info params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIFirstLastTripInfoParams) WithDollarFilter ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDollarFilter(dollarFilter *string) *CityBusAPIFirstLastTripInfoParams
WithDollarFilter adds the dollarFilter to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithDollarFormat ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDollarFormat(dollarFormat string) *CityBusAPIFirstLastTripInfoParams
WithDollarFormat adds the dollarFormat to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithDollarOrderby ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIFirstLastTripInfoParams
WithDollarOrderby adds the dollarOrderby to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithDollarSelect ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDollarSelect(dollarSelect *string) *CityBusAPIFirstLastTripInfoParams
WithDollarSelect adds the dollarSelect to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithDollarSkip ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDollarSkip(dollarSkip *string) *CityBusAPIFirstLastTripInfoParams
WithDollarSkip adds the dollarSkip to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithDollarTop ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithDollarTop(dollarTop *int64) *CityBusAPIFirstLastTripInfoParams
WithDollarTop adds the dollarTop to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithHTTPClient ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfoParams
WithHTTPClient adds the HTTPClient to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithHealth ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithHealth(health *string) *CityBusAPIFirstLastTripInfoParams
WithHealth adds the health to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WithTimeout ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfoParams
WithTimeout adds the timeout to the city bus Api first last trip info params
func (*CityBusAPIFirstLastTripInfoParams) WriteToRequest ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIFirstLastTripInfoReader ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfoReader struct {
// contains filtered or unexported fields
}
CityBusAPIFirstLastTripInfoReader is a Reader for the CityBusAPIFirstLastTripInfo structure.
func (*CityBusAPIFirstLastTripInfoReader) ReadResponse ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIFirstLastTripInfoStatus299 ¶ added in v0.6.0
type CityBusAPIFirstLastTripInfoStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIFirstLastTripInfoStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIFirstLastTripInfoStatus299 ¶ added in v0.6.0
func NewCityBusAPIFirstLastTripInfoStatus299() *CityBusAPIFirstLastTripInfoStatus299
NewCityBusAPIFirstLastTripInfoStatus299 creates a CityBusAPIFirstLastTripInfoStatus299 with default headers values
func (*CityBusAPIFirstLastTripInfoStatus299) Error ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoStatus299) Error() string
func (*CityBusAPIFirstLastTripInfoStatus299) GetPayload ¶ added in v0.6.0
func (o *CityBusAPIFirstLastTripInfoStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPINewsNotModified ¶ added in v0.9.0
type CityBusAPINewsNotModified struct { }
CityBusAPINewsNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPINewsNotModified ¶ added in v0.9.0
func NewCityBusAPINewsNotModified() *CityBusAPINewsNotModified
NewCityBusAPINewsNotModified creates a CityBusAPINewsNotModified with default headers values
func (*CityBusAPINewsNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPINewsNotModified) Error() string
type CityBusAPINewsOK ¶
type CityBusAPINewsOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusNews
}
CityBusAPINewsOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPINewsOK ¶
func NewCityBusAPINewsOK() *CityBusAPINewsOK
NewCityBusAPINewsOK creates a CityBusAPINewsOK with default headers values
func (*CityBusAPINewsOK) Error ¶
func (o *CityBusAPINewsOK) Error() string
func (*CityBusAPINewsOK) GetPayload ¶
func (o *CityBusAPINewsOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusNews
type CityBusAPINewsParams ¶
type CityBusAPINewsParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPINewsParams contains all the parameters to send to the API endpoint
for the city bus Api news operation. Typically these are written to a http.Request.
func NewCityBusAPINewsParams ¶
func NewCityBusAPINewsParams() *CityBusAPINewsParams
NewCityBusAPINewsParams creates a new CityBusAPINewsParams 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 NewCityBusAPINewsParamsWithContext ¶
func NewCityBusAPINewsParamsWithContext(ctx context.Context) *CityBusAPINewsParams
NewCityBusAPINewsParamsWithContext creates a new CityBusAPINewsParams object with the ability to set a context for a request.
func NewCityBusAPINewsParamsWithHTTPClient ¶
func NewCityBusAPINewsParamsWithHTTPClient(client *http.Client) *CityBusAPINewsParams
NewCityBusAPINewsParamsWithHTTPClient creates a new CityBusAPINewsParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPINewsParamsWithTimeout ¶
func NewCityBusAPINewsParamsWithTimeout(timeout time.Duration) *CityBusAPINewsParams
NewCityBusAPINewsParamsWithTimeout creates a new CityBusAPINewsParams object with the ability to set a timeout on a request.
func (*CityBusAPINewsParams) SetCity ¶
func (o *CityBusAPINewsParams) SetCity(city string)
SetCity adds the city to the city bus Api news params
func (*CityBusAPINewsParams) SetContext ¶
func (o *CityBusAPINewsParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api news params
func (*CityBusAPINewsParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPINewsParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api news params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPINewsParams) SetDollarFilter ¶
func (o *CityBusAPINewsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api news params
func (*CityBusAPINewsParams) SetDollarFormat ¶
func (o *CityBusAPINewsParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api news params
func (*CityBusAPINewsParams) SetDollarOrderby ¶
func (o *CityBusAPINewsParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api news params
func (*CityBusAPINewsParams) SetDollarSelect ¶
func (o *CityBusAPINewsParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api news params
func (*CityBusAPINewsParams) SetDollarSkip ¶
func (o *CityBusAPINewsParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api news params
func (*CityBusAPINewsParams) SetDollarTop ¶
func (o *CityBusAPINewsParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api news params
func (*CityBusAPINewsParams) SetHTTPClient ¶
func (o *CityBusAPINewsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api news params
func (*CityBusAPINewsParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPINewsParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api news params
func (*CityBusAPINewsParams) SetTimeout ¶
func (o *CityBusAPINewsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api news params
func (*CityBusAPINewsParams) WithCity ¶
func (o *CityBusAPINewsParams) WithCity(city string) *CityBusAPINewsParams
WithCity adds the city to the city bus Api news params
func (*CityBusAPINewsParams) WithContext ¶
func (o *CityBusAPINewsParams) WithContext(ctx context.Context) *CityBusAPINewsParams
WithContext adds the context to the city bus Api news params
func (*CityBusAPINewsParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPINewsParams) WithDefaults() *CityBusAPINewsParams
WithDefaults hydrates default values in the city bus Api news params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPINewsParams) WithDollarFilter ¶
func (o *CityBusAPINewsParams) WithDollarFilter(dollarFilter *string) *CityBusAPINewsParams
WithDollarFilter adds the dollarFilter to the city bus Api news params
func (*CityBusAPINewsParams) WithDollarFormat ¶
func (o *CityBusAPINewsParams) WithDollarFormat(dollarFormat string) *CityBusAPINewsParams
WithDollarFormat adds the dollarFormat to the city bus Api news params
func (*CityBusAPINewsParams) WithDollarOrderby ¶
func (o *CityBusAPINewsParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPINewsParams
WithDollarOrderby adds the dollarOrderby to the city bus Api news params
func (*CityBusAPINewsParams) WithDollarSelect ¶
func (o *CityBusAPINewsParams) WithDollarSelect(dollarSelect *string) *CityBusAPINewsParams
WithDollarSelect adds the dollarSelect to the city bus Api news params
func (*CityBusAPINewsParams) WithDollarSkip ¶
func (o *CityBusAPINewsParams) WithDollarSkip(dollarSkip *string) *CityBusAPINewsParams
WithDollarSkip adds the dollarSkip to the city bus Api news params
func (*CityBusAPINewsParams) WithDollarTop ¶
func (o *CityBusAPINewsParams) WithDollarTop(dollarTop *int64) *CityBusAPINewsParams
WithDollarTop adds the dollarTop to the city bus Api news params
func (*CityBusAPINewsParams) WithHTTPClient ¶
func (o *CityBusAPINewsParams) WithHTTPClient(client *http.Client) *CityBusAPINewsParams
WithHTTPClient adds the HTTPClient to the city bus Api news params
func (*CityBusAPINewsParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPINewsParams) WithHealth(health *string) *CityBusAPINewsParams
WithHealth adds the health to the city bus Api news params
func (*CityBusAPINewsParams) WithTimeout ¶
func (o *CityBusAPINewsParams) WithTimeout(timeout time.Duration) *CityBusAPINewsParams
WithTimeout adds the timeout to the city bus Api news params
func (*CityBusAPINewsParams) WriteToRequest ¶
func (o *CityBusAPINewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPINewsReader ¶
type CityBusAPINewsReader struct {
// contains filtered or unexported fields
}
CityBusAPINewsReader is a Reader for the CityBusAPINews structure.
func (*CityBusAPINewsReader) ReadResponse ¶
func (o *CityBusAPINewsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPINewsStatus299 ¶ added in v0.3.0
type CityBusAPINewsStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPINewsStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPINewsStatus299 ¶ added in v0.3.0
func NewCityBusAPINewsStatus299() *CityBusAPINewsStatus299
NewCityBusAPINewsStatus299 creates a CityBusAPINewsStatus299 with default headers values
func (*CityBusAPINewsStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPINewsStatus299) Error() string
func (*CityBusAPINewsStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPINewsStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIOperatorNotModified ¶ added in v0.9.0
type CityBusAPIOperatorNotModified struct { }
CityBusAPIOperatorNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIOperatorNotModified ¶ added in v0.9.0
func NewCityBusAPIOperatorNotModified() *CityBusAPIOperatorNotModified
NewCityBusAPIOperatorNotModified creates a CityBusAPIOperatorNotModified with default headers values
func (*CityBusAPIOperatorNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIOperatorNotModified) Error() string
type CityBusAPIOperatorOK ¶
type CityBusAPIOperatorOK struct {
Payload []*models.PTXServiceDTOSharedSpecificationV2BaseOperator
}
CityBusAPIOperatorOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIOperatorOK ¶
func NewCityBusAPIOperatorOK() *CityBusAPIOperatorOK
NewCityBusAPIOperatorOK creates a CityBusAPIOperatorOK with default headers values
func (*CityBusAPIOperatorOK) Error ¶
func (o *CityBusAPIOperatorOK) Error() string
func (*CityBusAPIOperatorOK) GetPayload ¶
func (o *CityBusAPIOperatorOK) GetPayload() []*models.PTXServiceDTOSharedSpecificationV2BaseOperator
type CityBusAPIOperatorParams ¶
type CityBusAPIOperatorParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIOperatorParams contains all the parameters to send to the API endpoint
for the city bus Api operator operation. Typically these are written to a http.Request.
func NewCityBusAPIOperatorParams ¶
func NewCityBusAPIOperatorParams() *CityBusAPIOperatorParams
NewCityBusAPIOperatorParams creates a new CityBusAPIOperatorParams 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 NewCityBusAPIOperatorParamsWithContext ¶
func NewCityBusAPIOperatorParamsWithContext(ctx context.Context) *CityBusAPIOperatorParams
NewCityBusAPIOperatorParamsWithContext creates a new CityBusAPIOperatorParams object with the ability to set a context for a request.
func NewCityBusAPIOperatorParamsWithHTTPClient ¶
func NewCityBusAPIOperatorParamsWithHTTPClient(client *http.Client) *CityBusAPIOperatorParams
NewCityBusAPIOperatorParamsWithHTTPClient creates a new CityBusAPIOperatorParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIOperatorParamsWithTimeout ¶
func NewCityBusAPIOperatorParamsWithTimeout(timeout time.Duration) *CityBusAPIOperatorParams
NewCityBusAPIOperatorParamsWithTimeout creates a new CityBusAPIOperatorParams object with the ability to set a timeout on a request.
func (*CityBusAPIOperatorParams) SetCity ¶
func (o *CityBusAPIOperatorParams) SetCity(city string)
SetCity adds the city to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetContext ¶
func (o *CityBusAPIOperatorParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIOperatorParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api operator params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIOperatorParams) SetDollarFilter ¶
func (o *CityBusAPIOperatorParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetDollarFormat ¶
func (o *CityBusAPIOperatorParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetDollarOrderby ¶
func (o *CityBusAPIOperatorParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetDollarSelect ¶
func (o *CityBusAPIOperatorParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetDollarSkip ¶
func (o *CityBusAPIOperatorParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetDollarTop ¶
func (o *CityBusAPIOperatorParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetHTTPClient ¶
func (o *CityBusAPIOperatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIOperatorParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api operator params
func (*CityBusAPIOperatorParams) SetTimeout ¶
func (o *CityBusAPIOperatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithCity ¶
func (o *CityBusAPIOperatorParams) WithCity(city string) *CityBusAPIOperatorParams
WithCity adds the city to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithContext ¶
func (o *CityBusAPIOperatorParams) WithContext(ctx context.Context) *CityBusAPIOperatorParams
WithContext adds the context to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIOperatorParams) WithDefaults() *CityBusAPIOperatorParams
WithDefaults hydrates default values in the city bus Api operator params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIOperatorParams) WithDollarFilter ¶
func (o *CityBusAPIOperatorParams) WithDollarFilter(dollarFilter *string) *CityBusAPIOperatorParams
WithDollarFilter adds the dollarFilter to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithDollarFormat ¶
func (o *CityBusAPIOperatorParams) WithDollarFormat(dollarFormat string) *CityBusAPIOperatorParams
WithDollarFormat adds the dollarFormat to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithDollarOrderby ¶
func (o *CityBusAPIOperatorParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIOperatorParams
WithDollarOrderby adds the dollarOrderby to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithDollarSelect ¶
func (o *CityBusAPIOperatorParams) WithDollarSelect(dollarSelect *string) *CityBusAPIOperatorParams
WithDollarSelect adds the dollarSelect to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithDollarSkip ¶
func (o *CityBusAPIOperatorParams) WithDollarSkip(dollarSkip *string) *CityBusAPIOperatorParams
WithDollarSkip adds the dollarSkip to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithDollarTop ¶
func (o *CityBusAPIOperatorParams) WithDollarTop(dollarTop *int64) *CityBusAPIOperatorParams
WithDollarTop adds the dollarTop to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithHTTPClient ¶
func (o *CityBusAPIOperatorParams) WithHTTPClient(client *http.Client) *CityBusAPIOperatorParams
WithHTTPClient adds the HTTPClient to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIOperatorParams) WithHealth(health *string) *CityBusAPIOperatorParams
WithHealth adds the health to the city bus Api operator params
func (*CityBusAPIOperatorParams) WithTimeout ¶
func (o *CityBusAPIOperatorParams) WithTimeout(timeout time.Duration) *CityBusAPIOperatorParams
WithTimeout adds the timeout to the city bus Api operator params
func (*CityBusAPIOperatorParams) WriteToRequest ¶
func (o *CityBusAPIOperatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIOperatorReader ¶
type CityBusAPIOperatorReader struct {
// contains filtered or unexported fields
}
CityBusAPIOperatorReader is a Reader for the CityBusAPIOperator structure.
func (*CityBusAPIOperatorReader) ReadResponse ¶
func (o *CityBusAPIOperatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIOperatorStatus299 ¶ added in v0.3.0
type CityBusAPIOperatorStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIOperatorStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIOperatorStatus299 ¶ added in v0.3.0
func NewCityBusAPIOperatorStatus299() *CityBusAPIOperatorStatus299
NewCityBusAPIOperatorStatus299 creates a CityBusAPIOperatorStatus299 with default headers values
func (*CityBusAPIOperatorStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIOperatorStatus299) Error() string
func (*CityBusAPIOperatorStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIOperatorStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeByFrequency1NotModified ¶ added in v0.9.0
type CityBusAPIRealTimeByFrequency1NotModified struct { }
CityBusAPIRealTimeByFrequency1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeByFrequency1NotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeByFrequency1NotModified() *CityBusAPIRealTimeByFrequency1NotModified
NewCityBusAPIRealTimeByFrequency1NotModified creates a CityBusAPIRealTimeByFrequency1NotModified with default headers values
func (*CityBusAPIRealTimeByFrequency1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequency1NotModified) Error() string
type CityBusAPIRealTimeByFrequency1OK ¶
type CityBusAPIRealTimeByFrequency1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequency1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeByFrequency1OK ¶
func NewCityBusAPIRealTimeByFrequency1OK() *CityBusAPIRealTimeByFrequency1OK
NewCityBusAPIRealTimeByFrequency1OK creates a CityBusAPIRealTimeByFrequency1OK with default headers values
func (*CityBusAPIRealTimeByFrequency1OK) Error ¶
func (o *CityBusAPIRealTimeByFrequency1OK) Error() string
func (*CityBusAPIRealTimeByFrequency1OK) GetPayload ¶
func (o *CityBusAPIRealTimeByFrequency1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA1Data
type CityBusAPIRealTimeByFrequency1Params ¶
type CityBusAPIRealTimeByFrequency1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeByFrequency1Params contains all the parameters to send to the API endpoint
for the city bus Api real time by frequency 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeByFrequency1Params ¶
func NewCityBusAPIRealTimeByFrequency1Params() *CityBusAPIRealTimeByFrequency1Params
NewCityBusAPIRealTimeByFrequency1Params creates a new CityBusAPIRealTimeByFrequency1Params 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 NewCityBusAPIRealTimeByFrequency1ParamsWithContext ¶
func NewCityBusAPIRealTimeByFrequency1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency1Params
NewCityBusAPIRealTimeByFrequency1ParamsWithContext creates a new CityBusAPIRealTimeByFrequency1Params object with the ability to set a context for a request.
func NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient ¶
func NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency1Params
NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequency1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout ¶
func NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency1Params
NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequency1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeByFrequency1Params) SetCity ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetCity(city string)
SetCity adds the city to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetContext ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequency1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time by frequency 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarFilter ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarFormat ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarOrderby ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarSelect ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarSkip ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarSpatialFilter ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetDollarTop ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetHTTPClient ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequency1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetRouteName ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) SetTimeout ¶
func (o *CityBusAPIRealTimeByFrequency1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithCity ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithCity(city string) *CityBusAPIRealTimeByFrequency1Params
WithCity adds the city to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithContext ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency1Params
WithContext adds the context to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequency1Params) WithDefaults() *CityBusAPIRealTimeByFrequency1Params
WithDefaults hydrates default values in the city bus Api real time by frequency 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarFilter ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequency1Params
WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarFormat ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequency1Params
WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarOrderby ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequency1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarSelect ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequency1Params
WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarSkip ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequency1Params
WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarSpatialFilter ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequency1Params
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithDollarTop ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequency1Params
WithDollarTop adds the dollarTop to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithHTTPClient ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency1Params
WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequency1Params) WithHealth(health *string) *CityBusAPIRealTimeByFrequency1Params
WithHealth adds the health to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithRouteName ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithRouteName(routeName string) *CityBusAPIRealTimeByFrequency1Params
WithRouteName adds the routeName to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WithTimeout ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency1Params
WithTimeout adds the timeout to the city bus Api real time by frequency 1 params
func (*CityBusAPIRealTimeByFrequency1Params) WriteToRequest ¶
func (o *CityBusAPIRealTimeByFrequency1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeByFrequency1Reader ¶
type CityBusAPIRealTimeByFrequency1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeByFrequency1Reader is a Reader for the CityBusAPIRealTimeByFrequency1 structure.
func (*CityBusAPIRealTimeByFrequency1Reader) ReadResponse ¶
func (o *CityBusAPIRealTimeByFrequency1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeByFrequency1Status299 ¶ added in v0.3.0
type CityBusAPIRealTimeByFrequency1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeByFrequency1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeByFrequency1Status299 ¶ added in v0.3.0
func NewCityBusAPIRealTimeByFrequency1Status299() *CityBusAPIRealTimeByFrequency1Status299
NewCityBusAPIRealTimeByFrequency1Status299 creates a CityBusAPIRealTimeByFrequency1Status299 with default headers values
func (*CityBusAPIRealTimeByFrequency1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequency1Status299) Error() string
func (*CityBusAPIRealTimeByFrequency1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequency1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeByFrequencyNotModified ¶ added in v0.9.0
type CityBusAPIRealTimeByFrequencyNotModified struct { }
CityBusAPIRealTimeByFrequencyNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeByFrequencyNotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeByFrequencyNotModified() *CityBusAPIRealTimeByFrequencyNotModified
NewCityBusAPIRealTimeByFrequencyNotModified creates a CityBusAPIRealTimeByFrequencyNotModified with default headers values
func (*CityBusAPIRealTimeByFrequencyNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyNotModified) Error() string
type CityBusAPIRealTimeByFrequencyOK ¶
type CityBusAPIRealTimeByFrequencyOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequencyOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeByFrequencyOK ¶
func NewCityBusAPIRealTimeByFrequencyOK() *CityBusAPIRealTimeByFrequencyOK
NewCityBusAPIRealTimeByFrequencyOK creates a CityBusAPIRealTimeByFrequencyOK with default headers values
func (*CityBusAPIRealTimeByFrequencyOK) Error ¶
func (o *CityBusAPIRealTimeByFrequencyOK) Error() string
func (*CityBusAPIRealTimeByFrequencyOK) GetPayload ¶
func (o *CityBusAPIRealTimeByFrequencyOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA1Data
type CityBusAPIRealTimeByFrequencyParams ¶
type CityBusAPIRealTimeByFrequencyParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeByFrequencyParams contains all the parameters to send to the API endpoint
for the city bus Api real time by frequency operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeByFrequencyParams ¶
func NewCityBusAPIRealTimeByFrequencyParams() *CityBusAPIRealTimeByFrequencyParams
NewCityBusAPIRealTimeByFrequencyParams creates a new CityBusAPIRealTimeByFrequencyParams 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 NewCityBusAPIRealTimeByFrequencyParamsWithContext ¶
func NewCityBusAPIRealTimeByFrequencyParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyParams
NewCityBusAPIRealTimeByFrequencyParamsWithContext creates a new CityBusAPIRealTimeByFrequencyParams object with the ability to set a context for a request.
func NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient ¶
func NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyParams
NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeByFrequencyParamsWithTimeout ¶
func NewCityBusAPIRealTimeByFrequencyParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyParams
NewCityBusAPIRealTimeByFrequencyParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyParams object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeByFrequencyParams) SetCity ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetCity(city string)
SetCity adds the city to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetContext ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time by frequency params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarFilter ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarFormat ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarOrderby ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarSelect ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarSkip ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarSpatialFilter ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetDollarTop ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetHTTPClient ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequencyParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) SetTimeout ¶
func (o *CityBusAPIRealTimeByFrequencyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithCity ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithCity(city string) *CityBusAPIRealTimeByFrequencyParams
WithCity adds the city to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithContext ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyParams
WithContext adds the context to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyParams) WithDefaults() *CityBusAPIRealTimeByFrequencyParams
WithDefaults hydrates default values in the city bus Api real time by frequency params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarFilter ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequencyParams
WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarFormat ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequencyParams
WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarOrderby ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequencyParams
WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarSelect ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequencyParams
WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarSkip ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequencyParams
WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarSpatialFilter ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyParams
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithDollarTop ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequencyParams
WithDollarTop adds the dollarTop to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithHTTPClient ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyParams
WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequencyParams) WithHealth(health *string) *CityBusAPIRealTimeByFrequencyParams
WithHealth adds the health to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WithTimeout ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyParams
WithTimeout adds the timeout to the city bus Api real time by frequency params
func (*CityBusAPIRealTimeByFrequencyParams) WriteToRequest ¶
func (o *CityBusAPIRealTimeByFrequencyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeByFrequencyReader ¶
type CityBusAPIRealTimeByFrequencyReader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeByFrequencyReader is a Reader for the CityBusAPIRealTimeByFrequency structure.
func (*CityBusAPIRealTimeByFrequencyReader) ReadResponse ¶
func (o *CityBusAPIRealTimeByFrequencyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeByFrequencyStatus299 ¶ added in v0.3.0
type CityBusAPIRealTimeByFrequencyStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeByFrequencyStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeByFrequencyStatus299 ¶ added in v0.3.0
func NewCityBusAPIRealTimeByFrequencyStatus299() *CityBusAPIRealTimeByFrequencyStatus299
NewCityBusAPIRealTimeByFrequencyStatus299 creates a CityBusAPIRealTimeByFrequencyStatus299 with default headers values
func (*CityBusAPIRealTimeByFrequencyStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequencyStatus299) Error() string
func (*CityBusAPIRealTimeByFrequencyStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRealTimeByFrequencyStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeByFrequencyUDP1Params ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUDP1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeByFrequencyUDP1Params contains all the parameters to send to the API endpoint
for the city bus Api real time by frequency UDP 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeByFrequencyUDP1Params ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDP1Params() *CityBusAPIRealTimeByFrequencyUDP1Params
NewCityBusAPIRealTimeByFrequencyUDP1Params creates a new CityBusAPIRealTimeByFrequencyUDP1Params 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 NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP1Params
NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext creates a new CityBusAPIRealTimeByFrequencyUDP1Params object with the ability to set a context for a request.
func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP1Params
NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyUDP1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP1Params
NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyUDP1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetCity(city string)
SetCity adds the city to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time by frequency UDP 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSpatialFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetRouteName ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithCity(city string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithCity adds the city to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP1Params
WithContext adds the context to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDefaults() *CityBusAPIRealTimeByFrequencyUDP1Params
WithDefaults hydrates default values in the city bus Api real time by frequency UDP 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSpatialFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequencyUDP1Params
WithDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP1Params
WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithHealth(health *string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithHealth adds the health to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithRouteName ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithRouteName(routeName string) *CityBusAPIRealTimeByFrequencyUDP1Params
WithRouteName adds the routeName to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP1Params
WithTimeout adds the timeout to the city bus Api real time by frequency UDP 1 params
func (*CityBusAPIRealTimeByFrequencyUDP1Params) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeByFrequencyUDP1Reader ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUDP1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeByFrequencyUDP1Reader is a Reader for the CityBusAPIRealTimeByFrequencyUDP1 structure.
func (*CityBusAPIRealTimeByFrequencyUDP1Reader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDP1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeByFrequencyUDPNotModified ¶ added in v0.9.0
type CityBusAPIRealTimeByFrequencyUDPNotModified struct { }
CityBusAPIRealTimeByFrequencyUDPNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeByFrequencyUDPNotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeByFrequencyUDPNotModified() *CityBusAPIRealTimeByFrequencyUDPNotModified
NewCityBusAPIRealTimeByFrequencyUDPNotModified creates a CityBusAPIRealTimeByFrequencyUDPNotModified with default headers values
func (*CityBusAPIRealTimeByFrequencyUDPNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyUDPNotModified) Error() string
type CityBusAPIRealTimeByFrequencyUDPOK ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUDPOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequencyUDPOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeByFrequencyUDPOK ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDPOK() *CityBusAPIRealTimeByFrequencyUDPOK
NewCityBusAPIRealTimeByFrequencyUDPOK creates a CityBusAPIRealTimeByFrequencyUDPOK with default headers values
func (*CityBusAPIRealTimeByFrequencyUDPOK) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPOK) Error() string
func (*CityBusAPIRealTimeByFrequencyUDPOK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA1Data
type CityBusAPIRealTimeByFrequencyUDPParams ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUDPParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeByFrequencyUDPParams contains all the parameters to send to the API endpoint
for the city bus Api real time by frequency UDP operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeByFrequencyUDPParams ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDPParams() *CityBusAPIRealTimeByFrequencyUDPParams
NewCityBusAPIRealTimeByFrequencyUDPParams creates a new CityBusAPIRealTimeByFrequencyUDPParams 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 NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDPParams
NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext creates a new CityBusAPIRealTimeByFrequencyUDPParams object with the ability to set a context for a request.
func NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDPParams
NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyUDPParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDPParams
NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyUDPParams object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetCity(city string)
SetCity adds the city to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time by frequency UDP params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSpatialFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithCity(city string) *CityBusAPIRealTimeByFrequencyUDPParams
WithCity adds the city to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDPParams
WithContext adds the context to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDefaults() *CityBusAPIRealTimeByFrequencyUDPParams
WithDefaults hydrates default values in the city bus Api real time by frequency UDP params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSpatialFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeByFrequencyUDPParams
WithDollarTop adds the dollarTop to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDPParams
WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithHealth(health *string) *CityBusAPIRealTimeByFrequencyUDPParams
WithHealth adds the health to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDPParams
WithTimeout adds the timeout to the city bus Api real time by frequency UDP params
func (*CityBusAPIRealTimeByFrequencyUDPParams) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeByFrequencyUDPReader ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUDPReader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeByFrequencyUDPReader is a Reader for the CityBusAPIRealTimeByFrequencyUDP structure.
func (*CityBusAPIRealTimeByFrequencyUDPReader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeByFrequencyUDPStatus299 ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUDPStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeByFrequencyUDPStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeByFrequencyUDPStatus299 ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUDPStatus299() *CityBusAPIRealTimeByFrequencyUDPStatus299
NewCityBusAPIRealTimeByFrequencyUDPStatus299 creates a CityBusAPIRealTimeByFrequencyUDPStatus299 with default headers values
func (*CityBusAPIRealTimeByFrequencyUDPStatus299) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPStatus299) Error() string
func (*CityBusAPIRealTimeByFrequencyUDPStatus299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUDPStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeByFrequencyUdp1NotModified ¶ added in v0.9.0
type CityBusAPIRealTimeByFrequencyUdp1NotModified struct { }
CityBusAPIRealTimeByFrequencyUdp1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeByFrequencyUdp1NotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeByFrequencyUdp1NotModified() *CityBusAPIRealTimeByFrequencyUdp1NotModified
NewCityBusAPIRealTimeByFrequencyUdp1NotModified creates a CityBusAPIRealTimeByFrequencyUdp1NotModified with default headers values
func (*CityBusAPIRealTimeByFrequencyUdp1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeByFrequencyUdp1NotModified) Error() string
type CityBusAPIRealTimeByFrequencyUdp1OK ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUdp1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequencyUdp1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeByFrequencyUdp1OK ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUdp1OK() *CityBusAPIRealTimeByFrequencyUdp1OK
NewCityBusAPIRealTimeByFrequencyUdp1OK creates a CityBusAPIRealTimeByFrequencyUdp1OK with default headers values
func (*CityBusAPIRealTimeByFrequencyUdp1OK) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUdp1OK) Error() string
func (*CityBusAPIRealTimeByFrequencyUdp1OK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUdp1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA1Data
type CityBusAPIRealTimeByFrequencyUdp1Status299 ¶ added in v0.4.0
type CityBusAPIRealTimeByFrequencyUdp1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeByFrequencyUdp1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeByFrequencyUdp1Status299 ¶ added in v0.4.0
func NewCityBusAPIRealTimeByFrequencyUdp1Status299() *CityBusAPIRealTimeByFrequencyUdp1Status299
NewCityBusAPIRealTimeByFrequencyUdp1Status299 creates a CityBusAPIRealTimeByFrequencyUdp1Status299 with default headers values
func (*CityBusAPIRealTimeByFrequencyUdp1Status299) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUdp1Status299) Error() string
func (*CityBusAPIRealTimeByFrequencyUdp1Status299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeByFrequencyUdp1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeNearStop1NotModified ¶ added in v0.9.0
type CityBusAPIRealTimeNearStop1NotModified struct { }
CityBusAPIRealTimeNearStop1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeNearStop1NotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeNearStop1NotModified() *CityBusAPIRealTimeNearStop1NotModified
NewCityBusAPIRealTimeNearStop1NotModified creates a CityBusAPIRealTimeNearStop1NotModified with default headers values
func (*CityBusAPIRealTimeNearStop1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStop1NotModified) Error() string
type CityBusAPIRealTimeNearStop1OK ¶
type CityBusAPIRealTimeNearStop1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStop1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeNearStop1OK ¶
func NewCityBusAPIRealTimeNearStop1OK() *CityBusAPIRealTimeNearStop1OK
NewCityBusAPIRealTimeNearStop1OK creates a CityBusAPIRealTimeNearStop1OK with default headers values
func (*CityBusAPIRealTimeNearStop1OK) Error ¶
func (o *CityBusAPIRealTimeNearStop1OK) Error() string
func (*CityBusAPIRealTimeNearStop1OK) GetPayload ¶
func (o *CityBusAPIRealTimeNearStop1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA2Data
type CityBusAPIRealTimeNearStop1Params ¶
type CityBusAPIRealTimeNearStop1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeNearStop1Params contains all the parameters to send to the API endpoint
for the city bus Api real time near stop 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeNearStop1Params ¶
func NewCityBusAPIRealTimeNearStop1Params() *CityBusAPIRealTimeNearStop1Params
NewCityBusAPIRealTimeNearStop1Params creates a new CityBusAPIRealTimeNearStop1Params 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 NewCityBusAPIRealTimeNearStop1ParamsWithContext ¶
func NewCityBusAPIRealTimeNearStop1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStop1Params
NewCityBusAPIRealTimeNearStop1ParamsWithContext creates a new CityBusAPIRealTimeNearStop1Params object with the ability to set a context for a request.
func NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient ¶
func NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop1Params
NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStop1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeNearStop1ParamsWithTimeout ¶
func NewCityBusAPIRealTimeNearStop1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop1Params
NewCityBusAPIRealTimeNearStop1ParamsWithTimeout creates a new CityBusAPIRealTimeNearStop1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeNearStop1Params) SetCity ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetCity(city string)
SetCity adds the city to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetContext ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStop1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time near stop 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStop1Params) SetDollarFilter ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetDollarFormat ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetDollarOrderby ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetDollarSelect ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetDollarSkip ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetDollarTop ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetHTTPClient ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStop1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetRouteName ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) SetTimeout ¶
func (o *CityBusAPIRealTimeNearStop1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithCity ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithCity(city string) *CityBusAPIRealTimeNearStop1Params
WithCity adds the city to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithContext ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStop1Params
WithContext adds the context to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStop1Params) WithDefaults() *CityBusAPIRealTimeNearStop1Params
WithDefaults hydrates default values in the city bus Api real time near stop 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStop1Params) WithDollarFilter ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStop1Params
WithDollarFilter adds the dollarFilter to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithDollarFormat ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStop1Params
WithDollarFormat adds the dollarFormat to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithDollarOrderby ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStop1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithDollarSelect ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStop1Params
WithDollarSelect adds the dollarSelect to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithDollarSkip ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStop1Params
WithDollarSkip adds the dollarSkip to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithDollarTop ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStop1Params
WithDollarTop adds the dollarTop to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithHTTPClient ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop1Params
WithHTTPClient adds the HTTPClient to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStop1Params) WithHealth(health *string) *CityBusAPIRealTimeNearStop1Params
WithHealth adds the health to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithRouteName ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithRouteName(routeName string) *CityBusAPIRealTimeNearStop1Params
WithRouteName adds the routeName to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WithTimeout ¶
func (o *CityBusAPIRealTimeNearStop1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop1Params
WithTimeout adds the timeout to the city bus Api real time near stop 1 params
func (*CityBusAPIRealTimeNearStop1Params) WriteToRequest ¶
func (o *CityBusAPIRealTimeNearStop1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeNearStop1Reader ¶
type CityBusAPIRealTimeNearStop1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeNearStop1Reader is a Reader for the CityBusAPIRealTimeNearStop1 structure.
func (*CityBusAPIRealTimeNearStop1Reader) ReadResponse ¶
func (o *CityBusAPIRealTimeNearStop1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeNearStop1Status299 ¶ added in v0.3.0
type CityBusAPIRealTimeNearStop1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStop1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeNearStop1Status299 ¶ added in v0.3.0
func NewCityBusAPIRealTimeNearStop1Status299() *CityBusAPIRealTimeNearStop1Status299
NewCityBusAPIRealTimeNearStop1Status299 creates a CityBusAPIRealTimeNearStop1Status299 with default headers values
func (*CityBusAPIRealTimeNearStop1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStop1Status299) Error() string
func (*CityBusAPIRealTimeNearStop1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStop1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeNearStopNotModified ¶ added in v0.9.0
type CityBusAPIRealTimeNearStopNotModified struct { }
CityBusAPIRealTimeNearStopNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeNearStopNotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeNearStopNotModified() *CityBusAPIRealTimeNearStopNotModified
NewCityBusAPIRealTimeNearStopNotModified creates a CityBusAPIRealTimeNearStopNotModified with default headers values
func (*CityBusAPIRealTimeNearStopNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopNotModified) Error() string
type CityBusAPIRealTimeNearStopOK ¶
type CityBusAPIRealTimeNearStopOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeNearStopOK ¶
func NewCityBusAPIRealTimeNearStopOK() *CityBusAPIRealTimeNearStopOK
NewCityBusAPIRealTimeNearStopOK creates a CityBusAPIRealTimeNearStopOK with default headers values
func (*CityBusAPIRealTimeNearStopOK) Error ¶
func (o *CityBusAPIRealTimeNearStopOK) Error() string
func (*CityBusAPIRealTimeNearStopOK) GetPayload ¶
func (o *CityBusAPIRealTimeNearStopOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA2Data
type CityBusAPIRealTimeNearStopParams ¶
type CityBusAPIRealTimeNearStopParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeNearStopParams contains all the parameters to send to the API endpoint
for the city bus Api real time near stop operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeNearStopParams ¶
func NewCityBusAPIRealTimeNearStopParams() *CityBusAPIRealTimeNearStopParams
NewCityBusAPIRealTimeNearStopParams creates a new CityBusAPIRealTimeNearStopParams 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 NewCityBusAPIRealTimeNearStopParamsWithContext ¶
func NewCityBusAPIRealTimeNearStopParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopParams
NewCityBusAPIRealTimeNearStopParamsWithContext creates a new CityBusAPIRealTimeNearStopParams object with the ability to set a context for a request.
func NewCityBusAPIRealTimeNearStopParamsWithHTTPClient ¶
func NewCityBusAPIRealTimeNearStopParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopParams
NewCityBusAPIRealTimeNearStopParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeNearStopParamsWithTimeout ¶
func NewCityBusAPIRealTimeNearStopParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopParams
NewCityBusAPIRealTimeNearStopParamsWithTimeout creates a new CityBusAPIRealTimeNearStopParams object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeNearStopParams) SetCity ¶
func (o *CityBusAPIRealTimeNearStopParams) SetCity(city string)
SetCity adds the city to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetContext ¶
func (o *CityBusAPIRealTimeNearStopParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time near stop params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStopParams) SetDollarFilter ¶
func (o *CityBusAPIRealTimeNearStopParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetDollarFormat ¶
func (o *CityBusAPIRealTimeNearStopParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetDollarOrderby ¶
func (o *CityBusAPIRealTimeNearStopParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetDollarSelect ¶
func (o *CityBusAPIRealTimeNearStopParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetDollarSkip ¶
func (o *CityBusAPIRealTimeNearStopParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetDollarTop ¶
func (o *CityBusAPIRealTimeNearStopParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetHTTPClient ¶
func (o *CityBusAPIRealTimeNearStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStopParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) SetTimeout ¶
func (o *CityBusAPIRealTimeNearStopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithCity ¶
func (o *CityBusAPIRealTimeNearStopParams) WithCity(city string) *CityBusAPIRealTimeNearStopParams
WithCity adds the city to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithContext ¶
func (o *CityBusAPIRealTimeNearStopParams) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStopParams
WithContext adds the context to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopParams) WithDefaults() *CityBusAPIRealTimeNearStopParams
WithDefaults hydrates default values in the city bus Api real time near stop params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStopParams) WithDollarFilter ¶
func (o *CityBusAPIRealTimeNearStopParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopParams
WithDollarFilter adds the dollarFilter to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithDollarFormat ¶
func (o *CityBusAPIRealTimeNearStopParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStopParams
WithDollarFormat adds the dollarFormat to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithDollarOrderby ¶
func (o *CityBusAPIRealTimeNearStopParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopParams
WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithDollarSelect ¶
func (o *CityBusAPIRealTimeNearStopParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopParams
WithDollarSelect adds the dollarSelect to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithDollarSkip ¶
func (o *CityBusAPIRealTimeNearStopParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStopParams
WithDollarSkip adds the dollarSkip to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithDollarTop ¶
func (o *CityBusAPIRealTimeNearStopParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStopParams
WithDollarTop adds the dollarTop to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithHTTPClient ¶
func (o *CityBusAPIRealTimeNearStopParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopParams
WithHTTPClient adds the HTTPClient to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStopParams) WithHealth(health *string) *CityBusAPIRealTimeNearStopParams
WithHealth adds the health to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WithTimeout ¶
func (o *CityBusAPIRealTimeNearStopParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopParams
WithTimeout adds the timeout to the city bus Api real time near stop params
func (*CityBusAPIRealTimeNearStopParams) WriteToRequest ¶
func (o *CityBusAPIRealTimeNearStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeNearStopReader ¶
type CityBusAPIRealTimeNearStopReader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeNearStopReader is a Reader for the CityBusAPIRealTimeNearStop structure.
func (*CityBusAPIRealTimeNearStopReader) ReadResponse ¶
func (o *CityBusAPIRealTimeNearStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeNearStopStatus299 ¶ added in v0.3.0
type CityBusAPIRealTimeNearStopStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStopStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeNearStopStatus299 ¶ added in v0.3.0
func NewCityBusAPIRealTimeNearStopStatus299() *CityBusAPIRealTimeNearStopStatus299
NewCityBusAPIRealTimeNearStopStatus299 creates a CityBusAPIRealTimeNearStopStatus299 with default headers values
func (*CityBusAPIRealTimeNearStopStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStopStatus299) Error() string
func (*CityBusAPIRealTimeNearStopStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRealTimeNearStopStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeNearStopUDP1Params ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUDP1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeNearStopUDP1Params contains all the parameters to send to the API endpoint
for the city bus Api real time near stop UDP 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeNearStopUDP1Params ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDP1Params() *CityBusAPIRealTimeNearStopUDP1Params
NewCityBusAPIRealTimeNearStopUDP1Params creates a new CityBusAPIRealTimeNearStopUDP1Params 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 NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP1Params
NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext creates a new CityBusAPIRealTimeNearStopUDP1Params object with the ability to set a context for a request.
func NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP1Params
NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopUDP1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP1Params
NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout creates a new CityBusAPIRealTimeNearStopUDP1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeNearStopUDP1Params) SetCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetCity(city string)
SetCity adds the city to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time near stop UDP 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetRouteName ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithCity(city string) *CityBusAPIRealTimeNearStopUDP1Params
WithCity adds the city to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP1Params
WithContext adds the context to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDefaults() *CityBusAPIRealTimeNearStopUDP1Params
WithDefaults hydrates default values in the city bus Api real time near stop UDP 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopUDP1Params
WithDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStopUDP1Params
WithDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopUDP1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopUDP1Params
WithDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStopUDP1Params
WithDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStopUDP1Params
WithDollarTop adds the dollarTop to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP1Params
WithHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithHealth(health *string) *CityBusAPIRealTimeNearStopUDP1Params
WithHealth adds the health to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithRouteName ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithRouteName(routeName string) *CityBusAPIRealTimeNearStopUDP1Params
WithRouteName adds the routeName to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP1Params
WithTimeout adds the timeout to the city bus Api real time near stop UDP 1 params
func (*CityBusAPIRealTimeNearStopUDP1Params) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeNearStopUDP1Reader ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUDP1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeNearStopUDP1Reader is a Reader for the CityBusAPIRealTimeNearStopUDP1 structure.
func (*CityBusAPIRealTimeNearStopUDP1Reader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDP1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeNearStopUDPNotModified ¶ added in v0.9.0
type CityBusAPIRealTimeNearStopUDPNotModified struct { }
CityBusAPIRealTimeNearStopUDPNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeNearStopUDPNotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeNearStopUDPNotModified() *CityBusAPIRealTimeNearStopUDPNotModified
NewCityBusAPIRealTimeNearStopUDPNotModified creates a CityBusAPIRealTimeNearStopUDPNotModified with default headers values
func (*CityBusAPIRealTimeNearStopUDPNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopUDPNotModified) Error() string
type CityBusAPIRealTimeNearStopUDPOK ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUDPOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopUDPOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeNearStopUDPOK ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDPOK() *CityBusAPIRealTimeNearStopUDPOK
NewCityBusAPIRealTimeNearStopUDPOK creates a CityBusAPIRealTimeNearStopUDPOK with default headers values
func (*CityBusAPIRealTimeNearStopUDPOK) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPOK) Error() string
func (*CityBusAPIRealTimeNearStopUDPOK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA2Data
type CityBusAPIRealTimeNearStopUDPParams ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUDPParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRealTimeNearStopUDPParams contains all the parameters to send to the API endpoint
for the city bus Api real time near stop UDP operation. Typically these are written to a http.Request.
func NewCityBusAPIRealTimeNearStopUDPParams ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDPParams() *CityBusAPIRealTimeNearStopUDPParams
NewCityBusAPIRealTimeNearStopUDPParams creates a new CityBusAPIRealTimeNearStopUDPParams 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 NewCityBusAPIRealTimeNearStopUDPParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDPParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDPParams
NewCityBusAPIRealTimeNearStopUDPParamsWithContext creates a new CityBusAPIRealTimeNearStopUDPParams object with the ability to set a context for a request.
func NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDPParams
NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopUDPParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDPParams
NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout creates a new CityBusAPIRealTimeNearStopUDPParams object with the ability to set a timeout on a request.
func (*CityBusAPIRealTimeNearStopUDPParams) SetCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetCity(city string)
SetCity adds the city to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api real time near stop UDP params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithCity ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithCity(city string) *CityBusAPIRealTimeNearStopUDPParams
WithCity adds the city to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithContext ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDPParams
WithContext adds the context to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDefaults() *CityBusAPIRealTimeNearStopUDPParams
WithDefaults hydrates default values in the city bus Api real time near stop UDP params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopUDPParams
WithDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarFormat(dollarFormat string) *CityBusAPIRealTimeNearStopUDPParams
WithDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopUDPParams
WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopUDPParams
WithDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRealTimeNearStopUDPParams
WithDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithDollarTop(dollarTop *int64) *CityBusAPIRealTimeNearStopUDPParams
WithDollarTop adds the dollarTop to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDPParams
WithHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithHealth(health *string) *CityBusAPIRealTimeNearStopUDPParams
WithHealth adds the health to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDPParams
WithTimeout adds the timeout to the city bus Api real time near stop UDP params
func (*CityBusAPIRealTimeNearStopUDPParams) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRealTimeNearStopUDPReader ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUDPReader struct {
// contains filtered or unexported fields
}
CityBusAPIRealTimeNearStopUDPReader is a Reader for the CityBusAPIRealTimeNearStopUDP structure.
func (*CityBusAPIRealTimeNearStopUDPReader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRealTimeNearStopUDPStatus299 ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUDPStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStopUDPStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeNearStopUDPStatus299 ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUDPStatus299() *CityBusAPIRealTimeNearStopUDPStatus299
NewCityBusAPIRealTimeNearStopUDPStatus299 creates a CityBusAPIRealTimeNearStopUDPStatus299 with default headers values
func (*CityBusAPIRealTimeNearStopUDPStatus299) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPStatus299) Error() string
func (*CityBusAPIRealTimeNearStopUDPStatus299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUDPStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRealTimeNearStopUdp1NotModified ¶ added in v0.9.0
type CityBusAPIRealTimeNearStopUdp1NotModified struct { }
CityBusAPIRealTimeNearStopUdp1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRealTimeNearStopUdp1NotModified ¶ added in v0.9.0
func NewCityBusAPIRealTimeNearStopUdp1NotModified() *CityBusAPIRealTimeNearStopUdp1NotModified
NewCityBusAPIRealTimeNearStopUdp1NotModified creates a CityBusAPIRealTimeNearStopUdp1NotModified with default headers values
func (*CityBusAPIRealTimeNearStopUdp1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRealTimeNearStopUdp1NotModified) Error() string
type CityBusAPIRealTimeNearStopUdp1OK ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUdp1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopUdp1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRealTimeNearStopUdp1OK ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUdp1OK() *CityBusAPIRealTimeNearStopUdp1OK
NewCityBusAPIRealTimeNearStopUdp1OK creates a CityBusAPIRealTimeNearStopUdp1OK with default headers values
func (*CityBusAPIRealTimeNearStopUdp1OK) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUdp1OK) Error() string
func (*CityBusAPIRealTimeNearStopUdp1OK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUdp1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusA2Data
type CityBusAPIRealTimeNearStopUdp1Status299 ¶ added in v0.4.0
type CityBusAPIRealTimeNearStopUdp1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStopUdp1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRealTimeNearStopUdp1Status299 ¶ added in v0.4.0
func NewCityBusAPIRealTimeNearStopUdp1Status299() *CityBusAPIRealTimeNearStopUdp1Status299
NewCityBusAPIRealTimeNearStopUdp1Status299 creates a CityBusAPIRealTimeNearStopUdp1Status299 with default headers values
func (*CityBusAPIRealTimeNearStopUdp1Status299) Error ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUdp1Status299) Error() string
func (*CityBusAPIRealTimeNearStopUdp1Status299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIRealTimeNearStopUdp1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRoute1NotModified ¶ added in v0.9.0
type CityBusAPIRoute1NotModified struct { }
CityBusAPIRoute1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRoute1NotModified ¶ added in v0.9.0
func NewCityBusAPIRoute1NotModified() *CityBusAPIRoute1NotModified
NewCityBusAPIRoute1NotModified creates a CityBusAPIRoute1NotModified with default headers values
func (*CityBusAPIRoute1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRoute1NotModified) Error() string
type CityBusAPIRoute1OK ¶
type CityBusAPIRoute1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusRoute
}
CityBusAPIRoute1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRoute1OK ¶
func NewCityBusAPIRoute1OK() *CityBusAPIRoute1OK
NewCityBusAPIRoute1OK creates a CityBusAPIRoute1OK with default headers values
func (*CityBusAPIRoute1OK) Error ¶
func (o *CityBusAPIRoute1OK) Error() string
func (*CityBusAPIRoute1OK) GetPayload ¶
func (o *CityBusAPIRoute1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusRoute
type CityBusAPIRoute1Params ¶
type CityBusAPIRoute1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRoute1Params contains all the parameters to send to the API endpoint
for the city bus Api route 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRoute1Params ¶
func NewCityBusAPIRoute1Params() *CityBusAPIRoute1Params
NewCityBusAPIRoute1Params creates a new CityBusAPIRoute1Params 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 NewCityBusAPIRoute1ParamsWithContext ¶
func NewCityBusAPIRoute1ParamsWithContext(ctx context.Context) *CityBusAPIRoute1Params
NewCityBusAPIRoute1ParamsWithContext creates a new CityBusAPIRoute1Params object with the ability to set a context for a request.
func NewCityBusAPIRoute1ParamsWithHTTPClient ¶
func NewCityBusAPIRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRoute1Params
NewCityBusAPIRoute1ParamsWithHTTPClient creates a new CityBusAPIRoute1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRoute1ParamsWithTimeout ¶
func NewCityBusAPIRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRoute1Params
NewCityBusAPIRoute1ParamsWithTimeout creates a new CityBusAPIRoute1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRoute1Params) SetCity ¶
func (o *CityBusAPIRoute1Params) SetCity(city string)
SetCity adds the city to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetContext ¶
func (o *CityBusAPIRoute1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRoute1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api route 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRoute1Params) SetDollarFilter ¶
func (o *CityBusAPIRoute1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetDollarFormat ¶
func (o *CityBusAPIRoute1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetDollarOrderby ¶
func (o *CityBusAPIRoute1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetDollarSelect ¶
func (o *CityBusAPIRoute1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetDollarSkip ¶
func (o *CityBusAPIRoute1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetDollarTop ¶
func (o *CityBusAPIRoute1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetHTTPClient ¶
func (o *CityBusAPIRoute1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRoute1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetRouteName ¶
func (o *CityBusAPIRoute1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) SetTimeout ¶
func (o *CityBusAPIRoute1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithCity ¶
func (o *CityBusAPIRoute1Params) WithCity(city string) *CityBusAPIRoute1Params
WithCity adds the city to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithContext ¶
func (o *CityBusAPIRoute1Params) WithContext(ctx context.Context) *CityBusAPIRoute1Params
WithContext adds the context to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRoute1Params) WithDefaults() *CityBusAPIRoute1Params
WithDefaults hydrates default values in the city bus Api route 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRoute1Params) WithDollarFilter ¶
func (o *CityBusAPIRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRoute1Params
WithDollarFilter adds the dollarFilter to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithDollarFormat ¶
func (o *CityBusAPIRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRoute1Params
WithDollarFormat adds the dollarFormat to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithDollarOrderby ¶
func (o *CityBusAPIRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRoute1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithDollarSelect ¶
func (o *CityBusAPIRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRoute1Params
WithDollarSelect adds the dollarSelect to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithDollarSkip ¶
func (o *CityBusAPIRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRoute1Params
WithDollarSkip adds the dollarSkip to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithDollarTop ¶
func (o *CityBusAPIRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRoute1Params
WithDollarTop adds the dollarTop to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithHTTPClient ¶
func (o *CityBusAPIRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIRoute1Params
WithHTTPClient adds the HTTPClient to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRoute1Params) WithHealth(health *string) *CityBusAPIRoute1Params
WithHealth adds the health to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithRouteName ¶
func (o *CityBusAPIRoute1Params) WithRouteName(routeName string) *CityBusAPIRoute1Params
WithRouteName adds the routeName to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WithTimeout ¶
func (o *CityBusAPIRoute1Params) WithTimeout(timeout time.Duration) *CityBusAPIRoute1Params
WithTimeout adds the timeout to the city bus Api route 1 params
func (*CityBusAPIRoute1Params) WriteToRequest ¶
func (o *CityBusAPIRoute1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRoute1Reader ¶
type CityBusAPIRoute1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRoute1Reader is a Reader for the CityBusAPIRoute1 structure.
func (*CityBusAPIRoute1Reader) ReadResponse ¶
func (o *CityBusAPIRoute1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRoute1Status299 ¶ added in v0.3.0
type CityBusAPIRoute1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRoute1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRoute1Status299 ¶ added in v0.3.0
func NewCityBusAPIRoute1Status299() *CityBusAPIRoute1Status299
NewCityBusAPIRoute1Status299 creates a CityBusAPIRoute1Status299 with default headers values
func (*CityBusAPIRoute1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIRoute1Status299) Error() string
func (*CityBusAPIRoute1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRoute1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRouteFare1NotModified ¶ added in v0.9.0
type CityBusAPIRouteFare1NotModified struct { }
CityBusAPIRouteFare1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRouteFare1NotModified ¶ added in v0.9.0
func NewCityBusAPIRouteFare1NotModified() *CityBusAPIRouteFare1NotModified
NewCityBusAPIRouteFare1NotModified creates a CityBusAPIRouteFare1NotModified with default headers values
func (*CityBusAPIRouteFare1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRouteFare1NotModified) Error() string
type CityBusAPIRouteFare1OK ¶
type CityBusAPIRouteFare1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
}
CityBusAPIRouteFare1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRouteFare1OK ¶
func NewCityBusAPIRouteFare1OK() *CityBusAPIRouteFare1OK
NewCityBusAPIRouteFare1OK creates a CityBusAPIRouteFare1OK with default headers values
func (*CityBusAPIRouteFare1OK) Error ¶
func (o *CityBusAPIRouteFare1OK) Error() string
func (*CityBusAPIRouteFare1OK) GetPayload ¶
func (o *CityBusAPIRouteFare1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
type CityBusAPIRouteFare1Params ¶
type CityBusAPIRouteFare1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRouteFare1Params contains all the parameters to send to the API endpoint
for the city bus Api route fare 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRouteFare1Params ¶
func NewCityBusAPIRouteFare1Params() *CityBusAPIRouteFare1Params
NewCityBusAPIRouteFare1Params creates a new CityBusAPIRouteFare1Params 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 NewCityBusAPIRouteFare1ParamsWithContext ¶
func NewCityBusAPIRouteFare1ParamsWithContext(ctx context.Context) *CityBusAPIRouteFare1Params
NewCityBusAPIRouteFare1ParamsWithContext creates a new CityBusAPIRouteFare1Params object with the ability to set a context for a request.
func NewCityBusAPIRouteFare1ParamsWithHTTPClient ¶
func NewCityBusAPIRouteFare1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFare1Params
NewCityBusAPIRouteFare1ParamsWithHTTPClient creates a new CityBusAPIRouteFare1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRouteFare1ParamsWithTimeout ¶
func NewCityBusAPIRouteFare1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFare1Params
NewCityBusAPIRouteFare1ParamsWithTimeout creates a new CityBusAPIRouteFare1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRouteFare1Params) SetCity ¶
func (o *CityBusAPIRouteFare1Params) SetCity(city string)
SetCity adds the city to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetContext ¶
func (o *CityBusAPIRouteFare1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRouteFare1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api route fare 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteFare1Params) SetDollarFilter ¶
func (o *CityBusAPIRouteFare1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetDollarFormat ¶
func (o *CityBusAPIRouteFare1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetDollarOrderby ¶
func (o *CityBusAPIRouteFare1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetDollarSelect ¶
func (o *CityBusAPIRouteFare1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetDollarSkip ¶
func (o *CityBusAPIRouteFare1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetDollarTop ¶
func (o *CityBusAPIRouteFare1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetHTTPClient ¶
func (o *CityBusAPIRouteFare1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRouteFare1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetRouteName ¶
func (o *CityBusAPIRouteFare1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) SetTimeout ¶
func (o *CityBusAPIRouteFare1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithCity ¶
func (o *CityBusAPIRouteFare1Params) WithCity(city string) *CityBusAPIRouteFare1Params
WithCity adds the city to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithContext ¶
func (o *CityBusAPIRouteFare1Params) WithContext(ctx context.Context) *CityBusAPIRouteFare1Params
WithContext adds the context to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRouteFare1Params) WithDefaults() *CityBusAPIRouteFare1Params
WithDefaults hydrates default values in the city bus Api route fare 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteFare1Params) WithDollarFilter ¶
func (o *CityBusAPIRouteFare1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteFare1Params
WithDollarFilter adds the dollarFilter to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithDollarFormat ¶
func (o *CityBusAPIRouteFare1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRouteFare1Params
WithDollarFormat adds the dollarFormat to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithDollarOrderby ¶
func (o *CityBusAPIRouteFare1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteFare1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithDollarSelect ¶
func (o *CityBusAPIRouteFare1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteFare1Params
WithDollarSelect adds the dollarSelect to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithDollarSkip ¶
func (o *CityBusAPIRouteFare1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteFare1Params
WithDollarSkip adds the dollarSkip to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithDollarTop ¶
func (o *CityBusAPIRouteFare1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRouteFare1Params
WithDollarTop adds the dollarTop to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithHTTPClient ¶
func (o *CityBusAPIRouteFare1Params) WithHTTPClient(client *http.Client) *CityBusAPIRouteFare1Params
WithHTTPClient adds the HTTPClient to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRouteFare1Params) WithHealth(health *string) *CityBusAPIRouteFare1Params
WithHealth adds the health to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithRouteName ¶
func (o *CityBusAPIRouteFare1Params) WithRouteName(routeName string) *CityBusAPIRouteFare1Params
WithRouteName adds the routeName to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WithTimeout ¶
func (o *CityBusAPIRouteFare1Params) WithTimeout(timeout time.Duration) *CityBusAPIRouteFare1Params
WithTimeout adds the timeout to the city bus Api route fare 1 params
func (*CityBusAPIRouteFare1Params) WriteToRequest ¶
func (o *CityBusAPIRouteFare1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRouteFare1Reader ¶
type CityBusAPIRouteFare1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRouteFare1Reader is a Reader for the CityBusAPIRouteFare1 structure.
func (*CityBusAPIRouteFare1Reader) ReadResponse ¶
func (o *CityBusAPIRouteFare1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRouteFare1Status299 ¶ added in v0.3.0
type CityBusAPIRouteFare1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteFare1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRouteFare1Status299 ¶ added in v0.3.0
func NewCityBusAPIRouteFare1Status299() *CityBusAPIRouteFare1Status299
NewCityBusAPIRouteFare1Status299 creates a CityBusAPIRouteFare1Status299 with default headers values
func (*CityBusAPIRouteFare1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIRouteFare1Status299) Error() string
func (*CityBusAPIRouteFare1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRouteFare1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRouteFareNotModified ¶ added in v0.9.0
type CityBusAPIRouteFareNotModified struct { }
CityBusAPIRouteFareNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRouteFareNotModified ¶ added in v0.9.0
func NewCityBusAPIRouteFareNotModified() *CityBusAPIRouteFareNotModified
NewCityBusAPIRouteFareNotModified creates a CityBusAPIRouteFareNotModified with default headers values
func (*CityBusAPIRouteFareNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRouteFareNotModified) Error() string
type CityBusAPIRouteFareOK ¶
type CityBusAPIRouteFareOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
}
CityBusAPIRouteFareOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRouteFareOK ¶
func NewCityBusAPIRouteFareOK() *CityBusAPIRouteFareOK
NewCityBusAPIRouteFareOK creates a CityBusAPIRouteFareOK with default headers values
func (*CityBusAPIRouteFareOK) Error ¶
func (o *CityBusAPIRouteFareOK) Error() string
func (*CityBusAPIRouteFareOK) GetPayload ¶
func (o *CityBusAPIRouteFareOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
type CityBusAPIRouteFareParams ¶
type CityBusAPIRouteFareParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRouteFareParams contains all the parameters to send to the API endpoint
for the city bus Api route fare operation. Typically these are written to a http.Request.
func NewCityBusAPIRouteFareParams ¶
func NewCityBusAPIRouteFareParams() *CityBusAPIRouteFareParams
NewCityBusAPIRouteFareParams creates a new CityBusAPIRouteFareParams 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 NewCityBusAPIRouteFareParamsWithContext ¶
func NewCityBusAPIRouteFareParamsWithContext(ctx context.Context) *CityBusAPIRouteFareParams
NewCityBusAPIRouteFareParamsWithContext creates a new CityBusAPIRouteFareParams object with the ability to set a context for a request.
func NewCityBusAPIRouteFareParamsWithHTTPClient ¶
func NewCityBusAPIRouteFareParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFareParams
NewCityBusAPIRouteFareParamsWithHTTPClient creates a new CityBusAPIRouteFareParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRouteFareParamsWithTimeout ¶
func NewCityBusAPIRouteFareParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFareParams
NewCityBusAPIRouteFareParamsWithTimeout creates a new CityBusAPIRouteFareParams object with the ability to set a timeout on a request.
func (*CityBusAPIRouteFareParams) SetCity ¶
func (o *CityBusAPIRouteFareParams) SetCity(city string)
SetCity adds the city to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetContext ¶
func (o *CityBusAPIRouteFareParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRouteFareParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api route fare params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteFareParams) SetDollarFilter ¶
func (o *CityBusAPIRouteFareParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetDollarFormat ¶
func (o *CityBusAPIRouteFareParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetDollarOrderby ¶
func (o *CityBusAPIRouteFareParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetDollarSelect ¶
func (o *CityBusAPIRouteFareParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetDollarSkip ¶
func (o *CityBusAPIRouteFareParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetDollarTop ¶
func (o *CityBusAPIRouteFareParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetHTTPClient ¶
func (o *CityBusAPIRouteFareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRouteFareParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) SetTimeout ¶
func (o *CityBusAPIRouteFareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithCity ¶
func (o *CityBusAPIRouteFareParams) WithCity(city string) *CityBusAPIRouteFareParams
WithCity adds the city to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithContext ¶
func (o *CityBusAPIRouteFareParams) WithContext(ctx context.Context) *CityBusAPIRouteFareParams
WithContext adds the context to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRouteFareParams) WithDefaults() *CityBusAPIRouteFareParams
WithDefaults hydrates default values in the city bus Api route fare params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteFareParams) WithDollarFilter ¶
func (o *CityBusAPIRouteFareParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteFareParams
WithDollarFilter adds the dollarFilter to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithDollarFormat ¶
func (o *CityBusAPIRouteFareParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteFareParams
WithDollarFormat adds the dollarFormat to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithDollarOrderby ¶
func (o *CityBusAPIRouteFareParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteFareParams
WithDollarOrderby adds the dollarOrderby to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithDollarSelect ¶
func (o *CityBusAPIRouteFareParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteFareParams
WithDollarSelect adds the dollarSelect to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithDollarSkip ¶
func (o *CityBusAPIRouteFareParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteFareParams
WithDollarSkip adds the dollarSkip to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithDollarTop ¶
func (o *CityBusAPIRouteFareParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteFareParams
WithDollarTop adds the dollarTop to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithHTTPClient ¶
func (o *CityBusAPIRouteFareParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteFareParams
WithHTTPClient adds the HTTPClient to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRouteFareParams) WithHealth(health *string) *CityBusAPIRouteFareParams
WithHealth adds the health to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WithTimeout ¶
func (o *CityBusAPIRouteFareParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteFareParams
WithTimeout adds the timeout to the city bus Api route fare params
func (*CityBusAPIRouteFareParams) WriteToRequest ¶
func (o *CityBusAPIRouteFareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRouteFareReader ¶
type CityBusAPIRouteFareReader struct {
// contains filtered or unexported fields
}
CityBusAPIRouteFareReader is a Reader for the CityBusAPIRouteFare structure.
func (*CityBusAPIRouteFareReader) ReadResponse ¶
func (o *CityBusAPIRouteFareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRouteFareStatus299 ¶ added in v0.3.0
type CityBusAPIRouteFareStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteFareStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRouteFareStatus299 ¶ added in v0.3.0
func NewCityBusAPIRouteFareStatus299() *CityBusAPIRouteFareStatus299
NewCityBusAPIRouteFareStatus299 creates a CityBusAPIRouteFareStatus299 with default headers values
func (*CityBusAPIRouteFareStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIRouteFareStatus299) Error() string
func (*CityBusAPIRouteFareStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRouteFareStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRouteNetwork1NotModified ¶ added in v0.11.0
type CityBusAPIRouteNetwork1NotModified struct { }
CityBusAPIRouteNetwork1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRouteNetwork1NotModified ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1NotModified() *CityBusAPIRouteNetwork1NotModified
NewCityBusAPIRouteNetwork1NotModified creates a CityBusAPIRouteNetwork1NotModified with default headers values
func (*CityBusAPIRouteNetwork1NotModified) Error ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1NotModified) Error() string
type CityBusAPIRouteNetwork1OK ¶ added in v0.11.0
type CityBusAPIRouteNetwork1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
}
CityBusAPIRouteNetwork1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRouteNetwork1OK ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1OK() *CityBusAPIRouteNetwork1OK
NewCityBusAPIRouteNetwork1OK creates a CityBusAPIRouteNetwork1OK with default headers values
func (*CityBusAPIRouteNetwork1OK) Error ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1OK) Error() string
func (*CityBusAPIRouteNetwork1OK) GetPayload ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
type CityBusAPIRouteNetwork1Params ¶ added in v0.11.0
type CityBusAPIRouteNetwork1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRouteNetwork1Params contains all the parameters to send to the API endpoint
for the city bus Api route network 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIRouteNetwork1Params ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1Params() *CityBusAPIRouteNetwork1Params
NewCityBusAPIRouteNetwork1Params creates a new CityBusAPIRouteNetwork1Params 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 NewCityBusAPIRouteNetwork1ParamsWithContext ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1ParamsWithContext(ctx context.Context) *CityBusAPIRouteNetwork1Params
NewCityBusAPIRouteNetwork1ParamsWithContext creates a new CityBusAPIRouteNetwork1Params object with the ability to set a context for a request.
func NewCityBusAPIRouteNetwork1ParamsWithHTTPClient ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork1Params
NewCityBusAPIRouteNetwork1ParamsWithHTTPClient creates a new CityBusAPIRouteNetwork1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRouteNetwork1ParamsWithTimeout ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork1Params
NewCityBusAPIRouteNetwork1ParamsWithTimeout creates a new CityBusAPIRouteNetwork1Params object with the ability to set a timeout on a request.
func (*CityBusAPIRouteNetwork1Params) SetCity ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetCity(city string)
SetCity adds the city to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetContext ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetDefaults ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api route network 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteNetwork1Params) SetDollarFilter ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetDollarFormat ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetDollarOrderby ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetDollarSelect ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetDollarSkip ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetDollarTop ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetHTTPClient ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetHealth ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetRouteName ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) SetTimeout ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithCity ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithCity(city string) *CityBusAPIRouteNetwork1Params
WithCity adds the city to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithContext ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithContext(ctx context.Context) *CityBusAPIRouteNetwork1Params
WithContext adds the context to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithDefaults ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDefaults() *CityBusAPIRouteNetwork1Params
WithDefaults hydrates default values in the city bus Api route network 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteNetwork1Params) WithDollarFilter ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteNetwork1Params
WithDollarFilter adds the dollarFilter to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithDollarFormat ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRouteNetwork1Params
WithDollarFormat adds the dollarFormat to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithDollarOrderby ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteNetwork1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithDollarSelect ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteNetwork1Params
WithDollarSelect adds the dollarSelect to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithDollarSkip ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteNetwork1Params
WithDollarSkip adds the dollarSkip to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithDollarTop ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRouteNetwork1Params
WithDollarTop adds the dollarTop to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithHTTPClient ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork1Params
WithHTTPClient adds the HTTPClient to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithHealth ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithHealth(health *string) *CityBusAPIRouteNetwork1Params
WithHealth adds the health to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithRouteName ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithRouteName(routeName string) *CityBusAPIRouteNetwork1Params
WithRouteName adds the routeName to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WithTimeout ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork1Params
WithTimeout adds the timeout to the city bus Api route network 1 params
func (*CityBusAPIRouteNetwork1Params) WriteToRequest ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRouteNetwork1Reader ¶ added in v0.11.0
type CityBusAPIRouteNetwork1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIRouteNetwork1Reader is a Reader for the CityBusAPIRouteNetwork1 structure.
func (*CityBusAPIRouteNetwork1Reader) ReadResponse ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRouteNetwork1Status299 ¶ added in v0.11.0
type CityBusAPIRouteNetwork1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteNetwork1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRouteNetwork1Status299 ¶ added in v0.11.0
func NewCityBusAPIRouteNetwork1Status299() *CityBusAPIRouteNetwork1Status299
NewCityBusAPIRouteNetwork1Status299 creates a CityBusAPIRouteNetwork1Status299 with default headers values
func (*CityBusAPIRouteNetwork1Status299) Error ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Status299) Error() string
func (*CityBusAPIRouteNetwork1Status299) GetPayload ¶ added in v0.11.0
func (o *CityBusAPIRouteNetwork1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRouteNetworkNotModified ¶ added in v0.11.0
type CityBusAPIRouteNetworkNotModified struct { }
CityBusAPIRouteNetworkNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRouteNetworkNotModified ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkNotModified() *CityBusAPIRouteNetworkNotModified
NewCityBusAPIRouteNetworkNotModified creates a CityBusAPIRouteNetworkNotModified with default headers values
func (*CityBusAPIRouteNetworkNotModified) Error ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkNotModified) Error() string
type CityBusAPIRouteNetworkOK ¶ added in v0.11.0
type CityBusAPIRouteNetworkOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
}
CityBusAPIRouteNetworkOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRouteNetworkOK ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkOK() *CityBusAPIRouteNetworkOK
NewCityBusAPIRouteNetworkOK creates a CityBusAPIRouteNetworkOK with default headers values
func (*CityBusAPIRouteNetworkOK) Error ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkOK) Error() string
func (*CityBusAPIRouteNetworkOK) GetPayload ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
type CityBusAPIRouteNetworkParams ¶ added in v0.11.0
type CityBusAPIRouteNetworkParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRouteNetworkParams contains all the parameters to send to the API endpoint
for the city bus Api route network operation. Typically these are written to a http.Request.
func NewCityBusAPIRouteNetworkParams ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkParams() *CityBusAPIRouteNetworkParams
NewCityBusAPIRouteNetworkParams creates a new CityBusAPIRouteNetworkParams 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 NewCityBusAPIRouteNetworkParamsWithContext ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkParamsWithContext(ctx context.Context) *CityBusAPIRouteNetworkParams
NewCityBusAPIRouteNetworkParamsWithContext creates a new CityBusAPIRouteNetworkParams object with the ability to set a context for a request.
func NewCityBusAPIRouteNetworkParamsWithHTTPClient ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetworkParams
NewCityBusAPIRouteNetworkParamsWithHTTPClient creates a new CityBusAPIRouteNetworkParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRouteNetworkParamsWithTimeout ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetworkParams
NewCityBusAPIRouteNetworkParamsWithTimeout creates a new CityBusAPIRouteNetworkParams object with the ability to set a timeout on a request.
func (*CityBusAPIRouteNetworkParams) SetCity ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetCity(city string)
SetCity adds the city to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetContext ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetDefaults ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api route network params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteNetworkParams) SetDollarFilter ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetDollarFormat ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetDollarOrderby ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetDollarSelect ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetDollarSkip ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetDollarTop ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetHTTPClient ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetHealth ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) SetTimeout ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithCity ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithCity(city string) *CityBusAPIRouteNetworkParams
WithCity adds the city to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithContext ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithContext(ctx context.Context) *CityBusAPIRouteNetworkParams
WithContext adds the context to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithDefaults ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDefaults() *CityBusAPIRouteNetworkParams
WithDefaults hydrates default values in the city bus Api route network params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteNetworkParams) WithDollarFilter ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteNetworkParams
WithDollarFilter adds the dollarFilter to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithDollarFormat ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteNetworkParams
WithDollarFormat adds the dollarFormat to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithDollarOrderby ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteNetworkParams
WithDollarOrderby adds the dollarOrderby to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithDollarSelect ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteNetworkParams
WithDollarSelect adds the dollarSelect to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithDollarSkip ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteNetworkParams
WithDollarSkip adds the dollarSkip to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithDollarTop ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteNetworkParams
WithDollarTop adds the dollarTop to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithHTTPClient ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteNetworkParams
WithHTTPClient adds the HTTPClient to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithHealth ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithHealth(health *string) *CityBusAPIRouteNetworkParams
WithHealth adds the health to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WithTimeout ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteNetworkParams
WithTimeout adds the timeout to the city bus Api route network params
func (*CityBusAPIRouteNetworkParams) WriteToRequest ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRouteNetworkReader ¶ added in v0.11.0
type CityBusAPIRouteNetworkReader struct {
// contains filtered or unexported fields
}
CityBusAPIRouteNetworkReader is a Reader for the CityBusAPIRouteNetwork structure.
func (*CityBusAPIRouteNetworkReader) ReadResponse ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRouteNetworkStatus299 ¶ added in v0.11.0
type CityBusAPIRouteNetworkStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteNetworkStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRouteNetworkStatus299 ¶ added in v0.11.0
func NewCityBusAPIRouteNetworkStatus299() *CityBusAPIRouteNetworkStatus299
NewCityBusAPIRouteNetworkStatus299 creates a CityBusAPIRouteNetworkStatus299 with default headers values
func (*CityBusAPIRouteNetworkStatus299) Error ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkStatus299) Error() string
func (*CityBusAPIRouteNetworkStatus299) GetPayload ¶ added in v0.11.0
func (o *CityBusAPIRouteNetworkStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIRouteNotModified ¶ added in v0.9.0
type CityBusAPIRouteNotModified struct { }
CityBusAPIRouteNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIRouteNotModified ¶ added in v0.9.0
func NewCityBusAPIRouteNotModified() *CityBusAPIRouteNotModified
NewCityBusAPIRouteNotModified creates a CityBusAPIRouteNotModified with default headers values
func (*CityBusAPIRouteNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIRouteNotModified) Error() string
type CityBusAPIRouteOK ¶
type CityBusAPIRouteOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusRoute
}
CityBusAPIRouteOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIRouteOK ¶
func NewCityBusAPIRouteOK() *CityBusAPIRouteOK
NewCityBusAPIRouteOK creates a CityBusAPIRouteOK with default headers values
func (*CityBusAPIRouteOK) Error ¶
func (o *CityBusAPIRouteOK) Error() string
func (*CityBusAPIRouteOK) GetPayload ¶
func (o *CityBusAPIRouteOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusRoute
type CityBusAPIRouteParams ¶
type CityBusAPIRouteParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIRouteParams contains all the parameters to send to the API endpoint
for the city bus Api route operation. Typically these are written to a http.Request.
func NewCityBusAPIRouteParams ¶
func NewCityBusAPIRouteParams() *CityBusAPIRouteParams
NewCityBusAPIRouteParams creates a new CityBusAPIRouteParams 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 NewCityBusAPIRouteParamsWithContext ¶
func NewCityBusAPIRouteParamsWithContext(ctx context.Context) *CityBusAPIRouteParams
NewCityBusAPIRouteParamsWithContext creates a new CityBusAPIRouteParams object with the ability to set a context for a request.
func NewCityBusAPIRouteParamsWithHTTPClient ¶
func NewCityBusAPIRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteParams
NewCityBusAPIRouteParamsWithHTTPClient creates a new CityBusAPIRouteParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIRouteParamsWithTimeout ¶
func NewCityBusAPIRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteParams
NewCityBusAPIRouteParamsWithTimeout creates a new CityBusAPIRouteParams object with the ability to set a timeout on a request.
func (*CityBusAPIRouteParams) SetCity ¶
func (o *CityBusAPIRouteParams) SetCity(city string)
SetCity adds the city to the city bus Api route params
func (*CityBusAPIRouteParams) SetContext ¶
func (o *CityBusAPIRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api route params
func (*CityBusAPIRouteParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIRouteParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api route params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteParams) SetDollarFilter ¶
func (o *CityBusAPIRouteParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api route params
func (*CityBusAPIRouteParams) SetDollarFormat ¶
func (o *CityBusAPIRouteParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api route params
func (*CityBusAPIRouteParams) SetDollarOrderby ¶
func (o *CityBusAPIRouteParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api route params
func (*CityBusAPIRouteParams) SetDollarSelect ¶
func (o *CityBusAPIRouteParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api route params
func (*CityBusAPIRouteParams) SetDollarSkip ¶
func (o *CityBusAPIRouteParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api route params
func (*CityBusAPIRouteParams) SetDollarTop ¶
func (o *CityBusAPIRouteParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api route params
func (*CityBusAPIRouteParams) SetHTTPClient ¶
func (o *CityBusAPIRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api route params
func (*CityBusAPIRouteParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIRouteParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api route params
func (*CityBusAPIRouteParams) SetTimeout ¶
func (o *CityBusAPIRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api route params
func (*CityBusAPIRouteParams) WithCity ¶
func (o *CityBusAPIRouteParams) WithCity(city string) *CityBusAPIRouteParams
WithCity adds the city to the city bus Api route params
func (*CityBusAPIRouteParams) WithContext ¶
func (o *CityBusAPIRouteParams) WithContext(ctx context.Context) *CityBusAPIRouteParams
WithContext adds the context to the city bus Api route params
func (*CityBusAPIRouteParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIRouteParams) WithDefaults() *CityBusAPIRouteParams
WithDefaults hydrates default values in the city bus Api route params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIRouteParams) WithDollarFilter ¶
func (o *CityBusAPIRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteParams
WithDollarFilter adds the dollarFilter to the city bus Api route params
func (*CityBusAPIRouteParams) WithDollarFormat ¶
func (o *CityBusAPIRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteParams
WithDollarFormat adds the dollarFormat to the city bus Api route params
func (*CityBusAPIRouteParams) WithDollarOrderby ¶
func (o *CityBusAPIRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteParams
WithDollarOrderby adds the dollarOrderby to the city bus Api route params
func (*CityBusAPIRouteParams) WithDollarSelect ¶
func (o *CityBusAPIRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteParams
WithDollarSelect adds the dollarSelect to the city bus Api route params
func (*CityBusAPIRouteParams) WithDollarSkip ¶
func (o *CityBusAPIRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteParams
WithDollarSkip adds the dollarSkip to the city bus Api route params
func (*CityBusAPIRouteParams) WithDollarTop ¶
func (o *CityBusAPIRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteParams
WithDollarTop adds the dollarTop to the city bus Api route params
func (*CityBusAPIRouteParams) WithHTTPClient ¶
func (o *CityBusAPIRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteParams
WithHTTPClient adds the HTTPClient to the city bus Api route params
func (*CityBusAPIRouteParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIRouteParams) WithHealth(health *string) *CityBusAPIRouteParams
WithHealth adds the health to the city bus Api route params
func (*CityBusAPIRouteParams) WithTimeout ¶
func (o *CityBusAPIRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteParams
WithTimeout adds the timeout to the city bus Api route params
func (*CityBusAPIRouteParams) WriteToRequest ¶
func (o *CityBusAPIRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIRouteReader ¶
type CityBusAPIRouteReader struct {
// contains filtered or unexported fields
}
CityBusAPIRouteReader is a Reader for the CityBusAPIRoute structure.
func (*CityBusAPIRouteReader) ReadResponse ¶
func (o *CityBusAPIRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIRouteStatus299 ¶ added in v0.3.0
type CityBusAPIRouteStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIRouteStatus299 ¶ added in v0.3.0
func NewCityBusAPIRouteStatus299() *CityBusAPIRouteStatus299
NewCityBusAPIRouteStatus299 creates a CityBusAPIRouteStatus299 with default headers values
func (*CityBusAPIRouteStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIRouteStatus299) Error() string
func (*CityBusAPIRouteStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIS2STravelTimeDetailNotModified ¶ added in v0.9.0
type CityBusAPIS2STravelTimeDetailNotModified struct { }
CityBusAPIS2STravelTimeDetailNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIS2STravelTimeDetailNotModified ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailNotModified() *CityBusAPIS2STravelTimeDetailNotModified
NewCityBusAPIS2STravelTimeDetailNotModified creates a CityBusAPIS2STravelTimeDetailNotModified with default headers values
func (*CityBusAPIS2STravelTimeDetailNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailNotModified) Error() string
type CityBusAPIS2STravelTimeDetailOK ¶ added in v0.9.0
type CityBusAPIS2STravelTimeDetailOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusS2STravelTime
}
CityBusAPIS2STravelTimeDetailOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIS2STravelTimeDetailOK ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailOK() *CityBusAPIS2STravelTimeDetailOK
NewCityBusAPIS2STravelTimeDetailOK creates a CityBusAPIS2STravelTimeDetailOK with default headers values
func (*CityBusAPIS2STravelTimeDetailOK) Error ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailOK) Error() string
func (*CityBusAPIS2STravelTimeDetailOK) GetPayload ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusS2STravelTime
type CityBusAPIS2STravelTimeDetailParams ¶ added in v0.9.0
type CityBusAPIS2STravelTimeDetailParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteID. 路線代碼 */ RouteID string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIS2STravelTimeDetailParams contains all the parameters to send to the API endpoint
for the city bus Api s2 s travel time detail operation. Typically these are written to a http.Request.
func NewCityBusAPIS2STravelTimeDetailParams ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailParams() *CityBusAPIS2STravelTimeDetailParams
NewCityBusAPIS2STravelTimeDetailParams creates a new CityBusAPIS2STravelTimeDetailParams 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 NewCityBusAPIS2STravelTimeDetailParamsWithContext ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailParamsWithContext(ctx context.Context) *CityBusAPIS2STravelTimeDetailParams
NewCityBusAPIS2STravelTimeDetailParamsWithContext creates a new CityBusAPIS2STravelTimeDetailParams object with the ability to set a context for a request.
func NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient(client *http.Client) *CityBusAPIS2STravelTimeDetailParams
NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient creates a new CityBusAPIS2STravelTimeDetailParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIS2STravelTimeDetailParamsWithTimeout ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailParamsWithTimeout(timeout time.Duration) *CityBusAPIS2STravelTimeDetailParams
NewCityBusAPIS2STravelTimeDetailParamsWithTimeout creates a new CityBusAPIS2STravelTimeDetailParams object with the ability to set a timeout on a request.
func (*CityBusAPIS2STravelTimeDetailParams) SetCity ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetCity(city string)
SetCity adds the city to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetContext ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api s2 s travel time detail params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIS2STravelTimeDetailParams) SetDollarFilter ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetDollarFormat ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetDollarOrderby ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetDollarSelect ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetDollarSkip ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetDollarTop ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetHTTPClient ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetHealth ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetRouteID ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetRouteID(routeID string)
SetRouteID adds the routeId to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) SetTimeout ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithCity ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithCity(city string) *CityBusAPIS2STravelTimeDetailParams
WithCity adds the city to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithContext ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithContext(ctx context.Context) *CityBusAPIS2STravelTimeDetailParams
WithContext adds the context to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDefaults() *CityBusAPIS2STravelTimeDetailParams
WithDefaults hydrates default values in the city bus Api s2 s travel time detail params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIS2STravelTimeDetailParams) WithDollarFilter ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarFilter(dollarFilter *string) *CityBusAPIS2STravelTimeDetailParams
WithDollarFilter adds the dollarFilter to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithDollarFormat ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarFormat(dollarFormat string) *CityBusAPIS2STravelTimeDetailParams
WithDollarFormat adds the dollarFormat to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithDollarOrderby ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIS2STravelTimeDetailParams
WithDollarOrderby adds the dollarOrderby to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithDollarSelect ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarSelect(dollarSelect *string) *CityBusAPIS2STravelTimeDetailParams
WithDollarSelect adds the dollarSelect to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithDollarSkip ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarSkip(dollarSkip *string) *CityBusAPIS2STravelTimeDetailParams
WithDollarSkip adds the dollarSkip to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithDollarTop ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithDollarTop(dollarTop *int64) *CityBusAPIS2STravelTimeDetailParams
WithDollarTop adds the dollarTop to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithHTTPClient ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithHTTPClient(client *http.Client) *CityBusAPIS2STravelTimeDetailParams
WithHTTPClient adds the HTTPClient to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithHealth ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithHealth(health *string) *CityBusAPIS2STravelTimeDetailParams
WithHealth adds the health to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithRouteID ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithRouteID(routeID string) *CityBusAPIS2STravelTimeDetailParams
WithRouteID adds the routeID to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WithTimeout ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WithTimeout(timeout time.Duration) *CityBusAPIS2STravelTimeDetailParams
WithTimeout adds the timeout to the city bus Api s2 s travel time detail params
func (*CityBusAPIS2STravelTimeDetailParams) WriteToRequest ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIS2STravelTimeDetailReader ¶ added in v0.9.0
type CityBusAPIS2STravelTimeDetailReader struct {
// contains filtered or unexported fields
}
CityBusAPIS2STravelTimeDetailReader is a Reader for the CityBusAPIS2STravelTimeDetail structure.
func (*CityBusAPIS2STravelTimeDetailReader) ReadResponse ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIS2STravelTimeDetailStatus299 ¶ added in v0.9.0
type CityBusAPIS2STravelTimeDetailStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIS2STravelTimeDetailStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIS2STravelTimeDetailStatus299 ¶ added in v0.9.0
func NewCityBusAPIS2STravelTimeDetailStatus299() *CityBusAPIS2STravelTimeDetailStatus299
NewCityBusAPIS2STravelTimeDetailStatus299 creates a CityBusAPIS2STravelTimeDetailStatus299 with default headers values
func (*CityBusAPIS2STravelTimeDetailStatus299) Error ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailStatus299) Error() string
func (*CityBusAPIS2STravelTimeDetailStatus299) GetPayload ¶ added in v0.9.0
func (o *CityBusAPIS2STravelTimeDetailStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPISchedule1NotModified ¶ added in v0.9.0
type CityBusAPISchedule1NotModified struct { }
CityBusAPISchedule1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPISchedule1NotModified ¶ added in v0.9.0
func NewCityBusAPISchedule1NotModified() *CityBusAPISchedule1NotModified
NewCityBusAPISchedule1NotModified creates a CityBusAPISchedule1NotModified with default headers values
func (*CityBusAPISchedule1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPISchedule1NotModified) Error() string
type CityBusAPISchedule1OK ¶
type CityBusAPISchedule1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusSchedule
}
CityBusAPISchedule1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPISchedule1OK ¶
func NewCityBusAPISchedule1OK() *CityBusAPISchedule1OK
NewCityBusAPISchedule1OK creates a CityBusAPISchedule1OK with default headers values
func (*CityBusAPISchedule1OK) Error ¶
func (o *CityBusAPISchedule1OK) Error() string
func (*CityBusAPISchedule1OK) GetPayload ¶
func (o *CityBusAPISchedule1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusSchedule
type CityBusAPISchedule1Params ¶
type CityBusAPISchedule1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPISchedule1Params contains all the parameters to send to the API endpoint
for the city bus Api schedule 1 operation. Typically these are written to a http.Request.
func NewCityBusAPISchedule1Params ¶
func NewCityBusAPISchedule1Params() *CityBusAPISchedule1Params
NewCityBusAPISchedule1Params creates a new CityBusAPISchedule1Params 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 NewCityBusAPISchedule1ParamsWithContext ¶
func NewCityBusAPISchedule1ParamsWithContext(ctx context.Context) *CityBusAPISchedule1Params
NewCityBusAPISchedule1ParamsWithContext creates a new CityBusAPISchedule1Params object with the ability to set a context for a request.
func NewCityBusAPISchedule1ParamsWithHTTPClient ¶
func NewCityBusAPISchedule1ParamsWithHTTPClient(client *http.Client) *CityBusAPISchedule1Params
NewCityBusAPISchedule1ParamsWithHTTPClient creates a new CityBusAPISchedule1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPISchedule1ParamsWithTimeout ¶
func NewCityBusAPISchedule1ParamsWithTimeout(timeout time.Duration) *CityBusAPISchedule1Params
NewCityBusAPISchedule1ParamsWithTimeout creates a new CityBusAPISchedule1Params object with the ability to set a timeout on a request.
func (*CityBusAPISchedule1Params) SetCity ¶
func (o *CityBusAPISchedule1Params) SetCity(city string)
SetCity adds the city to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetContext ¶
func (o *CityBusAPISchedule1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPISchedule1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api schedule 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPISchedule1Params) SetDollarFilter ¶
func (o *CityBusAPISchedule1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetDollarFormat ¶
func (o *CityBusAPISchedule1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetDollarOrderby ¶
func (o *CityBusAPISchedule1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetDollarSelect ¶
func (o *CityBusAPISchedule1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetDollarSkip ¶
func (o *CityBusAPISchedule1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetDollarTop ¶
func (o *CityBusAPISchedule1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetHTTPClient ¶
func (o *CityBusAPISchedule1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPISchedule1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetRouteName ¶
func (o *CityBusAPISchedule1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) SetTimeout ¶
func (o *CityBusAPISchedule1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithCity ¶
func (o *CityBusAPISchedule1Params) WithCity(city string) *CityBusAPISchedule1Params
WithCity adds the city to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithContext ¶
func (o *CityBusAPISchedule1Params) WithContext(ctx context.Context) *CityBusAPISchedule1Params
WithContext adds the context to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPISchedule1Params) WithDefaults() *CityBusAPISchedule1Params
WithDefaults hydrates default values in the city bus Api schedule 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPISchedule1Params) WithDollarFilter ¶
func (o *CityBusAPISchedule1Params) WithDollarFilter(dollarFilter *string) *CityBusAPISchedule1Params
WithDollarFilter adds the dollarFilter to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithDollarFormat ¶
func (o *CityBusAPISchedule1Params) WithDollarFormat(dollarFormat string) *CityBusAPISchedule1Params
WithDollarFormat adds the dollarFormat to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithDollarOrderby ¶
func (o *CityBusAPISchedule1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPISchedule1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithDollarSelect ¶
func (o *CityBusAPISchedule1Params) WithDollarSelect(dollarSelect *string) *CityBusAPISchedule1Params
WithDollarSelect adds the dollarSelect to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithDollarSkip ¶
func (o *CityBusAPISchedule1Params) WithDollarSkip(dollarSkip *string) *CityBusAPISchedule1Params
WithDollarSkip adds the dollarSkip to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithDollarTop ¶
func (o *CityBusAPISchedule1Params) WithDollarTop(dollarTop *int64) *CityBusAPISchedule1Params
WithDollarTop adds the dollarTop to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithHTTPClient ¶
func (o *CityBusAPISchedule1Params) WithHTTPClient(client *http.Client) *CityBusAPISchedule1Params
WithHTTPClient adds the HTTPClient to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPISchedule1Params) WithHealth(health *string) *CityBusAPISchedule1Params
WithHealth adds the health to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithRouteName ¶
func (o *CityBusAPISchedule1Params) WithRouteName(routeName string) *CityBusAPISchedule1Params
WithRouteName adds the routeName to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WithTimeout ¶
func (o *CityBusAPISchedule1Params) WithTimeout(timeout time.Duration) *CityBusAPISchedule1Params
WithTimeout adds the timeout to the city bus Api schedule 1 params
func (*CityBusAPISchedule1Params) WriteToRequest ¶
func (o *CityBusAPISchedule1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPISchedule1Reader ¶
type CityBusAPISchedule1Reader struct {
// contains filtered or unexported fields
}
CityBusAPISchedule1Reader is a Reader for the CityBusAPISchedule1 structure.
func (*CityBusAPISchedule1Reader) ReadResponse ¶
func (o *CityBusAPISchedule1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPISchedule1Status299 ¶ added in v0.3.0
type CityBusAPISchedule1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPISchedule1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPISchedule1Status299 ¶ added in v0.3.0
func NewCityBusAPISchedule1Status299() *CityBusAPISchedule1Status299
NewCityBusAPISchedule1Status299 creates a CityBusAPISchedule1Status299 with default headers values
func (*CityBusAPISchedule1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPISchedule1Status299) Error() string
func (*CityBusAPISchedule1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPISchedule1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIScheduleNotModified ¶ added in v0.9.0
type CityBusAPIScheduleNotModified struct { }
CityBusAPIScheduleNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIScheduleNotModified ¶ added in v0.9.0
func NewCityBusAPIScheduleNotModified() *CityBusAPIScheduleNotModified
NewCityBusAPIScheduleNotModified creates a CityBusAPIScheduleNotModified with default headers values
func (*CityBusAPIScheduleNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIScheduleNotModified) Error() string
type CityBusAPIScheduleOK ¶
type CityBusAPIScheduleOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusSchedule
}
CityBusAPIScheduleOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIScheduleOK ¶
func NewCityBusAPIScheduleOK() *CityBusAPIScheduleOK
NewCityBusAPIScheduleOK creates a CityBusAPIScheduleOK with default headers values
func (*CityBusAPIScheduleOK) Error ¶
func (o *CityBusAPIScheduleOK) Error() string
func (*CityBusAPIScheduleOK) GetPayload ¶
func (o *CityBusAPIScheduleOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusSchedule
type CityBusAPIScheduleParams ¶
type CityBusAPIScheduleParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIScheduleParams contains all the parameters to send to the API endpoint
for the city bus Api schedule operation. Typically these are written to a http.Request.
func NewCityBusAPIScheduleParams ¶
func NewCityBusAPIScheduleParams() *CityBusAPIScheduleParams
NewCityBusAPIScheduleParams creates a new CityBusAPIScheduleParams 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 NewCityBusAPIScheduleParamsWithContext ¶
func NewCityBusAPIScheduleParamsWithContext(ctx context.Context) *CityBusAPIScheduleParams
NewCityBusAPIScheduleParamsWithContext creates a new CityBusAPIScheduleParams object with the ability to set a context for a request.
func NewCityBusAPIScheduleParamsWithHTTPClient ¶
func NewCityBusAPIScheduleParamsWithHTTPClient(client *http.Client) *CityBusAPIScheduleParams
NewCityBusAPIScheduleParamsWithHTTPClient creates a new CityBusAPIScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIScheduleParamsWithTimeout ¶
func NewCityBusAPIScheduleParamsWithTimeout(timeout time.Duration) *CityBusAPIScheduleParams
NewCityBusAPIScheduleParamsWithTimeout creates a new CityBusAPIScheduleParams object with the ability to set a timeout on a request.
func (*CityBusAPIScheduleParams) SetCity ¶
func (o *CityBusAPIScheduleParams) SetCity(city string)
SetCity adds the city to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetContext ¶
func (o *CityBusAPIScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIScheduleParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIScheduleParams) SetDollarFilter ¶
func (o *CityBusAPIScheduleParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetDollarFormat ¶
func (o *CityBusAPIScheduleParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetDollarOrderby ¶
func (o *CityBusAPIScheduleParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetDollarSelect ¶
func (o *CityBusAPIScheduleParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetDollarSkip ¶
func (o *CityBusAPIScheduleParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetDollarTop ¶
func (o *CityBusAPIScheduleParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetHTTPClient ¶
func (o *CityBusAPIScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIScheduleParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api schedule params
func (*CityBusAPIScheduleParams) SetTimeout ¶
func (o *CityBusAPIScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithCity ¶
func (o *CityBusAPIScheduleParams) WithCity(city string) *CityBusAPIScheduleParams
WithCity adds the city to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithContext ¶
func (o *CityBusAPIScheduleParams) WithContext(ctx context.Context) *CityBusAPIScheduleParams
WithContext adds the context to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIScheduleParams) WithDefaults() *CityBusAPIScheduleParams
WithDefaults hydrates default values in the city bus Api schedule params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIScheduleParams) WithDollarFilter ¶
func (o *CityBusAPIScheduleParams) WithDollarFilter(dollarFilter *string) *CityBusAPIScheduleParams
WithDollarFilter adds the dollarFilter to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithDollarFormat ¶
func (o *CityBusAPIScheduleParams) WithDollarFormat(dollarFormat string) *CityBusAPIScheduleParams
WithDollarFormat adds the dollarFormat to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithDollarOrderby ¶
func (o *CityBusAPIScheduleParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIScheduleParams
WithDollarOrderby adds the dollarOrderby to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithDollarSelect ¶
func (o *CityBusAPIScheduleParams) WithDollarSelect(dollarSelect *string) *CityBusAPIScheduleParams
WithDollarSelect adds the dollarSelect to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithDollarSkip ¶
func (o *CityBusAPIScheduleParams) WithDollarSkip(dollarSkip *string) *CityBusAPIScheduleParams
WithDollarSkip adds the dollarSkip to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithDollarTop ¶
func (o *CityBusAPIScheduleParams) WithDollarTop(dollarTop *int64) *CityBusAPIScheduleParams
WithDollarTop adds the dollarTop to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithHTTPClient ¶
func (o *CityBusAPIScheduleParams) WithHTTPClient(client *http.Client) *CityBusAPIScheduleParams
WithHTTPClient adds the HTTPClient to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIScheduleParams) WithHealth(health *string) *CityBusAPIScheduleParams
WithHealth adds the health to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WithTimeout ¶
func (o *CityBusAPIScheduleParams) WithTimeout(timeout time.Duration) *CityBusAPIScheduleParams
WithTimeout adds the timeout to the city bus Api schedule params
func (*CityBusAPIScheduleParams) WriteToRequest ¶
func (o *CityBusAPIScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIScheduleReader ¶
type CityBusAPIScheduleReader struct {
// contains filtered or unexported fields
}
CityBusAPIScheduleReader is a Reader for the CityBusAPISchedule structure.
func (*CityBusAPIScheduleReader) ReadResponse ¶
func (o *CityBusAPIScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIScheduleStatus299 ¶ added in v0.3.0
type CityBusAPIScheduleStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIScheduleStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIScheduleStatus299 ¶ added in v0.3.0
func NewCityBusAPIScheduleStatus299() *CityBusAPIScheduleStatus299
NewCityBusAPIScheduleStatus299 creates a CityBusAPIScheduleStatus299 with default headers values
func (*CityBusAPIScheduleStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIScheduleStatus299) Error() string
func (*CityBusAPIScheduleStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIScheduleStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIShape1NotModified ¶ added in v0.9.0
type CityBusAPIShape1NotModified struct { }
CityBusAPIShape1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIShape1NotModified ¶ added in v0.9.0
func NewCityBusAPIShape1NotModified() *CityBusAPIShape1NotModified
NewCityBusAPIShape1NotModified creates a CityBusAPIShape1NotModified with default headers values
func (*CityBusAPIShape1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIShape1NotModified) Error() string
type CityBusAPIShape1OK ¶
type CityBusAPIShape1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusShape
}
CityBusAPIShape1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIShape1OK ¶
func NewCityBusAPIShape1OK() *CityBusAPIShape1OK
NewCityBusAPIShape1OK creates a CityBusAPIShape1OK with default headers values
func (*CityBusAPIShape1OK) Error ¶
func (o *CityBusAPIShape1OK) Error() string
func (*CityBusAPIShape1OK) GetPayload ¶
func (o *CityBusAPIShape1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusShape
type CityBusAPIShape1Params ¶
type CityBusAPIShape1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIShape1Params contains all the parameters to send to the API endpoint
for the city bus Api shape 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIShape1Params ¶
func NewCityBusAPIShape1Params() *CityBusAPIShape1Params
NewCityBusAPIShape1Params creates a new CityBusAPIShape1Params 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 NewCityBusAPIShape1ParamsWithContext ¶
func NewCityBusAPIShape1ParamsWithContext(ctx context.Context) *CityBusAPIShape1Params
NewCityBusAPIShape1ParamsWithContext creates a new CityBusAPIShape1Params object with the ability to set a context for a request.
func NewCityBusAPIShape1ParamsWithHTTPClient ¶
func NewCityBusAPIShape1ParamsWithHTTPClient(client *http.Client) *CityBusAPIShape1Params
NewCityBusAPIShape1ParamsWithHTTPClient creates a new CityBusAPIShape1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIShape1ParamsWithTimeout ¶
func NewCityBusAPIShape1ParamsWithTimeout(timeout time.Duration) *CityBusAPIShape1Params
NewCityBusAPIShape1ParamsWithTimeout creates a new CityBusAPIShape1Params object with the ability to set a timeout on a request.
func (*CityBusAPIShape1Params) SetCity ¶
func (o *CityBusAPIShape1Params) SetCity(city string)
SetCity adds the city to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetContext ¶
func (o *CityBusAPIShape1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIShape1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api shape 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIShape1Params) SetDollarFilter ¶
func (o *CityBusAPIShape1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetDollarFormat ¶
func (o *CityBusAPIShape1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetDollarOrderby ¶
func (o *CityBusAPIShape1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetDollarSelect ¶
func (o *CityBusAPIShape1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetDollarSkip ¶
func (o *CityBusAPIShape1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetDollarTop ¶
func (o *CityBusAPIShape1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetHTTPClient ¶
func (o *CityBusAPIShape1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIShape1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetRouteName ¶
func (o *CityBusAPIShape1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) SetTimeout ¶
func (o *CityBusAPIShape1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithCity ¶
func (o *CityBusAPIShape1Params) WithCity(city string) *CityBusAPIShape1Params
WithCity adds the city to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithContext ¶
func (o *CityBusAPIShape1Params) WithContext(ctx context.Context) *CityBusAPIShape1Params
WithContext adds the context to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIShape1Params) WithDefaults() *CityBusAPIShape1Params
WithDefaults hydrates default values in the city bus Api shape 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIShape1Params) WithDollarFilter ¶
func (o *CityBusAPIShape1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIShape1Params
WithDollarFilter adds the dollarFilter to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithDollarFormat ¶
func (o *CityBusAPIShape1Params) WithDollarFormat(dollarFormat string) *CityBusAPIShape1Params
WithDollarFormat adds the dollarFormat to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithDollarOrderby ¶
func (o *CityBusAPIShape1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIShape1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithDollarSelect ¶
func (o *CityBusAPIShape1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIShape1Params
WithDollarSelect adds the dollarSelect to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithDollarSkip ¶
func (o *CityBusAPIShape1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIShape1Params
WithDollarSkip adds the dollarSkip to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithDollarTop ¶
func (o *CityBusAPIShape1Params) WithDollarTop(dollarTop *int64) *CityBusAPIShape1Params
WithDollarTop adds the dollarTop to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithHTTPClient ¶
func (o *CityBusAPIShape1Params) WithHTTPClient(client *http.Client) *CityBusAPIShape1Params
WithHTTPClient adds the HTTPClient to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIShape1Params) WithHealth(health *string) *CityBusAPIShape1Params
WithHealth adds the health to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithRouteName ¶
func (o *CityBusAPIShape1Params) WithRouteName(routeName string) *CityBusAPIShape1Params
WithRouteName adds the routeName to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WithTimeout ¶
func (o *CityBusAPIShape1Params) WithTimeout(timeout time.Duration) *CityBusAPIShape1Params
WithTimeout adds the timeout to the city bus Api shape 1 params
func (*CityBusAPIShape1Params) WriteToRequest ¶
func (o *CityBusAPIShape1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIShape1Reader ¶
type CityBusAPIShape1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIShape1Reader is a Reader for the CityBusAPIShape1 structure.
func (*CityBusAPIShape1Reader) ReadResponse ¶
func (o *CityBusAPIShape1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIShape1Status299 ¶ added in v0.3.0
type CityBusAPIShape1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIShape1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIShape1Status299 ¶ added in v0.3.0
func NewCityBusAPIShape1Status299() *CityBusAPIShape1Status299
NewCityBusAPIShape1Status299 creates a CityBusAPIShape1Status299 with default headers values
func (*CityBusAPIShape1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIShape1Status299) Error() string
func (*CityBusAPIShape1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIShape1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIShapeNotModified ¶ added in v0.9.0
type CityBusAPIShapeNotModified struct { }
CityBusAPIShapeNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIShapeNotModified ¶ added in v0.9.0
func NewCityBusAPIShapeNotModified() *CityBusAPIShapeNotModified
NewCityBusAPIShapeNotModified creates a CityBusAPIShapeNotModified with default headers values
func (*CityBusAPIShapeNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIShapeNotModified) Error() string
type CityBusAPIShapeOK ¶
type CityBusAPIShapeOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusShape
}
CityBusAPIShapeOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIShapeOK ¶
func NewCityBusAPIShapeOK() *CityBusAPIShapeOK
NewCityBusAPIShapeOK creates a CityBusAPIShapeOK with default headers values
func (*CityBusAPIShapeOK) Error ¶
func (o *CityBusAPIShapeOK) Error() string
func (*CityBusAPIShapeOK) GetPayload ¶
func (o *CityBusAPIShapeOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusShape
type CityBusAPIShapeParams ¶
type CityBusAPIShapeParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIShapeParams contains all the parameters to send to the API endpoint
for the city bus Api shape operation. Typically these are written to a http.Request.
func NewCityBusAPIShapeParams ¶
func NewCityBusAPIShapeParams() *CityBusAPIShapeParams
NewCityBusAPIShapeParams creates a new CityBusAPIShapeParams 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 NewCityBusAPIShapeParamsWithContext ¶
func NewCityBusAPIShapeParamsWithContext(ctx context.Context) *CityBusAPIShapeParams
NewCityBusAPIShapeParamsWithContext creates a new CityBusAPIShapeParams object with the ability to set a context for a request.
func NewCityBusAPIShapeParamsWithHTTPClient ¶
func NewCityBusAPIShapeParamsWithHTTPClient(client *http.Client) *CityBusAPIShapeParams
NewCityBusAPIShapeParamsWithHTTPClient creates a new CityBusAPIShapeParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIShapeParamsWithTimeout ¶
func NewCityBusAPIShapeParamsWithTimeout(timeout time.Duration) *CityBusAPIShapeParams
NewCityBusAPIShapeParamsWithTimeout creates a new CityBusAPIShapeParams object with the ability to set a timeout on a request.
func (*CityBusAPIShapeParams) SetCity ¶
func (o *CityBusAPIShapeParams) SetCity(city string)
SetCity adds the city to the city bus Api shape params
func (*CityBusAPIShapeParams) SetContext ¶
func (o *CityBusAPIShapeParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api shape params
func (*CityBusAPIShapeParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIShapeParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api shape params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIShapeParams) SetDollarFilter ¶
func (o *CityBusAPIShapeParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api shape params
func (*CityBusAPIShapeParams) SetDollarFormat ¶
func (o *CityBusAPIShapeParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api shape params
func (*CityBusAPIShapeParams) SetDollarOrderby ¶
func (o *CityBusAPIShapeParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api shape params
func (*CityBusAPIShapeParams) SetDollarSelect ¶
func (o *CityBusAPIShapeParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api shape params
func (*CityBusAPIShapeParams) SetDollarSkip ¶
func (o *CityBusAPIShapeParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api shape params
func (*CityBusAPIShapeParams) SetDollarTop ¶
func (o *CityBusAPIShapeParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api shape params
func (*CityBusAPIShapeParams) SetHTTPClient ¶
func (o *CityBusAPIShapeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api shape params
func (*CityBusAPIShapeParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIShapeParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api shape params
func (*CityBusAPIShapeParams) SetTimeout ¶
func (o *CityBusAPIShapeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api shape params
func (*CityBusAPIShapeParams) WithCity ¶
func (o *CityBusAPIShapeParams) WithCity(city string) *CityBusAPIShapeParams
WithCity adds the city to the city bus Api shape params
func (*CityBusAPIShapeParams) WithContext ¶
func (o *CityBusAPIShapeParams) WithContext(ctx context.Context) *CityBusAPIShapeParams
WithContext adds the context to the city bus Api shape params
func (*CityBusAPIShapeParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIShapeParams) WithDefaults() *CityBusAPIShapeParams
WithDefaults hydrates default values in the city bus Api shape params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIShapeParams) WithDollarFilter ¶
func (o *CityBusAPIShapeParams) WithDollarFilter(dollarFilter *string) *CityBusAPIShapeParams
WithDollarFilter adds the dollarFilter to the city bus Api shape params
func (*CityBusAPIShapeParams) WithDollarFormat ¶
func (o *CityBusAPIShapeParams) WithDollarFormat(dollarFormat string) *CityBusAPIShapeParams
WithDollarFormat adds the dollarFormat to the city bus Api shape params
func (*CityBusAPIShapeParams) WithDollarOrderby ¶
func (o *CityBusAPIShapeParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIShapeParams
WithDollarOrderby adds the dollarOrderby to the city bus Api shape params
func (*CityBusAPIShapeParams) WithDollarSelect ¶
func (o *CityBusAPIShapeParams) WithDollarSelect(dollarSelect *string) *CityBusAPIShapeParams
WithDollarSelect adds the dollarSelect to the city bus Api shape params
func (*CityBusAPIShapeParams) WithDollarSkip ¶
func (o *CityBusAPIShapeParams) WithDollarSkip(dollarSkip *string) *CityBusAPIShapeParams
WithDollarSkip adds the dollarSkip to the city bus Api shape params
func (*CityBusAPIShapeParams) WithDollarTop ¶
func (o *CityBusAPIShapeParams) WithDollarTop(dollarTop *int64) *CityBusAPIShapeParams
WithDollarTop adds the dollarTop to the city bus Api shape params
func (*CityBusAPIShapeParams) WithHTTPClient ¶
func (o *CityBusAPIShapeParams) WithHTTPClient(client *http.Client) *CityBusAPIShapeParams
WithHTTPClient adds the HTTPClient to the city bus Api shape params
func (*CityBusAPIShapeParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIShapeParams) WithHealth(health *string) *CityBusAPIShapeParams
WithHealth adds the health to the city bus Api shape params
func (*CityBusAPIShapeParams) WithTimeout ¶
func (o *CityBusAPIShapeParams) WithTimeout(timeout time.Duration) *CityBusAPIShapeParams
WithTimeout adds the timeout to the city bus Api shape params
func (*CityBusAPIShapeParams) WriteToRequest ¶
func (o *CityBusAPIShapeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIShapeReader ¶
type CityBusAPIShapeReader struct {
// contains filtered or unexported fields
}
CityBusAPIShapeReader is a Reader for the CityBusAPIShape structure.
func (*CityBusAPIShapeReader) ReadResponse ¶
func (o *CityBusAPIShapeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIShapeStatus299 ¶ added in v0.3.0
type CityBusAPIShapeStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIShapeStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIShapeStatus299 ¶ added in v0.3.0
func NewCityBusAPIShapeStatus299() *CityBusAPIShapeStatus299
NewCityBusAPIShapeStatus299 creates a CityBusAPIShapeStatus299 with default headers values
func (*CityBusAPIShapeStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIShapeStatus299) Error() string
func (*CityBusAPIShapeStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIShapeStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIStationGroupNotModified ¶ added in v0.9.0
type CityBusAPIStationGroupNotModified struct { }
CityBusAPIStationGroupNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIStationGroupNotModified ¶ added in v0.9.0
func NewCityBusAPIStationGroupNotModified() *CityBusAPIStationGroupNotModified
NewCityBusAPIStationGroupNotModified creates a CityBusAPIStationGroupNotModified with default headers values
func (*CityBusAPIStationGroupNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIStationGroupNotModified) Error() string
type CityBusAPIStationGroupOK ¶ added in v0.4.0
type CityBusAPIStationGroupOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusStationGroup
}
CityBusAPIStationGroupOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIStationGroupOK ¶ added in v0.4.0
func NewCityBusAPIStationGroupOK() *CityBusAPIStationGroupOK
NewCityBusAPIStationGroupOK creates a CityBusAPIStationGroupOK with default headers values
func (*CityBusAPIStationGroupOK) Error ¶ added in v0.4.0
func (o *CityBusAPIStationGroupOK) Error() string
func (*CityBusAPIStationGroupOK) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIStationGroupOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusStationGroup
type CityBusAPIStationGroupParams ¶ added in v0.4.0
type CityBusAPIStationGroupParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIStationGroupParams contains all the parameters to send to the API endpoint
for the city bus Api station group operation. Typically these are written to a http.Request.
func NewCityBusAPIStationGroupParams ¶ added in v0.4.0
func NewCityBusAPIStationGroupParams() *CityBusAPIStationGroupParams
NewCityBusAPIStationGroupParams creates a new CityBusAPIStationGroupParams 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 NewCityBusAPIStationGroupParamsWithContext ¶ added in v0.4.0
func NewCityBusAPIStationGroupParamsWithContext(ctx context.Context) *CityBusAPIStationGroupParams
NewCityBusAPIStationGroupParamsWithContext creates a new CityBusAPIStationGroupParams object with the ability to set a context for a request.
func NewCityBusAPIStationGroupParamsWithHTTPClient ¶ added in v0.4.0
func NewCityBusAPIStationGroupParamsWithHTTPClient(client *http.Client) *CityBusAPIStationGroupParams
NewCityBusAPIStationGroupParamsWithHTTPClient creates a new CityBusAPIStationGroupParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIStationGroupParamsWithTimeout ¶ added in v0.4.0
func NewCityBusAPIStationGroupParamsWithTimeout(timeout time.Duration) *CityBusAPIStationGroupParams
NewCityBusAPIStationGroupParamsWithTimeout creates a new CityBusAPIStationGroupParams object with the ability to set a timeout on a request.
func (*CityBusAPIStationGroupParams) SetCity ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetCity(city string)
SetCity adds the city to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetContext ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIStationGroupParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api station group params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStationGroupParams) SetDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDollarSpatialFilter ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetDollarTop ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetHealth ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api station group params
func (*CityBusAPIStationGroupParams) SetTimeout ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithCity ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithCity(city string) *CityBusAPIStationGroupParams
WithCity adds the city to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithContext ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithContext(ctx context.Context) *CityBusAPIStationGroupParams
WithContext adds the context to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIStationGroupParams) WithDefaults() *CityBusAPIStationGroupParams
WithDefaults hydrates default values in the city bus Api station group params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStationGroupParams) WithDollarFilter ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStationGroupParams
WithDollarFilter adds the dollarFilter to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDollarFormat ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarFormat(dollarFormat string) *CityBusAPIStationGroupParams
WithDollarFormat adds the dollarFormat to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDollarOrderby ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStationGroupParams
WithDollarOrderby adds the dollarOrderby to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDollarSelect ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStationGroupParams
WithDollarSelect adds the dollarSelect to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDollarSkip ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStationGroupParams
WithDollarSkip adds the dollarSkip to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDollarSpatialFilter ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStationGroupParams
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithDollarTop ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithDollarTop(dollarTop *int64) *CityBusAPIStationGroupParams
WithDollarTop adds the dollarTop to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithHTTPClient ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithHTTPClient(client *http.Client) *CityBusAPIStationGroupParams
WithHTTPClient adds the HTTPClient to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithHealth ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithHealth(health *string) *CityBusAPIStationGroupParams
WithHealth adds the health to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WithTimeout ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WithTimeout(timeout time.Duration) *CityBusAPIStationGroupParams
WithTimeout adds the timeout to the city bus Api station group params
func (*CityBusAPIStationGroupParams) WriteToRequest ¶ added in v0.4.0
func (o *CityBusAPIStationGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIStationGroupReader ¶ added in v0.4.0
type CityBusAPIStationGroupReader struct {
// contains filtered or unexported fields
}
CityBusAPIStationGroupReader is a Reader for the CityBusAPIStationGroup structure.
func (*CityBusAPIStationGroupReader) ReadResponse ¶ added in v0.4.0
func (o *CityBusAPIStationGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIStationGroupStatus299 ¶ added in v0.4.0
type CityBusAPIStationGroupStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStationGroupStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIStationGroupStatus299 ¶ added in v0.4.0
func NewCityBusAPIStationGroupStatus299() *CityBusAPIStationGroupStatus299
NewCityBusAPIStationGroupStatus299 creates a CityBusAPIStationGroupStatus299 with default headers values
func (*CityBusAPIStationGroupStatus299) Error ¶ added in v0.4.0
func (o *CityBusAPIStationGroupStatus299) Error() string
func (*CityBusAPIStationGroupStatus299) GetPayload ¶ added in v0.4.0
func (o *CityBusAPIStationGroupStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIStationNotModified ¶ added in v0.9.0
type CityBusAPIStationNotModified struct { }
CityBusAPIStationNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIStationNotModified ¶ added in v0.9.0
func NewCityBusAPIStationNotModified() *CityBusAPIStationNotModified
NewCityBusAPIStationNotModified creates a CityBusAPIStationNotModified with default headers values
func (*CityBusAPIStationNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIStationNotModified) Error() string
type CityBusAPIStationOK ¶
type CityBusAPIStationOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusStation
}
CityBusAPIStationOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIStationOK ¶
func NewCityBusAPIStationOK() *CityBusAPIStationOK
NewCityBusAPIStationOK creates a CityBusAPIStationOK with default headers values
func (*CityBusAPIStationOK) Error ¶
func (o *CityBusAPIStationOK) Error() string
func (*CityBusAPIStationOK) GetPayload ¶
func (o *CityBusAPIStationOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusStation
type CityBusAPIStationParams ¶
type CityBusAPIStationParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIStationParams contains all the parameters to send to the API endpoint
for the city bus Api station operation. Typically these are written to a http.Request.
func NewCityBusAPIStationParams ¶
func NewCityBusAPIStationParams() *CityBusAPIStationParams
NewCityBusAPIStationParams creates a new CityBusAPIStationParams 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 NewCityBusAPIStationParamsWithContext ¶
func NewCityBusAPIStationParamsWithContext(ctx context.Context) *CityBusAPIStationParams
NewCityBusAPIStationParamsWithContext creates a new CityBusAPIStationParams object with the ability to set a context for a request.
func NewCityBusAPIStationParamsWithHTTPClient ¶
func NewCityBusAPIStationParamsWithHTTPClient(client *http.Client) *CityBusAPIStationParams
NewCityBusAPIStationParamsWithHTTPClient creates a new CityBusAPIStationParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIStationParamsWithTimeout ¶
func NewCityBusAPIStationParamsWithTimeout(timeout time.Duration) *CityBusAPIStationParams
NewCityBusAPIStationParamsWithTimeout creates a new CityBusAPIStationParams object with the ability to set a timeout on a request.
func (*CityBusAPIStationParams) SetCity ¶
func (o *CityBusAPIStationParams) SetCity(city string)
SetCity adds the city to the city bus Api station params
func (*CityBusAPIStationParams) SetContext ¶
func (o *CityBusAPIStationParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api station params
func (*CityBusAPIStationParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIStationParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api station params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStationParams) SetDollarFilter ¶
func (o *CityBusAPIStationParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api station params
func (*CityBusAPIStationParams) SetDollarFormat ¶
func (o *CityBusAPIStationParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api station params
func (*CityBusAPIStationParams) SetDollarOrderby ¶
func (o *CityBusAPIStationParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api station params
func (*CityBusAPIStationParams) SetDollarSelect ¶
func (o *CityBusAPIStationParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api station params
func (*CityBusAPIStationParams) SetDollarSkip ¶
func (o *CityBusAPIStationParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api station params
func (*CityBusAPIStationParams) SetDollarSpatialFilter ¶
func (o *CityBusAPIStationParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station params
func (*CityBusAPIStationParams) SetDollarTop ¶
func (o *CityBusAPIStationParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api station params
func (*CityBusAPIStationParams) SetHTTPClient ¶
func (o *CityBusAPIStationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api station params
func (*CityBusAPIStationParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIStationParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api station params
func (*CityBusAPIStationParams) SetTimeout ¶
func (o *CityBusAPIStationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api station params
func (*CityBusAPIStationParams) WithCity ¶
func (o *CityBusAPIStationParams) WithCity(city string) *CityBusAPIStationParams
WithCity adds the city to the city bus Api station params
func (*CityBusAPIStationParams) WithContext ¶
func (o *CityBusAPIStationParams) WithContext(ctx context.Context) *CityBusAPIStationParams
WithContext adds the context to the city bus Api station params
func (*CityBusAPIStationParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIStationParams) WithDefaults() *CityBusAPIStationParams
WithDefaults hydrates default values in the city bus Api station params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStationParams) WithDollarFilter ¶
func (o *CityBusAPIStationParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStationParams
WithDollarFilter adds the dollarFilter to the city bus Api station params
func (*CityBusAPIStationParams) WithDollarFormat ¶
func (o *CityBusAPIStationParams) WithDollarFormat(dollarFormat string) *CityBusAPIStationParams
WithDollarFormat adds the dollarFormat to the city bus Api station params
func (*CityBusAPIStationParams) WithDollarOrderby ¶
func (o *CityBusAPIStationParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStationParams
WithDollarOrderby adds the dollarOrderby to the city bus Api station params
func (*CityBusAPIStationParams) WithDollarSelect ¶
func (o *CityBusAPIStationParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStationParams
WithDollarSelect adds the dollarSelect to the city bus Api station params
func (*CityBusAPIStationParams) WithDollarSkip ¶
func (o *CityBusAPIStationParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStationParams
WithDollarSkip adds the dollarSkip to the city bus Api station params
func (*CityBusAPIStationParams) WithDollarSpatialFilter ¶
func (o *CityBusAPIStationParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStationParams
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station params
func (*CityBusAPIStationParams) WithDollarTop ¶
func (o *CityBusAPIStationParams) WithDollarTop(dollarTop *int64) *CityBusAPIStationParams
WithDollarTop adds the dollarTop to the city bus Api station params
func (*CityBusAPIStationParams) WithHTTPClient ¶
func (o *CityBusAPIStationParams) WithHTTPClient(client *http.Client) *CityBusAPIStationParams
WithHTTPClient adds the HTTPClient to the city bus Api station params
func (*CityBusAPIStationParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIStationParams) WithHealth(health *string) *CityBusAPIStationParams
WithHealth adds the health to the city bus Api station params
func (*CityBusAPIStationParams) WithTimeout ¶
func (o *CityBusAPIStationParams) WithTimeout(timeout time.Duration) *CityBusAPIStationParams
WithTimeout adds the timeout to the city bus Api station params
func (*CityBusAPIStationParams) WriteToRequest ¶
func (o *CityBusAPIStationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIStationReader ¶
type CityBusAPIStationReader struct {
// contains filtered or unexported fields
}
CityBusAPIStationReader is a Reader for the CityBusAPIStation structure.
func (*CityBusAPIStationReader) ReadResponse ¶
func (o *CityBusAPIStationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIStationStatus299 ¶ added in v0.3.0
type CityBusAPIStationStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStationStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIStationStatus299 ¶ added in v0.3.0
func NewCityBusAPIStationStatus299() *CityBusAPIStationStatus299
NewCityBusAPIStationStatus299 creates a CityBusAPIStationStatus299 with default headers values
func (*CityBusAPIStationStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIStationStatus299) Error() string
func (*CityBusAPIStationStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIStationStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIStopNotModified ¶ added in v0.9.0
type CityBusAPIStopNotModified struct { }
CityBusAPIStopNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIStopNotModified ¶ added in v0.9.0
func NewCityBusAPIStopNotModified() *CityBusAPIStopNotModified
NewCityBusAPIStopNotModified creates a CityBusAPIStopNotModified with default headers values
func (*CityBusAPIStopNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIStopNotModified) Error() string
type CityBusAPIStopOK ¶
type CityBusAPIStopOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusStop
}
CityBusAPIStopOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIStopOK ¶
func NewCityBusAPIStopOK() *CityBusAPIStopOK
NewCityBusAPIStopOK creates a CityBusAPIStopOK with default headers values
func (*CityBusAPIStopOK) Error ¶
func (o *CityBusAPIStopOK) Error() string
func (*CityBusAPIStopOK) GetPayload ¶
func (o *CityBusAPIStopOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusStop
type CityBusAPIStopOfRoute1NotModified ¶ added in v0.9.0
type CityBusAPIStopOfRoute1NotModified struct { }
CityBusAPIStopOfRoute1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIStopOfRoute1NotModified ¶ added in v0.9.0
func NewCityBusAPIStopOfRoute1NotModified() *CityBusAPIStopOfRoute1NotModified
NewCityBusAPIStopOfRoute1NotModified creates a CityBusAPIStopOfRoute1NotModified with default headers values
func (*CityBusAPIStopOfRoute1NotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIStopOfRoute1NotModified) Error() string
type CityBusAPIStopOfRoute1OK ¶
type CityBusAPIStopOfRoute1OK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
}
CityBusAPIStopOfRoute1OK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIStopOfRoute1OK ¶
func NewCityBusAPIStopOfRoute1OK() *CityBusAPIStopOfRoute1OK
NewCityBusAPIStopOfRoute1OK creates a CityBusAPIStopOfRoute1OK with default headers values
func (*CityBusAPIStopOfRoute1OK) Error ¶
func (o *CityBusAPIStopOfRoute1OK) Error() string
func (*CityBusAPIStopOfRoute1OK) GetPayload ¶
func (o *CityBusAPIStopOfRoute1OK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
type CityBusAPIStopOfRoute1Params ¶
type CityBusAPIStopOfRoute1Params struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* RouteName. 繁體中文路線名稱,如'307' */ RouteName string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIStopOfRoute1Params contains all the parameters to send to the API endpoint
for the city bus Api stop of route 1 operation. Typically these are written to a http.Request.
func NewCityBusAPIStopOfRoute1Params ¶
func NewCityBusAPIStopOfRoute1Params() *CityBusAPIStopOfRoute1Params
NewCityBusAPIStopOfRoute1Params creates a new CityBusAPIStopOfRoute1Params 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 NewCityBusAPIStopOfRoute1ParamsWithContext ¶
func NewCityBusAPIStopOfRoute1ParamsWithContext(ctx context.Context) *CityBusAPIStopOfRoute1Params
NewCityBusAPIStopOfRoute1ParamsWithContext creates a new CityBusAPIStopOfRoute1Params object with the ability to set a context for a request.
func NewCityBusAPIStopOfRoute1ParamsWithHTTPClient ¶
func NewCityBusAPIStopOfRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute1Params
NewCityBusAPIStopOfRoute1ParamsWithHTTPClient creates a new CityBusAPIStopOfRoute1Params object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIStopOfRoute1ParamsWithTimeout ¶
func NewCityBusAPIStopOfRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute1Params
NewCityBusAPIStopOfRoute1ParamsWithTimeout creates a new CityBusAPIStopOfRoute1Params object with the ability to set a timeout on a request.
func (*CityBusAPIStopOfRoute1Params) SetCity ¶
func (o *CityBusAPIStopOfRoute1Params) SetCity(city string)
SetCity adds the city to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetContext ¶
func (o *CityBusAPIStopOfRoute1Params) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIStopOfRoute1Params) SetDefaults()
SetDefaults hydrates default values in the city bus Api stop of route 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStopOfRoute1Params) SetDollarFilter ¶
func (o *CityBusAPIStopOfRoute1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetDollarFormat ¶
func (o *CityBusAPIStopOfRoute1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetDollarOrderby ¶
func (o *CityBusAPIStopOfRoute1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetDollarSelect ¶
func (o *CityBusAPIStopOfRoute1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetDollarSkip ¶
func (o *CityBusAPIStopOfRoute1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetDollarTop ¶
func (o *CityBusAPIStopOfRoute1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetHTTPClient ¶
func (o *CityBusAPIStopOfRoute1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIStopOfRoute1Params) SetHealth(health *string)
SetHealth adds the health to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetRouteName ¶
func (o *CityBusAPIStopOfRoute1Params) SetRouteName(routeName string)
SetRouteName adds the routeName to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) SetTimeout ¶
func (o *CityBusAPIStopOfRoute1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithCity ¶
func (o *CityBusAPIStopOfRoute1Params) WithCity(city string) *CityBusAPIStopOfRoute1Params
WithCity adds the city to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithContext ¶
func (o *CityBusAPIStopOfRoute1Params) WithContext(ctx context.Context) *CityBusAPIStopOfRoute1Params
WithContext adds the context to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIStopOfRoute1Params) WithDefaults() *CityBusAPIStopOfRoute1Params
WithDefaults hydrates default values in the city bus Api stop of route 1 params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStopOfRoute1Params) WithDollarFilter ¶
func (o *CityBusAPIStopOfRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIStopOfRoute1Params
WithDollarFilter adds the dollarFilter to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithDollarFormat ¶
func (o *CityBusAPIStopOfRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIStopOfRoute1Params
WithDollarFormat adds the dollarFormat to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithDollarOrderby ¶
func (o *CityBusAPIStopOfRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopOfRoute1Params
WithDollarOrderby adds the dollarOrderby to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithDollarSelect ¶
func (o *CityBusAPIStopOfRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIStopOfRoute1Params
WithDollarSelect adds the dollarSelect to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithDollarSkip ¶
func (o *CityBusAPIStopOfRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIStopOfRoute1Params
WithDollarSkip adds the dollarSkip to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithDollarTop ¶
func (o *CityBusAPIStopOfRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIStopOfRoute1Params
WithDollarTop adds the dollarTop to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithHTTPClient ¶
func (o *CityBusAPIStopOfRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute1Params
WithHTTPClient adds the HTTPClient to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIStopOfRoute1Params) WithHealth(health *string) *CityBusAPIStopOfRoute1Params
WithHealth adds the health to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithRouteName ¶
func (o *CityBusAPIStopOfRoute1Params) WithRouteName(routeName string) *CityBusAPIStopOfRoute1Params
WithRouteName adds the routeName to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WithTimeout ¶
func (o *CityBusAPIStopOfRoute1Params) WithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute1Params
WithTimeout adds the timeout to the city bus Api stop of route 1 params
func (*CityBusAPIStopOfRoute1Params) WriteToRequest ¶
func (o *CityBusAPIStopOfRoute1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIStopOfRoute1Reader ¶
type CityBusAPIStopOfRoute1Reader struct {
// contains filtered or unexported fields
}
CityBusAPIStopOfRoute1Reader is a Reader for the CityBusAPIStopOfRoute1 structure.
func (*CityBusAPIStopOfRoute1Reader) ReadResponse ¶
func (o *CityBusAPIStopOfRoute1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIStopOfRoute1Status299 ¶ added in v0.3.0
type CityBusAPIStopOfRoute1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStopOfRoute1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIStopOfRoute1Status299 ¶ added in v0.3.0
func NewCityBusAPIStopOfRoute1Status299() *CityBusAPIStopOfRoute1Status299
NewCityBusAPIStopOfRoute1Status299 creates a CityBusAPIStopOfRoute1Status299 with default headers values
func (*CityBusAPIStopOfRoute1Status299) Error ¶ added in v0.3.0
func (o *CityBusAPIStopOfRoute1Status299) Error() string
func (*CityBusAPIStopOfRoute1Status299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIStopOfRoute1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIStopOfRouteNotModified ¶ added in v0.9.0
type CityBusAPIStopOfRouteNotModified struct { }
CityBusAPIStopOfRouteNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIStopOfRouteNotModified ¶ added in v0.9.0
func NewCityBusAPIStopOfRouteNotModified() *CityBusAPIStopOfRouteNotModified
NewCityBusAPIStopOfRouteNotModified creates a CityBusAPIStopOfRouteNotModified with default headers values
func (*CityBusAPIStopOfRouteNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIStopOfRouteNotModified) Error() string
type CityBusAPIStopOfRouteOK ¶
type CityBusAPIStopOfRouteOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
}
CityBusAPIStopOfRouteOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIStopOfRouteOK ¶
func NewCityBusAPIStopOfRouteOK() *CityBusAPIStopOfRouteOK
NewCityBusAPIStopOfRouteOK creates a CityBusAPIStopOfRouteOK with default headers values
func (*CityBusAPIStopOfRouteOK) Error ¶
func (o *CityBusAPIStopOfRouteOK) Error() string
func (*CityBusAPIStopOfRouteOK) GetPayload ¶
func (o *CityBusAPIStopOfRouteOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
type CityBusAPIStopOfRouteParams ¶
type CityBusAPIStopOfRouteParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIStopOfRouteParams contains all the parameters to send to the API endpoint
for the city bus Api stop of route operation. Typically these are written to a http.Request.
func NewCityBusAPIStopOfRouteParams ¶
func NewCityBusAPIStopOfRouteParams() *CityBusAPIStopOfRouteParams
NewCityBusAPIStopOfRouteParams creates a new CityBusAPIStopOfRouteParams 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 NewCityBusAPIStopOfRouteParamsWithContext ¶
func NewCityBusAPIStopOfRouteParamsWithContext(ctx context.Context) *CityBusAPIStopOfRouteParams
NewCityBusAPIStopOfRouteParamsWithContext creates a new CityBusAPIStopOfRouteParams object with the ability to set a context for a request.
func NewCityBusAPIStopOfRouteParamsWithHTTPClient ¶
func NewCityBusAPIStopOfRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRouteParams
NewCityBusAPIStopOfRouteParamsWithHTTPClient creates a new CityBusAPIStopOfRouteParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIStopOfRouteParamsWithTimeout ¶
func NewCityBusAPIStopOfRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRouteParams
NewCityBusAPIStopOfRouteParamsWithTimeout creates a new CityBusAPIStopOfRouteParams object with the ability to set a timeout on a request.
func (*CityBusAPIStopOfRouteParams) SetCity ¶
func (o *CityBusAPIStopOfRouteParams) SetCity(city string)
SetCity adds the city to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetContext ¶
func (o *CityBusAPIStopOfRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIStopOfRouteParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api stop of route params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStopOfRouteParams) SetDollarFilter ¶
func (o *CityBusAPIStopOfRouteParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetDollarFormat ¶
func (o *CityBusAPIStopOfRouteParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetDollarOrderby ¶
func (o *CityBusAPIStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetDollarSelect ¶
func (o *CityBusAPIStopOfRouteParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetDollarSkip ¶
func (o *CityBusAPIStopOfRouteParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetDollarTop ¶
func (o *CityBusAPIStopOfRouteParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetHTTPClient ¶
func (o *CityBusAPIStopOfRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIStopOfRouteParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) SetTimeout ¶
func (o *CityBusAPIStopOfRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithCity ¶
func (o *CityBusAPIStopOfRouteParams) WithCity(city string) *CityBusAPIStopOfRouteParams
WithCity adds the city to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithContext ¶
func (o *CityBusAPIStopOfRouteParams) WithContext(ctx context.Context) *CityBusAPIStopOfRouteParams
WithContext adds the context to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIStopOfRouteParams) WithDefaults() *CityBusAPIStopOfRouteParams
WithDefaults hydrates default values in the city bus Api stop of route params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStopOfRouteParams) WithDollarFilter ¶
func (o *CityBusAPIStopOfRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStopOfRouteParams
WithDollarFilter adds the dollarFilter to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithDollarFormat ¶
func (o *CityBusAPIStopOfRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIStopOfRouteParams
WithDollarFormat adds the dollarFormat to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithDollarOrderby ¶
func (o *CityBusAPIStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopOfRouteParams
WithDollarOrderby adds the dollarOrderby to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithDollarSelect ¶
func (o *CityBusAPIStopOfRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStopOfRouteParams
WithDollarSelect adds the dollarSelect to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithDollarSkip ¶
func (o *CityBusAPIStopOfRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStopOfRouteParams
WithDollarSkip adds the dollarSkip to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithDollarTop ¶
func (o *CityBusAPIStopOfRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIStopOfRouteParams
WithDollarTop adds the dollarTop to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithHTTPClient ¶
func (o *CityBusAPIStopOfRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIStopOfRouteParams
WithHTTPClient adds the HTTPClient to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIStopOfRouteParams) WithHealth(health *string) *CityBusAPIStopOfRouteParams
WithHealth adds the health to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WithTimeout ¶
func (o *CityBusAPIStopOfRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIStopOfRouteParams
WithTimeout adds the timeout to the city bus Api stop of route params
func (*CityBusAPIStopOfRouteParams) WriteToRequest ¶
func (o *CityBusAPIStopOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIStopOfRouteReader ¶
type CityBusAPIStopOfRouteReader struct {
// contains filtered or unexported fields
}
CityBusAPIStopOfRouteReader is a Reader for the CityBusAPIStopOfRoute structure.
func (*CityBusAPIStopOfRouteReader) ReadResponse ¶
func (o *CityBusAPIStopOfRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIStopOfRouteStatus299 ¶ added in v0.3.0
type CityBusAPIStopOfRouteStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStopOfRouteStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIStopOfRouteStatus299 ¶ added in v0.3.0
func NewCityBusAPIStopOfRouteStatus299() *CityBusAPIStopOfRouteStatus299
NewCityBusAPIStopOfRouteStatus299 creates a CityBusAPIStopOfRouteStatus299 with default headers values
func (*CityBusAPIStopOfRouteStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIStopOfRouteStatus299) Error() string
func (*CityBusAPIStopOfRouteStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIStopOfRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIStopParams ¶
type CityBusAPIStopParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarSpatialFilter. 空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100) */ DollarSpatialFilter *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIStopParams contains all the parameters to send to the API endpoint
for the city bus Api stop operation. Typically these are written to a http.Request.
func NewCityBusAPIStopParams ¶
func NewCityBusAPIStopParams() *CityBusAPIStopParams
NewCityBusAPIStopParams creates a new CityBusAPIStopParams 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 NewCityBusAPIStopParamsWithContext ¶
func NewCityBusAPIStopParamsWithContext(ctx context.Context) *CityBusAPIStopParams
NewCityBusAPIStopParamsWithContext creates a new CityBusAPIStopParams object with the ability to set a context for a request.
func NewCityBusAPIStopParamsWithHTTPClient ¶
func NewCityBusAPIStopParamsWithHTTPClient(client *http.Client) *CityBusAPIStopParams
NewCityBusAPIStopParamsWithHTTPClient creates a new CityBusAPIStopParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIStopParamsWithTimeout ¶
func NewCityBusAPIStopParamsWithTimeout(timeout time.Duration) *CityBusAPIStopParams
NewCityBusAPIStopParamsWithTimeout creates a new CityBusAPIStopParams object with the ability to set a timeout on a request.
func (*CityBusAPIStopParams) SetCity ¶
func (o *CityBusAPIStopParams) SetCity(city string)
SetCity adds the city to the city bus Api stop params
func (*CityBusAPIStopParams) SetContext ¶
func (o *CityBusAPIStopParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api stop params
func (*CityBusAPIStopParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIStopParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api stop params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStopParams) SetDollarFilter ¶
func (o *CityBusAPIStopParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api stop params
func (*CityBusAPIStopParams) SetDollarFormat ¶
func (o *CityBusAPIStopParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api stop params
func (*CityBusAPIStopParams) SetDollarOrderby ¶
func (o *CityBusAPIStopParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api stop params
func (*CityBusAPIStopParams) SetDollarSelect ¶
func (o *CityBusAPIStopParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api stop params
func (*CityBusAPIStopParams) SetDollarSkip ¶
func (o *CityBusAPIStopParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api stop params
func (*CityBusAPIStopParams) SetDollarSpatialFilter ¶
func (o *CityBusAPIStopParams) SetDollarSpatialFilter(dollarSpatialFilter *string)
SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api stop params
func (*CityBusAPIStopParams) SetDollarTop ¶
func (o *CityBusAPIStopParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api stop params
func (*CityBusAPIStopParams) SetHTTPClient ¶
func (o *CityBusAPIStopParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api stop params
func (*CityBusAPIStopParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIStopParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api stop params
func (*CityBusAPIStopParams) SetTimeout ¶
func (o *CityBusAPIStopParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api stop params
func (*CityBusAPIStopParams) WithCity ¶
func (o *CityBusAPIStopParams) WithCity(city string) *CityBusAPIStopParams
WithCity adds the city to the city bus Api stop params
func (*CityBusAPIStopParams) WithContext ¶
func (o *CityBusAPIStopParams) WithContext(ctx context.Context) *CityBusAPIStopParams
WithContext adds the context to the city bus Api stop params
func (*CityBusAPIStopParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIStopParams) WithDefaults() *CityBusAPIStopParams
WithDefaults hydrates default values in the city bus Api stop params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIStopParams) WithDollarFilter ¶
func (o *CityBusAPIStopParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStopParams
WithDollarFilter adds the dollarFilter to the city bus Api stop params
func (*CityBusAPIStopParams) WithDollarFormat ¶
func (o *CityBusAPIStopParams) WithDollarFormat(dollarFormat string) *CityBusAPIStopParams
WithDollarFormat adds the dollarFormat to the city bus Api stop params
func (*CityBusAPIStopParams) WithDollarOrderby ¶
func (o *CityBusAPIStopParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopParams
WithDollarOrderby adds the dollarOrderby to the city bus Api stop params
func (*CityBusAPIStopParams) WithDollarSelect ¶
func (o *CityBusAPIStopParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStopParams
WithDollarSelect adds the dollarSelect to the city bus Api stop params
func (*CityBusAPIStopParams) WithDollarSkip ¶
func (o *CityBusAPIStopParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStopParams
WithDollarSkip adds the dollarSkip to the city bus Api stop params
func (*CityBusAPIStopParams) WithDollarSpatialFilter ¶
func (o *CityBusAPIStopParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStopParams
WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api stop params
func (*CityBusAPIStopParams) WithDollarTop ¶
func (o *CityBusAPIStopParams) WithDollarTop(dollarTop *int64) *CityBusAPIStopParams
WithDollarTop adds the dollarTop to the city bus Api stop params
func (*CityBusAPIStopParams) WithHTTPClient ¶
func (o *CityBusAPIStopParams) WithHTTPClient(client *http.Client) *CityBusAPIStopParams
WithHTTPClient adds the HTTPClient to the city bus Api stop params
func (*CityBusAPIStopParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIStopParams) WithHealth(health *string) *CityBusAPIStopParams
WithHealth adds the health to the city bus Api stop params
func (*CityBusAPIStopParams) WithTimeout ¶
func (o *CityBusAPIStopParams) WithTimeout(timeout time.Duration) *CityBusAPIStopParams
WithTimeout adds the timeout to the city bus Api stop params
func (*CityBusAPIStopParams) WriteToRequest ¶
func (o *CityBusAPIStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIStopReader ¶
type CityBusAPIStopReader struct {
// contains filtered or unexported fields
}
CityBusAPIStopReader is a Reader for the CityBusAPIStop structure.
func (*CityBusAPIStopReader) ReadResponse ¶
func (o *CityBusAPIStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIStopStatus299 ¶ added in v0.3.0
type CityBusAPIStopStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStopStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIStopStatus299 ¶ added in v0.3.0
func NewCityBusAPIStopStatus299() *CityBusAPIStopStatus299
NewCityBusAPIStopStatus299 creates a CityBusAPIStopStatus299 with default headers values
func (*CityBusAPIStopStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIStopStatus299) Error() string
func (*CityBusAPIStopStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIStopStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type CityBusAPIVehicleNotModified ¶ added in v0.9.0
type CityBusAPIVehicleNotModified struct { }
CityBusAPIVehicleNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewCityBusAPIVehicleNotModified ¶ added in v0.9.0
func NewCityBusAPIVehicleNotModified() *CityBusAPIVehicleNotModified
NewCityBusAPIVehicleNotModified creates a CityBusAPIVehicleNotModified with default headers values
func (*CityBusAPIVehicleNotModified) Error ¶ added in v0.9.0
func (o *CityBusAPIVehicleNotModified) Error() string
type CityBusAPIVehicleOK ¶
type CityBusAPIVehicleOK struct {
Payload []*models.PTXServiceDTOBusSpecificationV2BusVehicleInfo
}
CityBusAPIVehicleOK describes a response with status code 200, with default header values.
Success
func NewCityBusAPIVehicleOK ¶
func NewCityBusAPIVehicleOK() *CityBusAPIVehicleOK
NewCityBusAPIVehicleOK creates a CityBusAPIVehicleOK with default headers values
func (*CityBusAPIVehicleOK) Error ¶
func (o *CityBusAPIVehicleOK) Error() string
func (*CityBusAPIVehicleOK) GetPayload ¶
func (o *CityBusAPIVehicleOK) GetPayload() []*models.PTXServiceDTOBusSpecificationV2BusVehicleInfo
type CityBusAPIVehicleParams ¶
type CityBusAPIVehicleParams struct { /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 /* City. 欲查詢縣市 */ City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CityBusAPIVehicleParams contains all the parameters to send to the API endpoint
for the city bus Api vehicle operation. Typically these are written to a http.Request.
func NewCityBusAPIVehicleParams ¶
func NewCityBusAPIVehicleParams() *CityBusAPIVehicleParams
NewCityBusAPIVehicleParams creates a new CityBusAPIVehicleParams 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 NewCityBusAPIVehicleParamsWithContext ¶
func NewCityBusAPIVehicleParamsWithContext(ctx context.Context) *CityBusAPIVehicleParams
NewCityBusAPIVehicleParamsWithContext creates a new CityBusAPIVehicleParams object with the ability to set a context for a request.
func NewCityBusAPIVehicleParamsWithHTTPClient ¶
func NewCityBusAPIVehicleParamsWithHTTPClient(client *http.Client) *CityBusAPIVehicleParams
NewCityBusAPIVehicleParamsWithHTTPClient creates a new CityBusAPIVehicleParams object with the ability to set a custom HTTPClient for a request.
func NewCityBusAPIVehicleParamsWithTimeout ¶
func NewCityBusAPIVehicleParamsWithTimeout(timeout time.Duration) *CityBusAPIVehicleParams
NewCityBusAPIVehicleParamsWithTimeout creates a new CityBusAPIVehicleParams object with the ability to set a timeout on a request.
func (*CityBusAPIVehicleParams) SetCity ¶
func (o *CityBusAPIVehicleParams) SetCity(city string)
SetCity adds the city to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetContext ¶
func (o *CityBusAPIVehicleParams) SetContext(ctx context.Context)
SetContext adds the context to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetDefaults ¶ added in v0.9.0
func (o *CityBusAPIVehicleParams) SetDefaults()
SetDefaults hydrates default values in the city bus Api vehicle params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIVehicleParams) SetDollarFilter ¶
func (o *CityBusAPIVehicleParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetDollarFormat ¶
func (o *CityBusAPIVehicleParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetDollarOrderby ¶
func (o *CityBusAPIVehicleParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetDollarSelect ¶
func (o *CityBusAPIVehicleParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetDollarSkip ¶
func (o *CityBusAPIVehicleParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetDollarTop ¶
func (o *CityBusAPIVehicleParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetHTTPClient ¶
func (o *CityBusAPIVehicleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetHealth ¶ added in v0.3.0
func (o *CityBusAPIVehicleParams) SetHealth(health *string)
SetHealth adds the health to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) SetTimeout ¶
func (o *CityBusAPIVehicleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithCity ¶
func (o *CityBusAPIVehicleParams) WithCity(city string) *CityBusAPIVehicleParams
WithCity adds the city to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithContext ¶
func (o *CityBusAPIVehicleParams) WithContext(ctx context.Context) *CityBusAPIVehicleParams
WithContext adds the context to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithDefaults ¶ added in v0.9.0
func (o *CityBusAPIVehicleParams) WithDefaults() *CityBusAPIVehicleParams
WithDefaults hydrates default values in the city bus Api vehicle params (not the query body).
All values with no default are reset to their zero value.
func (*CityBusAPIVehicleParams) WithDollarFilter ¶
func (o *CityBusAPIVehicleParams) WithDollarFilter(dollarFilter *string) *CityBusAPIVehicleParams
WithDollarFilter adds the dollarFilter to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithDollarFormat ¶
func (o *CityBusAPIVehicleParams) WithDollarFormat(dollarFormat string) *CityBusAPIVehicleParams
WithDollarFormat adds the dollarFormat to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithDollarOrderby ¶
func (o *CityBusAPIVehicleParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIVehicleParams
WithDollarOrderby adds the dollarOrderby to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithDollarSelect ¶
func (o *CityBusAPIVehicleParams) WithDollarSelect(dollarSelect *string) *CityBusAPIVehicleParams
WithDollarSelect adds the dollarSelect to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithDollarSkip ¶
func (o *CityBusAPIVehicleParams) WithDollarSkip(dollarSkip *string) *CityBusAPIVehicleParams
WithDollarSkip adds the dollarSkip to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithDollarTop ¶
func (o *CityBusAPIVehicleParams) WithDollarTop(dollarTop *int64) *CityBusAPIVehicleParams
WithDollarTop adds the dollarTop to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithHTTPClient ¶
func (o *CityBusAPIVehicleParams) WithHTTPClient(client *http.Client) *CityBusAPIVehicleParams
WithHTTPClient adds the HTTPClient to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithHealth ¶ added in v0.3.0
func (o *CityBusAPIVehicleParams) WithHealth(health *string) *CityBusAPIVehicleParams
WithHealth adds the health to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WithTimeout ¶
func (o *CityBusAPIVehicleParams) WithTimeout(timeout time.Duration) *CityBusAPIVehicleParams
WithTimeout adds the timeout to the city bus Api vehicle params
func (*CityBusAPIVehicleParams) WriteToRequest ¶
func (o *CityBusAPIVehicleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CityBusAPIVehicleReader ¶
type CityBusAPIVehicleReader struct {
// contains filtered or unexported fields
}
CityBusAPIVehicleReader is a Reader for the CityBusAPIVehicle structure.
func (*CityBusAPIVehicleReader) ReadResponse ¶
func (o *CityBusAPIVehicleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CityBusAPIVehicleStatus299 ¶ added in v0.3.0
type CityBusAPIVehicleStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIVehicleStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewCityBusAPIVehicleStatus299 ¶ added in v0.3.0
func NewCityBusAPIVehicleStatus299() *CityBusAPIVehicleStatus299
NewCityBusAPIVehicleStatus299 creates a CityBusAPIVehicleStatus299 with default headers values
func (*CityBusAPIVehicleStatus299) Error ¶ added in v0.3.0
func (o *CityBusAPIVehicleStatus299) Error() string
func (*CityBusAPIVehicleStatus299) GetPayload ¶ added in v0.3.0
func (o *CityBusAPIVehicleStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for city bus API
func (*Client) CityBusAPIAlert ¶ added in v0.11.0
func (a *Client) CityBusAPIAlert(params *CityBusAPIAlertParams, opts ...ClientOption) (*CityBusAPIAlertOK, *CityBusAPIAlertStatus299, error)
CityBusAPIAlert 取得指定s 縣市 的市區公車營運通阻資料
市區公車營運通阻資料
func (*Client) CityBusAPIDailyStopTimeTable ¶ added in v0.12.0
func (a *Client) CityBusAPIDailyStopTimeTable(params *CityBusAPIDailyStopTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyStopTimeTableOK, *CityBusAPIDailyStopTimeTableStatus299, error)
CityBusAPIDailyStopTimeTable 取得指定s 縣市 的市區公車每日站別時刻表資料
市區公車每日站別時刻表資料
func (*Client) CityBusAPIDailyStopTimeTable1 ¶ added in v0.12.0
func (a *Client) CityBusAPIDailyStopTimeTable1(params *CityBusAPIDailyStopTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyStopTimeTable1OK, *CityBusAPIDailyStopTimeTable1Status299, error)
CityBusAPIDailyStopTimeTable1 取得指定s 縣市 路線名稱 的市區公車每日站別時刻表資料
市區公車每日站別時刻表資料
func (*Client) CityBusAPIDailyTimeTable ¶ added in v0.12.0
func (a *Client) CityBusAPIDailyTimeTable(params *CityBusAPIDailyTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyTimeTableOK, *CityBusAPIDailyTimeTableStatus299, error)
CityBusAPIDailyTimeTable 取得指定s 縣市 的市區公車每日營運時刻表資料
市區公車每日營運時刻表資料
func (*Client) CityBusAPIDailyTimeTable1 ¶ added in v0.12.0
func (a *Client) CityBusAPIDailyTimeTable1(params *CityBusAPIDailyTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyTimeTable1OK, *CityBusAPIDailyTimeTable1Status299, error)
CityBusAPIDailyTimeTable1 取得指定s 縣市 路線名稱 的市區公車每日營運時刻表資料
市區公車之每日營運時刻表資料
func (*Client) CityBusAPIDataVersion ¶
func (a *Client) CityBusAPIDataVersion(params *CityBusAPIDataVersionParams, opts ...ClientOption) (*CityBusAPIDataVersionOK, *CityBusAPIDataVersionStatus299, error)
CityBusAPIDataVersion 取得指定s 縣市 目前資料的最新版本資訊
版本詳細資訊
func (*Client) CityBusAPIDisplayStopOfRoute ¶
func (a *Client) CityBusAPIDisplayStopOfRoute(params *CityBusAPIDisplayStopOfRouteParams, opts ...ClientOption) (*CityBusAPIDisplayStopOfRouteOK, *CityBusAPIDisplayStopOfRouteStatus299, error)
CityBusAPIDisplayStopOfRoute 取得指定s 縣市 的市區公車顯示用路線站序資料
市區公車之顯示用路線站序資料
func (*Client) CityBusAPIDisplayStopOfRoute1 ¶
func (a *Client) CityBusAPIDisplayStopOfRoute1(params *CityBusAPIDisplayStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIDisplayStopOfRoute1OK, *CityBusAPIDisplayStopOfRoute1Status299, error)
CityBusAPIDisplayStopOfRoute1 取得指定s 縣市 路線名稱 的市區公車顯示用路線站序資料
市區公車之顯示用路線站序資料
func (*Client) CityBusAPIEstimatedTimeOfArrival ¶
func (a *Client) CityBusAPIEstimatedTimeOfArrival(params *CityBusAPIEstimatedTimeOfArrivalParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalOK, *CityBusAPIEstimatedTimeOfArrivalStatus299, error)
CityBusAPIEstimatedTimeOfArrival 取得指定s 縣市 的公車預估到站資料 n1 批次更新 ### 市區公車之預估到站資料(N1) ###
- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIEstimatedTimeOfArrival1 ¶
func (a *Client) CityBusAPIEstimatedTimeOfArrival1(params *CityBusAPIEstimatedTimeOfArrival1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrival1OK, *CityBusAPIEstimatedTimeOfArrival1Status299, error)
CityBusAPIEstimatedTimeOfArrival1 取得指定s 縣市 路線名稱 的公車預估到站資料 n1 批次更新 ### 市區公車之預估到站資料(N1) ###
- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIEstimatedTimeOfArrivalUDP ¶ added in v0.4.0
func (a *Client) CityBusAPIEstimatedTimeOfArrivalUDP(params *CityBusAPIEstimatedTimeOfArrivalUDPParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUDPOK, *CityBusAPIEstimatedTimeOfArrivalUDPStatus299, error)
CityBusAPIEstimatedTimeOfArrivalUDP 取得指定s 縣市 的公車預估到站資料 n1 逐筆更新 ### 市區公車之預估到站資料(N1) ###
- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html)) - N1僅於該路線上有任一車輛離站時,來源端才會重新計算並發佈,因此使用者需自行處理時間遞減機制,或以EstimateTime-(收到資料時間-SrcTrasTime)(秒)作為實際預估抵達時間。
func (*Client) CityBusAPIEstimatedTimeOfArrivalUDP1 ¶ added in v0.4.0
func (a *Client) CityBusAPIEstimatedTimeOfArrivalUDP1(params *CityBusAPIEstimatedTimeOfArrivalUDP1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUdp1OK, *CityBusAPIEstimatedTimeOfArrivalUdp1Status299, error)
CityBusAPIEstimatedTimeOfArrivalUDP1 取得指定s 縣市 路線名稱 的公車預估到站資料 n1 逐筆更新 ### 市區公車之預估到站資料(N1) ###
- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html)) - N1僅於該路線上有任一車輛離站時,來源端才會重新計算並發佈,因此使用者需自行處理時間遞減機制,或以EstimateTime-(收到資料時間-SrcTrasTime)(秒)作為實際預估抵達時間。
func (*Client) CityBusAPIFirstLastTripInfo ¶ added in v0.6.0
func (a *Client) CityBusAPIFirstLastTripInfo(params *CityBusAPIFirstLastTripInfoParams, opts ...ClientOption) (*CityBusAPIFirstLastTripInfoOK, *CityBusAPIFirstLastTripInfoStatus299, error)
CityBusAPIFirstLastTripInfo 取得指定s 縣市 的市區公車路線首末班車資料
市區公車之路線首末班車資料
func (*Client) CityBusAPIFirstLastTripInfo1 ¶ added in v0.6.0
func (a *Client) CityBusAPIFirstLastTripInfo1(params *CityBusAPIFirstLastTripInfo1Params, opts ...ClientOption) (*CityBusAPIFirstLastTripInfo1OK, *CityBusAPIFirstLastTripInfo1Status299, error)
CityBusAPIFirstLastTripInfo1 取得指定s 縣市 路線名稱 的路線首末班車資料
市區公車之路線首末班車資料
func (*Client) CityBusAPINews ¶
func (a *Client) CityBusAPINews(params *CityBusAPINewsParams, opts ...ClientOption) (*CityBusAPINewsOK, *CityBusAPINewsStatus299, error)
CityBusAPINews 取得指定s 縣市 的市區公車最新消息資料
市區公車最新消息資料
func (*Client) CityBusAPIOperator ¶
func (a *Client) CityBusAPIOperator(params *CityBusAPIOperatorParams, opts ...ClientOption) (*CityBusAPIOperatorOK, *CityBusAPIOperatorStatus299, error)
CityBusAPIOperator 取得指定s 縣市 的市區公車營運業者資料
市區公車之營運業者資料
func (*Client) CityBusAPIRealTimeByFrequency ¶
func (a *Client) CityBusAPIRealTimeByFrequency(params *CityBusAPIRealTimeByFrequencyParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyOK, *CityBusAPIRealTimeByFrequencyStatus299, error)
CityBusAPIRealTimeByFrequency 取得指定s 縣市 的公車動態定時資料 a1 批次更新 ### 市區公車之定時資料(A1) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeByFrequency1 ¶
func (a *Client) CityBusAPIRealTimeByFrequency1(params *CityBusAPIRealTimeByFrequency1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequency1OK, *CityBusAPIRealTimeByFrequency1Status299, error)
CityBusAPIRealTimeByFrequency1 取得指定s 縣市 路線名稱 的公車動態定時資料 a1 批次更新 ### 市區公車之定時資料(A1) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeByFrequencyUDP ¶ added in v0.4.0
func (a *Client) CityBusAPIRealTimeByFrequencyUDP(params *CityBusAPIRealTimeByFrequencyUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUDPOK, *CityBusAPIRealTimeByFrequencyUDPStatus299, error)
CityBusAPIRealTimeByFrequencyUDP 取得指定s 縣市 的公車動態定時資料 a1 逐筆更新 ### 市區公車之定時資料(A1) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeByFrequencyUDP1 ¶ added in v0.4.0
func (a *Client) CityBusAPIRealTimeByFrequencyUDP1(params *CityBusAPIRealTimeByFrequencyUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUdp1OK, *CityBusAPIRealTimeByFrequencyUdp1Status299, error)
CityBusAPIRealTimeByFrequencyUDP1 取得指定s 縣市 路線名稱 的公車動態定時資料 a1 逐筆更新 ### 市區公車之定時資料(A1) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeNearStop ¶
func (a *Client) CityBusAPIRealTimeNearStop(params *CityBusAPIRealTimeNearStopParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopOK, *CityBusAPIRealTimeNearStopStatus299, error)
CityBusAPIRealTimeNearStop 取得指定s 縣市 的公車動態定點資料 a2 批次更新 ### 市區公車之定點資料(A2) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeNearStop1 ¶
func (a *Client) CityBusAPIRealTimeNearStop1(params *CityBusAPIRealTimeNearStop1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStop1OK, *CityBusAPIRealTimeNearStop1Status299, error)
CityBusAPIRealTimeNearStop1 取得指定s 縣市 路線名稱 的公車動態定點資料 a2 批次更新 ### 市區公車之定點資料(A2) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeNearStopUDP ¶ added in v0.4.0
func (a *Client) CityBusAPIRealTimeNearStopUDP(params *CityBusAPIRealTimeNearStopUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUDPOK, *CityBusAPIRealTimeNearStopUDPStatus299, error)
CityBusAPIRealTimeNearStopUDP 取得指定s 縣市 的公車動態定點資料 a2 逐筆更新 ### 市區公車之定點資料(A2) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRealTimeNearStopUDP1 ¶ added in v0.4.0
func (a *Client) CityBusAPIRealTimeNearStopUDP1(params *CityBusAPIRealTimeNearStopUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUdp1OK, *CityBusAPIRealTimeNearStopUdp1Status299, error)
CityBusAPIRealTimeNearStopUDP1 取得指定s 縣市 路線名稱 的公車動態定點資料 a2 逐筆更新 ### 市區公車之定點資料(A2) ###
- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))
func (*Client) CityBusAPIRoute ¶
func (a *Client) CityBusAPIRoute(params *CityBusAPIRouteParams, opts ...ClientOption) (*CityBusAPIRouteOK, *CityBusAPIRouteStatus299, error)
CityBusAPIRoute 取得指定s 縣市 的市區公車路線資料
市區公車之路線資料
func (*Client) CityBusAPIRoute1 ¶
func (a *Client) CityBusAPIRoute1(params *CityBusAPIRoute1Params, opts ...ClientOption) (*CityBusAPIRoute1OK, *CityBusAPIRoute1Status299, error)
CityBusAPIRoute1 取得指定s 縣市 路線名稱 的路線資料
市區公車之路線資料
func (*Client) CityBusAPIRouteFare ¶
func (a *Client) CityBusAPIRouteFare(params *CityBusAPIRouteFareParams, opts ...ClientOption) (*CityBusAPIRouteFareOK, *CityBusAPIRouteFareStatus299, error)
CityBusAPIRouteFare 取得指定s 縣市 的市區公車路線票價資料
市區公車路線票價資料
func (*Client) CityBusAPIRouteFare1 ¶
func (a *Client) CityBusAPIRouteFare1(params *CityBusAPIRouteFare1Params, opts ...ClientOption) (*CityBusAPIRouteFare1OK, *CityBusAPIRouteFare1Status299, error)
CityBusAPIRouteFare1 取得指定s 縣市 路線名稱 的的市區公車路線票價資料
市區公車路線票價資料
func (*Client) CityBusAPIRouteNetwork ¶ added in v0.11.0
func (a *Client) CityBusAPIRouteNetwork(params *CityBusAPIRouteNetworkParams, opts ...ClientOption) (*CityBusAPIRouteNetworkOK, *CityBusAPIRouteNetworkStatus299, error)
CityBusAPIRouteNetwork 取得指定s 縣市 的市區公車路線網路拓撲資料
市區公車路線網路拓撲資料
func (*Client) CityBusAPIRouteNetwork1 ¶ added in v0.11.0
func (a *Client) CityBusAPIRouteNetwork1(params *CityBusAPIRouteNetwork1Params, opts ...ClientOption) (*CityBusAPIRouteNetwork1OK, *CityBusAPIRouteNetwork1Status299, error)
CityBusAPIRouteNetwork1 取得指定s 縣市 路線名稱 的市區公車顯示用路線站序資料
市區公車之顯示用路線站序資料
func (*Client) CityBusAPIS2STravelTimeDetail ¶ added in v0.9.0
func (a *Client) CityBusAPIS2STravelTimeDetail(params *CityBusAPIS2STravelTimeDetailParams, opts ...ClientOption) (*CityBusAPIS2STravelTimeDetailOK, *CityBusAPIS2STravelTimeDetailStatus299, error)
CityBusAPIS2STravelTimeDetail 取得指定s 縣市 路線代碼 的市區公車站間旅行時間資料
指定[縣市],[路線代碼]的市區公車站間旅行時間資料
func (*Client) CityBusAPISchedule ¶
func (a *Client) CityBusAPISchedule(params *CityBusAPIScheduleParams, opts ...ClientOption) (*CityBusAPIScheduleOK, *CityBusAPIScheduleStatus299, error)
CityBusAPISchedule 取得指定s 縣市 的市區公車路線班表資料
市區公車之班表及班距資料。一般市區公車班次較多時會採用【班距】式時刻表;班次較少時會採用【班表】式時刻表
func (*Client) CityBusAPISchedule1 ¶
func (a *Client) CityBusAPISchedule1(params *CityBusAPISchedule1Params, opts ...ClientOption) (*CityBusAPISchedule1OK, *CityBusAPISchedule1Status299, error)
CityBusAPISchedule1 取得指定s 縣市 路線名稱 的市區公車路線班表資料
市區公車之預定班表及班距資料。一般市區公車班次較多時會採用【班距】式時刻表;班次較少時會採用【班表】式時刻表
func (*Client) CityBusAPIShape ¶
func (a *Client) CityBusAPIShape(params *CityBusAPIShapeParams, opts ...ClientOption) (*CityBusAPIShapeOK, *CityBusAPIShapeStatus299, error)
CityBusAPIShape 取得指定s 縣市 的市區公車線型資料
市區公車之線型資料
func (*Client) CityBusAPIShape1 ¶
func (a *Client) CityBusAPIShape1(params *CityBusAPIShape1Params, opts ...ClientOption) (*CityBusAPIShape1OK, *CityBusAPIShape1Status299, error)
CityBusAPIShape1 取得指定s 縣市 路線名稱 的市區公車線型資料
市區公車之線型資料
func (*Client) CityBusAPIStation ¶
func (a *Client) CityBusAPIStation(params *CityBusAPIStationParams, opts ...ClientOption) (*CityBusAPIStationOK, *CityBusAPIStationStatus299, error)
CityBusAPIStation 取得指定s 縣市 的市區公車站位資料
市區公車之各站牌所屬的站位資料
func (*Client) CityBusAPIStationGroup ¶ added in v0.4.0
func (a *Client) CityBusAPIStationGroup(params *CityBusAPIStationGroupParams, opts ...ClientOption) (*CityBusAPIStationGroupOK, *CityBusAPIStationGroupStatus299, error)
CityBusAPIStationGroup 取得指定s 縣市 的市區公車組站位資料
市區公車之各站牌所屬的組站位資料
func (*Client) CityBusAPIStop ¶
func (a *Client) CityBusAPIStop(params *CityBusAPIStopParams, opts ...ClientOption) (*CityBusAPIStopOK, *CityBusAPIStopStatus299, error)
CityBusAPIStop 取得指定s 縣市 的市區公車站牌資料
市區公車之站牌資料
func (*Client) CityBusAPIStopOfRoute ¶
func (a *Client) CityBusAPIStopOfRoute(params *CityBusAPIStopOfRouteParams, opts ...ClientOption) (*CityBusAPIStopOfRouteOK, *CityBusAPIStopOfRouteStatus299, error)
CityBusAPIStopOfRoute 取得指定s 縣市 的市區公車路線站序資料
市區公車之路線站序資料
func (*Client) CityBusAPIStopOfRoute1 ¶
func (a *Client) CityBusAPIStopOfRoute1(params *CityBusAPIStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIStopOfRoute1OK, *CityBusAPIStopOfRoute1Status299, error)
CityBusAPIStopOfRoute1 取得指定s 縣市 路線名稱 的市區公車路線站序資料
市區公車之路線站序資料
func (*Client) CityBusAPIVehicle ¶
func (a *Client) CityBusAPIVehicle(params *CityBusAPIVehicleParams, opts ...ClientOption) (*CityBusAPIVehicleOK, *CityBusAPIVehicleStatus299, error)
CityBusAPIVehicle 取得指定s 縣市 的市區公車車輛資料
市區公車之車輛資料
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.11.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.5.0
type ClientService interface { CityBusAPIAlert(params *CityBusAPIAlertParams, opts ...ClientOption) (*CityBusAPIAlertOK, *CityBusAPIAlertStatus299, error) CityBusAPIDailyStopTimeTable(params *CityBusAPIDailyStopTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyStopTimeTableOK, *CityBusAPIDailyStopTimeTableStatus299, error) CityBusAPIDailyStopTimeTable1(params *CityBusAPIDailyStopTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyStopTimeTable1OK, *CityBusAPIDailyStopTimeTable1Status299, error) CityBusAPIDailyTimeTable(params *CityBusAPIDailyTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyTimeTableOK, *CityBusAPIDailyTimeTableStatus299, error) CityBusAPIDailyTimeTable1(params *CityBusAPIDailyTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyTimeTable1OK, *CityBusAPIDailyTimeTable1Status299, error) CityBusAPIDataVersion(params *CityBusAPIDataVersionParams, opts ...ClientOption) (*CityBusAPIDataVersionOK, *CityBusAPIDataVersionStatus299, error) CityBusAPIDisplayStopOfRoute(params *CityBusAPIDisplayStopOfRouteParams, opts ...ClientOption) (*CityBusAPIDisplayStopOfRouteOK, *CityBusAPIDisplayStopOfRouteStatus299, error) CityBusAPIDisplayStopOfRoute1(params *CityBusAPIDisplayStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIDisplayStopOfRoute1OK, *CityBusAPIDisplayStopOfRoute1Status299, error) CityBusAPIEstimatedTimeOfArrival(params *CityBusAPIEstimatedTimeOfArrivalParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalOK, *CityBusAPIEstimatedTimeOfArrivalStatus299, error) CityBusAPIEstimatedTimeOfArrival1(params *CityBusAPIEstimatedTimeOfArrival1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrival1OK, *CityBusAPIEstimatedTimeOfArrival1Status299, error) CityBusAPIEstimatedTimeOfArrivalUDP(params *CityBusAPIEstimatedTimeOfArrivalUDPParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUDPOK, *CityBusAPIEstimatedTimeOfArrivalUDPStatus299, error) CityBusAPIEstimatedTimeOfArrivalUDP1(params *CityBusAPIEstimatedTimeOfArrivalUDP1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUdp1OK, *CityBusAPIEstimatedTimeOfArrivalUdp1Status299, error) CityBusAPIFirstLastTripInfo(params *CityBusAPIFirstLastTripInfoParams, opts ...ClientOption) (*CityBusAPIFirstLastTripInfoOK, *CityBusAPIFirstLastTripInfoStatus299, error) CityBusAPIFirstLastTripInfo1(params *CityBusAPIFirstLastTripInfo1Params, opts ...ClientOption) (*CityBusAPIFirstLastTripInfo1OK, *CityBusAPIFirstLastTripInfo1Status299, error) CityBusAPINews(params *CityBusAPINewsParams, opts ...ClientOption) (*CityBusAPINewsOK, *CityBusAPINewsStatus299, error) CityBusAPIOperator(params *CityBusAPIOperatorParams, opts ...ClientOption) (*CityBusAPIOperatorOK, *CityBusAPIOperatorStatus299, error) CityBusAPIRealTimeByFrequency(params *CityBusAPIRealTimeByFrequencyParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyOK, *CityBusAPIRealTimeByFrequencyStatus299, error) CityBusAPIRealTimeByFrequency1(params *CityBusAPIRealTimeByFrequency1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequency1OK, *CityBusAPIRealTimeByFrequency1Status299, error) CityBusAPIRealTimeByFrequencyUDP(params *CityBusAPIRealTimeByFrequencyUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUDPOK, *CityBusAPIRealTimeByFrequencyUDPStatus299, error) CityBusAPIRealTimeByFrequencyUDP1(params *CityBusAPIRealTimeByFrequencyUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUdp1OK, *CityBusAPIRealTimeByFrequencyUdp1Status299, error) CityBusAPIRealTimeNearStop(params *CityBusAPIRealTimeNearStopParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopOK, *CityBusAPIRealTimeNearStopStatus299, error) CityBusAPIRealTimeNearStop1(params *CityBusAPIRealTimeNearStop1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStop1OK, *CityBusAPIRealTimeNearStop1Status299, error) CityBusAPIRealTimeNearStopUDP(params *CityBusAPIRealTimeNearStopUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUDPOK, *CityBusAPIRealTimeNearStopUDPStatus299, error) CityBusAPIRealTimeNearStopUDP1(params *CityBusAPIRealTimeNearStopUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUdp1OK, *CityBusAPIRealTimeNearStopUdp1Status299, error) CityBusAPIRoute(params *CityBusAPIRouteParams, opts ...ClientOption) (*CityBusAPIRouteOK, *CityBusAPIRouteStatus299, error) CityBusAPIRouteFare(params *CityBusAPIRouteFareParams, opts ...ClientOption) (*CityBusAPIRouteFareOK, *CityBusAPIRouteFareStatus299, error) CityBusAPIRouteFare1(params *CityBusAPIRouteFare1Params, opts ...ClientOption) (*CityBusAPIRouteFare1OK, *CityBusAPIRouteFare1Status299, error) CityBusAPIRouteNetwork(params *CityBusAPIRouteNetworkParams, opts ...ClientOption) (*CityBusAPIRouteNetworkOK, *CityBusAPIRouteNetworkStatus299, error) CityBusAPIRouteNetwork1(params *CityBusAPIRouteNetwork1Params, opts ...ClientOption) (*CityBusAPIRouteNetwork1OK, *CityBusAPIRouteNetwork1Status299, error) CityBusAPIRoute1(params *CityBusAPIRoute1Params, opts ...ClientOption) (*CityBusAPIRoute1OK, *CityBusAPIRoute1Status299, error) CityBusAPIS2STravelTimeDetail(params *CityBusAPIS2STravelTimeDetailParams, opts ...ClientOption) (*CityBusAPIS2STravelTimeDetailOK, *CityBusAPIS2STravelTimeDetailStatus299, error) CityBusAPISchedule(params *CityBusAPIScheduleParams, opts ...ClientOption) (*CityBusAPIScheduleOK, *CityBusAPIScheduleStatus299, error) CityBusAPISchedule1(params *CityBusAPISchedule1Params, opts ...ClientOption) (*CityBusAPISchedule1OK, *CityBusAPISchedule1Status299, error) CityBusAPIShape(params *CityBusAPIShapeParams, opts ...ClientOption) (*CityBusAPIShapeOK, *CityBusAPIShapeStatus299, error) CityBusAPIShape1(params *CityBusAPIShape1Params, opts ...ClientOption) (*CityBusAPIShape1OK, *CityBusAPIShape1Status299, error) CityBusAPIStation(params *CityBusAPIStationParams, opts ...ClientOption) (*CityBusAPIStationOK, *CityBusAPIStationStatus299, error) CityBusAPIStationGroup(params *CityBusAPIStationGroupParams, opts ...ClientOption) (*CityBusAPIStationGroupOK, *CityBusAPIStationGroupStatus299, error) CityBusAPIStop(params *CityBusAPIStopParams, opts ...ClientOption) (*CityBusAPIStopOK, *CityBusAPIStopStatus299, error) CityBusAPIStopOfRoute(params *CityBusAPIStopOfRouteParams, opts ...ClientOption) (*CityBusAPIStopOfRouteOK, *CityBusAPIStopOfRouteStatus299, error) CityBusAPIStopOfRoute1(params *CityBusAPIStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIStopOfRoute1OK, *CityBusAPIStopOfRoute1Status299, error) CityBusAPIVehicle(params *CityBusAPIVehicleParams, opts ...ClientOption) (*CityBusAPIVehicleOK, *CityBusAPIVehicleStatus299, 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 city bus API client.
Source Files ¶
- city_bus_api_alert_parameters.go
- city_bus_api_alert_responses.go
- city_bus_api_daily_stop_time_table1_parameters.go
- city_bus_api_daily_stop_time_table1_responses.go
- city_bus_api_daily_stop_time_table_parameters.go
- city_bus_api_daily_stop_time_table_responses.go
- city_bus_api_daily_time_table1_parameters.go
- city_bus_api_daily_time_table1_responses.go
- city_bus_api_daily_time_table_parameters.go
- city_bus_api_daily_time_table_responses.go
- city_bus_api_data_version_parameters.go
- city_bus_api_data_version_responses.go
- city_bus_api_display_stop_of_route1_parameters.go
- city_bus_api_display_stop_of_route1_responses.go
- city_bus_api_display_stop_of_route_parameters.go
- city_bus_api_display_stop_of_route_responses.go
- city_bus_api_estimated_time_of_arrival1_parameters.go
- city_bus_api_estimated_time_of_arrival1_responses.go
- city_bus_api_estimated_time_of_arrival_parameters.go
- city_bus_api_estimated_time_of_arrival_responses.go
- city_bus_api_estimated_time_of_arrival_udp_1_parameters.go
- city_bus_api_estimated_time_of_arrival_udp_1_responses.go
- city_bus_api_estimated_time_of_arrival_udp_parameters.go
- city_bus_api_estimated_time_of_arrival_udp_responses.go
- city_bus_api_first_last_trip_info1_parameters.go
- city_bus_api_first_last_trip_info1_responses.go
- city_bus_api_first_last_trip_info_parameters.go
- city_bus_api_first_last_trip_info_responses.go
- city_bus_api_news_parameters.go
- city_bus_api_news_responses.go
- city_bus_api_operator_parameters.go
- city_bus_api_operator_responses.go
- city_bus_api_real_time_by_frequency1_parameters.go
- city_bus_api_real_time_by_frequency1_responses.go
- city_bus_api_real_time_by_frequency_parameters.go
- city_bus_api_real_time_by_frequency_responses.go
- city_bus_api_real_time_by_frequency_udp_1_parameters.go
- city_bus_api_real_time_by_frequency_udp_1_responses.go
- city_bus_api_real_time_by_frequency_udp_parameters.go
- city_bus_api_real_time_by_frequency_udp_responses.go
- city_bus_api_real_time_near_stop1_parameters.go
- city_bus_api_real_time_near_stop1_responses.go
- city_bus_api_real_time_near_stop_parameters.go
- city_bus_api_real_time_near_stop_responses.go
- city_bus_api_real_time_near_stop_udp_1_parameters.go
- city_bus_api_real_time_near_stop_udp_1_responses.go
- city_bus_api_real_time_near_stop_udp_parameters.go
- city_bus_api_real_time_near_stop_udp_responses.go
- city_bus_api_route1_parameters.go
- city_bus_api_route1_responses.go
- city_bus_api_route_fare1_parameters.go
- city_bus_api_route_fare1_responses.go
- city_bus_api_route_fare_parameters.go
- city_bus_api_route_fare_responses.go
- city_bus_api_route_network1_parameters.go
- city_bus_api_route_network1_responses.go
- city_bus_api_route_network_parameters.go
- city_bus_api_route_network_responses.go
- city_bus_api_route_parameters.go
- city_bus_api_route_responses.go
- city_bus_api_s2_s_travel_time_detail_parameters.go
- city_bus_api_s2_s_travel_time_detail_responses.go
- city_bus_api_schedule1_parameters.go
- city_bus_api_schedule1_responses.go
- city_bus_api_schedule_parameters.go
- city_bus_api_schedule_responses.go
- city_bus_api_shape1_parameters.go
- city_bus_api_shape1_responses.go
- city_bus_api_shape_parameters.go
- city_bus_api_shape_responses.go
- city_bus_api_station_group_parameters.go
- city_bus_api_station_group_responses.go
- city_bus_api_station_parameters.go
- city_bus_api_station_responses.go
- city_bus_api_stop_of_route1_parameters.go
- city_bus_api_stop_of_route1_responses.go
- city_bus_api_stop_of_route_parameters.go
- city_bus_api_stop_of_route_responses.go
- city_bus_api_stop_parameters.go
- city_bus_api_stop_responses.go
- city_bus_api_vehicle_parameters.go
- city_bus_api_vehicle_responses.go
- city_bus_client.go