city_bus

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CityBusAPIAlert2053NotModified added in v0.15.0

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

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

func NewCityBusAPIAlert2053NotModified added in v0.15.0

func NewCityBusAPIAlert2053NotModified() *CityBusAPIAlert2053NotModified

NewCityBusAPIAlert2053NotModified creates a CityBusAPIAlert2053NotModified with default headers values

func (*CityBusAPIAlert2053NotModified) Error added in v0.15.0

type CityBusAPIAlert2053OK added in v0.15.0

type CityBusAPIAlert2053OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusAlert
}
CityBusAPIAlert2053OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIAlert2053OK added in v0.15.0

func NewCityBusAPIAlert2053OK() *CityBusAPIAlert2053OK

NewCityBusAPIAlert2053OK creates a CityBusAPIAlert2053OK with default headers values

func (*CityBusAPIAlert2053OK) Error added in v0.15.0

func (o *CityBusAPIAlert2053OK) Error() string

func (*CityBusAPIAlert2053OK) GetPayload added in v0.15.0

type CityBusAPIAlert2053Params added in v0.15.0

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

CityBusAPIAlert2053Params contains all the parameters to send to the API endpoint

for the city bus Api alert 2053 operation.

Typically these are written to a http.Request.

func NewCityBusAPIAlert2053Params added in v0.15.0

func NewCityBusAPIAlert2053Params() *CityBusAPIAlert2053Params

NewCityBusAPIAlert2053Params creates a new CityBusAPIAlert2053Params 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 NewCityBusAPIAlert2053ParamsWithContext added in v0.15.0

func NewCityBusAPIAlert2053ParamsWithContext(ctx context.Context) *CityBusAPIAlert2053Params

NewCityBusAPIAlert2053ParamsWithContext creates a new CityBusAPIAlert2053Params object with the ability to set a context for a request.

func NewCityBusAPIAlert2053ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIAlert2053ParamsWithHTTPClient(client *http.Client) *CityBusAPIAlert2053Params

NewCityBusAPIAlert2053ParamsWithHTTPClient creates a new CityBusAPIAlert2053Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIAlert2053ParamsWithTimeout added in v0.15.0

func NewCityBusAPIAlert2053ParamsWithTimeout(timeout time.Duration) *CityBusAPIAlert2053Params

NewCityBusAPIAlert2053ParamsWithTimeout creates a new CityBusAPIAlert2053Params object with the ability to set a timeout on a request.

func (*CityBusAPIAlert2053Params) SetCity added in v0.15.0

func (o *CityBusAPIAlert2053Params) SetCity(city string)

SetCity adds the city to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetDefaults added in v0.15.0

func (o *CityBusAPIAlert2053Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api alert 2053 params (not the query body).

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

func (*CityBusAPIAlert2053Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIAlert2053Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api alert 2053 params (not the query body).

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

func (*CityBusAPIAlert2053Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api alert 2053 params

func (*CityBusAPIAlert2053Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIAlert2053Reader added in v0.15.0

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

CityBusAPIAlert2053Reader is a Reader for the CityBusAPIAlert2053 structure.

func (*CityBusAPIAlert2053Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIAlert2053Status299 added in v0.15.0

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

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

func NewCityBusAPIAlert2053Status299 added in v0.15.0

func NewCityBusAPIAlert2053Status299() *CityBusAPIAlert2053Status299

NewCityBusAPIAlert2053Status299 creates a CityBusAPIAlert2053Status299 with default headers values

func (*CityBusAPIAlert2053Status299) Error added in v0.15.0

func (*CityBusAPIAlert2053Status299) GetPayload added in v0.15.0

type CityBusAPIDailyStopTimeTable24371NotModified added in v0.15.0

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

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

func NewCityBusAPIDailyStopTimeTable24371NotModified added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371NotModified() *CityBusAPIDailyStopTimeTable24371NotModified

NewCityBusAPIDailyStopTimeTable24371NotModified creates a CityBusAPIDailyStopTimeTable24371NotModified with default headers values

func (*CityBusAPIDailyStopTimeTable24371NotModified) Error added in v0.15.0

type CityBusAPIDailyStopTimeTable24371OK added in v0.15.0

type CityBusAPIDailyStopTimeTable24371OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyStopTimeTable
}
CityBusAPIDailyStopTimeTable24371OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDailyStopTimeTable24371OK added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371OK() *CityBusAPIDailyStopTimeTable24371OK

NewCityBusAPIDailyStopTimeTable24371OK creates a CityBusAPIDailyStopTimeTable24371OK with default headers values

func (*CityBusAPIDailyStopTimeTable24371OK) Error added in v0.15.0

func (*CityBusAPIDailyStopTimeTable24371OK) GetPayload added in v0.15.0

type CityBusAPIDailyStopTimeTable24371Params added in v0.15.0

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

CityBusAPIDailyStopTimeTable24371Params contains all the parameters to send to the API endpoint

for the city bus Api daily stop time table 2437 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyStopTimeTable24371Params added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371Params() *CityBusAPIDailyStopTimeTable24371Params

NewCityBusAPIDailyStopTimeTable24371Params creates a new CityBusAPIDailyStopTimeTable24371Params 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 NewCityBusAPIDailyStopTimeTable24371ParamsWithContext added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371ParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable24371Params

NewCityBusAPIDailyStopTimeTable24371ParamsWithContext creates a new CityBusAPIDailyStopTimeTable24371Params object with the ability to set a context for a request.

func NewCityBusAPIDailyStopTimeTable24371ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable24371Params

NewCityBusAPIDailyStopTimeTable24371ParamsWithHTTPClient creates a new CityBusAPIDailyStopTimeTable24371Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyStopTimeTable24371ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable24371Params

NewCityBusAPIDailyStopTimeTable24371ParamsWithTimeout creates a new CityBusAPIDailyStopTimeTable24371Params object with the ability to set a timeout on a request.

func (*CityBusAPIDailyStopTimeTable24371Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDailyStopTimeTable24371Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api daily stop time table 2437 1 params (not the query body).

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

func (*CityBusAPIDailyStopTimeTable24371Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDailyStopTimeTable24371Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetRouteName added in v0.15.0

func (o *CityBusAPIDailyStopTimeTable24371Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api daily stop time table 2437 1 params (not the query body).

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

func (*CityBusAPIDailyStopTimeTable24371Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api daily stop time table 2437 1 params

func (*CityBusAPIDailyStopTimeTable24371Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyStopTimeTable24371Reader added in v0.15.0

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

CityBusAPIDailyStopTimeTable24371Reader is a Reader for the CityBusAPIDailyStopTimeTable24371 structure.

func (*CityBusAPIDailyStopTimeTable24371Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyStopTimeTable24371Status299 added in v0.15.0

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

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

func NewCityBusAPIDailyStopTimeTable24371Status299 added in v0.15.0

func NewCityBusAPIDailyStopTimeTable24371Status299() *CityBusAPIDailyStopTimeTable24371Status299

NewCityBusAPIDailyStopTimeTable24371Status299 creates a CityBusAPIDailyStopTimeTable24371Status299 with default headers values

func (*CityBusAPIDailyStopTimeTable24371Status299) Error added in v0.15.0

func (*CityBusAPIDailyStopTimeTable24371Status299) GetPayload added in v0.15.0

type CityBusAPIDailyStopTimeTable2437NotModified added in v0.15.0

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

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

func NewCityBusAPIDailyStopTimeTable2437NotModified added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437NotModified() *CityBusAPIDailyStopTimeTable2437NotModified

NewCityBusAPIDailyStopTimeTable2437NotModified creates a CityBusAPIDailyStopTimeTable2437NotModified with default headers values

func (*CityBusAPIDailyStopTimeTable2437NotModified) Error added in v0.15.0

type CityBusAPIDailyStopTimeTable2437OK added in v0.15.0

type CityBusAPIDailyStopTimeTable2437OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyStopTimeTable
}
CityBusAPIDailyStopTimeTable2437OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDailyStopTimeTable2437OK added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437OK() *CityBusAPIDailyStopTimeTable2437OK

NewCityBusAPIDailyStopTimeTable2437OK creates a CityBusAPIDailyStopTimeTable2437OK with default headers values

func (*CityBusAPIDailyStopTimeTable2437OK) Error added in v0.15.0

func (*CityBusAPIDailyStopTimeTable2437OK) GetPayload added in v0.15.0

type CityBusAPIDailyStopTimeTable2437Params added in v0.15.0

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

CityBusAPIDailyStopTimeTable2437Params contains all the parameters to send to the API endpoint

for the city bus Api daily stop time table 2437 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyStopTimeTable2437Params added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437Params() *CityBusAPIDailyStopTimeTable2437Params

NewCityBusAPIDailyStopTimeTable2437Params creates a new CityBusAPIDailyStopTimeTable2437Params 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 NewCityBusAPIDailyStopTimeTable2437ParamsWithContext added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437ParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable2437Params

NewCityBusAPIDailyStopTimeTable2437ParamsWithContext creates a new CityBusAPIDailyStopTimeTable2437Params object with the ability to set a context for a request.

func NewCityBusAPIDailyStopTimeTable2437ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable2437Params

NewCityBusAPIDailyStopTimeTable2437ParamsWithHTTPClient creates a new CityBusAPIDailyStopTimeTable2437Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyStopTimeTable2437ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable2437Params

NewCityBusAPIDailyStopTimeTable2437ParamsWithTimeout creates a new CityBusAPIDailyStopTimeTable2437Params object with the ability to set a timeout on a request.

func (*CityBusAPIDailyStopTimeTable2437Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDailyStopTimeTable2437Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api daily stop time table 2437 params (not the query body).

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

func (*CityBusAPIDailyStopTimeTable2437Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDailyStopTimeTable2437Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api daily stop time table 2437 params (not the query body).

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

func (*CityBusAPIDailyStopTimeTable2437Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api daily stop time table 2437 params

func (*CityBusAPIDailyStopTimeTable2437Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyStopTimeTable2437Reader added in v0.15.0

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

CityBusAPIDailyStopTimeTable2437Reader is a Reader for the CityBusAPIDailyStopTimeTable2437 structure.

func (*CityBusAPIDailyStopTimeTable2437Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyStopTimeTable2437Status299 added in v0.15.0

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

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

func NewCityBusAPIDailyStopTimeTable2437Status299 added in v0.15.0

func NewCityBusAPIDailyStopTimeTable2437Status299() *CityBusAPIDailyStopTimeTable2437Status299

NewCityBusAPIDailyStopTimeTable2437Status299 creates a CityBusAPIDailyStopTimeTable2437Status299 with default headers values

func (*CityBusAPIDailyStopTimeTable2437Status299) Error added in v0.15.0

func (*CityBusAPIDailyStopTimeTable2437Status299) GetPayload added in v0.15.0

type CityBusAPIDailyTimeTable24361NotModified added in v0.15.0

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

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

func NewCityBusAPIDailyTimeTable24361NotModified added in v0.15.0

func NewCityBusAPIDailyTimeTable24361NotModified() *CityBusAPIDailyTimeTable24361NotModified

NewCityBusAPIDailyTimeTable24361NotModified creates a CityBusAPIDailyTimeTable24361NotModified with default headers values

func (*CityBusAPIDailyTimeTable24361NotModified) Error added in v0.15.0

type CityBusAPIDailyTimeTable24361OK added in v0.15.0

type CityBusAPIDailyTimeTable24361OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyTimeTable
}
CityBusAPIDailyTimeTable24361OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDailyTimeTable24361OK added in v0.15.0

func NewCityBusAPIDailyTimeTable24361OK() *CityBusAPIDailyTimeTable24361OK

NewCityBusAPIDailyTimeTable24361OK creates a CityBusAPIDailyTimeTable24361OK with default headers values

func (*CityBusAPIDailyTimeTable24361OK) Error added in v0.15.0

func (*CityBusAPIDailyTimeTable24361OK) GetPayload added in v0.15.0

type CityBusAPIDailyTimeTable24361Params added in v0.15.0

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

CityBusAPIDailyTimeTable24361Params contains all the parameters to send to the API endpoint

for the city bus Api daily time table 2436 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyTimeTable24361Params added in v0.15.0

func NewCityBusAPIDailyTimeTable24361Params() *CityBusAPIDailyTimeTable24361Params

NewCityBusAPIDailyTimeTable24361Params creates a new CityBusAPIDailyTimeTable24361Params 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 NewCityBusAPIDailyTimeTable24361ParamsWithContext added in v0.15.0

func NewCityBusAPIDailyTimeTable24361ParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTable24361Params

NewCityBusAPIDailyTimeTable24361ParamsWithContext creates a new CityBusAPIDailyTimeTable24361Params object with the ability to set a context for a request.

func NewCityBusAPIDailyTimeTable24361ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDailyTimeTable24361ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable24361Params

NewCityBusAPIDailyTimeTable24361ParamsWithHTTPClient creates a new CityBusAPIDailyTimeTable24361Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyTimeTable24361ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDailyTimeTable24361ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable24361Params

NewCityBusAPIDailyTimeTable24361ParamsWithTimeout creates a new CityBusAPIDailyTimeTable24361Params object with the ability to set a timeout on a request.

func (*CityBusAPIDailyTimeTable24361Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDailyTimeTable24361Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api daily time table 2436 1 params (not the query body).

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

func (*CityBusAPIDailyTimeTable24361Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDailyTimeTable24361Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetRouteName added in v0.15.0

func (o *CityBusAPIDailyTimeTable24361Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api daily time table 2436 1 params (not the query body).

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

func (*CityBusAPIDailyTimeTable24361Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api daily time table 2436 1 params

func (*CityBusAPIDailyTimeTable24361Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyTimeTable24361Reader added in v0.15.0

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

CityBusAPIDailyTimeTable24361Reader is a Reader for the CityBusAPIDailyTimeTable24361 structure.

func (*CityBusAPIDailyTimeTable24361Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyTimeTable24361Status299 added in v0.15.0

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

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

func NewCityBusAPIDailyTimeTable24361Status299 added in v0.15.0

func NewCityBusAPIDailyTimeTable24361Status299() *CityBusAPIDailyTimeTable24361Status299

NewCityBusAPIDailyTimeTable24361Status299 creates a CityBusAPIDailyTimeTable24361Status299 with default headers values

func (*CityBusAPIDailyTimeTable24361Status299) Error added in v0.15.0

func (*CityBusAPIDailyTimeTable24361Status299) GetPayload added in v0.15.0

type CityBusAPIDailyTimeTable2436NotModified added in v0.15.0

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

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

func NewCityBusAPIDailyTimeTable2436NotModified added in v0.15.0

func NewCityBusAPIDailyTimeTable2436NotModified() *CityBusAPIDailyTimeTable2436NotModified

NewCityBusAPIDailyTimeTable2436NotModified creates a CityBusAPIDailyTimeTable2436NotModified with default headers values

func (*CityBusAPIDailyTimeTable2436NotModified) Error added in v0.15.0

type CityBusAPIDailyTimeTable2436OK added in v0.15.0

type CityBusAPIDailyTimeTable2436OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusDailyTimeTable
}
CityBusAPIDailyTimeTable2436OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDailyTimeTable2436OK added in v0.15.0

func NewCityBusAPIDailyTimeTable2436OK() *CityBusAPIDailyTimeTable2436OK

NewCityBusAPIDailyTimeTable2436OK creates a CityBusAPIDailyTimeTable2436OK with default headers values

func (*CityBusAPIDailyTimeTable2436OK) Error added in v0.15.0

func (*CityBusAPIDailyTimeTable2436OK) GetPayload added in v0.15.0

type CityBusAPIDailyTimeTable2436Params added in v0.15.0

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

CityBusAPIDailyTimeTable2436Params contains all the parameters to send to the API endpoint

for the city bus Api daily time table 2436 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyTimeTable2436Params added in v0.15.0

func NewCityBusAPIDailyTimeTable2436Params() *CityBusAPIDailyTimeTable2436Params

NewCityBusAPIDailyTimeTable2436Params creates a new CityBusAPIDailyTimeTable2436Params 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 NewCityBusAPIDailyTimeTable2436ParamsWithContext added in v0.15.0

func NewCityBusAPIDailyTimeTable2436ParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTable2436Params

NewCityBusAPIDailyTimeTable2436ParamsWithContext creates a new CityBusAPIDailyTimeTable2436Params object with the ability to set a context for a request.

func NewCityBusAPIDailyTimeTable2436ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDailyTimeTable2436ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable2436Params

NewCityBusAPIDailyTimeTable2436ParamsWithHTTPClient creates a new CityBusAPIDailyTimeTable2436Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyTimeTable2436ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDailyTimeTable2436ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable2436Params

NewCityBusAPIDailyTimeTable2436ParamsWithTimeout creates a new CityBusAPIDailyTimeTable2436Params object with the ability to set a timeout on a request.

func (*CityBusAPIDailyTimeTable2436Params) SetCity added in v0.15.0

func (o *CityBusAPIDailyTimeTable2436Params) SetCity(city string)

SetCity adds the city to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDailyTimeTable2436Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api daily time table 2436 params (not the query body).

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

func (*CityBusAPIDailyTimeTable2436Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDailyTimeTable2436Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api daily time table 2436 params (not the query body).

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

func (*CityBusAPIDailyTimeTable2436Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api daily time table 2436 params

func (*CityBusAPIDailyTimeTable2436Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyTimeTable2436Reader added in v0.15.0

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

CityBusAPIDailyTimeTable2436Reader is a Reader for the CityBusAPIDailyTimeTable2436 structure.

func (*CityBusAPIDailyTimeTable2436Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyTimeTable2436Status299 added in v0.15.0

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

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

func NewCityBusAPIDailyTimeTable2436Status299 added in v0.15.0

func NewCityBusAPIDailyTimeTable2436Status299() *CityBusAPIDailyTimeTable2436Status299

NewCityBusAPIDailyTimeTable2436Status299 creates a CityBusAPIDailyTimeTable2436Status299 with default headers values

func (*CityBusAPIDailyTimeTable2436Status299) Error added in v0.15.0

func (*CityBusAPIDailyTimeTable2436Status299) GetPayload added in v0.15.0

type CityBusAPIDataVersion2033NotModified added in v0.15.0

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

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

func NewCityBusAPIDataVersion2033NotModified added in v0.15.0

func NewCityBusAPIDataVersion2033NotModified() *CityBusAPIDataVersion2033NotModified

NewCityBusAPIDataVersion2033NotModified creates a CityBusAPIDataVersion2033NotModified with default headers values

func (*CityBusAPIDataVersion2033NotModified) Error added in v0.15.0

type CityBusAPIDataVersion2033OK added in v0.15.0

type CityBusAPIDataVersion2033OK struct {
	Payload *models.PTXServiceDTOBusSpecificationV2BusVersion
}
CityBusAPIDataVersion2033OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDataVersion2033OK added in v0.15.0

func NewCityBusAPIDataVersion2033OK() *CityBusAPIDataVersion2033OK

NewCityBusAPIDataVersion2033OK creates a CityBusAPIDataVersion2033OK with default headers values

func (*CityBusAPIDataVersion2033OK) Error added in v0.15.0

func (*CityBusAPIDataVersion2033OK) GetPayload added in v0.15.0

type CityBusAPIDataVersion2033Params added in v0.15.0

type CityBusAPIDataVersion2033Params struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIDataVersion2033Params contains all the parameters to send to the API endpoint

for the city bus Api data version 2033 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDataVersion2033Params added in v0.15.0

func NewCityBusAPIDataVersion2033Params() *CityBusAPIDataVersion2033Params

NewCityBusAPIDataVersion2033Params creates a new CityBusAPIDataVersion2033Params 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 NewCityBusAPIDataVersion2033ParamsWithContext added in v0.15.0

func NewCityBusAPIDataVersion2033ParamsWithContext(ctx context.Context) *CityBusAPIDataVersion2033Params

NewCityBusAPIDataVersion2033ParamsWithContext creates a new CityBusAPIDataVersion2033Params object with the ability to set a context for a request.

func NewCityBusAPIDataVersion2033ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDataVersion2033ParamsWithHTTPClient(client *http.Client) *CityBusAPIDataVersion2033Params

NewCityBusAPIDataVersion2033ParamsWithHTTPClient creates a new CityBusAPIDataVersion2033Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDataVersion2033ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDataVersion2033ParamsWithTimeout(timeout time.Duration) *CityBusAPIDataVersion2033Params

NewCityBusAPIDataVersion2033ParamsWithTimeout creates a new CityBusAPIDataVersion2033Params object with the ability to set a timeout on a request.

func (*CityBusAPIDataVersion2033Params) SetCity added in v0.15.0

func (o *CityBusAPIDataVersion2033Params) SetCity(city string)

SetCity adds the city to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDataVersion2033Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api data version 2033 params (not the query body).

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

func (*CityBusAPIDataVersion2033Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDataVersion2033Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api data version 2033 params (not the query body).

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

func (*CityBusAPIDataVersion2033Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api data version 2033 params

func (*CityBusAPIDataVersion2033Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDataVersion2033Reader added in v0.15.0

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

CityBusAPIDataVersion2033Reader is a Reader for the CityBusAPIDataVersion2033 structure.

func (*CityBusAPIDataVersion2033Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDataVersion2033Status299 added in v0.15.0

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

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

func NewCityBusAPIDataVersion2033Status299 added in v0.15.0

func NewCityBusAPIDataVersion2033Status299() *CityBusAPIDataVersion2033Status299

NewCityBusAPIDataVersion2033Status299 creates a CityBusAPIDataVersion2033Status299 with default headers values

func (*CityBusAPIDataVersion2033Status299) Error added in v0.15.0

func (*CityBusAPIDataVersion2033Status299) GetPayload added in v0.15.0

type CityBusAPIDisplayStopOfRoute20381NotModified added in v0.15.0

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

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

func NewCityBusAPIDisplayStopOfRoute20381NotModified added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381NotModified() *CityBusAPIDisplayStopOfRoute20381NotModified

NewCityBusAPIDisplayStopOfRoute20381NotModified creates a CityBusAPIDisplayStopOfRoute20381NotModified with default headers values

func (*CityBusAPIDisplayStopOfRoute20381NotModified) Error added in v0.15.0

type CityBusAPIDisplayStopOfRoute20381OK added in v0.15.0

type CityBusAPIDisplayStopOfRoute20381OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusDisplayStopOfRoute
}
CityBusAPIDisplayStopOfRoute20381OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDisplayStopOfRoute20381OK added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381OK() *CityBusAPIDisplayStopOfRoute20381OK

NewCityBusAPIDisplayStopOfRoute20381OK creates a CityBusAPIDisplayStopOfRoute20381OK with default headers values

func (*CityBusAPIDisplayStopOfRoute20381OK) Error added in v0.15.0

func (*CityBusAPIDisplayStopOfRoute20381OK) GetPayload added in v0.15.0

type CityBusAPIDisplayStopOfRoute20381Params added in v0.15.0

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

CityBusAPIDisplayStopOfRoute20381Params contains all the parameters to send to the API endpoint

for the city bus Api display stop of route 2038 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDisplayStopOfRoute20381Params added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381Params() *CityBusAPIDisplayStopOfRoute20381Params

NewCityBusAPIDisplayStopOfRoute20381Params creates a new CityBusAPIDisplayStopOfRoute20381Params 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 NewCityBusAPIDisplayStopOfRoute20381ParamsWithContext added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381ParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute20381Params

NewCityBusAPIDisplayStopOfRoute20381ParamsWithContext creates a new CityBusAPIDisplayStopOfRoute20381Params object with the ability to set a context for a request.

func NewCityBusAPIDisplayStopOfRoute20381ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381ParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute20381Params

NewCityBusAPIDisplayStopOfRoute20381ParamsWithHTTPClient creates a new CityBusAPIDisplayStopOfRoute20381Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDisplayStopOfRoute20381ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381ParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute20381Params

NewCityBusAPIDisplayStopOfRoute20381ParamsWithTimeout creates a new CityBusAPIDisplayStopOfRoute20381Params object with the ability to set a timeout on a request.

func (*CityBusAPIDisplayStopOfRoute20381Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDisplayStopOfRoute20381Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api display stop of route 2038 1 params (not the query body).

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

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDisplayStopOfRoute20381Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetRouteName added in v0.15.0

func (o *CityBusAPIDisplayStopOfRoute20381Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api display stop of route 2038 1 params (not the query body).

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

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api display stop of route 2038 1 params

func (*CityBusAPIDisplayStopOfRoute20381Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDisplayStopOfRoute20381Reader added in v0.15.0

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

CityBusAPIDisplayStopOfRoute20381Reader is a Reader for the CityBusAPIDisplayStopOfRoute20381 structure.

func (*CityBusAPIDisplayStopOfRoute20381Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDisplayStopOfRoute20381Status299 added in v0.15.0

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

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

func NewCityBusAPIDisplayStopOfRoute20381Status299 added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute20381Status299() *CityBusAPIDisplayStopOfRoute20381Status299

NewCityBusAPIDisplayStopOfRoute20381Status299 creates a CityBusAPIDisplayStopOfRoute20381Status299 with default headers values

func (*CityBusAPIDisplayStopOfRoute20381Status299) Error added in v0.15.0

func (*CityBusAPIDisplayStopOfRoute20381Status299) GetPayload added in v0.15.0

type CityBusAPIDisplayStopOfRoute2038NotModified added in v0.15.0

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

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

func NewCityBusAPIDisplayStopOfRoute2038NotModified added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038NotModified() *CityBusAPIDisplayStopOfRoute2038NotModified

NewCityBusAPIDisplayStopOfRoute2038NotModified creates a CityBusAPIDisplayStopOfRoute2038NotModified with default headers values

func (*CityBusAPIDisplayStopOfRoute2038NotModified) Error added in v0.15.0

type CityBusAPIDisplayStopOfRoute2038OK added in v0.15.0

type CityBusAPIDisplayStopOfRoute2038OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusDisplayStopOfRoute
}
CityBusAPIDisplayStopOfRoute2038OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIDisplayStopOfRoute2038OK added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038OK() *CityBusAPIDisplayStopOfRoute2038OK

NewCityBusAPIDisplayStopOfRoute2038OK creates a CityBusAPIDisplayStopOfRoute2038OK with default headers values

func (*CityBusAPIDisplayStopOfRoute2038OK) Error added in v0.15.0

func (*CityBusAPIDisplayStopOfRoute2038OK) GetPayload added in v0.15.0

type CityBusAPIDisplayStopOfRoute2038Params added in v0.15.0

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

CityBusAPIDisplayStopOfRoute2038Params contains all the parameters to send to the API endpoint

for the city bus Api display stop of route 2038 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDisplayStopOfRoute2038Params added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038Params() *CityBusAPIDisplayStopOfRoute2038Params

NewCityBusAPIDisplayStopOfRoute2038Params creates a new CityBusAPIDisplayStopOfRoute2038Params 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 NewCityBusAPIDisplayStopOfRoute2038ParamsWithContext added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038ParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute2038Params

NewCityBusAPIDisplayStopOfRoute2038ParamsWithContext creates a new CityBusAPIDisplayStopOfRoute2038Params object with the ability to set a context for a request.

func NewCityBusAPIDisplayStopOfRoute2038ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038ParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute2038Params

NewCityBusAPIDisplayStopOfRoute2038ParamsWithHTTPClient creates a new CityBusAPIDisplayStopOfRoute2038Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDisplayStopOfRoute2038ParamsWithTimeout added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038ParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute2038Params

NewCityBusAPIDisplayStopOfRoute2038ParamsWithTimeout creates a new CityBusAPIDisplayStopOfRoute2038Params object with the ability to set a timeout on a request.

func (*CityBusAPIDisplayStopOfRoute2038Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDefaults added in v0.15.0

func (o *CityBusAPIDisplayStopOfRoute2038Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api display stop of route 2038 params (not the query body).

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

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIDisplayStopOfRoute2038Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api display stop of route 2038 params (not the query body).

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

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api display stop of route 2038 params

func (*CityBusAPIDisplayStopOfRoute2038Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDisplayStopOfRoute2038Reader added in v0.15.0

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

CityBusAPIDisplayStopOfRoute2038Reader is a Reader for the CityBusAPIDisplayStopOfRoute2038 structure.

func (*CityBusAPIDisplayStopOfRoute2038Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDisplayStopOfRoute2038Status299 added in v0.15.0

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

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

func NewCityBusAPIDisplayStopOfRoute2038Status299 added in v0.15.0

func NewCityBusAPIDisplayStopOfRoute2038Status299() *CityBusAPIDisplayStopOfRoute2038Status299

NewCityBusAPIDisplayStopOfRoute2038Status299 creates a CityBusAPIDisplayStopOfRoute2038Status299 with default headers values

func (*CityBusAPIDisplayStopOfRoute2038Status299) Error added in v0.15.0

func (*CityBusAPIDisplayStopOfRoute2038Status299) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival20321NotModified added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrival20321NotModified added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321NotModified() *CityBusAPIEstimatedTimeOfArrival20321NotModified

NewCityBusAPIEstimatedTimeOfArrival20321NotModified creates a CityBusAPIEstimatedTimeOfArrival20321NotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrival20321NotModified) Error added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival20321OK added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival20321OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrival20321OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIEstimatedTimeOfArrival20321OK added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321OK() *CityBusAPIEstimatedTimeOfArrival20321OK

NewCityBusAPIEstimatedTimeOfArrival20321OK creates a CityBusAPIEstimatedTimeOfArrival20321OK with default headers values

func (*CityBusAPIEstimatedTimeOfArrival20321OK) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrival20321OK) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival20321Params added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrival20321Params contains all the parameters to send to the API endpoint

for the city bus Api estimated time of arrival 2032 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrival20321Params added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321Params() *CityBusAPIEstimatedTimeOfArrival20321Params

NewCityBusAPIEstimatedTimeOfArrival20321Params creates a new CityBusAPIEstimatedTimeOfArrival20321Params 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 NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithContext added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival20321Params

NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrival20321Params object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival20321Params

NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrival20321Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithTimeout added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival20321Params

NewCityBusAPIEstimatedTimeOfArrival20321ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrival20321Params object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api estimated time of arrival 2032 1 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetHealth added in v0.15.0

SetHealth adds the health to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetRouteName added in v0.15.0

func (o *CityBusAPIEstimatedTimeOfArrival20321Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api estimated time of arrival 2032 1 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api estimated time of arrival 2032 1 params

func (*CityBusAPIEstimatedTimeOfArrival20321Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrival20321Reader added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrival20321Reader is a Reader for the CityBusAPIEstimatedTimeOfArrival20321 structure.

func (*CityBusAPIEstimatedTimeOfArrival20321Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrival20321Status299 added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrival20321Status299 added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival20321Status299() *CityBusAPIEstimatedTimeOfArrival20321Status299

NewCityBusAPIEstimatedTimeOfArrival20321Status299 creates a CityBusAPIEstimatedTimeOfArrival20321Status299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrival20321Status299) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrival20321Status299) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival2032NotModified added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrival2032NotModified added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032NotModified() *CityBusAPIEstimatedTimeOfArrival2032NotModified

NewCityBusAPIEstimatedTimeOfArrival2032NotModified creates a CityBusAPIEstimatedTimeOfArrival2032NotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrival2032NotModified) Error added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival2032OK added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival2032OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrival2032OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIEstimatedTimeOfArrival2032OK added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032OK() *CityBusAPIEstimatedTimeOfArrival2032OK

NewCityBusAPIEstimatedTimeOfArrival2032OK creates a CityBusAPIEstimatedTimeOfArrival2032OK with default headers values

func (*CityBusAPIEstimatedTimeOfArrival2032OK) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrival2032OK) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrival2032Params added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrival2032Params contains all the parameters to send to the API endpoint

for the city bus Api estimated time of arrival 2032 operation.

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrival2032Params added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032Params() *CityBusAPIEstimatedTimeOfArrival2032Params

NewCityBusAPIEstimatedTimeOfArrival2032Params creates a new CityBusAPIEstimatedTimeOfArrival2032Params 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 NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithContext added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival2032Params

NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrival2032Params object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival2032Params

NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrival2032Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithTimeout added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival2032Params

NewCityBusAPIEstimatedTimeOfArrival2032ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrival2032Params object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api estimated time of arrival 2032 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api estimated time of arrival 2032 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api estimated time of arrival 2032 params

func (*CityBusAPIEstimatedTimeOfArrival2032Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrival2032Reader added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrival2032Reader is a Reader for the CityBusAPIEstimatedTimeOfArrival2032 structure.

func (*CityBusAPIEstimatedTimeOfArrival2032Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrival2032Status299 added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrival2032Status299 added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrival2032Status299() *CityBusAPIEstimatedTimeOfArrival2032Status299

NewCityBusAPIEstimatedTimeOfArrival2032Status299 creates a CityBusAPIEstimatedTimeOfArrival2032Status299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrival2032Status299) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrival2032Status299) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUDP20481Params added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrivalUDP20481Params contains all the parameters to send to the API endpoint

for the city bus Api estimated time of arrival UDP 2048 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481Params added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481Params() *CityBusAPIEstimatedTimeOfArrivalUDP20481Params

NewCityBusAPIEstimatedTimeOfArrivalUDP20481Params creates a new CityBusAPIEstimatedTimeOfArrivalUDP20481Params 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 NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithContext added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP20481Params

NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalUDP20481Params object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP20481Params

NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalUDP20481Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithTimeout added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP20481Params

NewCityBusAPIEstimatedTimeOfArrivalUDP20481ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalUDP20481Params object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api estimated time of arrival UDP 2048 1 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetHTTPClient added in v0.15.0

SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetHealth added in v0.15.0

SetHealth adds the health to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetRouteName added in v0.15.0

func (o *CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api estimated time of arrival UDP 2048 1 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api estimated time of arrival UDP 2048 1 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrivalUDP20481Reader added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrivalUDP20481Reader is a Reader for the CityBusAPIEstimatedTimeOfArrivalUDP20481 structure.

func (*CityBusAPIEstimatedTimeOfArrivalUDP20481Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrivalUDP2048Params added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrivalUDP2048Params contains all the parameters to send to the API endpoint

for the city bus Api estimated time of arrival UDP 2048 operation.

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048Params added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048Params() *CityBusAPIEstimatedTimeOfArrivalUDP2048Params

NewCityBusAPIEstimatedTimeOfArrivalUDP2048Params creates a new CityBusAPIEstimatedTimeOfArrivalUDP2048Params 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 NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithContext added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP2048Params

NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalUDP2048Params object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP2048Params

NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalUDP2048Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithTimeout added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP2048Params

NewCityBusAPIEstimatedTimeOfArrivalUDP2048ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalUDP2048Params object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api estimated time of arrival UDP 2048 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetHealth added in v0.15.0

SetHealth adds the health to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api estimated time of arrival UDP 2048 params (not the query body).

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api estimated time of arrival UDP 2048 params

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrivalUDP2048Reader added in v0.15.0

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

CityBusAPIEstimatedTimeOfArrivalUDP2048Reader is a Reader for the CityBusAPIEstimatedTimeOfArrivalUDP2048 structure.

func (*CityBusAPIEstimatedTimeOfArrivalUDP2048Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrivalUdp20481NotModified added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUdp20481NotModified added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp20481NotModified() *CityBusAPIEstimatedTimeOfArrivalUdp20481NotModified

NewCityBusAPIEstimatedTimeOfArrivalUdp20481NotModified creates a CityBusAPIEstimatedTimeOfArrivalUdp20481NotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp20481NotModified) Error added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp20481OK added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp20481OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrivalUdp20481OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIEstimatedTimeOfArrivalUdp20481OK added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp20481OK() *CityBusAPIEstimatedTimeOfArrivalUdp20481OK

NewCityBusAPIEstimatedTimeOfArrivalUdp20481OK creates a CityBusAPIEstimatedTimeOfArrivalUdp20481OK with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp20481OK) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrivalUdp20481OK) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp20481Status299 added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUdp20481Status299 added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp20481Status299() *CityBusAPIEstimatedTimeOfArrivalUdp20481Status299

NewCityBusAPIEstimatedTimeOfArrivalUdp20481Status299 creates a CityBusAPIEstimatedTimeOfArrivalUdp20481Status299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp20481Status299) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrivalUdp20481Status299) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp2048NotModified added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUdp2048NotModified added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp2048NotModified() *CityBusAPIEstimatedTimeOfArrivalUdp2048NotModified

NewCityBusAPIEstimatedTimeOfArrivalUdp2048NotModified creates a CityBusAPIEstimatedTimeOfArrivalUdp2048NotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp2048NotModified) Error added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp2048OK added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp2048OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusN1EstimateTime
}
CityBusAPIEstimatedTimeOfArrivalUdp2048OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIEstimatedTimeOfArrivalUdp2048OK added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp2048OK() *CityBusAPIEstimatedTimeOfArrivalUdp2048OK

NewCityBusAPIEstimatedTimeOfArrivalUdp2048OK creates a CityBusAPIEstimatedTimeOfArrivalUdp2048OK with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp2048OK) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrivalUdp2048OK) GetPayload added in v0.15.0

type CityBusAPIEstimatedTimeOfArrivalUdp2048Status299 added in v0.15.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUdp2048Status299 added in v0.15.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp2048Status299() *CityBusAPIEstimatedTimeOfArrivalUdp2048Status299

NewCityBusAPIEstimatedTimeOfArrivalUdp2048Status299 creates a CityBusAPIEstimatedTimeOfArrivalUdp2048Status299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp2048Status299) Error added in v0.15.0

func (*CityBusAPIEstimatedTimeOfArrivalUdp2048Status299) GetPayload added in v0.15.0

type CityBusAPIFirstLastTripInfo20521NotModified added in v0.15.0

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

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

func NewCityBusAPIFirstLastTripInfo20521NotModified added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521NotModified() *CityBusAPIFirstLastTripInfo20521NotModified

NewCityBusAPIFirstLastTripInfo20521NotModified creates a CityBusAPIFirstLastTripInfo20521NotModified with default headers values

func (*CityBusAPIFirstLastTripInfo20521NotModified) Error added in v0.15.0

type CityBusAPIFirstLastTripInfo20521OK added in v0.15.0

type CityBusAPIFirstLastTripInfo20521OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusFirstLastTripInfo
}
CityBusAPIFirstLastTripInfo20521OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIFirstLastTripInfo20521OK added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521OK() *CityBusAPIFirstLastTripInfo20521OK

NewCityBusAPIFirstLastTripInfo20521OK creates a CityBusAPIFirstLastTripInfo20521OK with default headers values

func (*CityBusAPIFirstLastTripInfo20521OK) Error added in v0.15.0

func (*CityBusAPIFirstLastTripInfo20521OK) GetPayload added in v0.15.0

type CityBusAPIFirstLastTripInfo20521Params added in v0.15.0

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

CityBusAPIFirstLastTripInfo20521Params contains all the parameters to send to the API endpoint

for the city bus Api first last trip info 2052 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIFirstLastTripInfo20521Params added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521Params() *CityBusAPIFirstLastTripInfo20521Params

NewCityBusAPIFirstLastTripInfo20521Params creates a new CityBusAPIFirstLastTripInfo20521Params 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 NewCityBusAPIFirstLastTripInfo20521ParamsWithContext added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521ParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo20521Params

NewCityBusAPIFirstLastTripInfo20521ParamsWithContext creates a new CityBusAPIFirstLastTripInfo20521Params object with the ability to set a context for a request.

func NewCityBusAPIFirstLastTripInfo20521ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521ParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo20521Params

NewCityBusAPIFirstLastTripInfo20521ParamsWithHTTPClient creates a new CityBusAPIFirstLastTripInfo20521Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIFirstLastTripInfo20521ParamsWithTimeout added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521ParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo20521Params

NewCityBusAPIFirstLastTripInfo20521ParamsWithTimeout creates a new CityBusAPIFirstLastTripInfo20521Params object with the ability to set a timeout on a request.

func (*CityBusAPIFirstLastTripInfo20521Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetDefaults added in v0.15.0

func (o *CityBusAPIFirstLastTripInfo20521Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api first last trip info 2052 1 params (not the query body).

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

func (*CityBusAPIFirstLastTripInfo20521Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIFirstLastTripInfo20521Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetRouteName added in v0.15.0

func (o *CityBusAPIFirstLastTripInfo20521Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api first last trip info 2052 1 params (not the query body).

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

func (*CityBusAPIFirstLastTripInfo20521Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api first last trip info 2052 1 params

func (*CityBusAPIFirstLastTripInfo20521Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIFirstLastTripInfo20521Reader added in v0.15.0

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

CityBusAPIFirstLastTripInfo20521Reader is a Reader for the CityBusAPIFirstLastTripInfo20521 structure.

func (*CityBusAPIFirstLastTripInfo20521Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIFirstLastTripInfo20521Status299 added in v0.15.0

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

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

func NewCityBusAPIFirstLastTripInfo20521Status299 added in v0.15.0

func NewCityBusAPIFirstLastTripInfo20521Status299() *CityBusAPIFirstLastTripInfo20521Status299

NewCityBusAPIFirstLastTripInfo20521Status299 creates a CityBusAPIFirstLastTripInfo20521Status299 with default headers values

func (*CityBusAPIFirstLastTripInfo20521Status299) Error added in v0.15.0

func (*CityBusAPIFirstLastTripInfo20521Status299) GetPayload added in v0.15.0

type CityBusAPIFirstLastTripInfo2052NotModified added in v0.15.0

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

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

func NewCityBusAPIFirstLastTripInfo2052NotModified added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052NotModified() *CityBusAPIFirstLastTripInfo2052NotModified

NewCityBusAPIFirstLastTripInfo2052NotModified creates a CityBusAPIFirstLastTripInfo2052NotModified with default headers values

func (*CityBusAPIFirstLastTripInfo2052NotModified) Error added in v0.15.0

type CityBusAPIFirstLastTripInfo2052OK added in v0.15.0

type CityBusAPIFirstLastTripInfo2052OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusFirstLastTripInfo
}
CityBusAPIFirstLastTripInfo2052OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIFirstLastTripInfo2052OK added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052OK() *CityBusAPIFirstLastTripInfo2052OK

NewCityBusAPIFirstLastTripInfo2052OK creates a CityBusAPIFirstLastTripInfo2052OK with default headers values

func (*CityBusAPIFirstLastTripInfo2052OK) Error added in v0.15.0

func (*CityBusAPIFirstLastTripInfo2052OK) GetPayload added in v0.15.0

type CityBusAPIFirstLastTripInfo2052Params added in v0.15.0

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

CityBusAPIFirstLastTripInfo2052Params contains all the parameters to send to the API endpoint

for the city bus Api first last trip info 2052 operation.

Typically these are written to a http.Request.

func NewCityBusAPIFirstLastTripInfo2052Params added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052Params() *CityBusAPIFirstLastTripInfo2052Params

NewCityBusAPIFirstLastTripInfo2052Params creates a new CityBusAPIFirstLastTripInfo2052Params 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 NewCityBusAPIFirstLastTripInfo2052ParamsWithContext added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052ParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo2052Params

NewCityBusAPIFirstLastTripInfo2052ParamsWithContext creates a new CityBusAPIFirstLastTripInfo2052Params object with the ability to set a context for a request.

func NewCityBusAPIFirstLastTripInfo2052ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052ParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo2052Params

NewCityBusAPIFirstLastTripInfo2052ParamsWithHTTPClient creates a new CityBusAPIFirstLastTripInfo2052Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIFirstLastTripInfo2052ParamsWithTimeout added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052ParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo2052Params

NewCityBusAPIFirstLastTripInfo2052ParamsWithTimeout creates a new CityBusAPIFirstLastTripInfo2052Params object with the ability to set a timeout on a request.

func (*CityBusAPIFirstLastTripInfo2052Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetDefaults added in v0.15.0

func (o *CityBusAPIFirstLastTripInfo2052Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api first last trip info 2052 params (not the query body).

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

func (*CityBusAPIFirstLastTripInfo2052Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIFirstLastTripInfo2052Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api first last trip info 2052 params (not the query body).

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

func (*CityBusAPIFirstLastTripInfo2052Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api first last trip info 2052 params

func (*CityBusAPIFirstLastTripInfo2052Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIFirstLastTripInfo2052Reader added in v0.15.0

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

CityBusAPIFirstLastTripInfo2052Reader is a Reader for the CityBusAPIFirstLastTripInfo2052 structure.

func (*CityBusAPIFirstLastTripInfo2052Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIFirstLastTripInfo2052Status299 added in v0.15.0

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

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

func NewCityBusAPIFirstLastTripInfo2052Status299 added in v0.15.0

func NewCityBusAPIFirstLastTripInfo2052Status299() *CityBusAPIFirstLastTripInfo2052Status299

NewCityBusAPIFirstLastTripInfo2052Status299 creates a CityBusAPIFirstLastTripInfo2052Status299 with default headers values

func (*CityBusAPIFirstLastTripInfo2052Status299) Error added in v0.15.0

func (*CityBusAPIFirstLastTripInfo2052Status299) GetPayload added in v0.15.0

type CityBusAPINews2044NotModified added in v0.15.0

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

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

func NewCityBusAPINews2044NotModified added in v0.15.0

func NewCityBusAPINews2044NotModified() *CityBusAPINews2044NotModified

NewCityBusAPINews2044NotModified creates a CityBusAPINews2044NotModified with default headers values

func (*CityBusAPINews2044NotModified) Error added in v0.15.0

type CityBusAPINews2044OK added in v0.15.0

type CityBusAPINews2044OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusNews
}
CityBusAPINews2044OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPINews2044OK added in v0.15.0

func NewCityBusAPINews2044OK() *CityBusAPINews2044OK

NewCityBusAPINews2044OK creates a CityBusAPINews2044OK with default headers values

func (*CityBusAPINews2044OK) Error added in v0.15.0

func (o *CityBusAPINews2044OK) Error() string

func (*CityBusAPINews2044OK) GetPayload added in v0.15.0

type CityBusAPINews2044Params added in v0.15.0

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

CityBusAPINews2044Params contains all the parameters to send to the API endpoint

for the city bus Api news 2044 operation.

Typically these are written to a http.Request.

func NewCityBusAPINews2044Params added in v0.15.0

func NewCityBusAPINews2044Params() *CityBusAPINews2044Params

NewCityBusAPINews2044Params creates a new CityBusAPINews2044Params 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 NewCityBusAPINews2044ParamsWithContext added in v0.15.0

func NewCityBusAPINews2044ParamsWithContext(ctx context.Context) *CityBusAPINews2044Params

NewCityBusAPINews2044ParamsWithContext creates a new CityBusAPINews2044Params object with the ability to set a context for a request.

func NewCityBusAPINews2044ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPINews2044ParamsWithHTTPClient(client *http.Client) *CityBusAPINews2044Params

NewCityBusAPINews2044ParamsWithHTTPClient creates a new CityBusAPINews2044Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPINews2044ParamsWithTimeout added in v0.15.0

func NewCityBusAPINews2044ParamsWithTimeout(timeout time.Duration) *CityBusAPINews2044Params

NewCityBusAPINews2044ParamsWithTimeout creates a new CityBusAPINews2044Params object with the ability to set a timeout on a request.

func (*CityBusAPINews2044Params) SetCity added in v0.15.0

func (o *CityBusAPINews2044Params) SetCity(city string)

SetCity adds the city to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetDefaults added in v0.15.0

func (o *CityBusAPINews2044Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api news 2044 params (not the query body).

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

func (*CityBusAPINews2044Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPINews2044Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api news 2044 params (not the query body).

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

func (*CityBusAPINews2044Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api news 2044 params

func (*CityBusAPINews2044Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPINews2044Reader added in v0.15.0

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

CityBusAPINews2044Reader is a Reader for the CityBusAPINews2044 structure.

func (*CityBusAPINews2044Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPINews2044Status299 added in v0.15.0

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

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

func NewCityBusAPINews2044Status299 added in v0.15.0

func NewCityBusAPINews2044Status299() *CityBusAPINews2044Status299

NewCityBusAPINews2044Status299 creates a CityBusAPINews2044Status299 with default headers values

func (*CityBusAPINews2044Status299) Error added in v0.15.0

func (*CityBusAPINews2044Status299) GetPayload added in v0.15.0

type CityBusAPIOperator2034NotModified added in v0.15.0

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

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

func NewCityBusAPIOperator2034NotModified added in v0.15.0

func NewCityBusAPIOperator2034NotModified() *CityBusAPIOperator2034NotModified

NewCityBusAPIOperator2034NotModified creates a CityBusAPIOperator2034NotModified with default headers values

func (*CityBusAPIOperator2034NotModified) Error added in v0.15.0

type CityBusAPIOperator2034OK added in v0.15.0

type CityBusAPIOperator2034OK struct {
	Payload []*models.PTXServiceDTOSharedSpecificationV2BaseOperator
}
CityBusAPIOperator2034OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIOperator2034OK added in v0.15.0

func NewCityBusAPIOperator2034OK() *CityBusAPIOperator2034OK

NewCityBusAPIOperator2034OK creates a CityBusAPIOperator2034OK with default headers values

func (*CityBusAPIOperator2034OK) Error added in v0.15.0

func (o *CityBusAPIOperator2034OK) Error() string

func (*CityBusAPIOperator2034OK) GetPayload added in v0.15.0

type CityBusAPIOperator2034Params added in v0.15.0

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

CityBusAPIOperator2034Params contains all the parameters to send to the API endpoint

for the city bus Api operator 2034 operation.

Typically these are written to a http.Request.

func NewCityBusAPIOperator2034Params added in v0.15.0

func NewCityBusAPIOperator2034Params() *CityBusAPIOperator2034Params

NewCityBusAPIOperator2034Params creates a new CityBusAPIOperator2034Params 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 NewCityBusAPIOperator2034ParamsWithContext added in v0.15.0

func NewCityBusAPIOperator2034ParamsWithContext(ctx context.Context) *CityBusAPIOperator2034Params

NewCityBusAPIOperator2034ParamsWithContext creates a new CityBusAPIOperator2034Params object with the ability to set a context for a request.

func NewCityBusAPIOperator2034ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIOperator2034ParamsWithHTTPClient(client *http.Client) *CityBusAPIOperator2034Params

NewCityBusAPIOperator2034ParamsWithHTTPClient creates a new CityBusAPIOperator2034Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIOperator2034ParamsWithTimeout added in v0.15.0

func NewCityBusAPIOperator2034ParamsWithTimeout(timeout time.Duration) *CityBusAPIOperator2034Params

NewCityBusAPIOperator2034ParamsWithTimeout creates a new CityBusAPIOperator2034Params object with the ability to set a timeout on a request.

func (*CityBusAPIOperator2034Params) SetCity added in v0.15.0

func (o *CityBusAPIOperator2034Params) SetCity(city string)

SetCity adds the city to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetDefaults added in v0.15.0

func (o *CityBusAPIOperator2034Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api operator 2034 params (not the query body).

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

func (*CityBusAPIOperator2034Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIOperator2034Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api operator 2034 params (not the query body).

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

func (*CityBusAPIOperator2034Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api operator 2034 params

func (*CityBusAPIOperator2034Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIOperator2034Reader added in v0.15.0

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

CityBusAPIOperator2034Reader is a Reader for the CityBusAPIOperator2034 structure.

func (*CityBusAPIOperator2034Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIOperator2034Status299 added in v0.15.0

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

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

func NewCityBusAPIOperator2034Status299 added in v0.15.0

func NewCityBusAPIOperator2034Status299() *CityBusAPIOperator2034Status299

NewCityBusAPIOperator2034Status299 creates a CityBusAPIOperator2034Status299 with default headers values

func (*CityBusAPIOperator2034Status299) Error added in v0.15.0

func (*CityBusAPIOperator2034Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequency20301NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequency20301NotModified added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301NotModified() *CityBusAPIRealTimeByFrequency20301NotModified

NewCityBusAPIRealTimeByFrequency20301NotModified creates a CityBusAPIRealTimeByFrequency20301NotModified with default headers values

func (*CityBusAPIRealTimeByFrequency20301NotModified) Error added in v0.15.0

type CityBusAPIRealTimeByFrequency20301OK added in v0.15.0

type CityBusAPIRealTimeByFrequency20301OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequency20301OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeByFrequency20301OK added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301OK() *CityBusAPIRealTimeByFrequency20301OK

NewCityBusAPIRealTimeByFrequency20301OK creates a CityBusAPIRealTimeByFrequency20301OK with default headers values

func (*CityBusAPIRealTimeByFrequency20301OK) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequency20301OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequency20301Params added in v0.15.0

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

CityBusAPIRealTimeByFrequency20301Params contains all the parameters to send to the API endpoint

for the city bus Api real time by frequency 2030 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequency20301Params added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301Params() *CityBusAPIRealTimeByFrequency20301Params

NewCityBusAPIRealTimeByFrequency20301Params creates a new CityBusAPIRealTimeByFrequency20301Params 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 NewCityBusAPIRealTimeByFrequency20301ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency20301Params

NewCityBusAPIRealTimeByFrequency20301ParamsWithContext creates a new CityBusAPIRealTimeByFrequency20301Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequency20301ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency20301Params

NewCityBusAPIRealTimeByFrequency20301ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequency20301Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequency20301ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency20301Params

NewCityBusAPIRealTimeByFrequency20301ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequency20301Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequency20301Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api real time by frequency 2030 1 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeByFrequency20301Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRealTimeByFrequency20301Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time by frequency 2030 1 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarSpatialFilter added in v0.15.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time by frequency 2030 1 params

func (*CityBusAPIRealTimeByFrequency20301Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequency20301Reader added in v0.15.0

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

CityBusAPIRealTimeByFrequency20301Reader is a Reader for the CityBusAPIRealTimeByFrequency20301 structure.

func (*CityBusAPIRealTimeByFrequency20301Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequency20301Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequency20301Status299 added in v0.15.0

func NewCityBusAPIRealTimeByFrequency20301Status299() *CityBusAPIRealTimeByFrequency20301Status299

NewCityBusAPIRealTimeByFrequency20301Status299 creates a CityBusAPIRealTimeByFrequency20301Status299 with default headers values

func (*CityBusAPIRealTimeByFrequency20301Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequency20301Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequency2030NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequency2030NotModified added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030NotModified() *CityBusAPIRealTimeByFrequency2030NotModified

NewCityBusAPIRealTimeByFrequency2030NotModified creates a CityBusAPIRealTimeByFrequency2030NotModified with default headers values

func (*CityBusAPIRealTimeByFrequency2030NotModified) Error added in v0.15.0

type CityBusAPIRealTimeByFrequency2030OK added in v0.15.0

type CityBusAPIRealTimeByFrequency2030OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequency2030OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeByFrequency2030OK added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030OK() *CityBusAPIRealTimeByFrequency2030OK

NewCityBusAPIRealTimeByFrequency2030OK creates a CityBusAPIRealTimeByFrequency2030OK with default headers values

func (*CityBusAPIRealTimeByFrequency2030OK) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequency2030OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequency2030Params added in v0.15.0

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

CityBusAPIRealTimeByFrequency2030Params contains all the parameters to send to the API endpoint

for the city bus Api real time by frequency 2030 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequency2030Params added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030Params() *CityBusAPIRealTimeByFrequency2030Params

NewCityBusAPIRealTimeByFrequency2030Params creates a new CityBusAPIRealTimeByFrequency2030Params 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 NewCityBusAPIRealTimeByFrequency2030ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency2030Params

NewCityBusAPIRealTimeByFrequency2030ParamsWithContext creates a new CityBusAPIRealTimeByFrequency2030Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequency2030ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency2030Params

NewCityBusAPIRealTimeByFrequency2030ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequency2030Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequency2030ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency2030Params

NewCityBusAPIRealTimeByFrequency2030ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequency2030Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequency2030Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRealTimeByFrequency2030Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time by frequency 2030 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeByFrequency2030Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time by frequency 2030 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarSpatialFilter added in v0.15.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time by frequency 2030 params

func (*CityBusAPIRealTimeByFrequency2030Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequency2030Reader added in v0.15.0

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

CityBusAPIRealTimeByFrequency2030Reader is a Reader for the CityBusAPIRealTimeByFrequency2030 structure.

func (*CityBusAPIRealTimeByFrequency2030Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequency2030Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequency2030Status299 added in v0.15.0

func NewCityBusAPIRealTimeByFrequency2030Status299() *CityBusAPIRealTimeByFrequency2030Status299

NewCityBusAPIRealTimeByFrequency2030Status299 creates a CityBusAPIRealTimeByFrequency2030Status299 with default headers values

func (*CityBusAPIRealTimeByFrequency2030Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequency2030Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequencyUDP20461Params added in v0.15.0

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

CityBusAPIRealTimeByFrequencyUDP20461Params contains all the parameters to send to the API endpoint

for the city bus Api real time by frequency UDP 2046 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequencyUDP20461Params added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP20461Params() *CityBusAPIRealTimeByFrequencyUDP20461Params

NewCityBusAPIRealTimeByFrequencyUDP20461Params creates a new CityBusAPIRealTimeByFrequencyUDP20461Params 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 NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP20461Params

NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithContext creates a new CityBusAPIRealTimeByFrequencyUDP20461Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP20461Params

NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyUDP20461Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP20461Params

NewCityBusAPIRealTimeByFrequencyUDP20461ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyUDP20461Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api real time by frequency UDP 2046 1 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetHealth added in v0.15.0

SetHealth adds the health to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRealTimeByFrequencyUDP20461Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time by frequency UDP 2046 1 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarSpatialFilter added in v0.15.0

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time by frequency UDP 2046 1 params

func (*CityBusAPIRealTimeByFrequencyUDP20461Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequencyUDP20461Reader added in v0.15.0

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

CityBusAPIRealTimeByFrequencyUDP20461Reader is a Reader for the CityBusAPIRealTimeByFrequencyUDP20461 structure.

func (*CityBusAPIRealTimeByFrequencyUDP20461Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequencyUDP2046Params added in v0.15.0

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

CityBusAPIRealTimeByFrequencyUDP2046Params contains all the parameters to send to the API endpoint

for the city bus Api real time by frequency UDP 2046 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequencyUDP2046Params added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP2046Params() *CityBusAPIRealTimeByFrequencyUDP2046Params

NewCityBusAPIRealTimeByFrequencyUDP2046Params creates a new CityBusAPIRealTimeByFrequencyUDP2046Params 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 NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP2046Params

NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithContext creates a new CityBusAPIRealTimeByFrequencyUDP2046Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP2046Params

NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyUDP2046Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP2046Params

NewCityBusAPIRealTimeByFrequencyUDP2046ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyUDP2046Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api real time by frequency UDP 2046 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time by frequency UDP 2046 params (not the query body).

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

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarSpatialFilter added in v0.15.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time by frequency UDP 2046 params

func (*CityBusAPIRealTimeByFrequencyUDP2046Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequencyUDP2046Reader added in v0.15.0

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

CityBusAPIRealTimeByFrequencyUDP2046Reader is a Reader for the CityBusAPIRealTimeByFrequencyUDP2046 structure.

func (*CityBusAPIRealTimeByFrequencyUDP2046Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequencyUdp20461NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequencyUdp20461NotModified added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUdp20461NotModified() *CityBusAPIRealTimeByFrequencyUdp20461NotModified

NewCityBusAPIRealTimeByFrequencyUdp20461NotModified creates a CityBusAPIRealTimeByFrequencyUdp20461NotModified with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp20461NotModified) Error added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp20461OK added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp20461OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequencyUdp20461OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeByFrequencyUdp20461OK added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUdp20461OK() *CityBusAPIRealTimeByFrequencyUdp20461OK

NewCityBusAPIRealTimeByFrequencyUdp20461OK creates a CityBusAPIRealTimeByFrequencyUdp20461OK with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp20461OK) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequencyUdp20461OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp20461Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequencyUdp20461Status299 added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUdp20461Status299() *CityBusAPIRealTimeByFrequencyUdp20461Status299

NewCityBusAPIRealTimeByFrequencyUdp20461Status299 creates a CityBusAPIRealTimeByFrequencyUdp20461Status299 with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp20461Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequencyUdp20461Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp2046NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequencyUdp2046NotModified added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUdp2046NotModified() *CityBusAPIRealTimeByFrequencyUdp2046NotModified

NewCityBusAPIRealTimeByFrequencyUdp2046NotModified creates a CityBusAPIRealTimeByFrequencyUdp2046NotModified with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp2046NotModified) Error added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp2046OK added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp2046OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequencyUdp2046OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeByFrequencyUdp2046OK added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUdp2046OK() *CityBusAPIRealTimeByFrequencyUdp2046OK

NewCityBusAPIRealTimeByFrequencyUdp2046OK creates a CityBusAPIRealTimeByFrequencyUdp2046OK with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp2046OK) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequencyUdp2046OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeByFrequencyUdp2046Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeByFrequencyUdp2046Status299 added in v0.15.0

func NewCityBusAPIRealTimeByFrequencyUdp2046Status299() *CityBusAPIRealTimeByFrequencyUdp2046Status299

NewCityBusAPIRealTimeByFrequencyUdp2046Status299 creates a CityBusAPIRealTimeByFrequencyUdp2046Status299 with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp2046Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeByFrequencyUdp2046Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStop20311NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStop20311NotModified added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311NotModified() *CityBusAPIRealTimeNearStop20311NotModified

NewCityBusAPIRealTimeNearStop20311NotModified creates a CityBusAPIRealTimeNearStop20311NotModified with default headers values

func (*CityBusAPIRealTimeNearStop20311NotModified) Error added in v0.15.0

type CityBusAPIRealTimeNearStop20311OK added in v0.15.0

type CityBusAPIRealTimeNearStop20311OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStop20311OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStop20311OK added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311OK() *CityBusAPIRealTimeNearStop20311OK

NewCityBusAPIRealTimeNearStop20311OK creates a CityBusAPIRealTimeNearStop20311OK with default headers values

func (*CityBusAPIRealTimeNearStop20311OK) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStop20311OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStop20311Params added in v0.15.0

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

CityBusAPIRealTimeNearStop20311Params contains all the parameters to send to the API endpoint

for the city bus Api real time near stop 2031 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStop20311Params added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311Params() *CityBusAPIRealTimeNearStop20311Params

NewCityBusAPIRealTimeNearStop20311Params creates a new CityBusAPIRealTimeNearStop20311Params 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 NewCityBusAPIRealTimeNearStop20311ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStop20311Params

NewCityBusAPIRealTimeNearStop20311ParamsWithContext creates a new CityBusAPIRealTimeNearStop20311Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStop20311ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop20311Params

NewCityBusAPIRealTimeNearStop20311ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStop20311Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStop20311ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop20311Params

NewCityBusAPIRealTimeNearStop20311ParamsWithTimeout creates a new CityBusAPIRealTimeNearStop20311Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStop20311Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRealTimeNearStop20311Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop 2031 1 params (not the query body).

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

func (*CityBusAPIRealTimeNearStop20311Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeNearStop20311Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRealTimeNearStop20311Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time near stop 2031 1 params (not the query body).

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

func (*CityBusAPIRealTimeNearStop20311Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time near stop 2031 1 params

func (*CityBusAPIRealTimeNearStop20311Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStop20311Reader added in v0.15.0

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

CityBusAPIRealTimeNearStop20311Reader is a Reader for the CityBusAPIRealTimeNearStop20311 structure.

func (*CityBusAPIRealTimeNearStop20311Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStop20311Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStop20311Status299 added in v0.15.0

func NewCityBusAPIRealTimeNearStop20311Status299() *CityBusAPIRealTimeNearStop20311Status299

NewCityBusAPIRealTimeNearStop20311Status299 creates a CityBusAPIRealTimeNearStop20311Status299 with default headers values

func (*CityBusAPIRealTimeNearStop20311Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStop20311Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStop2031NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStop2031NotModified added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031NotModified() *CityBusAPIRealTimeNearStop2031NotModified

NewCityBusAPIRealTimeNearStop2031NotModified creates a CityBusAPIRealTimeNearStop2031NotModified with default headers values

func (*CityBusAPIRealTimeNearStop2031NotModified) Error added in v0.15.0

type CityBusAPIRealTimeNearStop2031OK added in v0.15.0

type CityBusAPIRealTimeNearStop2031OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStop2031OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStop2031OK added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031OK() *CityBusAPIRealTimeNearStop2031OK

NewCityBusAPIRealTimeNearStop2031OK creates a CityBusAPIRealTimeNearStop2031OK with default headers values

func (*CityBusAPIRealTimeNearStop2031OK) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStop2031OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStop2031Params added in v0.15.0

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

CityBusAPIRealTimeNearStop2031Params contains all the parameters to send to the API endpoint

for the city bus Api real time near stop 2031 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStop2031Params added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031Params() *CityBusAPIRealTimeNearStop2031Params

NewCityBusAPIRealTimeNearStop2031Params creates a new CityBusAPIRealTimeNearStop2031Params 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 NewCityBusAPIRealTimeNearStop2031ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStop2031Params

NewCityBusAPIRealTimeNearStop2031ParamsWithContext creates a new CityBusAPIRealTimeNearStop2031Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStop2031ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop2031Params

NewCityBusAPIRealTimeNearStop2031ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStop2031Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStop2031ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop2031Params

NewCityBusAPIRealTimeNearStop2031ParamsWithTimeout creates a new CityBusAPIRealTimeNearStop2031Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStop2031Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRealTimeNearStop2031Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop 2031 params (not the query body).

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

func (*CityBusAPIRealTimeNearStop2031Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeNearStop2031Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time near stop 2031 params (not the query body).

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

func (*CityBusAPIRealTimeNearStop2031Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time near stop 2031 params

func (*CityBusAPIRealTimeNearStop2031Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStop2031Reader added in v0.15.0

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

CityBusAPIRealTimeNearStop2031Reader is a Reader for the CityBusAPIRealTimeNearStop2031 structure.

func (*CityBusAPIRealTimeNearStop2031Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStop2031Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStop2031Status299 added in v0.15.0

func NewCityBusAPIRealTimeNearStop2031Status299() *CityBusAPIRealTimeNearStop2031Status299

NewCityBusAPIRealTimeNearStop2031Status299 creates a CityBusAPIRealTimeNearStop2031Status299 with default headers values

func (*CityBusAPIRealTimeNearStop2031Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStop2031Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStopUDP20471Params added in v0.15.0

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

CityBusAPIRealTimeNearStopUDP20471Params contains all the parameters to send to the API endpoint

for the city bus Api real time near stop UDP 2047 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStopUDP20471Params added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP20471Params() *CityBusAPIRealTimeNearStopUDP20471Params

NewCityBusAPIRealTimeNearStopUDP20471Params creates a new CityBusAPIRealTimeNearStopUDP20471Params 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 NewCityBusAPIRealTimeNearStopUDP20471ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP20471ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP20471Params

NewCityBusAPIRealTimeNearStopUDP20471ParamsWithContext creates a new CityBusAPIRealTimeNearStopUDP20471Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStopUDP20471ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP20471ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP20471Params

NewCityBusAPIRealTimeNearStopUDP20471ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopUDP20471Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStopUDP20471ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP20471ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP20471Params

NewCityBusAPIRealTimeNearStopUDP20471ParamsWithTimeout creates a new CityBusAPIRealTimeNearStopUDP20471Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDefaults added in v0.15.0

SetDefaults hydrates default values in the city bus Api real time near stop UDP 2047 1 params (not the query body).

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

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeNearStopUDP20471Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRealTimeNearStopUDP20471Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) SetTimeout added in v0.15.0

SetTimeout adds the timeout to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time near stop UDP 2047 1 params (not the query body).

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

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time near stop UDP 2047 1 params

func (*CityBusAPIRealTimeNearStopUDP20471Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStopUDP20471Reader added in v0.15.0

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

CityBusAPIRealTimeNearStopUDP20471Reader is a Reader for the CityBusAPIRealTimeNearStopUDP20471 structure.

func (*CityBusAPIRealTimeNearStopUDP20471Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStopUDP2047Params added in v0.15.0

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

CityBusAPIRealTimeNearStopUDP2047Params contains all the parameters to send to the API endpoint

for the city bus Api real time near stop UDP 2047 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStopUDP2047Params added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP2047Params() *CityBusAPIRealTimeNearStopUDP2047Params

NewCityBusAPIRealTimeNearStopUDP2047Params creates a new CityBusAPIRealTimeNearStopUDP2047Params 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 NewCityBusAPIRealTimeNearStopUDP2047ParamsWithContext added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP2047ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP2047Params

NewCityBusAPIRealTimeNearStopUDP2047ParamsWithContext creates a new CityBusAPIRealTimeNearStopUDP2047Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStopUDP2047ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP2047ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP2047Params

NewCityBusAPIRealTimeNearStopUDP2047ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopUDP2047Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStopUDP2047ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRealTimeNearStopUDP2047ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP2047Params

NewCityBusAPIRealTimeNearStopUDP2047ParamsWithTimeout creates a new CityBusAPIRealTimeNearStopUDP2047Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRealTimeNearStopUDP2047Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop UDP 2047 params (not the query body).

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

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRealTimeNearStopUDP2047Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api real time near stop UDP 2047 params (not the query body).

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

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api real time near stop UDP 2047 params

func (*CityBusAPIRealTimeNearStopUDP2047Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStopUDP2047Reader added in v0.15.0

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

CityBusAPIRealTimeNearStopUDP2047Reader is a Reader for the CityBusAPIRealTimeNearStopUDP2047 structure.

func (*CityBusAPIRealTimeNearStopUDP2047Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStopUdp20471NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStopUdp20471NotModified added in v0.15.0

func NewCityBusAPIRealTimeNearStopUdp20471NotModified() *CityBusAPIRealTimeNearStopUdp20471NotModified

NewCityBusAPIRealTimeNearStopUdp20471NotModified creates a CityBusAPIRealTimeNearStopUdp20471NotModified with default headers values

func (*CityBusAPIRealTimeNearStopUdp20471NotModified) Error added in v0.15.0

type CityBusAPIRealTimeNearStopUdp20471OK added in v0.15.0

type CityBusAPIRealTimeNearStopUdp20471OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopUdp20471OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStopUdp20471OK added in v0.15.0

func NewCityBusAPIRealTimeNearStopUdp20471OK() *CityBusAPIRealTimeNearStopUdp20471OK

NewCityBusAPIRealTimeNearStopUdp20471OK creates a CityBusAPIRealTimeNearStopUdp20471OK with default headers values

func (*CityBusAPIRealTimeNearStopUdp20471OK) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStopUdp20471OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStopUdp20471Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStopUdp20471Status299 added in v0.15.0

func NewCityBusAPIRealTimeNearStopUdp20471Status299() *CityBusAPIRealTimeNearStopUdp20471Status299

NewCityBusAPIRealTimeNearStopUdp20471Status299 creates a CityBusAPIRealTimeNearStopUdp20471Status299 with default headers values

func (*CityBusAPIRealTimeNearStopUdp20471Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStopUdp20471Status299) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStopUdp2047NotModified added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStopUdp2047NotModified added in v0.15.0

func NewCityBusAPIRealTimeNearStopUdp2047NotModified() *CityBusAPIRealTimeNearStopUdp2047NotModified

NewCityBusAPIRealTimeNearStopUdp2047NotModified creates a CityBusAPIRealTimeNearStopUdp2047NotModified with default headers values

func (*CityBusAPIRealTimeNearStopUdp2047NotModified) Error added in v0.15.0

type CityBusAPIRealTimeNearStopUdp2047OK added in v0.15.0

type CityBusAPIRealTimeNearStopUdp2047OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopUdp2047OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStopUdp2047OK added in v0.15.0

func NewCityBusAPIRealTimeNearStopUdp2047OK() *CityBusAPIRealTimeNearStopUdp2047OK

NewCityBusAPIRealTimeNearStopUdp2047OK creates a CityBusAPIRealTimeNearStopUdp2047OK with default headers values

func (*CityBusAPIRealTimeNearStopUdp2047OK) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStopUdp2047OK) GetPayload added in v0.15.0

type CityBusAPIRealTimeNearStopUdp2047Status299 added in v0.15.0

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

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

func NewCityBusAPIRealTimeNearStopUdp2047Status299 added in v0.15.0

func NewCityBusAPIRealTimeNearStopUdp2047Status299() *CityBusAPIRealTimeNearStopUdp2047Status299

NewCityBusAPIRealTimeNearStopUdp2047Status299 creates a CityBusAPIRealTimeNearStopUdp2047Status299 with default headers values

func (*CityBusAPIRealTimeNearStopUdp2047Status299) Error added in v0.15.0

func (*CityBusAPIRealTimeNearStopUdp2047Status299) GetPayload added in v0.15.0

type CityBusAPIRoute20351NotModified added in v0.15.0

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

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

func NewCityBusAPIRoute20351NotModified added in v0.15.0

func NewCityBusAPIRoute20351NotModified() *CityBusAPIRoute20351NotModified

NewCityBusAPIRoute20351NotModified creates a CityBusAPIRoute20351NotModified with default headers values

func (*CityBusAPIRoute20351NotModified) Error added in v0.15.0

type CityBusAPIRoute20351OK added in v0.15.0

type CityBusAPIRoute20351OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRoute
}
CityBusAPIRoute20351OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRoute20351OK added in v0.15.0

func NewCityBusAPIRoute20351OK() *CityBusAPIRoute20351OK

NewCityBusAPIRoute20351OK creates a CityBusAPIRoute20351OK with default headers values

func (*CityBusAPIRoute20351OK) Error added in v0.15.0

func (o *CityBusAPIRoute20351OK) Error() string

func (*CityBusAPIRoute20351OK) GetPayload added in v0.15.0

type CityBusAPIRoute20351Params added in v0.15.0

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

CityBusAPIRoute20351Params contains all the parameters to send to the API endpoint

for the city bus Api route 2035 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRoute20351Params added in v0.15.0

func NewCityBusAPIRoute20351Params() *CityBusAPIRoute20351Params

NewCityBusAPIRoute20351Params creates a new CityBusAPIRoute20351Params 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 NewCityBusAPIRoute20351ParamsWithContext added in v0.15.0

func NewCityBusAPIRoute20351ParamsWithContext(ctx context.Context) *CityBusAPIRoute20351Params

NewCityBusAPIRoute20351ParamsWithContext creates a new CityBusAPIRoute20351Params object with the ability to set a context for a request.

func NewCityBusAPIRoute20351ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRoute20351ParamsWithHTTPClient(client *http.Client) *CityBusAPIRoute20351Params

NewCityBusAPIRoute20351ParamsWithHTTPClient creates a new CityBusAPIRoute20351Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRoute20351ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRoute20351ParamsWithTimeout(timeout time.Duration) *CityBusAPIRoute20351Params

NewCityBusAPIRoute20351ParamsWithTimeout creates a new CityBusAPIRoute20351Params object with the ability to set a timeout on a request.

func (*CityBusAPIRoute20351Params) SetCity added in v0.15.0

func (o *CityBusAPIRoute20351Params) SetCity(city string)

SetCity adds the city to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRoute20351Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route 2035 1 params (not the query body).

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

func (*CityBusAPIRoute20351Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRoute20351Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRoute20351Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api route 2035 1 params (not the query body).

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

func (*CityBusAPIRoute20351Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithRouteName added in v0.15.0

func (o *CityBusAPIRoute20351Params) WithRouteName(routeName string) *CityBusAPIRoute20351Params

WithRouteName adds the routeName to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api route 2035 1 params

func (*CityBusAPIRoute20351Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRoute20351Reader added in v0.15.0

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

CityBusAPIRoute20351Reader is a Reader for the CityBusAPIRoute20351 structure.

func (*CityBusAPIRoute20351Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRoute20351Status299 added in v0.15.0

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

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

func NewCityBusAPIRoute20351Status299 added in v0.15.0

func NewCityBusAPIRoute20351Status299() *CityBusAPIRoute20351Status299

NewCityBusAPIRoute20351Status299 creates a CityBusAPIRoute20351Status299 with default headers values

func (*CityBusAPIRoute20351Status299) Error added in v0.15.0

func (*CityBusAPIRoute20351Status299) GetPayload added in v0.15.0

type CityBusAPIRoute2035NotModified added in v0.15.0

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

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

func NewCityBusAPIRoute2035NotModified added in v0.15.0

func NewCityBusAPIRoute2035NotModified() *CityBusAPIRoute2035NotModified

NewCityBusAPIRoute2035NotModified creates a CityBusAPIRoute2035NotModified with default headers values

func (*CityBusAPIRoute2035NotModified) Error added in v0.15.0

type CityBusAPIRoute2035OK added in v0.15.0

type CityBusAPIRoute2035OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRoute
}
CityBusAPIRoute2035OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRoute2035OK added in v0.15.0

func NewCityBusAPIRoute2035OK() *CityBusAPIRoute2035OK

NewCityBusAPIRoute2035OK creates a CityBusAPIRoute2035OK with default headers values

func (*CityBusAPIRoute2035OK) Error added in v0.15.0

func (o *CityBusAPIRoute2035OK) Error() string

func (*CityBusAPIRoute2035OK) GetPayload added in v0.15.0

type CityBusAPIRoute2035Params added in v0.15.0

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

CityBusAPIRoute2035Params contains all the parameters to send to the API endpoint

for the city bus Api route 2035 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRoute2035Params added in v0.15.0

func NewCityBusAPIRoute2035Params() *CityBusAPIRoute2035Params

NewCityBusAPIRoute2035Params creates a new CityBusAPIRoute2035Params 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 NewCityBusAPIRoute2035ParamsWithContext added in v0.15.0

func NewCityBusAPIRoute2035ParamsWithContext(ctx context.Context) *CityBusAPIRoute2035Params

NewCityBusAPIRoute2035ParamsWithContext creates a new CityBusAPIRoute2035Params object with the ability to set a context for a request.

func NewCityBusAPIRoute2035ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRoute2035ParamsWithHTTPClient(client *http.Client) *CityBusAPIRoute2035Params

NewCityBusAPIRoute2035ParamsWithHTTPClient creates a new CityBusAPIRoute2035Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRoute2035ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRoute2035ParamsWithTimeout(timeout time.Duration) *CityBusAPIRoute2035Params

NewCityBusAPIRoute2035ParamsWithTimeout creates a new CityBusAPIRoute2035Params object with the ability to set a timeout on a request.

func (*CityBusAPIRoute2035Params) SetCity added in v0.15.0

func (o *CityBusAPIRoute2035Params) SetCity(city string)

SetCity adds the city to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRoute2035Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route 2035 params (not the query body).

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

func (*CityBusAPIRoute2035Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRoute2035Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api route 2035 params (not the query body).

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

func (*CityBusAPIRoute2035Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api route 2035 params

func (*CityBusAPIRoute2035Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRoute2035Reader added in v0.15.0

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

CityBusAPIRoute2035Reader is a Reader for the CityBusAPIRoute2035 structure.

func (*CityBusAPIRoute2035Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRoute2035Status299 added in v0.15.0

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

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

func NewCityBusAPIRoute2035Status299 added in v0.15.0

func NewCityBusAPIRoute2035Status299() *CityBusAPIRoute2035Status299

NewCityBusAPIRoute2035Status299 creates a CityBusAPIRoute2035Status299 with default headers values

func (*CityBusAPIRoute2035Status299) Error added in v0.15.0

func (*CityBusAPIRoute2035Status299) GetPayload added in v0.15.0

type CityBusAPIRouteFare20431NotModified added in v0.15.0

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

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

func NewCityBusAPIRouteFare20431NotModified added in v0.15.0

func NewCityBusAPIRouteFare20431NotModified() *CityBusAPIRouteFare20431NotModified

NewCityBusAPIRouteFare20431NotModified creates a CityBusAPIRouteFare20431NotModified with default headers values

func (*CityBusAPIRouteFare20431NotModified) Error added in v0.15.0

type CityBusAPIRouteFare20431OK added in v0.15.0

type CityBusAPIRouteFare20431OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
}
CityBusAPIRouteFare20431OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteFare20431OK added in v0.15.0

func NewCityBusAPIRouteFare20431OK() *CityBusAPIRouteFare20431OK

NewCityBusAPIRouteFare20431OK creates a CityBusAPIRouteFare20431OK with default headers values

func (*CityBusAPIRouteFare20431OK) Error added in v0.15.0

func (*CityBusAPIRouteFare20431OK) GetPayload added in v0.15.0

type CityBusAPIRouteFare20431Params added in v0.15.0

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

CityBusAPIRouteFare20431Params contains all the parameters to send to the API endpoint

for the city bus Api route fare 2043 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteFare20431Params added in v0.15.0

func NewCityBusAPIRouteFare20431Params() *CityBusAPIRouteFare20431Params

NewCityBusAPIRouteFare20431Params creates a new CityBusAPIRouteFare20431Params 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 NewCityBusAPIRouteFare20431ParamsWithContext added in v0.15.0

func NewCityBusAPIRouteFare20431ParamsWithContext(ctx context.Context) *CityBusAPIRouteFare20431Params

NewCityBusAPIRouteFare20431ParamsWithContext creates a new CityBusAPIRouteFare20431Params object with the ability to set a context for a request.

func NewCityBusAPIRouteFare20431ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRouteFare20431ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFare20431Params

NewCityBusAPIRouteFare20431ParamsWithHTTPClient creates a new CityBusAPIRouteFare20431Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteFare20431ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRouteFare20431ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFare20431Params

NewCityBusAPIRouteFare20431ParamsWithTimeout creates a new CityBusAPIRouteFare20431Params object with the ability to set a timeout on a request.

func (*CityBusAPIRouteFare20431Params) SetCity added in v0.15.0

func (o *CityBusAPIRouteFare20431Params) SetCity(city string)

SetCity adds the city to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRouteFare20431Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route fare 2043 1 params (not the query body).

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

func (*CityBusAPIRouteFare20431Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRouteFare20431Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRouteFare20431Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api route fare 2043 1 params (not the query body).

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

func (*CityBusAPIRouteFare20431Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api route fare 2043 1 params

func (*CityBusAPIRouteFare20431Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteFare20431Reader added in v0.15.0

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

CityBusAPIRouteFare20431Reader is a Reader for the CityBusAPIRouteFare20431 structure.

func (*CityBusAPIRouteFare20431Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRouteFare20431Status299 added in v0.15.0

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

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

func NewCityBusAPIRouteFare20431Status299 added in v0.15.0

func NewCityBusAPIRouteFare20431Status299() *CityBusAPIRouteFare20431Status299

NewCityBusAPIRouteFare20431Status299 creates a CityBusAPIRouteFare20431Status299 with default headers values

func (*CityBusAPIRouteFare20431Status299) Error added in v0.15.0

func (*CityBusAPIRouteFare20431Status299) GetPayload added in v0.15.0

type CityBusAPIRouteFare2043NotModified added in v0.15.0

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

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

func NewCityBusAPIRouteFare2043NotModified added in v0.15.0

func NewCityBusAPIRouteFare2043NotModified() *CityBusAPIRouteFare2043NotModified

NewCityBusAPIRouteFare2043NotModified creates a CityBusAPIRouteFare2043NotModified with default headers values

func (*CityBusAPIRouteFare2043NotModified) Error added in v0.15.0

type CityBusAPIRouteFare2043OK added in v0.15.0

type CityBusAPIRouteFare2043OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
}
CityBusAPIRouteFare2043OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteFare2043OK added in v0.15.0

func NewCityBusAPIRouteFare2043OK() *CityBusAPIRouteFare2043OK

NewCityBusAPIRouteFare2043OK creates a CityBusAPIRouteFare2043OK with default headers values

func (*CityBusAPIRouteFare2043OK) Error added in v0.15.0

func (o *CityBusAPIRouteFare2043OK) Error() string

func (*CityBusAPIRouteFare2043OK) GetPayload added in v0.15.0

type CityBusAPIRouteFare2043Params added in v0.15.0

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

CityBusAPIRouteFare2043Params contains all the parameters to send to the API endpoint

for the city bus Api route fare 2043 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteFare2043Params added in v0.15.0

func NewCityBusAPIRouteFare2043Params() *CityBusAPIRouteFare2043Params

NewCityBusAPIRouteFare2043Params creates a new CityBusAPIRouteFare2043Params 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 NewCityBusAPIRouteFare2043ParamsWithContext added in v0.15.0

func NewCityBusAPIRouteFare2043ParamsWithContext(ctx context.Context) *CityBusAPIRouteFare2043Params

NewCityBusAPIRouteFare2043ParamsWithContext creates a new CityBusAPIRouteFare2043Params object with the ability to set a context for a request.

func NewCityBusAPIRouteFare2043ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRouteFare2043ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFare2043Params

NewCityBusAPIRouteFare2043ParamsWithHTTPClient creates a new CityBusAPIRouteFare2043Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteFare2043ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRouteFare2043ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFare2043Params

NewCityBusAPIRouteFare2043ParamsWithTimeout creates a new CityBusAPIRouteFare2043Params object with the ability to set a timeout on a request.

func (*CityBusAPIRouteFare2043Params) SetCity added in v0.15.0

func (o *CityBusAPIRouteFare2043Params) SetCity(city string)

SetCity adds the city to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRouteFare2043Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route fare 2043 params (not the query body).

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

func (*CityBusAPIRouteFare2043Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRouteFare2043Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api route fare 2043 params (not the query body).

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

func (*CityBusAPIRouteFare2043Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api route fare 2043 params

func (*CityBusAPIRouteFare2043Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteFare2043Reader added in v0.15.0

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

CityBusAPIRouteFare2043Reader is a Reader for the CityBusAPIRouteFare2043 structure.

func (*CityBusAPIRouteFare2043Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRouteFare2043Status299 added in v0.15.0

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

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

func NewCityBusAPIRouteFare2043Status299 added in v0.15.0

func NewCityBusAPIRouteFare2043Status299() *CityBusAPIRouteFare2043Status299

NewCityBusAPIRouteFare2043Status299 creates a CityBusAPIRouteFare2043Status299 with default headers values

func (*CityBusAPIRouteFare2043Status299) Error added in v0.15.0

func (*CityBusAPIRouteFare2043Status299) GetPayload added in v0.15.0

type CityBusAPIRouteNetwork20551NotModified added in v0.15.0

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

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

func NewCityBusAPIRouteNetwork20551NotModified added in v0.15.0

func NewCityBusAPIRouteNetwork20551NotModified() *CityBusAPIRouteNetwork20551NotModified

NewCityBusAPIRouteNetwork20551NotModified creates a CityBusAPIRouteNetwork20551NotModified with default headers values

func (*CityBusAPIRouteNetwork20551NotModified) Error added in v0.15.0

type CityBusAPIRouteNetwork20551OK added in v0.15.0

type CityBusAPIRouteNetwork20551OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
}
CityBusAPIRouteNetwork20551OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteNetwork20551OK added in v0.15.0

func NewCityBusAPIRouteNetwork20551OK() *CityBusAPIRouteNetwork20551OK

NewCityBusAPIRouteNetwork20551OK creates a CityBusAPIRouteNetwork20551OK with default headers values

func (*CityBusAPIRouteNetwork20551OK) Error added in v0.15.0

func (*CityBusAPIRouteNetwork20551OK) GetPayload added in v0.15.0

type CityBusAPIRouteNetwork20551Params added in v0.15.0

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

CityBusAPIRouteNetwork20551Params contains all the parameters to send to the API endpoint

for the city bus Api route network 2055 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteNetwork20551Params added in v0.15.0

func NewCityBusAPIRouteNetwork20551Params() *CityBusAPIRouteNetwork20551Params

NewCityBusAPIRouteNetwork20551Params creates a new CityBusAPIRouteNetwork20551Params 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 NewCityBusAPIRouteNetwork20551ParamsWithContext added in v0.15.0

func NewCityBusAPIRouteNetwork20551ParamsWithContext(ctx context.Context) *CityBusAPIRouteNetwork20551Params

NewCityBusAPIRouteNetwork20551ParamsWithContext creates a new CityBusAPIRouteNetwork20551Params object with the ability to set a context for a request.

func NewCityBusAPIRouteNetwork20551ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRouteNetwork20551ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork20551Params

NewCityBusAPIRouteNetwork20551ParamsWithHTTPClient creates a new CityBusAPIRouteNetwork20551Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteNetwork20551ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRouteNetwork20551ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork20551Params

NewCityBusAPIRouteNetwork20551ParamsWithTimeout creates a new CityBusAPIRouteNetwork20551Params object with the ability to set a timeout on a request.

func (*CityBusAPIRouteNetwork20551Params) SetCity added in v0.15.0

func (o *CityBusAPIRouteNetwork20551Params) SetCity(city string)

SetCity adds the city to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRouteNetwork20551Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route network 2055 1 params (not the query body).

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

func (*CityBusAPIRouteNetwork20551Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRouteNetwork20551Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetRouteName added in v0.15.0

func (o *CityBusAPIRouteNetwork20551Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api route network 2055 1 params (not the query body).

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

func (*CityBusAPIRouteNetwork20551Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api route network 2055 1 params

func (*CityBusAPIRouteNetwork20551Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteNetwork20551Reader added in v0.15.0

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

CityBusAPIRouteNetwork20551Reader is a Reader for the CityBusAPIRouteNetwork20551 structure.

func (*CityBusAPIRouteNetwork20551Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRouteNetwork20551Status299 added in v0.15.0

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

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

func NewCityBusAPIRouteNetwork20551Status299 added in v0.15.0

func NewCityBusAPIRouteNetwork20551Status299() *CityBusAPIRouteNetwork20551Status299

NewCityBusAPIRouteNetwork20551Status299 creates a CityBusAPIRouteNetwork20551Status299 with default headers values

func (*CityBusAPIRouteNetwork20551Status299) Error added in v0.15.0

func (*CityBusAPIRouteNetwork20551Status299) GetPayload added in v0.15.0

type CityBusAPIRouteNetwork2055NotModified added in v0.15.0

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

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

func NewCityBusAPIRouteNetwork2055NotModified added in v0.15.0

func NewCityBusAPIRouteNetwork2055NotModified() *CityBusAPIRouteNetwork2055NotModified

NewCityBusAPIRouteNetwork2055NotModified creates a CityBusAPIRouteNetwork2055NotModified with default headers values

func (*CityBusAPIRouteNetwork2055NotModified) Error added in v0.15.0

type CityBusAPIRouteNetwork2055OK added in v0.15.0

type CityBusAPIRouteNetwork2055OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
}
CityBusAPIRouteNetwork2055OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteNetwork2055OK added in v0.15.0

func NewCityBusAPIRouteNetwork2055OK() *CityBusAPIRouteNetwork2055OK

NewCityBusAPIRouteNetwork2055OK creates a CityBusAPIRouteNetwork2055OK with default headers values

func (*CityBusAPIRouteNetwork2055OK) Error added in v0.15.0

func (*CityBusAPIRouteNetwork2055OK) GetPayload added in v0.15.0

type CityBusAPIRouteNetwork2055Params added in v0.15.0

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

CityBusAPIRouteNetwork2055Params contains all the parameters to send to the API endpoint

for the city bus Api route network 2055 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteNetwork2055Params added in v0.15.0

func NewCityBusAPIRouteNetwork2055Params() *CityBusAPIRouteNetwork2055Params

NewCityBusAPIRouteNetwork2055Params creates a new CityBusAPIRouteNetwork2055Params 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 NewCityBusAPIRouteNetwork2055ParamsWithContext added in v0.15.0

func NewCityBusAPIRouteNetwork2055ParamsWithContext(ctx context.Context) *CityBusAPIRouteNetwork2055Params

NewCityBusAPIRouteNetwork2055ParamsWithContext creates a new CityBusAPIRouteNetwork2055Params object with the ability to set a context for a request.

func NewCityBusAPIRouteNetwork2055ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIRouteNetwork2055ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork2055Params

NewCityBusAPIRouteNetwork2055ParamsWithHTTPClient creates a new CityBusAPIRouteNetwork2055Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteNetwork2055ParamsWithTimeout added in v0.15.0

func NewCityBusAPIRouteNetwork2055ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork2055Params

NewCityBusAPIRouteNetwork2055ParamsWithTimeout creates a new CityBusAPIRouteNetwork2055Params object with the ability to set a timeout on a request.

func (*CityBusAPIRouteNetwork2055Params) SetCity added in v0.15.0

func (o *CityBusAPIRouteNetwork2055Params) SetCity(city string)

SetCity adds the city to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetDefaults added in v0.15.0

func (o *CityBusAPIRouteNetwork2055Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route network 2055 params (not the query body).

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

func (*CityBusAPIRouteNetwork2055Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIRouteNetwork2055Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api route network 2055 params (not the query body).

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

func (*CityBusAPIRouteNetwork2055Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api route network 2055 params

func (*CityBusAPIRouteNetwork2055Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteNetwork2055Reader added in v0.15.0

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

CityBusAPIRouteNetwork2055Reader is a Reader for the CityBusAPIRouteNetwork2055 structure.

func (*CityBusAPIRouteNetwork2055Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRouteNetwork2055Status299 added in v0.15.0

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

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

func NewCityBusAPIRouteNetwork2055Status299 added in v0.15.0

func NewCityBusAPIRouteNetwork2055Status299() *CityBusAPIRouteNetwork2055Status299

NewCityBusAPIRouteNetwork2055Status299 creates a CityBusAPIRouteNetwork2055Status299 with default headers values

func (*CityBusAPIRouteNetwork2055Status299) Error added in v0.15.0

func (*CityBusAPIRouteNetwork2055Status299) GetPayload added in v0.15.0

type CityBusAPIS2STravelTimeDetail2056NotModified added in v0.15.0

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

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

func NewCityBusAPIS2STravelTimeDetail2056NotModified added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056NotModified() *CityBusAPIS2STravelTimeDetail2056NotModified

NewCityBusAPIS2STravelTimeDetail2056NotModified creates a CityBusAPIS2STravelTimeDetail2056NotModified with default headers values

func (*CityBusAPIS2STravelTimeDetail2056NotModified) Error added in v0.15.0

type CityBusAPIS2STravelTimeDetail2056OK added in v0.15.0

type CityBusAPIS2STravelTimeDetail2056OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusS2STravelTime
}
CityBusAPIS2STravelTimeDetail2056OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIS2STravelTimeDetail2056OK added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056OK() *CityBusAPIS2STravelTimeDetail2056OK

NewCityBusAPIS2STravelTimeDetail2056OK creates a CityBusAPIS2STravelTimeDetail2056OK with default headers values

func (*CityBusAPIS2STravelTimeDetail2056OK) Error added in v0.15.0

func (*CityBusAPIS2STravelTimeDetail2056OK) GetPayload added in v0.15.0

type CityBusAPIS2STravelTimeDetail2056Params added in v0.15.0

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

CityBusAPIS2STravelTimeDetail2056Params contains all the parameters to send to the API endpoint

for the city bus Api s2 s travel time detail 2056 operation.

Typically these are written to a http.Request.

func NewCityBusAPIS2STravelTimeDetail2056Params added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056Params() *CityBusAPIS2STravelTimeDetail2056Params

NewCityBusAPIS2STravelTimeDetail2056Params creates a new CityBusAPIS2STravelTimeDetail2056Params 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 NewCityBusAPIS2STravelTimeDetail2056ParamsWithContext added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056ParamsWithContext(ctx context.Context) *CityBusAPIS2STravelTimeDetail2056Params

NewCityBusAPIS2STravelTimeDetail2056ParamsWithContext creates a new CityBusAPIS2STravelTimeDetail2056Params object with the ability to set a context for a request.

func NewCityBusAPIS2STravelTimeDetail2056ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056ParamsWithHTTPClient(client *http.Client) *CityBusAPIS2STravelTimeDetail2056Params

NewCityBusAPIS2STravelTimeDetail2056ParamsWithHTTPClient creates a new CityBusAPIS2STravelTimeDetail2056Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIS2STravelTimeDetail2056ParamsWithTimeout added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056ParamsWithTimeout(timeout time.Duration) *CityBusAPIS2STravelTimeDetail2056Params

NewCityBusAPIS2STravelTimeDetail2056ParamsWithTimeout creates a new CityBusAPIS2STravelTimeDetail2056Params object with the ability to set a timeout on a request.

func (*CityBusAPIS2STravelTimeDetail2056Params) SetCity added in v0.15.0

SetCity adds the city to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDefaults added in v0.15.0

func (o *CityBusAPIS2STravelTimeDetail2056Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api s2 s travel time detail 2056 params (not the query body).

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

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIS2STravelTimeDetail2056Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetRouteID added in v0.15.0

func (o *CityBusAPIS2STravelTimeDetail2056Params) SetRouteID(routeID string)

SetRouteID adds the routeId to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api s2 s travel time detail 2056 params (not the query body).

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

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDollarFilter added in v0.15.0

WithDollarFilter adds the dollarFilter to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDollarOrderby added in v0.15.0

WithDollarOrderby adds the dollarOrderby to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDollarSelect added in v0.15.0

WithDollarSelect adds the dollarSelect to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithRouteID added in v0.15.0

WithRouteID adds the routeID to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api s2 s travel time detail 2056 params

func (*CityBusAPIS2STravelTimeDetail2056Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIS2STravelTimeDetail2056Reader added in v0.15.0

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

CityBusAPIS2STravelTimeDetail2056Reader is a Reader for the CityBusAPIS2STravelTimeDetail2056 structure.

func (*CityBusAPIS2STravelTimeDetail2056Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIS2STravelTimeDetail2056Status299 added in v0.15.0

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

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

func NewCityBusAPIS2STravelTimeDetail2056Status299 added in v0.15.0

func NewCityBusAPIS2STravelTimeDetail2056Status299() *CityBusAPIS2STravelTimeDetail2056Status299

NewCityBusAPIS2STravelTimeDetail2056Status299 creates a CityBusAPIS2STravelTimeDetail2056Status299 with default headers values

func (*CityBusAPIS2STravelTimeDetail2056Status299) Error added in v0.15.0

func (*CityBusAPIS2STravelTimeDetail2056Status299) GetPayload added in v0.15.0

type CityBusAPISchedule20401NotModified added in v0.15.0

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

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

func NewCityBusAPISchedule20401NotModified added in v0.15.0

func NewCityBusAPISchedule20401NotModified() *CityBusAPISchedule20401NotModified

NewCityBusAPISchedule20401NotModified creates a CityBusAPISchedule20401NotModified with default headers values

func (*CityBusAPISchedule20401NotModified) Error added in v0.15.0

type CityBusAPISchedule20401OK added in v0.15.0

type CityBusAPISchedule20401OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusSchedule
}
CityBusAPISchedule20401OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPISchedule20401OK added in v0.15.0

func NewCityBusAPISchedule20401OK() *CityBusAPISchedule20401OK

NewCityBusAPISchedule20401OK creates a CityBusAPISchedule20401OK with default headers values

func (*CityBusAPISchedule20401OK) Error added in v0.15.0

func (o *CityBusAPISchedule20401OK) Error() string

func (*CityBusAPISchedule20401OK) GetPayload added in v0.15.0

type CityBusAPISchedule20401Params added in v0.15.0

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

CityBusAPISchedule20401Params contains all the parameters to send to the API endpoint

for the city bus Api schedule 2040 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPISchedule20401Params added in v0.15.0

func NewCityBusAPISchedule20401Params() *CityBusAPISchedule20401Params

NewCityBusAPISchedule20401Params creates a new CityBusAPISchedule20401Params 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 NewCityBusAPISchedule20401ParamsWithContext added in v0.15.0

func NewCityBusAPISchedule20401ParamsWithContext(ctx context.Context) *CityBusAPISchedule20401Params

NewCityBusAPISchedule20401ParamsWithContext creates a new CityBusAPISchedule20401Params object with the ability to set a context for a request.

func NewCityBusAPISchedule20401ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPISchedule20401ParamsWithHTTPClient(client *http.Client) *CityBusAPISchedule20401Params

NewCityBusAPISchedule20401ParamsWithHTTPClient creates a new CityBusAPISchedule20401Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPISchedule20401ParamsWithTimeout added in v0.15.0

func NewCityBusAPISchedule20401ParamsWithTimeout(timeout time.Duration) *CityBusAPISchedule20401Params

NewCityBusAPISchedule20401ParamsWithTimeout creates a new CityBusAPISchedule20401Params object with the ability to set a timeout on a request.

func (*CityBusAPISchedule20401Params) SetCity added in v0.15.0

func (o *CityBusAPISchedule20401Params) SetCity(city string)

SetCity adds the city to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetDefaults added in v0.15.0

func (o *CityBusAPISchedule20401Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api schedule 2040 1 params (not the query body).

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

func (*CityBusAPISchedule20401Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPISchedule20401Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetRouteName added in v0.15.0

func (o *CityBusAPISchedule20401Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api schedule 2040 1 params (not the query body).

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

func (*CityBusAPISchedule20401Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api schedule 2040 1 params

func (*CityBusAPISchedule20401Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPISchedule20401Reader added in v0.15.0

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

CityBusAPISchedule20401Reader is a Reader for the CityBusAPISchedule20401 structure.

func (*CityBusAPISchedule20401Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPISchedule20401Status299 added in v0.15.0

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

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

func NewCityBusAPISchedule20401Status299 added in v0.15.0

func NewCityBusAPISchedule20401Status299() *CityBusAPISchedule20401Status299

NewCityBusAPISchedule20401Status299 creates a CityBusAPISchedule20401Status299 with default headers values

func (*CityBusAPISchedule20401Status299) Error added in v0.15.0

func (*CityBusAPISchedule20401Status299) GetPayload added in v0.15.0

type CityBusAPISchedule2040NotModified added in v0.15.0

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

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

func NewCityBusAPISchedule2040NotModified added in v0.15.0

func NewCityBusAPISchedule2040NotModified() *CityBusAPISchedule2040NotModified

NewCityBusAPISchedule2040NotModified creates a CityBusAPISchedule2040NotModified with default headers values

func (*CityBusAPISchedule2040NotModified) Error added in v0.15.0

type CityBusAPISchedule2040OK added in v0.15.0

type CityBusAPISchedule2040OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusSchedule
}
CityBusAPISchedule2040OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPISchedule2040OK added in v0.15.0

func NewCityBusAPISchedule2040OK() *CityBusAPISchedule2040OK

NewCityBusAPISchedule2040OK creates a CityBusAPISchedule2040OK with default headers values

func (*CityBusAPISchedule2040OK) Error added in v0.15.0

func (o *CityBusAPISchedule2040OK) Error() string

func (*CityBusAPISchedule2040OK) GetPayload added in v0.15.0

type CityBusAPISchedule2040Params added in v0.15.0

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

CityBusAPISchedule2040Params contains all the parameters to send to the API endpoint

for the city bus Api schedule 2040 operation.

Typically these are written to a http.Request.

func NewCityBusAPISchedule2040Params added in v0.15.0

func NewCityBusAPISchedule2040Params() *CityBusAPISchedule2040Params

NewCityBusAPISchedule2040Params creates a new CityBusAPISchedule2040Params 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 NewCityBusAPISchedule2040ParamsWithContext added in v0.15.0

func NewCityBusAPISchedule2040ParamsWithContext(ctx context.Context) *CityBusAPISchedule2040Params

NewCityBusAPISchedule2040ParamsWithContext creates a new CityBusAPISchedule2040Params object with the ability to set a context for a request.

func NewCityBusAPISchedule2040ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPISchedule2040ParamsWithHTTPClient(client *http.Client) *CityBusAPISchedule2040Params

NewCityBusAPISchedule2040ParamsWithHTTPClient creates a new CityBusAPISchedule2040Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPISchedule2040ParamsWithTimeout added in v0.15.0

func NewCityBusAPISchedule2040ParamsWithTimeout(timeout time.Duration) *CityBusAPISchedule2040Params

NewCityBusAPISchedule2040ParamsWithTimeout creates a new CityBusAPISchedule2040Params object with the ability to set a timeout on a request.

func (*CityBusAPISchedule2040Params) SetCity added in v0.15.0

func (o *CityBusAPISchedule2040Params) SetCity(city string)

SetCity adds the city to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetDefaults added in v0.15.0

func (o *CityBusAPISchedule2040Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api schedule 2040 params (not the query body).

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

func (*CityBusAPISchedule2040Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPISchedule2040Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api schedule 2040 params (not the query body).

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

func (*CityBusAPISchedule2040Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api schedule 2040 params

func (*CityBusAPISchedule2040Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPISchedule2040Reader added in v0.15.0

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

CityBusAPISchedule2040Reader is a Reader for the CityBusAPISchedule2040 structure.

func (*CityBusAPISchedule2040Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPISchedule2040Status299 added in v0.15.0

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

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

func NewCityBusAPISchedule2040Status299 added in v0.15.0

func NewCityBusAPISchedule2040Status299() *CityBusAPISchedule2040Status299

NewCityBusAPISchedule2040Status299 creates a CityBusAPISchedule2040Status299 with default headers values

func (*CityBusAPISchedule2040Status299) Error added in v0.15.0

func (*CityBusAPISchedule2040Status299) GetPayload added in v0.15.0

type CityBusAPIShape20421NotModified added in v0.15.0

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

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

func NewCityBusAPIShape20421NotModified added in v0.15.0

func NewCityBusAPIShape20421NotModified() *CityBusAPIShape20421NotModified

NewCityBusAPIShape20421NotModified creates a CityBusAPIShape20421NotModified with default headers values

func (*CityBusAPIShape20421NotModified) Error added in v0.15.0

type CityBusAPIShape20421OK added in v0.15.0

type CityBusAPIShape20421OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusShape
}
CityBusAPIShape20421OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIShape20421OK added in v0.15.0

func NewCityBusAPIShape20421OK() *CityBusAPIShape20421OK

NewCityBusAPIShape20421OK creates a CityBusAPIShape20421OK with default headers values

func (*CityBusAPIShape20421OK) Error added in v0.15.0

func (o *CityBusAPIShape20421OK) Error() string

func (*CityBusAPIShape20421OK) GetPayload added in v0.15.0

type CityBusAPIShape20421Params added in v0.15.0

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

CityBusAPIShape20421Params contains all the parameters to send to the API endpoint

for the city bus Api shape 2042 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIShape20421Params added in v0.15.0

func NewCityBusAPIShape20421Params() *CityBusAPIShape20421Params

NewCityBusAPIShape20421Params creates a new CityBusAPIShape20421Params 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 NewCityBusAPIShape20421ParamsWithContext added in v0.15.0

func NewCityBusAPIShape20421ParamsWithContext(ctx context.Context) *CityBusAPIShape20421Params

NewCityBusAPIShape20421ParamsWithContext creates a new CityBusAPIShape20421Params object with the ability to set a context for a request.

func NewCityBusAPIShape20421ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIShape20421ParamsWithHTTPClient(client *http.Client) *CityBusAPIShape20421Params

NewCityBusAPIShape20421ParamsWithHTTPClient creates a new CityBusAPIShape20421Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIShape20421ParamsWithTimeout added in v0.15.0

func NewCityBusAPIShape20421ParamsWithTimeout(timeout time.Duration) *CityBusAPIShape20421Params

NewCityBusAPIShape20421ParamsWithTimeout creates a new CityBusAPIShape20421Params object with the ability to set a timeout on a request.

func (*CityBusAPIShape20421Params) SetCity added in v0.15.0

func (o *CityBusAPIShape20421Params) SetCity(city string)

SetCity adds the city to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetDefaults added in v0.15.0

func (o *CityBusAPIShape20421Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api shape 2042 1 params (not the query body).

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

func (*CityBusAPIShape20421Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIShape20421Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetRouteName added in v0.15.0

func (o *CityBusAPIShape20421Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api shape 2042 1 params (not the query body).

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

func (*CityBusAPIShape20421Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithRouteName added in v0.15.0

func (o *CityBusAPIShape20421Params) WithRouteName(routeName string) *CityBusAPIShape20421Params

WithRouteName adds the routeName to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api shape 2042 1 params

func (*CityBusAPIShape20421Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIShape20421Reader added in v0.15.0

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

CityBusAPIShape20421Reader is a Reader for the CityBusAPIShape20421 structure.

func (*CityBusAPIShape20421Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIShape20421Status299 added in v0.15.0

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

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

func NewCityBusAPIShape20421Status299 added in v0.15.0

func NewCityBusAPIShape20421Status299() *CityBusAPIShape20421Status299

NewCityBusAPIShape20421Status299 creates a CityBusAPIShape20421Status299 with default headers values

func (*CityBusAPIShape20421Status299) Error added in v0.15.0

func (*CityBusAPIShape20421Status299) GetPayload added in v0.15.0

type CityBusAPIShape2042NotModified added in v0.15.0

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

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

func NewCityBusAPIShape2042NotModified added in v0.15.0

func NewCityBusAPIShape2042NotModified() *CityBusAPIShape2042NotModified

NewCityBusAPIShape2042NotModified creates a CityBusAPIShape2042NotModified with default headers values

func (*CityBusAPIShape2042NotModified) Error added in v0.15.0

type CityBusAPIShape2042OK added in v0.15.0

type CityBusAPIShape2042OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusShape
}
CityBusAPIShape2042OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIShape2042OK added in v0.15.0

func NewCityBusAPIShape2042OK() *CityBusAPIShape2042OK

NewCityBusAPIShape2042OK creates a CityBusAPIShape2042OK with default headers values

func (*CityBusAPIShape2042OK) Error added in v0.15.0

func (o *CityBusAPIShape2042OK) Error() string

func (*CityBusAPIShape2042OK) GetPayload added in v0.15.0

type CityBusAPIShape2042Params added in v0.15.0

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

CityBusAPIShape2042Params contains all the parameters to send to the API endpoint

for the city bus Api shape 2042 operation.

Typically these are written to a http.Request.

func NewCityBusAPIShape2042Params added in v0.15.0

func NewCityBusAPIShape2042Params() *CityBusAPIShape2042Params

NewCityBusAPIShape2042Params creates a new CityBusAPIShape2042Params 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 NewCityBusAPIShape2042ParamsWithContext added in v0.15.0

func NewCityBusAPIShape2042ParamsWithContext(ctx context.Context) *CityBusAPIShape2042Params

NewCityBusAPIShape2042ParamsWithContext creates a new CityBusAPIShape2042Params object with the ability to set a context for a request.

func NewCityBusAPIShape2042ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIShape2042ParamsWithHTTPClient(client *http.Client) *CityBusAPIShape2042Params

NewCityBusAPIShape2042ParamsWithHTTPClient creates a new CityBusAPIShape2042Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIShape2042ParamsWithTimeout added in v0.15.0

func NewCityBusAPIShape2042ParamsWithTimeout(timeout time.Duration) *CityBusAPIShape2042Params

NewCityBusAPIShape2042ParamsWithTimeout creates a new CityBusAPIShape2042Params object with the ability to set a timeout on a request.

func (*CityBusAPIShape2042Params) SetCity added in v0.15.0

func (o *CityBusAPIShape2042Params) SetCity(city string)

SetCity adds the city to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetDefaults added in v0.15.0

func (o *CityBusAPIShape2042Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api shape 2042 params (not the query body).

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

func (*CityBusAPIShape2042Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIShape2042Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api shape 2042 params (not the query body).

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

func (*CityBusAPIShape2042Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api shape 2042 params

func (*CityBusAPIShape2042Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIShape2042Reader added in v0.15.0

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

CityBusAPIShape2042Reader is a Reader for the CityBusAPIShape2042 structure.

func (*CityBusAPIShape2042Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIShape2042Status299 added in v0.15.0

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

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

func NewCityBusAPIShape2042Status299 added in v0.15.0

func NewCityBusAPIShape2042Status299() *CityBusAPIShape2042Status299

NewCityBusAPIShape2042Status299 creates a CityBusAPIShape2042Status299 with default headers values

func (*CityBusAPIShape2042Status299) Error added in v0.15.0

func (*CityBusAPIShape2042Status299) GetPayload added in v0.15.0

type CityBusAPIStation2037NotModified added in v0.15.0

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

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

func NewCityBusAPIStation2037NotModified added in v0.15.0

func NewCityBusAPIStation2037NotModified() *CityBusAPIStation2037NotModified

NewCityBusAPIStation2037NotModified creates a CityBusAPIStation2037NotModified with default headers values

func (*CityBusAPIStation2037NotModified) Error added in v0.15.0

type CityBusAPIStation2037OK added in v0.15.0

type CityBusAPIStation2037OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStation
}
CityBusAPIStation2037OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStation2037OK added in v0.15.0

func NewCityBusAPIStation2037OK() *CityBusAPIStation2037OK

NewCityBusAPIStation2037OK creates a CityBusAPIStation2037OK with default headers values

func (*CityBusAPIStation2037OK) Error added in v0.15.0

func (o *CityBusAPIStation2037OK) Error() string

func (*CityBusAPIStation2037OK) GetPayload added in v0.15.0

type CityBusAPIStation2037Params added in v0.15.0

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

CityBusAPIStation2037Params contains all the parameters to send to the API endpoint

for the city bus Api station 2037 operation.

Typically these are written to a http.Request.

func NewCityBusAPIStation2037Params added in v0.15.0

func NewCityBusAPIStation2037Params() *CityBusAPIStation2037Params

NewCityBusAPIStation2037Params creates a new CityBusAPIStation2037Params 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 NewCityBusAPIStation2037ParamsWithContext added in v0.15.0

func NewCityBusAPIStation2037ParamsWithContext(ctx context.Context) *CityBusAPIStation2037Params

NewCityBusAPIStation2037ParamsWithContext creates a new CityBusAPIStation2037Params object with the ability to set a context for a request.

func NewCityBusAPIStation2037ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIStation2037ParamsWithHTTPClient(client *http.Client) *CityBusAPIStation2037Params

NewCityBusAPIStation2037ParamsWithHTTPClient creates a new CityBusAPIStation2037Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStation2037ParamsWithTimeout added in v0.15.0

func NewCityBusAPIStation2037ParamsWithTimeout(timeout time.Duration) *CityBusAPIStation2037Params

NewCityBusAPIStation2037ParamsWithTimeout creates a new CityBusAPIStation2037Params object with the ability to set a timeout on a request.

func (*CityBusAPIStation2037Params) SetCity added in v0.15.0

func (o *CityBusAPIStation2037Params) SetCity(city string)

SetCity adds the city to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDefaults added in v0.15.0

func (o *CityBusAPIStation2037Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api station 2037 params (not the query body).

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

func (*CityBusAPIStation2037Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIStation2037Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api station 2037 params (not the query body).

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

func (*CityBusAPIStation2037Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDollarSpatialFilter added in v0.15.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api station 2037 params

func (*CityBusAPIStation2037Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIStation2037Reader added in v0.15.0

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

CityBusAPIStation2037Reader is a Reader for the CityBusAPIStation2037 structure.

func (*CityBusAPIStation2037Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIStation2037Status299 added in v0.15.0

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

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

func NewCityBusAPIStation2037Status299 added in v0.15.0

func NewCityBusAPIStation2037Status299() *CityBusAPIStation2037Status299

NewCityBusAPIStation2037Status299 creates a CityBusAPIStation2037Status299 with default headers values

func (*CityBusAPIStation2037Status299) Error added in v0.15.0

func (*CityBusAPIStation2037Status299) GetPayload added in v0.15.0

type CityBusAPIStationGroup2050NotModified added in v0.15.0

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

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

func NewCityBusAPIStationGroup2050NotModified added in v0.15.0

func NewCityBusAPIStationGroup2050NotModified() *CityBusAPIStationGroup2050NotModified

NewCityBusAPIStationGroup2050NotModified creates a CityBusAPIStationGroup2050NotModified with default headers values

func (*CityBusAPIStationGroup2050NotModified) Error added in v0.15.0

type CityBusAPIStationGroup2050OK added in v0.15.0

type CityBusAPIStationGroup2050OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStationGroup
}
CityBusAPIStationGroup2050OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStationGroup2050OK added in v0.15.0

func NewCityBusAPIStationGroup2050OK() *CityBusAPIStationGroup2050OK

NewCityBusAPIStationGroup2050OK creates a CityBusAPIStationGroup2050OK with default headers values

func (*CityBusAPIStationGroup2050OK) Error added in v0.15.0

func (*CityBusAPIStationGroup2050OK) GetPayload added in v0.15.0

type CityBusAPIStationGroup2050Params added in v0.15.0

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

CityBusAPIStationGroup2050Params contains all the parameters to send to the API endpoint

for the city bus Api station group 2050 operation.

Typically these are written to a http.Request.

func NewCityBusAPIStationGroup2050Params added in v0.15.0

func NewCityBusAPIStationGroup2050Params() *CityBusAPIStationGroup2050Params

NewCityBusAPIStationGroup2050Params creates a new CityBusAPIStationGroup2050Params 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 NewCityBusAPIStationGroup2050ParamsWithContext added in v0.15.0

func NewCityBusAPIStationGroup2050ParamsWithContext(ctx context.Context) *CityBusAPIStationGroup2050Params

NewCityBusAPIStationGroup2050ParamsWithContext creates a new CityBusAPIStationGroup2050Params object with the ability to set a context for a request.

func NewCityBusAPIStationGroup2050ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIStationGroup2050ParamsWithHTTPClient(client *http.Client) *CityBusAPIStationGroup2050Params

NewCityBusAPIStationGroup2050ParamsWithHTTPClient creates a new CityBusAPIStationGroup2050Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStationGroup2050ParamsWithTimeout added in v0.15.0

func NewCityBusAPIStationGroup2050ParamsWithTimeout(timeout time.Duration) *CityBusAPIStationGroup2050Params

NewCityBusAPIStationGroup2050ParamsWithTimeout creates a new CityBusAPIStationGroup2050Params object with the ability to set a timeout on a request.

func (*CityBusAPIStationGroup2050Params) SetCity added in v0.15.0

func (o *CityBusAPIStationGroup2050Params) SetCity(city string)

SetCity adds the city to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDefaults added in v0.15.0

func (o *CityBusAPIStationGroup2050Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api station group 2050 params (not the query body).

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

func (*CityBusAPIStationGroup2050Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIStationGroup2050Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api station group 2050 params (not the query body).

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

func (*CityBusAPIStationGroup2050Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDollarSpatialFilter added in v0.15.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api station group 2050 params

func (*CityBusAPIStationGroup2050Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIStationGroup2050Reader added in v0.15.0

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

CityBusAPIStationGroup2050Reader is a Reader for the CityBusAPIStationGroup2050 structure.

func (*CityBusAPIStationGroup2050Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIStationGroup2050Status299 added in v0.15.0

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

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

func NewCityBusAPIStationGroup2050Status299 added in v0.15.0

func NewCityBusAPIStationGroup2050Status299() *CityBusAPIStationGroup2050Status299

NewCityBusAPIStationGroup2050Status299 creates a CityBusAPIStationGroup2050Status299 with default headers values

func (*CityBusAPIStationGroup2050Status299) Error added in v0.15.0

func (*CityBusAPIStationGroup2050Status299) GetPayload added in v0.15.0

type CityBusAPIStop2036NotModified added in v0.15.0

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

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

func NewCityBusAPIStop2036NotModified added in v0.15.0

func NewCityBusAPIStop2036NotModified() *CityBusAPIStop2036NotModified

NewCityBusAPIStop2036NotModified creates a CityBusAPIStop2036NotModified with default headers values

func (*CityBusAPIStop2036NotModified) Error added in v0.15.0

type CityBusAPIStop2036OK added in v0.15.0

type CityBusAPIStop2036OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStop
}
CityBusAPIStop2036OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStop2036OK added in v0.15.0

func NewCityBusAPIStop2036OK() *CityBusAPIStop2036OK

NewCityBusAPIStop2036OK creates a CityBusAPIStop2036OK with default headers values

func (*CityBusAPIStop2036OK) Error added in v0.15.0

func (o *CityBusAPIStop2036OK) Error() string

func (*CityBusAPIStop2036OK) GetPayload added in v0.15.0

type CityBusAPIStop2036Params added in v0.15.0

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

CityBusAPIStop2036Params contains all the parameters to send to the API endpoint

for the city bus Api stop 2036 operation.

Typically these are written to a http.Request.

func NewCityBusAPIStop2036Params added in v0.15.0

func NewCityBusAPIStop2036Params() *CityBusAPIStop2036Params

NewCityBusAPIStop2036Params creates a new CityBusAPIStop2036Params 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 NewCityBusAPIStop2036ParamsWithContext added in v0.15.0

func NewCityBusAPIStop2036ParamsWithContext(ctx context.Context) *CityBusAPIStop2036Params

NewCityBusAPIStop2036ParamsWithContext creates a new CityBusAPIStop2036Params object with the ability to set a context for a request.

func NewCityBusAPIStop2036ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIStop2036ParamsWithHTTPClient(client *http.Client) *CityBusAPIStop2036Params

NewCityBusAPIStop2036ParamsWithHTTPClient creates a new CityBusAPIStop2036Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStop2036ParamsWithTimeout added in v0.15.0

func NewCityBusAPIStop2036ParamsWithTimeout(timeout time.Duration) *CityBusAPIStop2036Params

NewCityBusAPIStop2036ParamsWithTimeout creates a new CityBusAPIStop2036Params object with the ability to set a timeout on a request.

func (*CityBusAPIStop2036Params) SetCity added in v0.15.0

func (o *CityBusAPIStop2036Params) SetCity(city string)

SetCity adds the city to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDefaults added in v0.15.0

func (o *CityBusAPIStop2036Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api stop 2036 params (not the query body).

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

func (*CityBusAPIStop2036Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIStop2036Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDollarSpatialFilter added in v0.15.0

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api stop 2036 params (not the query body).

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

func (*CityBusAPIStop2036Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDollarSpatialFilter added in v0.15.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api stop 2036 params

func (*CityBusAPIStop2036Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIStop2036Reader added in v0.15.0

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

CityBusAPIStop2036Reader is a Reader for the CityBusAPIStop2036 structure.

func (*CityBusAPIStop2036Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIStop2036Status299 added in v0.15.0

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

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

func NewCityBusAPIStop2036Status299 added in v0.15.0

func NewCityBusAPIStop2036Status299() *CityBusAPIStop2036Status299

NewCityBusAPIStop2036Status299 creates a CityBusAPIStop2036Status299 with default headers values

func (*CityBusAPIStop2036Status299) Error added in v0.15.0

func (*CityBusAPIStop2036Status299) GetPayload added in v0.15.0

type CityBusAPIStopOfRoute20391NotModified added in v0.15.0

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

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

func NewCityBusAPIStopOfRoute20391NotModified added in v0.15.0

func NewCityBusAPIStopOfRoute20391NotModified() *CityBusAPIStopOfRoute20391NotModified

NewCityBusAPIStopOfRoute20391NotModified creates a CityBusAPIStopOfRoute20391NotModified with default headers values

func (*CityBusAPIStopOfRoute20391NotModified) Error added in v0.15.0

type CityBusAPIStopOfRoute20391OK added in v0.15.0

type CityBusAPIStopOfRoute20391OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
}
CityBusAPIStopOfRoute20391OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStopOfRoute20391OK added in v0.15.0

func NewCityBusAPIStopOfRoute20391OK() *CityBusAPIStopOfRoute20391OK

NewCityBusAPIStopOfRoute20391OK creates a CityBusAPIStopOfRoute20391OK with default headers values

func (*CityBusAPIStopOfRoute20391OK) Error added in v0.15.0

func (*CityBusAPIStopOfRoute20391OK) GetPayload added in v0.15.0

type CityBusAPIStopOfRoute20391Params added in v0.15.0

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

CityBusAPIStopOfRoute20391Params contains all the parameters to send to the API endpoint

for the city bus Api stop of route 2039 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIStopOfRoute20391Params added in v0.15.0

func NewCityBusAPIStopOfRoute20391Params() *CityBusAPIStopOfRoute20391Params

NewCityBusAPIStopOfRoute20391Params creates a new CityBusAPIStopOfRoute20391Params 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 NewCityBusAPIStopOfRoute20391ParamsWithContext added in v0.15.0

func NewCityBusAPIStopOfRoute20391ParamsWithContext(ctx context.Context) *CityBusAPIStopOfRoute20391Params

NewCityBusAPIStopOfRoute20391ParamsWithContext creates a new CityBusAPIStopOfRoute20391Params object with the ability to set a context for a request.

func NewCityBusAPIStopOfRoute20391ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIStopOfRoute20391ParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute20391Params

NewCityBusAPIStopOfRoute20391ParamsWithHTTPClient creates a new CityBusAPIStopOfRoute20391Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStopOfRoute20391ParamsWithTimeout added in v0.15.0

func NewCityBusAPIStopOfRoute20391ParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute20391Params

NewCityBusAPIStopOfRoute20391ParamsWithTimeout creates a new CityBusAPIStopOfRoute20391Params object with the ability to set a timeout on a request.

func (*CityBusAPIStopOfRoute20391Params) SetCity added in v0.15.0

func (o *CityBusAPIStopOfRoute20391Params) SetCity(city string)

SetCity adds the city to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetContext added in v0.15.0

SetContext adds the context to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetDefaults added in v0.15.0

func (o *CityBusAPIStopOfRoute20391Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api stop of route 2039 1 params (not the query body).

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

func (*CityBusAPIStopOfRoute20391Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIStopOfRoute20391Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetRouteName added in v0.15.0

func (o *CityBusAPIStopOfRoute20391Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api stop of route 2039 1 params (not the query body).

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

func (*CityBusAPIStopOfRoute20391Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithDollarFormat added in v0.15.0

WithDollarFormat adds the dollarFormat to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithRouteName added in v0.15.0

WithRouteName adds the routeName to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api stop of route 2039 1 params

func (*CityBusAPIStopOfRoute20391Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIStopOfRoute20391Reader added in v0.15.0

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

CityBusAPIStopOfRoute20391Reader is a Reader for the CityBusAPIStopOfRoute20391 structure.

func (*CityBusAPIStopOfRoute20391Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIStopOfRoute20391Status299 added in v0.15.0

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

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

func NewCityBusAPIStopOfRoute20391Status299 added in v0.15.0

func NewCityBusAPIStopOfRoute20391Status299() *CityBusAPIStopOfRoute20391Status299

NewCityBusAPIStopOfRoute20391Status299 creates a CityBusAPIStopOfRoute20391Status299 with default headers values

func (*CityBusAPIStopOfRoute20391Status299) Error added in v0.15.0

func (*CityBusAPIStopOfRoute20391Status299) GetPayload added in v0.15.0

type CityBusAPIStopOfRoute2039NotModified added in v0.15.0

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

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

func NewCityBusAPIStopOfRoute2039NotModified added in v0.15.0

func NewCityBusAPIStopOfRoute2039NotModified() *CityBusAPIStopOfRoute2039NotModified

NewCityBusAPIStopOfRoute2039NotModified creates a CityBusAPIStopOfRoute2039NotModified with default headers values

func (*CityBusAPIStopOfRoute2039NotModified) Error added in v0.15.0

type CityBusAPIStopOfRoute2039OK added in v0.15.0

type CityBusAPIStopOfRoute2039OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
}
CityBusAPIStopOfRoute2039OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStopOfRoute2039OK added in v0.15.0

func NewCityBusAPIStopOfRoute2039OK() *CityBusAPIStopOfRoute2039OK

NewCityBusAPIStopOfRoute2039OK creates a CityBusAPIStopOfRoute2039OK with default headers values

func (*CityBusAPIStopOfRoute2039OK) Error added in v0.15.0

func (*CityBusAPIStopOfRoute2039OK) GetPayload added in v0.15.0

type CityBusAPIStopOfRoute2039Params added in v0.15.0

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

CityBusAPIStopOfRoute2039Params contains all the parameters to send to the API endpoint

for the city bus Api stop of route 2039 operation.

Typically these are written to a http.Request.

func NewCityBusAPIStopOfRoute2039Params added in v0.15.0

func NewCityBusAPIStopOfRoute2039Params() *CityBusAPIStopOfRoute2039Params

NewCityBusAPIStopOfRoute2039Params creates a new CityBusAPIStopOfRoute2039Params 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 NewCityBusAPIStopOfRoute2039ParamsWithContext added in v0.15.0

func NewCityBusAPIStopOfRoute2039ParamsWithContext(ctx context.Context) *CityBusAPIStopOfRoute2039Params

NewCityBusAPIStopOfRoute2039ParamsWithContext creates a new CityBusAPIStopOfRoute2039Params object with the ability to set a context for a request.

func NewCityBusAPIStopOfRoute2039ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIStopOfRoute2039ParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute2039Params

NewCityBusAPIStopOfRoute2039ParamsWithHTTPClient creates a new CityBusAPIStopOfRoute2039Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStopOfRoute2039ParamsWithTimeout added in v0.15.0

func NewCityBusAPIStopOfRoute2039ParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute2039Params

NewCityBusAPIStopOfRoute2039ParamsWithTimeout creates a new CityBusAPIStopOfRoute2039Params object with the ability to set a timeout on a request.

func (*CityBusAPIStopOfRoute2039Params) SetCity added in v0.15.0

func (o *CityBusAPIStopOfRoute2039Params) SetCity(city string)

SetCity adds the city to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetDefaults added in v0.15.0

func (o *CityBusAPIStopOfRoute2039Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api stop of route 2039 params (not the query body).

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

func (*CityBusAPIStopOfRoute2039Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIStopOfRoute2039Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api stop of route 2039 params (not the query body).

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

func (*CityBusAPIStopOfRoute2039Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithDollarSkip added in v0.15.0

WithDollarSkip adds the dollarSkip to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithDollarTop added in v0.15.0

WithDollarTop adds the dollarTop to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api stop of route 2039 params

func (*CityBusAPIStopOfRoute2039Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIStopOfRoute2039Reader added in v0.15.0

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

CityBusAPIStopOfRoute2039Reader is a Reader for the CityBusAPIStopOfRoute2039 structure.

func (*CityBusAPIStopOfRoute2039Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIStopOfRoute2039Status299 added in v0.15.0

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

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

func NewCityBusAPIStopOfRoute2039Status299 added in v0.15.0

func NewCityBusAPIStopOfRoute2039Status299() *CityBusAPIStopOfRoute2039Status299

NewCityBusAPIStopOfRoute2039Status299 creates a CityBusAPIStopOfRoute2039Status299 with default headers values

func (*CityBusAPIStopOfRoute2039Status299) Error added in v0.15.0

func (*CityBusAPIStopOfRoute2039Status299) GetPayload added in v0.15.0

type CityBusAPIVehicle2041NotModified added in v0.15.0

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

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

func NewCityBusAPIVehicle2041NotModified added in v0.15.0

func NewCityBusAPIVehicle2041NotModified() *CityBusAPIVehicle2041NotModified

NewCityBusAPIVehicle2041NotModified creates a CityBusAPIVehicle2041NotModified with default headers values

func (*CityBusAPIVehicle2041NotModified) Error added in v0.15.0

type CityBusAPIVehicle2041OK added in v0.15.0

type CityBusAPIVehicle2041OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusVehicleInfo
}
CityBusAPIVehicle2041OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIVehicle2041OK added in v0.15.0

func NewCityBusAPIVehicle2041OK() *CityBusAPIVehicle2041OK

NewCityBusAPIVehicle2041OK creates a CityBusAPIVehicle2041OK with default headers values

func (*CityBusAPIVehicle2041OK) Error added in v0.15.0

func (o *CityBusAPIVehicle2041OK) Error() string

func (*CityBusAPIVehicle2041OK) GetPayload added in v0.15.0

type CityBusAPIVehicle2041Params added in v0.15.0

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

CityBusAPIVehicle2041Params contains all the parameters to send to the API endpoint

for the city bus Api vehicle 2041 operation.

Typically these are written to a http.Request.

func NewCityBusAPIVehicle2041Params added in v0.15.0

func NewCityBusAPIVehicle2041Params() *CityBusAPIVehicle2041Params

NewCityBusAPIVehicle2041Params creates a new CityBusAPIVehicle2041Params 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 NewCityBusAPIVehicle2041ParamsWithContext added in v0.15.0

func NewCityBusAPIVehicle2041ParamsWithContext(ctx context.Context) *CityBusAPIVehicle2041Params

NewCityBusAPIVehicle2041ParamsWithContext creates a new CityBusAPIVehicle2041Params object with the ability to set a context for a request.

func NewCityBusAPIVehicle2041ParamsWithHTTPClient added in v0.15.0

func NewCityBusAPIVehicle2041ParamsWithHTTPClient(client *http.Client) *CityBusAPIVehicle2041Params

NewCityBusAPIVehicle2041ParamsWithHTTPClient creates a new CityBusAPIVehicle2041Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIVehicle2041ParamsWithTimeout added in v0.15.0

func NewCityBusAPIVehicle2041ParamsWithTimeout(timeout time.Duration) *CityBusAPIVehicle2041Params

NewCityBusAPIVehicle2041ParamsWithTimeout creates a new CityBusAPIVehicle2041Params object with the ability to set a timeout on a request.

func (*CityBusAPIVehicle2041Params) SetCity added in v0.15.0

func (o *CityBusAPIVehicle2041Params) SetCity(city string)

SetCity adds the city to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetContext added in v0.15.0

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

SetContext adds the context to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetDefaults added in v0.15.0

func (o *CityBusAPIVehicle2041Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api vehicle 2041 params (not the query body).

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

func (*CityBusAPIVehicle2041Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetDollarFormat added in v0.15.0

func (o *CityBusAPIVehicle2041Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetHealth added in v0.15.0

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

SetHealth adds the health to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithCity added in v0.15.0

WithCity adds the city to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithContext added in v0.15.0

WithContext adds the context to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the city bus Api vehicle 2041 params (not the query body).

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

func (*CityBusAPIVehicle2041Params) WithDollarFilter added in v0.15.0

func (o *CityBusAPIVehicle2041Params) WithDollarFilter(dollarFilter *string) *CityBusAPIVehicle2041Params

WithDollarFilter adds the dollarFilter to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithDollarFormat added in v0.15.0

func (o *CityBusAPIVehicle2041Params) WithDollarFormat(dollarFormat string) *CityBusAPIVehicle2041Params

WithDollarFormat adds the dollarFormat to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithDollarOrderby added in v0.15.0

func (o *CityBusAPIVehicle2041Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIVehicle2041Params

WithDollarOrderby adds the dollarOrderby to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithDollarSelect added in v0.15.0

func (o *CityBusAPIVehicle2041Params) WithDollarSelect(dollarSelect *string) *CityBusAPIVehicle2041Params

WithDollarSelect adds the dollarSelect to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithDollarSkip added in v0.15.0

func (o *CityBusAPIVehicle2041Params) WithDollarSkip(dollarSkip *string) *CityBusAPIVehicle2041Params

WithDollarSkip adds the dollarSkip to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithDollarTop added in v0.15.0

func (o *CityBusAPIVehicle2041Params) WithDollarTop(dollarTop *int64) *CityBusAPIVehicle2041Params

WithDollarTop adds the dollarTop to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithHealth added in v0.15.0

WithHealth adds the health to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the city bus Api vehicle 2041 params

func (*CityBusAPIVehicle2041Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type CityBusAPIVehicle2041Reader added in v0.15.0

type CityBusAPIVehicle2041Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIVehicle2041Reader is a Reader for the CityBusAPIVehicle2041 structure.

func (*CityBusAPIVehicle2041Reader) ReadResponse added in v0.15.0

func (o *CityBusAPIVehicle2041Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIVehicle2041Status299 added in v0.15.0

type CityBusAPIVehicle2041Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIVehicle2041Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIVehicle2041Status299 added in v0.15.0

func NewCityBusAPIVehicle2041Status299() *CityBusAPIVehicle2041Status299

NewCityBusAPIVehicle2041Status299 creates a CityBusAPIVehicle2041Status299 with default headers values

func (*CityBusAPIVehicle2041Status299) Error added in v0.15.0

func (*CityBusAPIVehicle2041Status299) GetPayload added in v0.15.0

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for city bus API

func (*Client) CityBusAPIAlert2053 added in v0.15.0

CityBusAPIAlert2053 取得指定s 縣市 的市區公車營運通阻資料

市區公車營運通阻資料

func (*Client) CityBusAPIDailyStopTimeTable2437 added in v0.15.0

CityBusAPIDailyStopTimeTable2437 取得指定s 縣市 的市區公車每日站別時刻表資料

市區公車每日站別時刻表資料

func (*Client) CityBusAPIDailyStopTimeTable24371 added in v0.15.0

CityBusAPIDailyStopTimeTable24371 取得指定s 縣市 路線名稱 的市區公車每日站別時刻表資料

市區公車每日站別時刻表資料

func (*Client) CityBusAPIDailyTimeTable2436 added in v0.15.0

CityBusAPIDailyTimeTable2436 取得指定s 縣市 的市區公車每日營運時刻表資料

市區公車每日營運時刻表資料

func (*Client) CityBusAPIDailyTimeTable24361 added in v0.15.0

CityBusAPIDailyTimeTable24361 取得指定s 縣市 路線名稱 的市區公車每日營運時刻表資料

市區公車之每日營運時刻表資料

func (*Client) CityBusAPIDataVersion2033 added in v0.15.0

CityBusAPIDataVersion2033 取得指定s 縣市 目前資料的最新版本資訊

版本詳細資訊

func (*Client) CityBusAPIDisplayStopOfRoute2038 added in v0.15.0

CityBusAPIDisplayStopOfRoute2038 取得指定s 縣市 的市區公車顯示用路線站序資料

市區公車之顯示用路線站序資料

func (*Client) CityBusAPIDisplayStopOfRoute20381 added in v0.15.0

CityBusAPIDisplayStopOfRoute20381 取得指定s 縣市 路線名稱 的市區公車顯示用路線站序資料

市區公車之顯示用路線站序資料

func (*Client) CityBusAPIEstimatedTimeOfArrival2032 added in v0.15.0

CityBusAPIEstimatedTimeOfArrival2032 取得指定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) CityBusAPIEstimatedTimeOfArrival20321 added in v0.15.0

CityBusAPIEstimatedTimeOfArrival20321 取得指定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) CityBusAPIEstimatedTimeOfArrivalUDP2048 added in v0.15.0

CityBusAPIEstimatedTimeOfArrivalUDP2048 取得指定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) CityBusAPIEstimatedTimeOfArrivalUDP20481 added in v0.15.0

CityBusAPIEstimatedTimeOfArrivalUDP20481 取得指定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) CityBusAPIFirstLastTripInfo2052 added in v0.15.0

CityBusAPIFirstLastTripInfo2052 取得指定s 縣市 的市區公車路線首末班車資料

市區公車之路線首末班車資料

func (*Client) CityBusAPIFirstLastTripInfo20521 added in v0.15.0

CityBusAPIFirstLastTripInfo20521 取得指定s 縣市 路線名稱 的路線首末班車資料

市區公車之路線首末班車資料

func (*Client) CityBusAPINews2044 added in v0.15.0

CityBusAPINews2044 取得指定s 縣市 的市區公車最新消息資料

市區公車最新消息資料

func (*Client) CityBusAPIOperator2034 added in v0.15.0

CityBusAPIOperator2034 取得指定s 縣市 的市區公車營運業者資料

市區公車之營運業者資料

func (*Client) CityBusAPIRealTimeByFrequency2030 added in v0.15.0

CityBusAPIRealTimeByFrequency2030 取得指定s 縣市 的公車動態定時資料 a1 批次更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeByFrequency20301 added in v0.15.0

CityBusAPIRealTimeByFrequency20301 取得指定s 縣市 路線名稱 的公車動態定時資料 a1 批次更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeByFrequencyUDP2046 added in v0.15.0

CityBusAPIRealTimeByFrequencyUDP2046 取得指定s 縣市 的公車動態定時資料 a1 逐筆更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeByFrequencyUDP20461 added in v0.15.0

CityBusAPIRealTimeByFrequencyUDP20461 取得指定s 縣市 路線名稱 的公車動態定時資料 a1 逐筆更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStop2031 added in v0.15.0

CityBusAPIRealTimeNearStop2031 取得指定s 縣市 的公車動態定點資料 a2 批次更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStop20311 added in v0.15.0

CityBusAPIRealTimeNearStop20311 取得指定s 縣市 路線名稱 的公車動態定點資料 a2 批次更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStopUDP2047 added in v0.15.0

CityBusAPIRealTimeNearStopUDP2047 取得指定s 縣市 的公車動態定點資料 a2 逐筆更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStopUDP20471 added in v0.15.0

CityBusAPIRealTimeNearStopUDP20471 取得指定s 縣市 路線名稱 的公車動態定點資料 a2 逐筆更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRoute2035 added in v0.15.0

CityBusAPIRoute2035 取得指定s 縣市 的市區公車路線資料

市區公車之路線資料

func (*Client) CityBusAPIRoute20351 added in v0.15.0

CityBusAPIRoute20351 取得指定s 縣市 路線名稱 的路線資料

市區公車之路線資料

func (*Client) CityBusAPIRouteFare2043 added in v0.15.0

CityBusAPIRouteFare2043 取得指定s 縣市 的市區公車路線票價資料

市區公車路線票價資料

func (*Client) CityBusAPIRouteFare20431 added in v0.15.0

CityBusAPIRouteFare20431 取得指定s 縣市 路線名稱 的的市區公車路線票價資料

市區公車路線票價資料

func (*Client) CityBusAPIRouteNetwork2055 added in v0.15.0

CityBusAPIRouteNetwork2055 取得指定s 縣市 的市區公車路線網路拓撲資料

市區公車路線網路拓撲資料

func (*Client) CityBusAPIRouteNetwork20551 added in v0.15.0

CityBusAPIRouteNetwork20551 取得指定s 縣市 路線名稱 的市區公車顯示用路線站序資料

市區公車之顯示用路線站序資料

func (*Client) CityBusAPIS2STravelTimeDetail2056 added in v0.15.0

CityBusAPIS2STravelTimeDetail2056 取得指定s 縣市 路線代碼 的市區公車站間旅行時間資料

指定[縣市],[路線代碼]的市區公車站間旅行時間資料

func (*Client) CityBusAPISchedule2040 added in v0.15.0

CityBusAPISchedule2040 取得指定s 縣市 的市區公車路線班表資料

市區公車之班表及班距資料。一般市區公車班次較多時會採用【班距】式時刻表;班次較少時會採用【班表】式時刻表

func (*Client) CityBusAPISchedule20401 added in v0.15.0

CityBusAPISchedule20401 取得指定s 縣市 路線名稱 的市區公車路線班表資料

市區公車之預定班表及班距資料。一般市區公車班次較多時會採用【班距】式時刻表;班次較少時會採用【班表】式時刻表

func (*Client) CityBusAPIShape2042 added in v0.15.0

CityBusAPIShape2042 取得指定s 縣市 的市區公車線型資料

市區公車之線型資料

func (*Client) CityBusAPIShape20421 added in v0.15.0

CityBusAPIShape20421 取得指定s 縣市 路線名稱 的市區公車線型資料

市區公車之線型資料

func (*Client) CityBusAPIStation2037 added in v0.15.0

CityBusAPIStation2037 取得指定s 縣市 的市區公車站位資料

市區公車之各站牌所屬的站位資料

func (*Client) CityBusAPIStationGroup2050 added in v0.15.0

CityBusAPIStationGroup2050 取得指定s 縣市 的市區公車組站位資料

市區公車之各站牌所屬的組站位資料

func (*Client) CityBusAPIStop2036 added in v0.15.0

CityBusAPIStop2036 取得指定s 縣市 的市區公車站牌資料

市區公車之站牌資料

func (*Client) CityBusAPIStopOfRoute2039 added in v0.15.0

CityBusAPIStopOfRoute2039 取得指定s 縣市 的市區公車路線站序資料

市區公車之路線站序資料

func (*Client) CityBusAPIStopOfRoute20391 added in v0.15.0

CityBusAPIStopOfRoute20391 取得指定s 縣市 路線名稱 的市區公車路線站序資料

市區公車之路線站序資料

func (*Client) CityBusAPIVehicle2041 added in v0.15.0

CityBusAPIVehicle2041 取得指定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 {
	CityBusAPIAlert2053(params *CityBusAPIAlert2053Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIAlert2053OK, *CityBusAPIAlert2053Status299, error)

	CityBusAPIDailyStopTimeTable2437(params *CityBusAPIDailyStopTimeTable2437Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDailyStopTimeTable2437OK, *CityBusAPIDailyStopTimeTable2437Status299, error)

	CityBusAPIDailyStopTimeTable24371(params *CityBusAPIDailyStopTimeTable24371Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDailyStopTimeTable24371OK, *CityBusAPIDailyStopTimeTable24371Status299, error)

	CityBusAPIDailyTimeTable2436(params *CityBusAPIDailyTimeTable2436Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDailyTimeTable2436OK, *CityBusAPIDailyTimeTable2436Status299, error)

	CityBusAPIDailyTimeTable24361(params *CityBusAPIDailyTimeTable24361Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDailyTimeTable24361OK, *CityBusAPIDailyTimeTable24361Status299, error)

	CityBusAPIDataVersion2033(params *CityBusAPIDataVersion2033Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDataVersion2033OK, *CityBusAPIDataVersion2033Status299, error)

	CityBusAPIDisplayStopOfRoute2038(params *CityBusAPIDisplayStopOfRoute2038Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDisplayStopOfRoute2038OK, *CityBusAPIDisplayStopOfRoute2038Status299, error)

	CityBusAPIDisplayStopOfRoute20381(params *CityBusAPIDisplayStopOfRoute20381Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIDisplayStopOfRoute20381OK, *CityBusAPIDisplayStopOfRoute20381Status299, error)

	CityBusAPIEstimatedTimeOfArrival2032(params *CityBusAPIEstimatedTimeOfArrival2032Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrival2032OK, *CityBusAPIEstimatedTimeOfArrival2032Status299, error)

	CityBusAPIEstimatedTimeOfArrival20321(params *CityBusAPIEstimatedTimeOfArrival20321Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrival20321OK, *CityBusAPIEstimatedTimeOfArrival20321Status299, error)

	CityBusAPIEstimatedTimeOfArrivalUDP2048(params *CityBusAPIEstimatedTimeOfArrivalUDP2048Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUdp2048OK, *CityBusAPIEstimatedTimeOfArrivalUdp2048Status299, error)

	CityBusAPIEstimatedTimeOfArrivalUDP20481(params *CityBusAPIEstimatedTimeOfArrivalUDP20481Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUdp20481OK, *CityBusAPIEstimatedTimeOfArrivalUdp20481Status299, error)

	CityBusAPIFirstLastTripInfo2052(params *CityBusAPIFirstLastTripInfo2052Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIFirstLastTripInfo2052OK, *CityBusAPIFirstLastTripInfo2052Status299, error)

	CityBusAPIFirstLastTripInfo20521(params *CityBusAPIFirstLastTripInfo20521Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIFirstLastTripInfo20521OK, *CityBusAPIFirstLastTripInfo20521Status299, error)

	CityBusAPINews2044(params *CityBusAPINews2044Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPINews2044OK, *CityBusAPINews2044Status299, error)

	CityBusAPIOperator2034(params *CityBusAPIOperator2034Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIOperator2034OK, *CityBusAPIOperator2034Status299, error)

	CityBusAPIRealTimeByFrequency2030(params *CityBusAPIRealTimeByFrequency2030Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeByFrequency2030OK, *CityBusAPIRealTimeByFrequency2030Status299, error)

	CityBusAPIRealTimeByFrequency20301(params *CityBusAPIRealTimeByFrequency20301Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeByFrequency20301OK, *CityBusAPIRealTimeByFrequency20301Status299, error)

	CityBusAPIRealTimeByFrequencyUDP2046(params *CityBusAPIRealTimeByFrequencyUDP2046Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUdp2046OK, *CityBusAPIRealTimeByFrequencyUdp2046Status299, error)

	CityBusAPIRealTimeByFrequencyUDP20461(params *CityBusAPIRealTimeByFrequencyUDP20461Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUdp20461OK, *CityBusAPIRealTimeByFrequencyUdp20461Status299, error)

	CityBusAPIRealTimeNearStop2031(params *CityBusAPIRealTimeNearStop2031Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeNearStop2031OK, *CityBusAPIRealTimeNearStop2031Status299, error)

	CityBusAPIRealTimeNearStop20311(params *CityBusAPIRealTimeNearStop20311Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeNearStop20311OK, *CityBusAPIRealTimeNearStop20311Status299, error)

	CityBusAPIRealTimeNearStopUDP2047(params *CityBusAPIRealTimeNearStopUDP2047Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUdp2047OK, *CityBusAPIRealTimeNearStopUdp2047Status299, error)

	CityBusAPIRealTimeNearStopUDP20471(params *CityBusAPIRealTimeNearStopUDP20471Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUdp20471OK, *CityBusAPIRealTimeNearStopUdp20471Status299, error)

	CityBusAPIRouteFare2043(params *CityBusAPIRouteFare2043Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRouteFare2043OK, *CityBusAPIRouteFare2043Status299, error)

	CityBusAPIRouteFare20431(params *CityBusAPIRouteFare20431Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRouteFare20431OK, *CityBusAPIRouteFare20431Status299, error)

	CityBusAPIRouteNetwork2055(params *CityBusAPIRouteNetwork2055Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRouteNetwork2055OK, *CityBusAPIRouteNetwork2055Status299, error)

	CityBusAPIRouteNetwork20551(params *CityBusAPIRouteNetwork20551Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRouteNetwork20551OK, *CityBusAPIRouteNetwork20551Status299, error)

	CityBusAPIRoute2035(params *CityBusAPIRoute2035Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRoute2035OK, *CityBusAPIRoute2035Status299, error)

	CityBusAPIRoute20351(params *CityBusAPIRoute20351Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIRoute20351OK, *CityBusAPIRoute20351Status299, error)

	CityBusAPIS2STravelTimeDetail2056(params *CityBusAPIS2STravelTimeDetail2056Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIS2STravelTimeDetail2056OK, *CityBusAPIS2STravelTimeDetail2056Status299, error)

	CityBusAPISchedule2040(params *CityBusAPISchedule2040Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPISchedule2040OK, *CityBusAPISchedule2040Status299, error)

	CityBusAPISchedule20401(params *CityBusAPISchedule20401Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPISchedule20401OK, *CityBusAPISchedule20401Status299, error)

	CityBusAPIShape2042(params *CityBusAPIShape2042Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIShape2042OK, *CityBusAPIShape2042Status299, error)

	CityBusAPIShape20421(params *CityBusAPIShape20421Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIShape20421OK, *CityBusAPIShape20421Status299, error)

	CityBusAPIStationGroup2050(params *CityBusAPIStationGroup2050Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIStationGroup2050OK, *CityBusAPIStationGroup2050Status299, error)

	CityBusAPIStation2037(params *CityBusAPIStation2037Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIStation2037OK, *CityBusAPIStation2037Status299, error)

	CityBusAPIStopOfRoute2039(params *CityBusAPIStopOfRoute2039Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIStopOfRoute2039OK, *CityBusAPIStopOfRoute2039Status299, error)

	CityBusAPIStopOfRoute20391(params *CityBusAPIStopOfRoute20391Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIStopOfRoute20391OK, *CityBusAPIStopOfRoute20391Status299, error)

	CityBusAPIStop2036(params *CityBusAPIStop2036Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIStop2036OK, *CityBusAPIStop2036Status299, error)

	CityBusAPIVehicle2041(params *CityBusAPIVehicle2041Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CityBusAPIVehicle2041OK, *CityBusAPIVehicle2041Status299, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL