city_bus

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CityBusAPIAlertNotModified added in v0.11.0

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

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

func NewCityBusAPIAlertNotModified added in v0.11.0

func NewCityBusAPIAlertNotModified() *CityBusAPIAlertNotModified

NewCityBusAPIAlertNotModified creates a CityBusAPIAlertNotModified with default headers values

func (*CityBusAPIAlertNotModified) Error added in v0.11.0

type CityBusAPIAlertOK added in v0.11.0

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

Success

func NewCityBusAPIAlertOK added in v0.11.0

func NewCityBusAPIAlertOK() *CityBusAPIAlertOK

NewCityBusAPIAlertOK creates a CityBusAPIAlertOK with default headers values

func (*CityBusAPIAlertOK) Error added in v0.11.0

func (o *CityBusAPIAlertOK) Error() string

func (*CityBusAPIAlertOK) GetPayload added in v0.11.0

type CityBusAPIAlertParams added in v0.11.0

type CityBusAPIAlertParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIAlertParams contains all the parameters to send to the API endpoint

for the city bus Api alert operation.

Typically these are written to a http.Request.

func NewCityBusAPIAlertParams added in v0.11.0

func NewCityBusAPIAlertParams() *CityBusAPIAlertParams

NewCityBusAPIAlertParams creates a new CityBusAPIAlertParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIAlertParamsWithContext added in v0.11.0

func NewCityBusAPIAlertParamsWithContext(ctx context.Context) *CityBusAPIAlertParams

NewCityBusAPIAlertParamsWithContext creates a new CityBusAPIAlertParams object with the ability to set a context for a request.

func NewCityBusAPIAlertParamsWithHTTPClient added in v0.11.0

func NewCityBusAPIAlertParamsWithHTTPClient(client *http.Client) *CityBusAPIAlertParams

NewCityBusAPIAlertParamsWithHTTPClient creates a new CityBusAPIAlertParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIAlertParamsWithTimeout added in v0.11.0

func NewCityBusAPIAlertParamsWithTimeout(timeout time.Duration) *CityBusAPIAlertParams

NewCityBusAPIAlertParamsWithTimeout creates a new CityBusAPIAlertParams object with the ability to set a timeout on a request.

func (*CityBusAPIAlertParams) SetCity added in v0.11.0

func (o *CityBusAPIAlertParams) SetCity(city string)

SetCity adds the city to the city bus Api alert params

func (*CityBusAPIAlertParams) SetContext added in v0.11.0

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

SetContext adds the context to the city bus Api alert params

func (*CityBusAPIAlertParams) SetDefaults added in v0.11.0

func (o *CityBusAPIAlertParams) SetDefaults()

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

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

func (*CityBusAPIAlertParams) SetDollarFilter added in v0.11.0

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

SetDollarFilter adds the dollarFilter to the city bus Api alert params

func (*CityBusAPIAlertParams) SetDollarFormat added in v0.11.0

func (o *CityBusAPIAlertParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api alert params

func (*CityBusAPIAlertParams) SetDollarOrderby added in v0.11.0

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

SetDollarOrderby adds the dollarOrderby to the city bus Api alert params

func (*CityBusAPIAlertParams) SetDollarSelect added in v0.11.0

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

SetDollarSelect adds the dollarSelect to the city bus Api alert params

func (*CityBusAPIAlertParams) SetDollarSkip added in v0.11.0

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

SetDollarSkip adds the dollarSkip to the city bus Api alert params

func (*CityBusAPIAlertParams) SetDollarTop added in v0.11.0

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

SetDollarTop adds the dollarTop to the city bus Api alert params

func (*CityBusAPIAlertParams) SetHTTPClient added in v0.11.0

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

SetHTTPClient adds the HTTPClient to the city bus Api alert params

func (*CityBusAPIAlertParams) SetHealth added in v0.11.0

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

SetHealth adds the health to the city bus Api alert params

func (*CityBusAPIAlertParams) SetTimeout added in v0.11.0

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

SetTimeout adds the timeout to the city bus Api alert params

func (*CityBusAPIAlertParams) WithCity added in v0.11.0

WithCity adds the city to the city bus Api alert params

func (*CityBusAPIAlertParams) WithContext added in v0.11.0

WithContext adds the context to the city bus Api alert params

func (*CityBusAPIAlertParams) WithDefaults added in v0.11.0

func (o *CityBusAPIAlertParams) WithDefaults() *CityBusAPIAlertParams

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

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

func (*CityBusAPIAlertParams) WithDollarFilter added in v0.11.0

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

WithDollarFilter adds the dollarFilter to the city bus Api alert params

func (*CityBusAPIAlertParams) WithDollarFormat added in v0.11.0

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

WithDollarFormat adds the dollarFormat to the city bus Api alert params

func (*CityBusAPIAlertParams) WithDollarOrderby added in v0.11.0

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

WithDollarOrderby adds the dollarOrderby to the city bus Api alert params

func (*CityBusAPIAlertParams) WithDollarSelect added in v0.11.0

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

WithDollarSelect adds the dollarSelect to the city bus Api alert params

func (*CityBusAPIAlertParams) WithDollarSkip added in v0.11.0

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

WithDollarSkip adds the dollarSkip to the city bus Api alert params

func (*CityBusAPIAlertParams) WithDollarTop added in v0.11.0

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

WithDollarTop adds the dollarTop to the city bus Api alert params

func (*CityBusAPIAlertParams) WithHTTPClient added in v0.11.0

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

WithHTTPClient adds the HTTPClient to the city bus Api alert params

func (*CityBusAPIAlertParams) WithHealth added in v0.11.0

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

WithHealth adds the health to the city bus Api alert params

func (*CityBusAPIAlertParams) WithTimeout added in v0.11.0

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

WithTimeout adds the timeout to the city bus Api alert params

func (*CityBusAPIAlertParams) WriteToRequest added in v0.11.0

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

WriteToRequest writes these params to a swagger request

type CityBusAPIAlertReader added in v0.11.0

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

CityBusAPIAlertReader is a Reader for the CityBusAPIAlert structure.

func (*CityBusAPIAlertReader) ReadResponse added in v0.11.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIAlertStatus299 added in v0.11.0

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

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

func NewCityBusAPIAlertStatus299 added in v0.11.0

func NewCityBusAPIAlertStatus299() *CityBusAPIAlertStatus299

NewCityBusAPIAlertStatus299 creates a CityBusAPIAlertStatus299 with default headers values

func (*CityBusAPIAlertStatus299) Error added in v0.11.0

func (o *CityBusAPIAlertStatus299) Error() string

func (*CityBusAPIAlertStatus299) GetPayload added in v0.11.0

type CityBusAPIDailyStopTimeTable1NotModified added in v0.12.0

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

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

func NewCityBusAPIDailyStopTimeTable1NotModified added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1NotModified() *CityBusAPIDailyStopTimeTable1NotModified

NewCityBusAPIDailyStopTimeTable1NotModified creates a CityBusAPIDailyStopTimeTable1NotModified with default headers values

func (*CityBusAPIDailyStopTimeTable1NotModified) Error added in v0.12.0

type CityBusAPIDailyStopTimeTable1OK added in v0.12.0

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

Success

func NewCityBusAPIDailyStopTimeTable1OK added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1OK() *CityBusAPIDailyStopTimeTable1OK

NewCityBusAPIDailyStopTimeTable1OK creates a CityBusAPIDailyStopTimeTable1OK with default headers values

func (*CityBusAPIDailyStopTimeTable1OK) Error added in v0.12.0

func (*CityBusAPIDailyStopTimeTable1OK) GetPayload added in v0.12.0

type CityBusAPIDailyStopTimeTable1Params added in v0.12.0

type CityBusAPIDailyStopTimeTable1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIDailyStopTimeTable1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIDailyStopTimeTable1Params added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1Params() *CityBusAPIDailyStopTimeTable1Params

NewCityBusAPIDailyStopTimeTable1Params creates a new CityBusAPIDailyStopTimeTable1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDailyStopTimeTable1ParamsWithContext added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1ParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTable1Params

NewCityBusAPIDailyStopTimeTable1ParamsWithContext creates a new CityBusAPIDailyStopTimeTable1Params object with the ability to set a context for a request.

func NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTable1Params

NewCityBusAPIDailyStopTimeTable1ParamsWithHTTPClient creates a new CityBusAPIDailyStopTimeTable1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTable1Params

NewCityBusAPIDailyStopTimeTable1ParamsWithTimeout creates a new CityBusAPIDailyStopTimeTable1Params object with the ability to set a timeout on a request.

func (*CityBusAPIDailyStopTimeTable1Params) SetCity added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) SetContext added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDefaults added in v0.12.0

func (o *CityBusAPIDailyStopTimeTable1Params) SetDefaults()

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDollarFilter added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDollarFormat added in v0.12.0

func (o *CityBusAPIDailyStopTimeTable1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDollarOrderby added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDollarSelect added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDollarSkip added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetDollarTop added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetHTTPClient added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetHealth added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) SetRouteName added in v0.12.0

func (o *CityBusAPIDailyStopTimeTable1Params) SetRouteName(routeName string)

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

func (*CityBusAPIDailyStopTimeTable1Params) SetTimeout added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) WithCity added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithContext added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDefaults added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDollarFilter added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDollarFormat added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDollarOrderby added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDollarSelect added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDollarSkip added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithDollarTop added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithHTTPClient added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithHealth added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithRouteName added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WithTimeout added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTable1Params) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyStopTimeTable1Reader added in v0.12.0

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

CityBusAPIDailyStopTimeTable1Reader is a Reader for the CityBusAPIDailyStopTimeTable1 structure.

func (*CityBusAPIDailyStopTimeTable1Reader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyStopTimeTable1Status299 added in v0.12.0

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

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

func NewCityBusAPIDailyStopTimeTable1Status299 added in v0.12.0

func NewCityBusAPIDailyStopTimeTable1Status299() *CityBusAPIDailyStopTimeTable1Status299

NewCityBusAPIDailyStopTimeTable1Status299 creates a CityBusAPIDailyStopTimeTable1Status299 with default headers values

func (*CityBusAPIDailyStopTimeTable1Status299) Error added in v0.12.0

func (*CityBusAPIDailyStopTimeTable1Status299) GetPayload added in v0.12.0

type CityBusAPIDailyStopTimeTableNotModified added in v0.12.0

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

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

func NewCityBusAPIDailyStopTimeTableNotModified added in v0.12.0

func NewCityBusAPIDailyStopTimeTableNotModified() *CityBusAPIDailyStopTimeTableNotModified

NewCityBusAPIDailyStopTimeTableNotModified creates a CityBusAPIDailyStopTimeTableNotModified with default headers values

func (*CityBusAPIDailyStopTimeTableNotModified) Error added in v0.12.0

type CityBusAPIDailyStopTimeTableOK added in v0.12.0

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

Success

func NewCityBusAPIDailyStopTimeTableOK added in v0.12.0

func NewCityBusAPIDailyStopTimeTableOK() *CityBusAPIDailyStopTimeTableOK

NewCityBusAPIDailyStopTimeTableOK creates a CityBusAPIDailyStopTimeTableOK with default headers values

func (*CityBusAPIDailyStopTimeTableOK) Error added in v0.12.0

func (*CityBusAPIDailyStopTimeTableOK) GetPayload added in v0.12.0

type CityBusAPIDailyStopTimeTableParams added in v0.12.0

type CityBusAPIDailyStopTimeTableParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIDailyStopTimeTableParams contains all the parameters to send to the API endpoint

for the city bus Api daily stop time table operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyStopTimeTableParams added in v0.12.0

func NewCityBusAPIDailyStopTimeTableParams() *CityBusAPIDailyStopTimeTableParams

NewCityBusAPIDailyStopTimeTableParams creates a new CityBusAPIDailyStopTimeTableParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDailyStopTimeTableParamsWithContext added in v0.12.0

func NewCityBusAPIDailyStopTimeTableParamsWithContext(ctx context.Context) *CityBusAPIDailyStopTimeTableParams

NewCityBusAPIDailyStopTimeTableParamsWithContext creates a new CityBusAPIDailyStopTimeTableParams object with the ability to set a context for a request.

func NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient added in v0.12.0

func NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyStopTimeTableParams

NewCityBusAPIDailyStopTimeTableParamsWithHTTPClient creates a new CityBusAPIDailyStopTimeTableParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyStopTimeTableParamsWithTimeout added in v0.12.0

func NewCityBusAPIDailyStopTimeTableParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyStopTimeTableParams

NewCityBusAPIDailyStopTimeTableParamsWithTimeout creates a new CityBusAPIDailyStopTimeTableParams object with the ability to set a timeout on a request.

func (*CityBusAPIDailyStopTimeTableParams) SetCity added in v0.12.0

func (o *CityBusAPIDailyStopTimeTableParams) SetCity(city string)

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

func (*CityBusAPIDailyStopTimeTableParams) SetContext added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) SetDefaults added in v0.12.0

func (o *CityBusAPIDailyStopTimeTableParams) SetDefaults()

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetDollarFilter added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetDollarFormat added in v0.12.0

func (o *CityBusAPIDailyStopTimeTableParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDailyStopTimeTableParams) SetDollarOrderby added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetDollarSelect added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetDollarSkip added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetDollarTop added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetHTTPClient added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetHealth added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) SetTimeout added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) WithCity added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithContext added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithDefaults added in v0.12.0

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

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

func (*CityBusAPIDailyStopTimeTableParams) WithDollarFilter added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithDollarFormat added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithDollarOrderby added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithDollarSelect added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithDollarSkip added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithDollarTop added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithHTTPClient added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithHealth added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WithTimeout added in v0.12.0

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

func (*CityBusAPIDailyStopTimeTableParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyStopTimeTableReader added in v0.12.0

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

CityBusAPIDailyStopTimeTableReader is a Reader for the CityBusAPIDailyStopTimeTable structure.

func (*CityBusAPIDailyStopTimeTableReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyStopTimeTableStatus299 added in v0.12.0

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

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

func NewCityBusAPIDailyStopTimeTableStatus299 added in v0.12.0

func NewCityBusAPIDailyStopTimeTableStatus299() *CityBusAPIDailyStopTimeTableStatus299

NewCityBusAPIDailyStopTimeTableStatus299 creates a CityBusAPIDailyStopTimeTableStatus299 with default headers values

func (*CityBusAPIDailyStopTimeTableStatus299) Error added in v0.12.0

func (*CityBusAPIDailyStopTimeTableStatus299) GetPayload added in v0.12.0

type CityBusAPIDailyTimeTable1NotModified added in v0.12.0

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

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

func NewCityBusAPIDailyTimeTable1NotModified added in v0.12.0

func NewCityBusAPIDailyTimeTable1NotModified() *CityBusAPIDailyTimeTable1NotModified

NewCityBusAPIDailyTimeTable1NotModified creates a CityBusAPIDailyTimeTable1NotModified with default headers values

func (*CityBusAPIDailyTimeTable1NotModified) Error added in v0.12.0

type CityBusAPIDailyTimeTable1OK added in v0.12.0

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

Success

func NewCityBusAPIDailyTimeTable1OK added in v0.12.0

func NewCityBusAPIDailyTimeTable1OK() *CityBusAPIDailyTimeTable1OK

NewCityBusAPIDailyTimeTable1OK creates a CityBusAPIDailyTimeTable1OK with default headers values

func (*CityBusAPIDailyTimeTable1OK) Error added in v0.12.0

func (*CityBusAPIDailyTimeTable1OK) GetPayload added in v0.12.0

type CityBusAPIDailyTimeTable1Params added in v0.12.0

type CityBusAPIDailyTimeTable1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIDailyTimeTable1Params contains all the parameters to send to the API endpoint

for the city bus Api daily time table 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyTimeTable1Params added in v0.12.0

func NewCityBusAPIDailyTimeTable1Params() *CityBusAPIDailyTimeTable1Params

NewCityBusAPIDailyTimeTable1Params creates a new CityBusAPIDailyTimeTable1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDailyTimeTable1ParamsWithContext added in v0.12.0

func NewCityBusAPIDailyTimeTable1ParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTable1Params

NewCityBusAPIDailyTimeTable1ParamsWithContext creates a new CityBusAPIDailyTimeTable1Params object with the ability to set a context for a request.

func NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient added in v0.12.0

func NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTable1Params

NewCityBusAPIDailyTimeTable1ParamsWithHTTPClient creates a new CityBusAPIDailyTimeTable1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyTimeTable1ParamsWithTimeout added in v0.12.0

func NewCityBusAPIDailyTimeTable1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTable1Params

NewCityBusAPIDailyTimeTable1ParamsWithTimeout creates a new CityBusAPIDailyTimeTable1Params object with the ability to set a timeout on a request.

func (*CityBusAPIDailyTimeTable1Params) SetCity added in v0.12.0

func (o *CityBusAPIDailyTimeTable1Params) SetCity(city string)

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

func (*CityBusAPIDailyTimeTable1Params) SetContext added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetDefaults added in v0.12.0

func (o *CityBusAPIDailyTimeTable1Params) SetDefaults()

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

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

func (*CityBusAPIDailyTimeTable1Params) SetDollarFilter added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetDollarFormat added in v0.12.0

func (o *CityBusAPIDailyTimeTable1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDailyTimeTable1Params) SetDollarOrderby added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetDollarSelect added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetDollarSkip added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetDollarTop added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetHTTPClient added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetHealth added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) SetRouteName added in v0.12.0

func (o *CityBusAPIDailyTimeTable1Params) SetRouteName(routeName string)

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

func (*CityBusAPIDailyTimeTable1Params) SetTimeout added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) WithCity added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithContext added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithDefaults added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) WithDollarFilter added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) WithDollarFormat added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) WithDollarOrderby added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) WithDollarSelect added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTable1Params) WithDollarSkip added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithDollarTop added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithHTTPClient added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithHealth added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithRouteName added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WithTimeout added in v0.12.0

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

func (*CityBusAPIDailyTimeTable1Params) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyTimeTable1Reader added in v0.12.0

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

CityBusAPIDailyTimeTable1Reader is a Reader for the CityBusAPIDailyTimeTable1 structure.

func (*CityBusAPIDailyTimeTable1Reader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyTimeTable1Status299 added in v0.12.0

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

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

func NewCityBusAPIDailyTimeTable1Status299 added in v0.12.0

func NewCityBusAPIDailyTimeTable1Status299() *CityBusAPIDailyTimeTable1Status299

NewCityBusAPIDailyTimeTable1Status299 creates a CityBusAPIDailyTimeTable1Status299 with default headers values

func (*CityBusAPIDailyTimeTable1Status299) Error added in v0.12.0

func (*CityBusAPIDailyTimeTable1Status299) GetPayload added in v0.12.0

type CityBusAPIDailyTimeTableNotModified added in v0.12.0

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

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

func NewCityBusAPIDailyTimeTableNotModified added in v0.12.0

func NewCityBusAPIDailyTimeTableNotModified() *CityBusAPIDailyTimeTableNotModified

NewCityBusAPIDailyTimeTableNotModified creates a CityBusAPIDailyTimeTableNotModified with default headers values

func (*CityBusAPIDailyTimeTableNotModified) Error added in v0.12.0

type CityBusAPIDailyTimeTableOK added in v0.12.0

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

Success

func NewCityBusAPIDailyTimeTableOK added in v0.12.0

func NewCityBusAPIDailyTimeTableOK() *CityBusAPIDailyTimeTableOK

NewCityBusAPIDailyTimeTableOK creates a CityBusAPIDailyTimeTableOK with default headers values

func (*CityBusAPIDailyTimeTableOK) Error added in v0.12.0

func (*CityBusAPIDailyTimeTableOK) GetPayload added in v0.12.0

type CityBusAPIDailyTimeTableParams added in v0.12.0

type CityBusAPIDailyTimeTableParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIDailyTimeTableParams contains all the parameters to send to the API endpoint

for the city bus Api daily time table operation.

Typically these are written to a http.Request.

func NewCityBusAPIDailyTimeTableParams added in v0.12.0

func NewCityBusAPIDailyTimeTableParams() *CityBusAPIDailyTimeTableParams

NewCityBusAPIDailyTimeTableParams creates a new CityBusAPIDailyTimeTableParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDailyTimeTableParamsWithContext added in v0.12.0

func NewCityBusAPIDailyTimeTableParamsWithContext(ctx context.Context) *CityBusAPIDailyTimeTableParams

NewCityBusAPIDailyTimeTableParamsWithContext creates a new CityBusAPIDailyTimeTableParams object with the ability to set a context for a request.

func NewCityBusAPIDailyTimeTableParamsWithHTTPClient added in v0.12.0

func NewCityBusAPIDailyTimeTableParamsWithHTTPClient(client *http.Client) *CityBusAPIDailyTimeTableParams

NewCityBusAPIDailyTimeTableParamsWithHTTPClient creates a new CityBusAPIDailyTimeTableParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDailyTimeTableParamsWithTimeout added in v0.12.0

func NewCityBusAPIDailyTimeTableParamsWithTimeout(timeout time.Duration) *CityBusAPIDailyTimeTableParams

NewCityBusAPIDailyTimeTableParamsWithTimeout creates a new CityBusAPIDailyTimeTableParams object with the ability to set a timeout on a request.

func (*CityBusAPIDailyTimeTableParams) SetCity added in v0.12.0

func (o *CityBusAPIDailyTimeTableParams) SetCity(city string)

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

func (*CityBusAPIDailyTimeTableParams) SetContext added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetDefaults added in v0.12.0

func (o *CityBusAPIDailyTimeTableParams) SetDefaults()

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

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

func (*CityBusAPIDailyTimeTableParams) SetDollarFilter added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetDollarFormat added in v0.12.0

func (o *CityBusAPIDailyTimeTableParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDailyTimeTableParams) SetDollarOrderby added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetDollarSelect added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetDollarSkip added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetDollarTop added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetHTTPClient added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetHealth added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) SetTimeout added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) WithCity added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WithContext added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WithDefaults added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) WithDollarFilter added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) WithDollarFormat added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) WithDollarOrderby added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) WithDollarSelect added in v0.12.0

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

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

func (*CityBusAPIDailyTimeTableParams) WithDollarSkip added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WithDollarTop added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WithHTTPClient added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WithHealth added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WithTimeout added in v0.12.0

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

func (*CityBusAPIDailyTimeTableParams) WriteToRequest added in v0.12.0

WriteToRequest writes these params to a swagger request

type CityBusAPIDailyTimeTableReader added in v0.12.0

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

CityBusAPIDailyTimeTableReader is a Reader for the CityBusAPIDailyTimeTable structure.

func (*CityBusAPIDailyTimeTableReader) ReadResponse added in v0.12.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIDailyTimeTableStatus299 added in v0.12.0

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

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

func NewCityBusAPIDailyTimeTableStatus299 added in v0.12.0

func NewCityBusAPIDailyTimeTableStatus299() *CityBusAPIDailyTimeTableStatus299

NewCityBusAPIDailyTimeTableStatus299 creates a CityBusAPIDailyTimeTableStatus299 with default headers values

func (*CityBusAPIDailyTimeTableStatus299) Error added in v0.12.0

func (*CityBusAPIDailyTimeTableStatus299) GetPayload added in v0.12.0

type CityBusAPIDataVersionNotModified added in v0.9.0

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

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

func NewCityBusAPIDataVersionNotModified added in v0.9.0

func NewCityBusAPIDataVersionNotModified() *CityBusAPIDataVersionNotModified

NewCityBusAPIDataVersionNotModified creates a CityBusAPIDataVersionNotModified with default headers values

func (*CityBusAPIDataVersionNotModified) Error added in v0.9.0

type CityBusAPIDataVersionOK

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

Success

func NewCityBusAPIDataVersionOK

func NewCityBusAPIDataVersionOK() *CityBusAPIDataVersionOK

NewCityBusAPIDataVersionOK creates a CityBusAPIDataVersionOK with default headers values

func (*CityBusAPIDataVersionOK) Error

func (o *CityBusAPIDataVersionOK) Error() string

func (*CityBusAPIDataVersionOK) GetPayload

type CityBusAPIDataVersionParams

type CityBusAPIDataVersionParams struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIDataVersionParams contains all the parameters to send to the API endpoint

for the city bus Api data version operation.

Typically these are written to a http.Request.

func NewCityBusAPIDataVersionParams

func NewCityBusAPIDataVersionParams() *CityBusAPIDataVersionParams

NewCityBusAPIDataVersionParams creates a new CityBusAPIDataVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDataVersionParamsWithContext

func NewCityBusAPIDataVersionParamsWithContext(ctx context.Context) *CityBusAPIDataVersionParams

NewCityBusAPIDataVersionParamsWithContext creates a new CityBusAPIDataVersionParams object with the ability to set a context for a request.

func NewCityBusAPIDataVersionParamsWithHTTPClient

func NewCityBusAPIDataVersionParamsWithHTTPClient(client *http.Client) *CityBusAPIDataVersionParams

NewCityBusAPIDataVersionParamsWithHTTPClient creates a new CityBusAPIDataVersionParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDataVersionParamsWithTimeout

func NewCityBusAPIDataVersionParamsWithTimeout(timeout time.Duration) *CityBusAPIDataVersionParams

NewCityBusAPIDataVersionParamsWithTimeout creates a new CityBusAPIDataVersionParams object with the ability to set a timeout on a request.

func (*CityBusAPIDataVersionParams) SetCity

func (o *CityBusAPIDataVersionParams) SetCity(city string)

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

func (*CityBusAPIDataVersionParams) SetContext

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

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

func (*CityBusAPIDataVersionParams) SetDefaults added in v0.9.0

func (o *CityBusAPIDataVersionParams) SetDefaults()

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

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

func (*CityBusAPIDataVersionParams) SetDollarFormat

func (o *CityBusAPIDataVersionParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDataVersionParams) SetHTTPClient

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

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

func (*CityBusAPIDataVersionParams) SetHealth added in v0.3.0

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

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

func (*CityBusAPIDataVersionParams) SetTimeout

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

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

func (*CityBusAPIDataVersionParams) WithCity

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

func (*CityBusAPIDataVersionParams) WithContext

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

func (*CityBusAPIDataVersionParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIDataVersionParams) WithDollarFormat

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

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

func (*CityBusAPIDataVersionParams) WithHTTPClient

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

func (*CityBusAPIDataVersionParams) WithHealth added in v0.3.0

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

func (*CityBusAPIDataVersionParams) WithTimeout

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

func (*CityBusAPIDataVersionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIDataVersionReader

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

CityBusAPIDataVersionReader is a Reader for the CityBusAPIDataVersion structure.

func (*CityBusAPIDataVersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIDataVersionStatus299 added in v0.3.0

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

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

func NewCityBusAPIDataVersionStatus299 added in v0.3.0

func NewCityBusAPIDataVersionStatus299() *CityBusAPIDataVersionStatus299

NewCityBusAPIDataVersionStatus299 creates a CityBusAPIDataVersionStatus299 with default headers values

func (*CityBusAPIDataVersionStatus299) Error added in v0.3.0

func (*CityBusAPIDataVersionStatus299) GetPayload added in v0.3.0

type CityBusAPIDisplayStopOfRoute1NotModified added in v0.9.0

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

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

func NewCityBusAPIDisplayStopOfRoute1NotModified added in v0.9.0

func NewCityBusAPIDisplayStopOfRoute1NotModified() *CityBusAPIDisplayStopOfRoute1NotModified

NewCityBusAPIDisplayStopOfRoute1NotModified creates a CityBusAPIDisplayStopOfRoute1NotModified with default headers values

func (*CityBusAPIDisplayStopOfRoute1NotModified) Error added in v0.9.0

type CityBusAPIDisplayStopOfRoute1OK

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

Success

func NewCityBusAPIDisplayStopOfRoute1OK

func NewCityBusAPIDisplayStopOfRoute1OK() *CityBusAPIDisplayStopOfRoute1OK

NewCityBusAPIDisplayStopOfRoute1OK creates a CityBusAPIDisplayStopOfRoute1OK with default headers values

func (*CityBusAPIDisplayStopOfRoute1OK) Error

func (*CityBusAPIDisplayStopOfRoute1OK) GetPayload

type CityBusAPIDisplayStopOfRoute1Params

type CityBusAPIDisplayStopOfRoute1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIDisplayStopOfRoute1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIDisplayStopOfRoute1Params

func NewCityBusAPIDisplayStopOfRoute1Params() *CityBusAPIDisplayStopOfRoute1Params

NewCityBusAPIDisplayStopOfRoute1Params creates a new CityBusAPIDisplayStopOfRoute1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDisplayStopOfRoute1ParamsWithContext

func NewCityBusAPIDisplayStopOfRoute1ParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRoute1Params

NewCityBusAPIDisplayStopOfRoute1ParamsWithContext creates a new CityBusAPIDisplayStopOfRoute1Params object with the ability to set a context for a request.

func NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient

func NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRoute1Params

NewCityBusAPIDisplayStopOfRoute1ParamsWithHTTPClient creates a new CityBusAPIDisplayStopOfRoute1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout

func NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRoute1Params

NewCityBusAPIDisplayStopOfRoute1ParamsWithTimeout creates a new CityBusAPIDisplayStopOfRoute1Params object with the ability to set a timeout on a request.

func (*CityBusAPIDisplayStopOfRoute1Params) SetCity

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetContext

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIDisplayStopOfRoute1Params) SetDefaults()

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarFilter

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarFormat

func (o *CityBusAPIDisplayStopOfRoute1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarOrderby

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarSelect

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarSkip

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetDollarTop

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetHTTPClient

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetHealth added in v0.3.0

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetRouteName

func (o *CityBusAPIDisplayStopOfRoute1Params) SetRouteName(routeName string)

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

func (*CityBusAPIDisplayStopOfRoute1Params) SetTimeout

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithCity

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithContext

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarFilter

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarFormat

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarOrderby

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarSelect

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarSkip

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithDollarTop

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithHTTPClient

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithHealth added in v0.3.0

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithRouteName

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

func (*CityBusAPIDisplayStopOfRoute1Params) WithTimeout

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

func (*CityBusAPIDisplayStopOfRoute1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIDisplayStopOfRoute1Reader

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

CityBusAPIDisplayStopOfRoute1Reader is a Reader for the CityBusAPIDisplayStopOfRoute1 structure.

func (*CityBusAPIDisplayStopOfRoute1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIDisplayStopOfRoute1Status299 added in v0.3.0

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

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

func NewCityBusAPIDisplayStopOfRoute1Status299 added in v0.3.0

func NewCityBusAPIDisplayStopOfRoute1Status299() *CityBusAPIDisplayStopOfRoute1Status299

NewCityBusAPIDisplayStopOfRoute1Status299 creates a CityBusAPIDisplayStopOfRoute1Status299 with default headers values

func (*CityBusAPIDisplayStopOfRoute1Status299) Error added in v0.3.0

func (*CityBusAPIDisplayStopOfRoute1Status299) GetPayload added in v0.3.0

type CityBusAPIDisplayStopOfRouteNotModified added in v0.9.0

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

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

func NewCityBusAPIDisplayStopOfRouteNotModified added in v0.9.0

func NewCityBusAPIDisplayStopOfRouteNotModified() *CityBusAPIDisplayStopOfRouteNotModified

NewCityBusAPIDisplayStopOfRouteNotModified creates a CityBusAPIDisplayStopOfRouteNotModified with default headers values

func (*CityBusAPIDisplayStopOfRouteNotModified) Error added in v0.9.0

type CityBusAPIDisplayStopOfRouteOK

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

Success

func NewCityBusAPIDisplayStopOfRouteOK

func NewCityBusAPIDisplayStopOfRouteOK() *CityBusAPIDisplayStopOfRouteOK

NewCityBusAPIDisplayStopOfRouteOK creates a CityBusAPIDisplayStopOfRouteOK with default headers values

func (*CityBusAPIDisplayStopOfRouteOK) Error

func (*CityBusAPIDisplayStopOfRouteOK) GetPayload

type CityBusAPIDisplayStopOfRouteParams

type CityBusAPIDisplayStopOfRouteParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIDisplayStopOfRouteParams contains all the parameters to send to the API endpoint

for the city bus Api display stop of route operation.

Typically these are written to a http.Request.

func NewCityBusAPIDisplayStopOfRouteParams

func NewCityBusAPIDisplayStopOfRouteParams() *CityBusAPIDisplayStopOfRouteParams

NewCityBusAPIDisplayStopOfRouteParams creates a new CityBusAPIDisplayStopOfRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIDisplayStopOfRouteParamsWithContext

func NewCityBusAPIDisplayStopOfRouteParamsWithContext(ctx context.Context) *CityBusAPIDisplayStopOfRouteParams

NewCityBusAPIDisplayStopOfRouteParamsWithContext creates a new CityBusAPIDisplayStopOfRouteParams object with the ability to set a context for a request.

func NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient

func NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIDisplayStopOfRouteParams

NewCityBusAPIDisplayStopOfRouteParamsWithHTTPClient creates a new CityBusAPIDisplayStopOfRouteParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIDisplayStopOfRouteParamsWithTimeout

func NewCityBusAPIDisplayStopOfRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIDisplayStopOfRouteParams

NewCityBusAPIDisplayStopOfRouteParamsWithTimeout creates a new CityBusAPIDisplayStopOfRouteParams object with the ability to set a timeout on a request.

func (*CityBusAPIDisplayStopOfRouteParams) SetCity

func (o *CityBusAPIDisplayStopOfRouteParams) SetCity(city string)

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

func (*CityBusAPIDisplayStopOfRouteParams) SetContext

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDefaults added in v0.9.0

func (o *CityBusAPIDisplayStopOfRouteParams) SetDefaults()

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDollarFilter

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDollarFormat

func (o *CityBusAPIDisplayStopOfRouteParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDollarOrderby

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDollarSelect

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDollarSkip

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetDollarTop

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetHTTPClient

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetHealth added in v0.3.0

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

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

func (*CityBusAPIDisplayStopOfRouteParams) SetTimeout

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

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

func (*CityBusAPIDisplayStopOfRouteParams) WithCity

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

func (*CityBusAPIDisplayStopOfRouteParams) WithContext

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDollarFilter

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDollarFormat

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDollarOrderby

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDollarSelect

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDollarSkip

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

func (*CityBusAPIDisplayStopOfRouteParams) WithDollarTop

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

func (*CityBusAPIDisplayStopOfRouteParams) WithHTTPClient

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

func (*CityBusAPIDisplayStopOfRouteParams) WithHealth added in v0.3.0

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

func (*CityBusAPIDisplayStopOfRouteParams) WithTimeout

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

func (*CityBusAPIDisplayStopOfRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIDisplayStopOfRouteReader

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

CityBusAPIDisplayStopOfRouteReader is a Reader for the CityBusAPIDisplayStopOfRoute structure.

func (*CityBusAPIDisplayStopOfRouteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIDisplayStopOfRouteStatus299 added in v0.3.0

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

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

func NewCityBusAPIDisplayStopOfRouteStatus299 added in v0.3.0

func NewCityBusAPIDisplayStopOfRouteStatus299() *CityBusAPIDisplayStopOfRouteStatus299

NewCityBusAPIDisplayStopOfRouteStatus299 creates a CityBusAPIDisplayStopOfRouteStatus299 with default headers values

func (*CityBusAPIDisplayStopOfRouteStatus299) Error added in v0.3.0

func (*CityBusAPIDisplayStopOfRouteStatus299) GetPayload added in v0.3.0

type CityBusAPIEstimatedTimeOfArrival1NotModified added in v0.9.0

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

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

func NewCityBusAPIEstimatedTimeOfArrival1NotModified added in v0.9.0

func NewCityBusAPIEstimatedTimeOfArrival1NotModified() *CityBusAPIEstimatedTimeOfArrival1NotModified

NewCityBusAPIEstimatedTimeOfArrival1NotModified creates a CityBusAPIEstimatedTimeOfArrival1NotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrival1NotModified) Error added in v0.9.0

type CityBusAPIEstimatedTimeOfArrival1OK

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

Success

func NewCityBusAPIEstimatedTimeOfArrival1OK

func NewCityBusAPIEstimatedTimeOfArrival1OK() *CityBusAPIEstimatedTimeOfArrival1OK

NewCityBusAPIEstimatedTimeOfArrival1OK creates a CityBusAPIEstimatedTimeOfArrival1OK with default headers values

func (*CityBusAPIEstimatedTimeOfArrival1OK) Error

func (*CityBusAPIEstimatedTimeOfArrival1OK) GetPayload

type CityBusAPIEstimatedTimeOfArrival1Params

type CityBusAPIEstimatedTimeOfArrival1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIEstimatedTimeOfArrival1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrival1Params

func NewCityBusAPIEstimatedTimeOfArrival1Params() *CityBusAPIEstimatedTimeOfArrival1Params

NewCityBusAPIEstimatedTimeOfArrival1Params creates a new CityBusAPIEstimatedTimeOfArrival1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext

func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrival1Params

NewCityBusAPIEstimatedTimeOfArrival1ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrival1Params object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient

func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrival1Params

NewCityBusAPIEstimatedTimeOfArrival1ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrival1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout

func NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrival1Params

NewCityBusAPIEstimatedTimeOfArrival1ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrival1Params object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetCity

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetContext

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDefaults()

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFilter

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFormat

func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarOrderby

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSelect

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarSkip

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetDollarTop

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetHTTPClient

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetHealth added in v0.3.0

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetRouteName

func (o *CityBusAPIEstimatedTimeOfArrival1Params) SetRouteName(routeName string)

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) SetTimeout

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithCity

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithContext

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFilter

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarFormat

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarOrderby

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSelect

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarSkip

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithDollarTop

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithHTTPClient

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithHealth added in v0.3.0

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithRouteName

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WithTimeout

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

func (*CityBusAPIEstimatedTimeOfArrival1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrival1Reader

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

CityBusAPIEstimatedTimeOfArrival1Reader is a Reader for the CityBusAPIEstimatedTimeOfArrival1 structure.

func (*CityBusAPIEstimatedTimeOfArrival1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrival1Status299 added in v0.3.0

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

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

func NewCityBusAPIEstimatedTimeOfArrival1Status299 added in v0.3.0

func NewCityBusAPIEstimatedTimeOfArrival1Status299() *CityBusAPIEstimatedTimeOfArrival1Status299

NewCityBusAPIEstimatedTimeOfArrival1Status299 creates a CityBusAPIEstimatedTimeOfArrival1Status299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrival1Status299) Error added in v0.3.0

func (*CityBusAPIEstimatedTimeOfArrival1Status299) GetPayload added in v0.3.0

type CityBusAPIEstimatedTimeOfArrivalNotModified added in v0.9.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalNotModified added in v0.9.0

func NewCityBusAPIEstimatedTimeOfArrivalNotModified() *CityBusAPIEstimatedTimeOfArrivalNotModified

NewCityBusAPIEstimatedTimeOfArrivalNotModified creates a CityBusAPIEstimatedTimeOfArrivalNotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalNotModified) Error added in v0.9.0

type CityBusAPIEstimatedTimeOfArrivalOK

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

Success

func NewCityBusAPIEstimatedTimeOfArrivalOK

func NewCityBusAPIEstimatedTimeOfArrivalOK() *CityBusAPIEstimatedTimeOfArrivalOK

NewCityBusAPIEstimatedTimeOfArrivalOK creates a CityBusAPIEstimatedTimeOfArrivalOK with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalOK) Error

func (*CityBusAPIEstimatedTimeOfArrivalOK) GetPayload

type CityBusAPIEstimatedTimeOfArrivalParams

type CityBusAPIEstimatedTimeOfArrivalParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIEstimatedTimeOfArrivalParams contains all the parameters to send to the API endpoint

for the city bus Api estimated time of arrival operation.

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrivalParams

func NewCityBusAPIEstimatedTimeOfArrivalParams() *CityBusAPIEstimatedTimeOfArrivalParams

NewCityBusAPIEstimatedTimeOfArrivalParams creates a new CityBusAPIEstimatedTimeOfArrivalParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext

func NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalParams

NewCityBusAPIEstimatedTimeOfArrivalParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalParams object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient

func NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalParams

NewCityBusAPIEstimatedTimeOfArrivalParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout

func NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalParams

NewCityBusAPIEstimatedTimeOfArrivalParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalParams object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetCity

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetContext

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDefaults added in v0.9.0

func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDefaults()

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFilter

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFormat

func (o *CityBusAPIEstimatedTimeOfArrivalParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarOrderby

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSelect

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarSkip

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetDollarTop

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetHTTPClient

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetHealth added in v0.3.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) SetTimeout

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithCity

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithContext

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFilter

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarFormat

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarOrderby

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSelect

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarSkip

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithDollarTop

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithHTTPClient

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithHealth added in v0.3.0

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WithTimeout

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

func (*CityBusAPIEstimatedTimeOfArrivalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrivalReader

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

CityBusAPIEstimatedTimeOfArrivalReader is a Reader for the CityBusAPIEstimatedTimeOfArrival structure.

func (*CityBusAPIEstimatedTimeOfArrivalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrivalStatus299 added in v0.3.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalStatus299 added in v0.3.0

func NewCityBusAPIEstimatedTimeOfArrivalStatus299() *CityBusAPIEstimatedTimeOfArrivalStatus299

NewCityBusAPIEstimatedTimeOfArrivalStatus299 creates a CityBusAPIEstimatedTimeOfArrivalStatus299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalStatus299) Error added in v0.3.0

func (*CityBusAPIEstimatedTimeOfArrivalStatus299) GetPayload added in v0.3.0

type CityBusAPIEstimatedTimeOfArrivalUDP1Params added in v0.4.0

type CityBusAPIEstimatedTimeOfArrivalUDP1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIEstimatedTimeOfArrivalUDP1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP1Params added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP1Params() *CityBusAPIEstimatedTimeOfArrivalUDP1Params

NewCityBusAPIEstimatedTimeOfArrivalUDP1Params creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDP1Params

NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDP1Params

NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDP1Params

NewCityBusAPIEstimatedTimeOfArrivalUDP1ParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalUDP1Params object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetCity added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetContext added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDefaults added in v0.9.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFilter added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFormat added in v0.4.0

func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarOrderby added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSelect added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarSkip added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetDollarTop added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHTTPClient added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetHealth added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetRouteName added in v0.4.0

func (o *CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetRouteName(routeName string)

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) SetTimeout added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithCity added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithContext added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFilter added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarFormat added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarOrderby added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSelect added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarSkip added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithDollarTop added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHTTPClient added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithHealth added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithRouteName added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WithTimeout added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrivalUDP1Reader added in v0.4.0

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

CityBusAPIEstimatedTimeOfArrivalUDP1Reader is a Reader for the CityBusAPIEstimatedTimeOfArrivalUDP1 structure.

func (*CityBusAPIEstimatedTimeOfArrivalUDP1Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrivalUDPNotModified added in v0.9.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUDPNotModified added in v0.9.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPNotModified() *CityBusAPIEstimatedTimeOfArrivalUDPNotModified

NewCityBusAPIEstimatedTimeOfArrivalUDPNotModified creates a CityBusAPIEstimatedTimeOfArrivalUDPNotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUDPNotModified) Error added in v0.9.0

type CityBusAPIEstimatedTimeOfArrivalUDPOK added in v0.4.0

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

Success

func NewCityBusAPIEstimatedTimeOfArrivalUDPOK added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPOK() *CityBusAPIEstimatedTimeOfArrivalUDPOK

NewCityBusAPIEstimatedTimeOfArrivalUDPOK creates a CityBusAPIEstimatedTimeOfArrivalUDPOK with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUDPOK) Error added in v0.4.0

func (*CityBusAPIEstimatedTimeOfArrivalUDPOK) GetPayload added in v0.4.0

type CityBusAPIEstimatedTimeOfArrivalUDPParams added in v0.4.0

type CityBusAPIEstimatedTimeOfArrivalUDPParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIEstimatedTimeOfArrivalUDPParams contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIEstimatedTimeOfArrivalUDPParams added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPParams() *CityBusAPIEstimatedTimeOfArrivalUDPParams

NewCityBusAPIEstimatedTimeOfArrivalUDPParams creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext(ctx context.Context) *CityBusAPIEstimatedTimeOfArrivalUDPParams

NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithContext creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object with the ability to set a context for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIEstimatedTimeOfArrivalUDPParams

NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithHTTPClient creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIEstimatedTimeOfArrivalUDPParams

NewCityBusAPIEstimatedTimeOfArrivalUDPParamsWithTimeout creates a new CityBusAPIEstimatedTimeOfArrivalUDPParams object with the ability to set a timeout on a request.

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetCity added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetContext added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDefaults added in v0.9.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFilter added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFormat added in v0.4.0

func (o *CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarOrderby added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSelect added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarSkip added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetDollarTop added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHTTPClient added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetHealth added in v0.4.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) SetTimeout added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithCity added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithContext added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFilter added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarFormat added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarOrderby added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSelect added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarSkip added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithDollarTop added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHTTPClient added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithHealth added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WithTimeout added in v0.4.0

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

func (*CityBusAPIEstimatedTimeOfArrivalUDPParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIEstimatedTimeOfArrivalUDPReader added in v0.4.0

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

CityBusAPIEstimatedTimeOfArrivalUDPReader is a Reader for the CityBusAPIEstimatedTimeOfArrivalUDP structure.

func (*CityBusAPIEstimatedTimeOfArrivalUDPReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIEstimatedTimeOfArrivalUDPStatus299 added in v0.4.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUDPStatus299 added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUDPStatus299() *CityBusAPIEstimatedTimeOfArrivalUDPStatus299

NewCityBusAPIEstimatedTimeOfArrivalUDPStatus299 creates a CityBusAPIEstimatedTimeOfArrivalUDPStatus299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUDPStatus299) Error added in v0.4.0

func (*CityBusAPIEstimatedTimeOfArrivalUDPStatus299) GetPayload added in v0.4.0

type CityBusAPIEstimatedTimeOfArrivalUdp1NotModified added in v0.9.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUdp1NotModified added in v0.9.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp1NotModified() *CityBusAPIEstimatedTimeOfArrivalUdp1NotModified

NewCityBusAPIEstimatedTimeOfArrivalUdp1NotModified creates a CityBusAPIEstimatedTimeOfArrivalUdp1NotModified with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp1NotModified) Error added in v0.9.0

type CityBusAPIEstimatedTimeOfArrivalUdp1OK added in v0.4.0

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

Success

func NewCityBusAPIEstimatedTimeOfArrivalUdp1OK added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp1OK() *CityBusAPIEstimatedTimeOfArrivalUdp1OK

NewCityBusAPIEstimatedTimeOfArrivalUdp1OK creates a CityBusAPIEstimatedTimeOfArrivalUdp1OK with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp1OK) Error added in v0.4.0

func (*CityBusAPIEstimatedTimeOfArrivalUdp1OK) GetPayload added in v0.4.0

type CityBusAPIEstimatedTimeOfArrivalUdp1Status299 added in v0.4.0

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

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

func NewCityBusAPIEstimatedTimeOfArrivalUdp1Status299 added in v0.4.0

func NewCityBusAPIEstimatedTimeOfArrivalUdp1Status299() *CityBusAPIEstimatedTimeOfArrivalUdp1Status299

NewCityBusAPIEstimatedTimeOfArrivalUdp1Status299 creates a CityBusAPIEstimatedTimeOfArrivalUdp1Status299 with default headers values

func (*CityBusAPIEstimatedTimeOfArrivalUdp1Status299) Error added in v0.4.0

func (*CityBusAPIEstimatedTimeOfArrivalUdp1Status299) GetPayload added in v0.4.0

type CityBusAPIFirstLastTripInfo1NotModified added in v0.9.0

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

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

func NewCityBusAPIFirstLastTripInfo1NotModified added in v0.9.0

func NewCityBusAPIFirstLastTripInfo1NotModified() *CityBusAPIFirstLastTripInfo1NotModified

NewCityBusAPIFirstLastTripInfo1NotModified creates a CityBusAPIFirstLastTripInfo1NotModified with default headers values

func (*CityBusAPIFirstLastTripInfo1NotModified) Error added in v0.9.0

type CityBusAPIFirstLastTripInfo1OK added in v0.6.0

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

Success

func NewCityBusAPIFirstLastTripInfo1OK added in v0.6.0

func NewCityBusAPIFirstLastTripInfo1OK() *CityBusAPIFirstLastTripInfo1OK

NewCityBusAPIFirstLastTripInfo1OK creates a CityBusAPIFirstLastTripInfo1OK with default headers values

func (*CityBusAPIFirstLastTripInfo1OK) Error added in v0.6.0

func (*CityBusAPIFirstLastTripInfo1OK) GetPayload added in v0.6.0

type CityBusAPIFirstLastTripInfo1Params added in v0.6.0

type CityBusAPIFirstLastTripInfo1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIFirstLastTripInfo1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIFirstLastTripInfo1Params added in v0.6.0

func NewCityBusAPIFirstLastTripInfo1Params() *CityBusAPIFirstLastTripInfo1Params

NewCityBusAPIFirstLastTripInfo1Params creates a new CityBusAPIFirstLastTripInfo1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIFirstLastTripInfo1ParamsWithContext added in v0.6.0

func NewCityBusAPIFirstLastTripInfo1ParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfo1Params

NewCityBusAPIFirstLastTripInfo1ParamsWithContext creates a new CityBusAPIFirstLastTripInfo1Params object with the ability to set a context for a request.

func NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient added in v0.6.0

func NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfo1Params

NewCityBusAPIFirstLastTripInfo1ParamsWithHTTPClient creates a new CityBusAPIFirstLastTripInfo1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout added in v0.6.0

func NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfo1Params

NewCityBusAPIFirstLastTripInfo1ParamsWithTimeout creates a new CityBusAPIFirstLastTripInfo1Params object with the ability to set a timeout on a request.

func (*CityBusAPIFirstLastTripInfo1Params) SetCity added in v0.6.0

func (o *CityBusAPIFirstLastTripInfo1Params) SetCity(city string)

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

func (*CityBusAPIFirstLastTripInfo1Params) SetContext added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIFirstLastTripInfo1Params) SetDefaults()

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDollarFilter added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDollarFormat added in v0.6.0

func (o *CityBusAPIFirstLastTripInfo1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDollarOrderby added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDollarSelect added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDollarSkip added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetDollarTop added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetHTTPClient added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetHealth added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) SetRouteName added in v0.6.0

func (o *CityBusAPIFirstLastTripInfo1Params) SetRouteName(routeName string)

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

func (*CityBusAPIFirstLastTripInfo1Params) SetTimeout added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) WithCity added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithContext added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDollarFilter added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDollarFormat added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDollarOrderby added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDollarSelect added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDollarSkip added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithDollarTop added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithHTTPClient added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithHealth added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithRouteName added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WithTimeout added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfo1Params) WriteToRequest added in v0.6.0

WriteToRequest writes these params to a swagger request

type CityBusAPIFirstLastTripInfo1Reader added in v0.6.0

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

CityBusAPIFirstLastTripInfo1Reader is a Reader for the CityBusAPIFirstLastTripInfo1 structure.

func (*CityBusAPIFirstLastTripInfo1Reader) ReadResponse added in v0.6.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIFirstLastTripInfo1Status299 added in v0.6.0

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

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

func NewCityBusAPIFirstLastTripInfo1Status299 added in v0.6.0

func NewCityBusAPIFirstLastTripInfo1Status299() *CityBusAPIFirstLastTripInfo1Status299

NewCityBusAPIFirstLastTripInfo1Status299 creates a CityBusAPIFirstLastTripInfo1Status299 with default headers values

func (*CityBusAPIFirstLastTripInfo1Status299) Error added in v0.6.0

func (*CityBusAPIFirstLastTripInfo1Status299) GetPayload added in v0.6.0

type CityBusAPIFirstLastTripInfoNotModified added in v0.9.0

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

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

func NewCityBusAPIFirstLastTripInfoNotModified added in v0.9.0

func NewCityBusAPIFirstLastTripInfoNotModified() *CityBusAPIFirstLastTripInfoNotModified

NewCityBusAPIFirstLastTripInfoNotModified creates a CityBusAPIFirstLastTripInfoNotModified with default headers values

func (*CityBusAPIFirstLastTripInfoNotModified) Error added in v0.9.0

type CityBusAPIFirstLastTripInfoOK added in v0.6.0

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

Success

func NewCityBusAPIFirstLastTripInfoOK added in v0.6.0

func NewCityBusAPIFirstLastTripInfoOK() *CityBusAPIFirstLastTripInfoOK

NewCityBusAPIFirstLastTripInfoOK creates a CityBusAPIFirstLastTripInfoOK with default headers values

func (*CityBusAPIFirstLastTripInfoOK) Error added in v0.6.0

func (*CityBusAPIFirstLastTripInfoOK) GetPayload added in v0.6.0

type CityBusAPIFirstLastTripInfoParams added in v0.6.0

type CityBusAPIFirstLastTripInfoParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIFirstLastTripInfoParams contains all the parameters to send to the API endpoint

for the city bus Api first last trip info operation.

Typically these are written to a http.Request.

func NewCityBusAPIFirstLastTripInfoParams added in v0.6.0

func NewCityBusAPIFirstLastTripInfoParams() *CityBusAPIFirstLastTripInfoParams

NewCityBusAPIFirstLastTripInfoParams creates a new CityBusAPIFirstLastTripInfoParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIFirstLastTripInfoParamsWithContext added in v0.6.0

func NewCityBusAPIFirstLastTripInfoParamsWithContext(ctx context.Context) *CityBusAPIFirstLastTripInfoParams

NewCityBusAPIFirstLastTripInfoParamsWithContext creates a new CityBusAPIFirstLastTripInfoParams object with the ability to set a context for a request.

func NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient added in v0.6.0

func NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient(client *http.Client) *CityBusAPIFirstLastTripInfoParams

NewCityBusAPIFirstLastTripInfoParamsWithHTTPClient creates a new CityBusAPIFirstLastTripInfoParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIFirstLastTripInfoParamsWithTimeout added in v0.6.0

func NewCityBusAPIFirstLastTripInfoParamsWithTimeout(timeout time.Duration) *CityBusAPIFirstLastTripInfoParams

NewCityBusAPIFirstLastTripInfoParamsWithTimeout creates a new CityBusAPIFirstLastTripInfoParams object with the ability to set a timeout on a request.

func (*CityBusAPIFirstLastTripInfoParams) SetCity added in v0.6.0

func (o *CityBusAPIFirstLastTripInfoParams) SetCity(city string)

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

func (*CityBusAPIFirstLastTripInfoParams) SetContext added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) SetDefaults added in v0.9.0

func (o *CityBusAPIFirstLastTripInfoParams) SetDefaults()

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetDollarFilter added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetDollarFormat added in v0.6.0

func (o *CityBusAPIFirstLastTripInfoParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIFirstLastTripInfoParams) SetDollarOrderby added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetDollarSelect added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetDollarSkip added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetDollarTop added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetHTTPClient added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetHealth added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) SetTimeout added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) WithCity added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithContext added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) WithDollarFilter added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithDollarFormat added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithDollarOrderby added in v0.6.0

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

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

func (*CityBusAPIFirstLastTripInfoParams) WithDollarSelect added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithDollarSkip added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithDollarTop added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithHTTPClient added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithHealth added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WithTimeout added in v0.6.0

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

func (*CityBusAPIFirstLastTripInfoParams) WriteToRequest added in v0.6.0

WriteToRequest writes these params to a swagger request

type CityBusAPIFirstLastTripInfoReader added in v0.6.0

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

CityBusAPIFirstLastTripInfoReader is a Reader for the CityBusAPIFirstLastTripInfo structure.

func (*CityBusAPIFirstLastTripInfoReader) ReadResponse added in v0.6.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIFirstLastTripInfoStatus299 added in v0.6.0

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

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

func NewCityBusAPIFirstLastTripInfoStatus299 added in v0.6.0

func NewCityBusAPIFirstLastTripInfoStatus299() *CityBusAPIFirstLastTripInfoStatus299

NewCityBusAPIFirstLastTripInfoStatus299 creates a CityBusAPIFirstLastTripInfoStatus299 with default headers values

func (*CityBusAPIFirstLastTripInfoStatus299) Error added in v0.6.0

func (*CityBusAPIFirstLastTripInfoStatus299) GetPayload added in v0.6.0

type CityBusAPINewsNotModified added in v0.9.0

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

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

func NewCityBusAPINewsNotModified added in v0.9.0

func NewCityBusAPINewsNotModified() *CityBusAPINewsNotModified

NewCityBusAPINewsNotModified creates a CityBusAPINewsNotModified with default headers values

func (*CityBusAPINewsNotModified) Error added in v0.9.0

func (o *CityBusAPINewsNotModified) Error() string

type CityBusAPINewsOK

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

Success

func NewCityBusAPINewsOK

func NewCityBusAPINewsOK() *CityBusAPINewsOK

NewCityBusAPINewsOK creates a CityBusAPINewsOK with default headers values

func (*CityBusAPINewsOK) Error

func (o *CityBusAPINewsOK) Error() string

func (*CityBusAPINewsOK) GetPayload

type CityBusAPINewsParams

type CityBusAPINewsParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPINewsParams contains all the parameters to send to the API endpoint

for the city bus Api news operation.

Typically these are written to a http.Request.

func NewCityBusAPINewsParams

func NewCityBusAPINewsParams() *CityBusAPINewsParams

NewCityBusAPINewsParams creates a new CityBusAPINewsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPINewsParamsWithContext

func NewCityBusAPINewsParamsWithContext(ctx context.Context) *CityBusAPINewsParams

NewCityBusAPINewsParamsWithContext creates a new CityBusAPINewsParams object with the ability to set a context for a request.

func NewCityBusAPINewsParamsWithHTTPClient

func NewCityBusAPINewsParamsWithHTTPClient(client *http.Client) *CityBusAPINewsParams

NewCityBusAPINewsParamsWithHTTPClient creates a new CityBusAPINewsParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPINewsParamsWithTimeout

func NewCityBusAPINewsParamsWithTimeout(timeout time.Duration) *CityBusAPINewsParams

NewCityBusAPINewsParamsWithTimeout creates a new CityBusAPINewsParams object with the ability to set a timeout on a request.

func (*CityBusAPINewsParams) SetCity

func (o *CityBusAPINewsParams) SetCity(city string)

SetCity adds the city to the city bus Api news params

func (*CityBusAPINewsParams) SetContext

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

SetContext adds the context to the city bus Api news params

func (*CityBusAPINewsParams) SetDefaults added in v0.9.0

func (o *CityBusAPINewsParams) SetDefaults()

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

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

func (*CityBusAPINewsParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the city bus Api news params

func (*CityBusAPINewsParams) SetDollarFormat

func (o *CityBusAPINewsParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api news params

func (*CityBusAPINewsParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the city bus Api news params

func (*CityBusAPINewsParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the city bus Api news params

func (*CityBusAPINewsParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the city bus Api news params

func (*CityBusAPINewsParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the city bus Api news params

func (*CityBusAPINewsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the city bus Api news params

func (*CityBusAPINewsParams) SetHealth added in v0.3.0

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

SetHealth adds the health to the city bus Api news params

func (*CityBusAPINewsParams) SetTimeout

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

SetTimeout adds the timeout to the city bus Api news params

func (*CityBusAPINewsParams) WithCity

WithCity adds the city to the city bus Api news params

func (*CityBusAPINewsParams) WithContext

WithContext adds the context to the city bus Api news params

func (*CityBusAPINewsParams) WithDefaults added in v0.9.0

func (o *CityBusAPINewsParams) WithDefaults() *CityBusAPINewsParams

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

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

func (*CityBusAPINewsParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the city bus Api news params

func (*CityBusAPINewsParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the city bus Api news params

func (*CityBusAPINewsParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the city bus Api news params

func (*CityBusAPINewsParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the city bus Api news params

func (*CityBusAPINewsParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the city bus Api news params

func (*CityBusAPINewsParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the city bus Api news params

func (*CityBusAPINewsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the city bus Api news params

func (*CityBusAPINewsParams) WithHealth added in v0.3.0

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

WithHealth adds the health to the city bus Api news params

func (*CityBusAPINewsParams) WithTimeout

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

WithTimeout adds the timeout to the city bus Api news params

func (*CityBusAPINewsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CityBusAPINewsReader

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

CityBusAPINewsReader is a Reader for the CityBusAPINews structure.

func (*CityBusAPINewsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPINewsStatus299 added in v0.3.0

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

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

func NewCityBusAPINewsStatus299 added in v0.3.0

func NewCityBusAPINewsStatus299() *CityBusAPINewsStatus299

NewCityBusAPINewsStatus299 creates a CityBusAPINewsStatus299 with default headers values

func (*CityBusAPINewsStatus299) Error added in v0.3.0

func (o *CityBusAPINewsStatus299) Error() string

func (*CityBusAPINewsStatus299) GetPayload added in v0.3.0

type CityBusAPIOperatorNotModified added in v0.9.0

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

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

func NewCityBusAPIOperatorNotModified added in v0.9.0

func NewCityBusAPIOperatorNotModified() *CityBusAPIOperatorNotModified

NewCityBusAPIOperatorNotModified creates a CityBusAPIOperatorNotModified with default headers values

func (*CityBusAPIOperatorNotModified) Error added in v0.9.0

type CityBusAPIOperatorOK

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

Success

func NewCityBusAPIOperatorOK

func NewCityBusAPIOperatorOK() *CityBusAPIOperatorOK

NewCityBusAPIOperatorOK creates a CityBusAPIOperatorOK with default headers values

func (*CityBusAPIOperatorOK) Error

func (o *CityBusAPIOperatorOK) Error() string

func (*CityBusAPIOperatorOK) GetPayload

type CityBusAPIOperatorParams

type CityBusAPIOperatorParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIOperatorParams contains all the parameters to send to the API endpoint

for the city bus Api operator operation.

Typically these are written to a http.Request.

func NewCityBusAPIOperatorParams

func NewCityBusAPIOperatorParams() *CityBusAPIOperatorParams

NewCityBusAPIOperatorParams creates a new CityBusAPIOperatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIOperatorParamsWithContext

func NewCityBusAPIOperatorParamsWithContext(ctx context.Context) *CityBusAPIOperatorParams

NewCityBusAPIOperatorParamsWithContext creates a new CityBusAPIOperatorParams object with the ability to set a context for a request.

func NewCityBusAPIOperatorParamsWithHTTPClient

func NewCityBusAPIOperatorParamsWithHTTPClient(client *http.Client) *CityBusAPIOperatorParams

NewCityBusAPIOperatorParamsWithHTTPClient creates a new CityBusAPIOperatorParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIOperatorParamsWithTimeout

func NewCityBusAPIOperatorParamsWithTimeout(timeout time.Duration) *CityBusAPIOperatorParams

NewCityBusAPIOperatorParamsWithTimeout creates a new CityBusAPIOperatorParams object with the ability to set a timeout on a request.

func (*CityBusAPIOperatorParams) SetCity

func (o *CityBusAPIOperatorParams) SetCity(city string)

SetCity adds the city to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetContext

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

SetContext adds the context to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetDefaults added in v0.9.0

func (o *CityBusAPIOperatorParams) SetDefaults()

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

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

func (*CityBusAPIOperatorParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetDollarFormat

func (o *CityBusAPIOperatorParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetHealth added in v0.3.0

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

SetHealth adds the health to the city bus Api operator params

func (*CityBusAPIOperatorParams) SetTimeout

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

SetTimeout adds the timeout to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithCity

WithCity adds the city to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithContext

WithContext adds the context to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIOperatorParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api operator params

func (*CityBusAPIOperatorParams) WithTimeout

WithTimeout adds the timeout to the city bus Api operator params

func (*CityBusAPIOperatorParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIOperatorReader

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

CityBusAPIOperatorReader is a Reader for the CityBusAPIOperator structure.

func (*CityBusAPIOperatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIOperatorStatus299 added in v0.3.0

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

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

func NewCityBusAPIOperatorStatus299 added in v0.3.0

func NewCityBusAPIOperatorStatus299() *CityBusAPIOperatorStatus299

NewCityBusAPIOperatorStatus299 creates a CityBusAPIOperatorStatus299 with default headers values

func (*CityBusAPIOperatorStatus299) Error added in v0.3.0

func (*CityBusAPIOperatorStatus299) GetPayload added in v0.3.0

type CityBusAPIRealTimeByFrequency1NotModified added in v0.9.0

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

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

func NewCityBusAPIRealTimeByFrequency1NotModified added in v0.9.0

func NewCityBusAPIRealTimeByFrequency1NotModified() *CityBusAPIRealTimeByFrequency1NotModified

NewCityBusAPIRealTimeByFrequency1NotModified creates a CityBusAPIRealTimeByFrequency1NotModified with default headers values

func (*CityBusAPIRealTimeByFrequency1NotModified) Error added in v0.9.0

type CityBusAPIRealTimeByFrequency1OK

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

Success

func NewCityBusAPIRealTimeByFrequency1OK

func NewCityBusAPIRealTimeByFrequency1OK() *CityBusAPIRealTimeByFrequency1OK

NewCityBusAPIRealTimeByFrequency1OK creates a CityBusAPIRealTimeByFrequency1OK with default headers values

func (*CityBusAPIRealTimeByFrequency1OK) Error

func (*CityBusAPIRealTimeByFrequency1OK) GetPayload

type CityBusAPIRealTimeByFrequency1Params

type CityBusAPIRealTimeByFrequency1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

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

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIRealTimeByFrequency1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequency1Params

func NewCityBusAPIRealTimeByFrequency1Params() *CityBusAPIRealTimeByFrequency1Params

NewCityBusAPIRealTimeByFrequency1Params creates a new CityBusAPIRealTimeByFrequency1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeByFrequency1ParamsWithContext

func NewCityBusAPIRealTimeByFrequency1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequency1Params

NewCityBusAPIRealTimeByFrequency1ParamsWithContext creates a new CityBusAPIRealTimeByFrequency1Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient

func NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequency1Params

NewCityBusAPIRealTimeByFrequency1ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequency1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout

func NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequency1Params

NewCityBusAPIRealTimeByFrequency1ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequency1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequency1Params) SetCity

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

func (*CityBusAPIRealTimeByFrequency1Params) SetContext

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeByFrequency1Params) SetDefaults()

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarFilter

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarFormat

func (o *CityBusAPIRealTimeByFrequency1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarOrderby

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarSelect

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarSkip

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarSpatialFilter

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetDollarTop

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetHTTPClient

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetHealth added in v0.3.0

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

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

func (*CityBusAPIRealTimeByFrequency1Params) SetRouteName

func (o *CityBusAPIRealTimeByFrequency1Params) SetRouteName(routeName string)

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

func (*CityBusAPIRealTimeByFrequency1Params) SetTimeout

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

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

func (*CityBusAPIRealTimeByFrequency1Params) WithCity

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

func (*CityBusAPIRealTimeByFrequency1Params) WithContext

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarFilter

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarFormat

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarOrderby

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarSelect

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarSkip

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarSpatialFilter

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

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

func (*CityBusAPIRealTimeByFrequency1Params) WithDollarTop

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

func (*CityBusAPIRealTimeByFrequency1Params) WithHTTPClient

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

func (*CityBusAPIRealTimeByFrequency1Params) WithHealth added in v0.3.0

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

func (*CityBusAPIRealTimeByFrequency1Params) WithRouteName

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

func (*CityBusAPIRealTimeByFrequency1Params) WithTimeout

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

func (*CityBusAPIRealTimeByFrequency1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequency1Reader

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

CityBusAPIRealTimeByFrequency1Reader is a Reader for the CityBusAPIRealTimeByFrequency1 structure.

func (*CityBusAPIRealTimeByFrequency1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequency1Status299 added in v0.3.0

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

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

func NewCityBusAPIRealTimeByFrequency1Status299 added in v0.3.0

func NewCityBusAPIRealTimeByFrequency1Status299() *CityBusAPIRealTimeByFrequency1Status299

NewCityBusAPIRealTimeByFrequency1Status299 creates a CityBusAPIRealTimeByFrequency1Status299 with default headers values

func (*CityBusAPIRealTimeByFrequency1Status299) Error added in v0.3.0

func (*CityBusAPIRealTimeByFrequency1Status299) GetPayload added in v0.3.0

type CityBusAPIRealTimeByFrequencyNotModified added in v0.9.0

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

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

func NewCityBusAPIRealTimeByFrequencyNotModified added in v0.9.0

func NewCityBusAPIRealTimeByFrequencyNotModified() *CityBusAPIRealTimeByFrequencyNotModified

NewCityBusAPIRealTimeByFrequencyNotModified creates a CityBusAPIRealTimeByFrequencyNotModified with default headers values

func (*CityBusAPIRealTimeByFrequencyNotModified) Error added in v0.9.0

type CityBusAPIRealTimeByFrequencyOK

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

Success

func NewCityBusAPIRealTimeByFrequencyOK

func NewCityBusAPIRealTimeByFrequencyOK() *CityBusAPIRealTimeByFrequencyOK

NewCityBusAPIRealTimeByFrequencyOK creates a CityBusAPIRealTimeByFrequencyOK with default headers values

func (*CityBusAPIRealTimeByFrequencyOK) Error

func (*CityBusAPIRealTimeByFrequencyOK) GetPayload

type CityBusAPIRealTimeByFrequencyParams

type CityBusAPIRealTimeByFrequencyParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

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

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIRealTimeByFrequencyParams contains all the parameters to send to the API endpoint

for the city bus Api real time by frequency operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequencyParams

func NewCityBusAPIRealTimeByFrequencyParams() *CityBusAPIRealTimeByFrequencyParams

NewCityBusAPIRealTimeByFrequencyParams creates a new CityBusAPIRealTimeByFrequencyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeByFrequencyParamsWithContext

func NewCityBusAPIRealTimeByFrequencyParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyParams

NewCityBusAPIRealTimeByFrequencyParamsWithContext creates a new CityBusAPIRealTimeByFrequencyParams object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient

func NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyParams

NewCityBusAPIRealTimeByFrequencyParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequencyParamsWithTimeout

func NewCityBusAPIRealTimeByFrequencyParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyParams

NewCityBusAPIRealTimeByFrequencyParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyParams object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequencyParams) SetCity

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

func (*CityBusAPIRealTimeByFrequencyParams) SetContext

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeByFrequencyParams) SetDefaults()

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarFilter

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarFormat

func (o *CityBusAPIRealTimeByFrequencyParams) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarOrderby

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarSelect

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarSkip

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarSpatialFilter

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetDollarTop

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetHTTPClient

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetHealth added in v0.3.0

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

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

func (*CityBusAPIRealTimeByFrequencyParams) SetTimeout

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

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

func (*CityBusAPIRealTimeByFrequencyParams) WithCity

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

func (*CityBusAPIRealTimeByFrequencyParams) WithContext

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

func (*CityBusAPIRealTimeByFrequencyParams) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarFilter

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarOrderby

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarSelect

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarSpatialFilter

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithDollarTop

WithDollarTop adds the dollarTop to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WithTimeout

WithTimeout adds the timeout to the city bus Api real time by frequency params

func (*CityBusAPIRealTimeByFrequencyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequencyReader

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

CityBusAPIRealTimeByFrequencyReader is a Reader for the CityBusAPIRealTimeByFrequency structure.

func (*CityBusAPIRealTimeByFrequencyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequencyStatus299 added in v0.3.0

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

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

func NewCityBusAPIRealTimeByFrequencyStatus299 added in v0.3.0

func NewCityBusAPIRealTimeByFrequencyStatus299() *CityBusAPIRealTimeByFrequencyStatus299

NewCityBusAPIRealTimeByFrequencyStatus299 creates a CityBusAPIRealTimeByFrequencyStatus299 with default headers values

func (*CityBusAPIRealTimeByFrequencyStatus299) Error added in v0.3.0

func (*CityBusAPIRealTimeByFrequencyStatus299) GetPayload added in v0.3.0

type CityBusAPIRealTimeByFrequencyUDP1Params added in v0.4.0

type CityBusAPIRealTimeByFrequencyUDP1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

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

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

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

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

CityBusAPIRealTimeByFrequencyUDP1Params contains all the parameters to send to the API endpoint

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

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequencyUDP1Params added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDP1Params() *CityBusAPIRealTimeByFrequencyUDP1Params

NewCityBusAPIRealTimeByFrequencyUDP1Params creates a new CityBusAPIRealTimeByFrequencyUDP1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDP1Params

NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithContext creates a new CityBusAPIRealTimeByFrequencyUDP1Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDP1Params

NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyUDP1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDP1Params

NewCityBusAPIRealTimeByFrequencyUDP1ParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyUDP1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetCity added in v0.4.0

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetContext added in v0.4.0

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDefaults()

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFilter added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFormat added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarFormat(dollarFormat string)

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarOrderby added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSelect added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSkip added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarSpatialFilter added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetDollarTop added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetHTTPClient added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetHealth added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetRouteName added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDP1Params) SetRouteName(routeName string)

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) SetTimeout added in v0.4.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithCity added in v0.4.0

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithContext added in v0.4.0

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDefaults added in v0.9.0

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

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

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFilter added in v0.4.0

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarFormat added in v0.4.0

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarOrderby added in v0.4.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSelect added in v0.4.0

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarSpatialFilter added in v0.4.0

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

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithHealth added in v0.4.0

WithHealth adds the health to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithRouteName added in v0.4.0

WithRouteName adds the routeName to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the city bus Api real time by frequency UDP 1 params

func (*CityBusAPIRealTimeByFrequencyUDP1Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequencyUDP1Reader added in v0.4.0

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

CityBusAPIRealTimeByFrequencyUDP1Reader is a Reader for the CityBusAPIRealTimeByFrequencyUDP1 structure.

func (*CityBusAPIRealTimeByFrequencyUDP1Reader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequencyUDPNotModified added in v0.9.0

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

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

func NewCityBusAPIRealTimeByFrequencyUDPNotModified added in v0.9.0

func NewCityBusAPIRealTimeByFrequencyUDPNotModified() *CityBusAPIRealTimeByFrequencyUDPNotModified

NewCityBusAPIRealTimeByFrequencyUDPNotModified creates a CityBusAPIRealTimeByFrequencyUDPNotModified with default headers values

func (*CityBusAPIRealTimeByFrequencyUDPNotModified) Error added in v0.9.0

type CityBusAPIRealTimeByFrequencyUDPOK added in v0.4.0

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

Success

func NewCityBusAPIRealTimeByFrequencyUDPOK added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDPOK() *CityBusAPIRealTimeByFrequencyUDPOK

NewCityBusAPIRealTimeByFrequencyUDPOK creates a CityBusAPIRealTimeByFrequencyUDPOK with default headers values

func (*CityBusAPIRealTimeByFrequencyUDPOK) Error added in v0.4.0

func (*CityBusAPIRealTimeByFrequencyUDPOK) GetPayload added in v0.4.0

type CityBusAPIRealTimeByFrequencyUDPParams added in v0.4.0

type CityBusAPIRealTimeByFrequencyUDPParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

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

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

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

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

CityBusAPIRealTimeByFrequencyUDPParams contains all the parameters to send to the API endpoint

for the city bus Api real time by frequency UDP operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeByFrequencyUDPParams added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDPParams() *CityBusAPIRealTimeByFrequencyUDPParams

NewCityBusAPIRealTimeByFrequencyUDPParams creates a new CityBusAPIRealTimeByFrequencyUDPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext(ctx context.Context) *CityBusAPIRealTimeByFrequencyUDPParams

NewCityBusAPIRealTimeByFrequencyUDPParamsWithContext creates a new CityBusAPIRealTimeByFrequencyUDPParams object with the ability to set a context for a request.

func NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeByFrequencyUDPParams

NewCityBusAPIRealTimeByFrequencyUDPParamsWithHTTPClient creates a new CityBusAPIRealTimeByFrequencyUDPParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeByFrequencyUDPParams

NewCityBusAPIRealTimeByFrequencyUDPParamsWithTimeout creates a new CityBusAPIRealTimeByFrequencyUDPParams object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetCity added in v0.4.0

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

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetContext added in v0.4.0

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

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time by frequency UDP params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFilter added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFormat added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarOrderby added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSelect added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSkip added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSpatialFilter added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarSpatialFilter(dollarSpatialFilter *string)

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetDollarTop added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetHTTPClient added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetHealth added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) SetTimeout added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithCity added in v0.4.0

WithCity adds the city to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithContext added in v0.4.0

WithContext adds the context to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api real time by frequency UDP params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFilter added in v0.4.0

WithDollarFilter adds the dollarFilter to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarFormat added in v0.4.0

WithDollarFormat adds the dollarFormat to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarOrderby added in v0.4.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSelect added in v0.4.0

WithDollarSelect adds the dollarSelect to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSpatialFilter added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIRealTimeByFrequencyUDPParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithHealth added in v0.4.0

WithHealth adds the health to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the city bus Api real time by frequency UDP params

func (*CityBusAPIRealTimeByFrequencyUDPParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeByFrequencyUDPReader added in v0.4.0

type CityBusAPIRealTimeByFrequencyUDPReader struct {
	// contains filtered or unexported fields
}

CityBusAPIRealTimeByFrequencyUDPReader is a Reader for the CityBusAPIRealTimeByFrequencyUDP structure.

func (*CityBusAPIRealTimeByFrequencyUDPReader) ReadResponse added in v0.4.0

func (o *CityBusAPIRealTimeByFrequencyUDPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeByFrequencyUDPStatus299 added in v0.4.0

type CityBusAPIRealTimeByFrequencyUDPStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeByFrequencyUDPStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRealTimeByFrequencyUDPStatus299 added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUDPStatus299() *CityBusAPIRealTimeByFrequencyUDPStatus299

NewCityBusAPIRealTimeByFrequencyUDPStatus299 creates a CityBusAPIRealTimeByFrequencyUDPStatus299 with default headers values

func (*CityBusAPIRealTimeByFrequencyUDPStatus299) Error added in v0.4.0

func (*CityBusAPIRealTimeByFrequencyUDPStatus299) GetPayload added in v0.4.0

type CityBusAPIRealTimeByFrequencyUdp1NotModified added in v0.9.0

type CityBusAPIRealTimeByFrequencyUdp1NotModified struct {
}
CityBusAPIRealTimeByFrequencyUdp1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRealTimeByFrequencyUdp1NotModified added in v0.9.0

func NewCityBusAPIRealTimeByFrequencyUdp1NotModified() *CityBusAPIRealTimeByFrequencyUdp1NotModified

NewCityBusAPIRealTimeByFrequencyUdp1NotModified creates a CityBusAPIRealTimeByFrequencyUdp1NotModified with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp1NotModified) Error added in v0.9.0

type CityBusAPIRealTimeByFrequencyUdp1OK added in v0.4.0

type CityBusAPIRealTimeByFrequencyUdp1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA1Data
}
CityBusAPIRealTimeByFrequencyUdp1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeByFrequencyUdp1OK added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUdp1OK() *CityBusAPIRealTimeByFrequencyUdp1OK

NewCityBusAPIRealTimeByFrequencyUdp1OK creates a CityBusAPIRealTimeByFrequencyUdp1OK with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp1OK) Error added in v0.4.0

func (*CityBusAPIRealTimeByFrequencyUdp1OK) GetPayload added in v0.4.0

type CityBusAPIRealTimeByFrequencyUdp1Status299 added in v0.4.0

type CityBusAPIRealTimeByFrequencyUdp1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeByFrequencyUdp1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRealTimeByFrequencyUdp1Status299 added in v0.4.0

func NewCityBusAPIRealTimeByFrequencyUdp1Status299() *CityBusAPIRealTimeByFrequencyUdp1Status299

NewCityBusAPIRealTimeByFrequencyUdp1Status299 creates a CityBusAPIRealTimeByFrequencyUdp1Status299 with default headers values

func (*CityBusAPIRealTimeByFrequencyUdp1Status299) Error added in v0.4.0

func (*CityBusAPIRealTimeByFrequencyUdp1Status299) GetPayload added in v0.4.0

type CityBusAPIRealTimeNearStop1NotModified added in v0.9.0

type CityBusAPIRealTimeNearStop1NotModified struct {
}
CityBusAPIRealTimeNearStop1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRealTimeNearStop1NotModified added in v0.9.0

func NewCityBusAPIRealTimeNearStop1NotModified() *CityBusAPIRealTimeNearStop1NotModified

NewCityBusAPIRealTimeNearStop1NotModified creates a CityBusAPIRealTimeNearStop1NotModified with default headers values

func (*CityBusAPIRealTimeNearStop1NotModified) Error added in v0.9.0

type CityBusAPIRealTimeNearStop1OK

type CityBusAPIRealTimeNearStop1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStop1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStop1OK

func NewCityBusAPIRealTimeNearStop1OK() *CityBusAPIRealTimeNearStop1OK

NewCityBusAPIRealTimeNearStop1OK creates a CityBusAPIRealTimeNearStop1OK with default headers values

func (*CityBusAPIRealTimeNearStop1OK) Error

func (*CityBusAPIRealTimeNearStop1OK) GetPayload

type CityBusAPIRealTimeNearStop1Params

type CityBusAPIRealTimeNearStop1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStop1Params contains all the parameters to send to the API endpoint

for the city bus Api real time near stop 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStop1Params

func NewCityBusAPIRealTimeNearStop1Params() *CityBusAPIRealTimeNearStop1Params

NewCityBusAPIRealTimeNearStop1Params creates a new CityBusAPIRealTimeNearStop1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeNearStop1ParamsWithContext

func NewCityBusAPIRealTimeNearStop1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStop1Params

NewCityBusAPIRealTimeNearStop1ParamsWithContext creates a new CityBusAPIRealTimeNearStop1Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient

func NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStop1Params

NewCityBusAPIRealTimeNearStop1ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStop1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStop1ParamsWithTimeout

func NewCityBusAPIRealTimeNearStop1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStop1Params

NewCityBusAPIRealTimeNearStop1ParamsWithTimeout creates a new CityBusAPIRealTimeNearStop1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStop1Params) SetCity

func (o *CityBusAPIRealTimeNearStop1Params) SetCity(city string)

SetCity adds the city to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetContext

SetContext adds the context to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeNearStop1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStop1Params) SetDollarFilter

func (o *CityBusAPIRealTimeNearStop1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetDollarFormat

func (o *CityBusAPIRealTimeNearStop1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetDollarOrderby

func (o *CityBusAPIRealTimeNearStop1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetDollarSelect

func (o *CityBusAPIRealTimeNearStop1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetDollarSkip

func (o *CityBusAPIRealTimeNearStop1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetDollarTop

func (o *CityBusAPIRealTimeNearStop1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetHTTPClient

func (o *CityBusAPIRealTimeNearStop1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetHealth added in v0.3.0

func (o *CityBusAPIRealTimeNearStop1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetRouteName

func (o *CityBusAPIRealTimeNearStop1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) SetTimeout

func (o *CityBusAPIRealTimeNearStop1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithCity

WithCity adds the city to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithContext

WithContext adds the context to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api real time near stop 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStop1Params) WithDollarFilter

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithDollarFormat

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithDollarOrderby

func (o *CityBusAPIRealTimeNearStop1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStop1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithDollarSelect

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithDollarSkip

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithDollarTop

WithDollarTop adds the dollarTop to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithRouteName

WithRouteName adds the routeName to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WithTimeout

WithTimeout adds the timeout to the city bus Api real time near stop 1 params

func (*CityBusAPIRealTimeNearStop1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStop1Reader

type CityBusAPIRealTimeNearStop1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStop1Reader is a Reader for the CityBusAPIRealTimeNearStop1 structure.

func (*CityBusAPIRealTimeNearStop1Reader) ReadResponse

func (o *CityBusAPIRealTimeNearStop1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStop1Status299 added in v0.3.0

type CityBusAPIRealTimeNearStop1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStop1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRealTimeNearStop1Status299 added in v0.3.0

func NewCityBusAPIRealTimeNearStop1Status299() *CityBusAPIRealTimeNearStop1Status299

NewCityBusAPIRealTimeNearStop1Status299 creates a CityBusAPIRealTimeNearStop1Status299 with default headers values

func (*CityBusAPIRealTimeNearStop1Status299) Error added in v0.3.0

func (*CityBusAPIRealTimeNearStop1Status299) GetPayload added in v0.3.0

type CityBusAPIRealTimeNearStopNotModified added in v0.9.0

type CityBusAPIRealTimeNearStopNotModified struct {
}
CityBusAPIRealTimeNearStopNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRealTimeNearStopNotModified added in v0.9.0

func NewCityBusAPIRealTimeNearStopNotModified() *CityBusAPIRealTimeNearStopNotModified

NewCityBusAPIRealTimeNearStopNotModified creates a CityBusAPIRealTimeNearStopNotModified with default headers values

func (*CityBusAPIRealTimeNearStopNotModified) Error added in v0.9.0

type CityBusAPIRealTimeNearStopOK

type CityBusAPIRealTimeNearStopOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStopOK

func NewCityBusAPIRealTimeNearStopOK() *CityBusAPIRealTimeNearStopOK

NewCityBusAPIRealTimeNearStopOK creates a CityBusAPIRealTimeNearStopOK with default headers values

func (*CityBusAPIRealTimeNearStopOK) Error

func (*CityBusAPIRealTimeNearStopOK) GetPayload

type CityBusAPIRealTimeNearStopParams

type CityBusAPIRealTimeNearStopParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStopParams contains all the parameters to send to the API endpoint

for the city bus Api real time near stop operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStopParams

func NewCityBusAPIRealTimeNearStopParams() *CityBusAPIRealTimeNearStopParams

NewCityBusAPIRealTimeNearStopParams creates a new CityBusAPIRealTimeNearStopParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeNearStopParamsWithContext

func NewCityBusAPIRealTimeNearStopParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopParams

NewCityBusAPIRealTimeNearStopParamsWithContext creates a new CityBusAPIRealTimeNearStopParams object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStopParamsWithHTTPClient

func NewCityBusAPIRealTimeNearStopParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopParams

NewCityBusAPIRealTimeNearStopParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStopParamsWithTimeout

func NewCityBusAPIRealTimeNearStopParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopParams

NewCityBusAPIRealTimeNearStopParamsWithTimeout creates a new CityBusAPIRealTimeNearStopParams object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStopParams) SetCity

func (o *CityBusAPIRealTimeNearStopParams) SetCity(city string)

SetCity adds the city to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetContext

SetContext adds the context to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeNearStopParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStopParams) SetDollarFilter

func (o *CityBusAPIRealTimeNearStopParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetDollarFormat

func (o *CityBusAPIRealTimeNearStopParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetDollarOrderby

func (o *CityBusAPIRealTimeNearStopParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetDollarSelect

func (o *CityBusAPIRealTimeNearStopParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetDollarSkip

func (o *CityBusAPIRealTimeNearStopParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetDollarTop

func (o *CityBusAPIRealTimeNearStopParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetHTTPClient

func (o *CityBusAPIRealTimeNearStopParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetHealth added in v0.3.0

func (o *CityBusAPIRealTimeNearStopParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) SetTimeout

func (o *CityBusAPIRealTimeNearStopParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithCity

WithCity adds the city to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithContext

WithContext adds the context to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api real time near stop params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStopParams) WithDollarFilter

func (o *CityBusAPIRealTimeNearStopParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRealTimeNearStopParams

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithDollarFormat

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithDollarOrderby

func (o *CityBusAPIRealTimeNearStopParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRealTimeNearStopParams

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithDollarSelect

func (o *CityBusAPIRealTimeNearStopParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRealTimeNearStopParams

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithDollarSkip

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithDollarTop

WithDollarTop adds the dollarTop to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WithTimeout

WithTimeout adds the timeout to the city bus Api real time near stop params

func (*CityBusAPIRealTimeNearStopParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStopReader

type CityBusAPIRealTimeNearStopReader struct {
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStopReader is a Reader for the CityBusAPIRealTimeNearStop structure.

func (*CityBusAPIRealTimeNearStopReader) ReadResponse

func (o *CityBusAPIRealTimeNearStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStopStatus299 added in v0.3.0

type CityBusAPIRealTimeNearStopStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStopStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRealTimeNearStopStatus299 added in v0.3.0

func NewCityBusAPIRealTimeNearStopStatus299() *CityBusAPIRealTimeNearStopStatus299

NewCityBusAPIRealTimeNearStopStatus299 creates a CityBusAPIRealTimeNearStopStatus299 with default headers values

func (*CityBusAPIRealTimeNearStopStatus299) Error added in v0.3.0

func (*CityBusAPIRealTimeNearStopStatus299) GetPayload added in v0.3.0

type CityBusAPIRealTimeNearStopUDP1Params added in v0.4.0

type CityBusAPIRealTimeNearStopUDP1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStopUDP1Params contains all the parameters to send to the API endpoint

for the city bus Api real time near stop UDP 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStopUDP1Params added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDP1Params() *CityBusAPIRealTimeNearStopUDP1Params

NewCityBusAPIRealTimeNearStopUDP1Params creates a new CityBusAPIRealTimeNearStopUDP1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDP1Params

NewCityBusAPIRealTimeNearStopUDP1ParamsWithContext creates a new CityBusAPIRealTimeNearStopUDP1Params object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDP1Params

NewCityBusAPIRealTimeNearStopUDP1ParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopUDP1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDP1Params

NewCityBusAPIRealTimeNearStopUDP1ParamsWithTimeout creates a new CityBusAPIRealTimeNearStopUDP1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStopUDP1Params) SetCity added in v0.4.0

SetCity adds the city to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetContext added in v0.4.0

SetContext adds the context to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop UDP 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarFilter added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarFormat added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarOrderby added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarSelect added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarSkip added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetDollarTop added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetHTTPClient added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetHealth added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetRouteName added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) SetTimeout added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithCity added in v0.4.0

WithCity adds the city to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithContext added in v0.4.0

WithContext adds the context to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api real time near stop UDP 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarFilter added in v0.4.0

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarFormat added in v0.4.0

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarOrderby added in v0.4.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarSelect added in v0.4.0

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithHealth added in v0.4.0

WithHealth adds the health to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithRouteName added in v0.4.0

WithRouteName adds the routeName to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the city bus Api real time near stop UDP 1 params

func (*CityBusAPIRealTimeNearStopUDP1Params) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStopUDP1Reader added in v0.4.0

type CityBusAPIRealTimeNearStopUDP1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStopUDP1Reader is a Reader for the CityBusAPIRealTimeNearStopUDP1 structure.

func (*CityBusAPIRealTimeNearStopUDP1Reader) ReadResponse added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDP1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStopUDPNotModified added in v0.9.0

type CityBusAPIRealTimeNearStopUDPNotModified struct {
}
CityBusAPIRealTimeNearStopUDPNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRealTimeNearStopUDPNotModified added in v0.9.0

func NewCityBusAPIRealTimeNearStopUDPNotModified() *CityBusAPIRealTimeNearStopUDPNotModified

NewCityBusAPIRealTimeNearStopUDPNotModified creates a CityBusAPIRealTimeNearStopUDPNotModified with default headers values

func (*CityBusAPIRealTimeNearStopUDPNotModified) Error added in v0.9.0

type CityBusAPIRealTimeNearStopUDPOK added in v0.4.0

type CityBusAPIRealTimeNearStopUDPOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopUDPOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStopUDPOK added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDPOK() *CityBusAPIRealTimeNearStopUDPOK

NewCityBusAPIRealTimeNearStopUDPOK creates a CityBusAPIRealTimeNearStopUDPOK with default headers values

func (*CityBusAPIRealTimeNearStopUDPOK) Error added in v0.4.0

func (*CityBusAPIRealTimeNearStopUDPOK) GetPayload added in v0.4.0

type CityBusAPIRealTimeNearStopUDPParams added in v0.4.0

type CityBusAPIRealTimeNearStopUDPParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStopUDPParams contains all the parameters to send to the API endpoint

for the city bus Api real time near stop UDP operation.

Typically these are written to a http.Request.

func NewCityBusAPIRealTimeNearStopUDPParams added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDPParams() *CityBusAPIRealTimeNearStopUDPParams

NewCityBusAPIRealTimeNearStopUDPParams creates a new CityBusAPIRealTimeNearStopUDPParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRealTimeNearStopUDPParamsWithContext added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDPParamsWithContext(ctx context.Context) *CityBusAPIRealTimeNearStopUDPParams

NewCityBusAPIRealTimeNearStopUDPParamsWithContext creates a new CityBusAPIRealTimeNearStopUDPParams object with the ability to set a context for a request.

func NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient(client *http.Client) *CityBusAPIRealTimeNearStopUDPParams

NewCityBusAPIRealTimeNearStopUDPParamsWithHTTPClient creates a new CityBusAPIRealTimeNearStopUDPParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout(timeout time.Duration) *CityBusAPIRealTimeNearStopUDPParams

NewCityBusAPIRealTimeNearStopUDPParamsWithTimeout creates a new CityBusAPIRealTimeNearStopUDPParams object with the ability to set a timeout on a request.

func (*CityBusAPIRealTimeNearStopUDPParams) SetCity added in v0.4.0

SetCity adds the city to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetContext added in v0.4.0

SetContext adds the context to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetDefaults added in v0.9.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api real time near stop UDP params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarFilter added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarFormat added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarOrderby added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarSelect added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarSkip added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetDollarTop added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetHTTPClient added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetHealth added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) SetTimeout added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithCity added in v0.4.0

WithCity adds the city to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithContext added in v0.4.0

WithContext adds the context to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api real time near stop UDP params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarFilter added in v0.4.0

WithDollarFilter adds the dollarFilter to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarFormat added in v0.4.0

WithDollarFormat adds the dollarFormat to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarOrderby added in v0.4.0

WithDollarOrderby adds the dollarOrderby to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarSelect added in v0.4.0

WithDollarSelect adds the dollarSelect to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarSkip added in v0.4.0

WithDollarSkip adds the dollarSkip to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithDollarTop added in v0.4.0

WithDollarTop adds the dollarTop to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithHealth added in v0.4.0

WithHealth adds the health to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the city bus Api real time near stop UDP params

func (*CityBusAPIRealTimeNearStopUDPParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRealTimeNearStopUDPReader added in v0.4.0

type CityBusAPIRealTimeNearStopUDPReader struct {
	// contains filtered or unexported fields
}

CityBusAPIRealTimeNearStopUDPReader is a Reader for the CityBusAPIRealTimeNearStopUDP structure.

func (*CityBusAPIRealTimeNearStopUDPReader) ReadResponse added in v0.4.0

func (o *CityBusAPIRealTimeNearStopUDPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRealTimeNearStopUDPStatus299 added in v0.4.0

type CityBusAPIRealTimeNearStopUDPStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStopUDPStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRealTimeNearStopUDPStatus299 added in v0.4.0

func NewCityBusAPIRealTimeNearStopUDPStatus299() *CityBusAPIRealTimeNearStopUDPStatus299

NewCityBusAPIRealTimeNearStopUDPStatus299 creates a CityBusAPIRealTimeNearStopUDPStatus299 with default headers values

func (*CityBusAPIRealTimeNearStopUDPStatus299) Error added in v0.4.0

func (*CityBusAPIRealTimeNearStopUDPStatus299) GetPayload added in v0.4.0

type CityBusAPIRealTimeNearStopUdp1NotModified added in v0.9.0

type CityBusAPIRealTimeNearStopUdp1NotModified struct {
}
CityBusAPIRealTimeNearStopUdp1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRealTimeNearStopUdp1NotModified added in v0.9.0

func NewCityBusAPIRealTimeNearStopUdp1NotModified() *CityBusAPIRealTimeNearStopUdp1NotModified

NewCityBusAPIRealTimeNearStopUdp1NotModified creates a CityBusAPIRealTimeNearStopUdp1NotModified with default headers values

func (*CityBusAPIRealTimeNearStopUdp1NotModified) Error added in v0.9.0

type CityBusAPIRealTimeNearStopUdp1OK added in v0.4.0

type CityBusAPIRealTimeNearStopUdp1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusA2Data
}
CityBusAPIRealTimeNearStopUdp1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRealTimeNearStopUdp1OK added in v0.4.0

func NewCityBusAPIRealTimeNearStopUdp1OK() *CityBusAPIRealTimeNearStopUdp1OK

NewCityBusAPIRealTimeNearStopUdp1OK creates a CityBusAPIRealTimeNearStopUdp1OK with default headers values

func (*CityBusAPIRealTimeNearStopUdp1OK) Error added in v0.4.0

func (*CityBusAPIRealTimeNearStopUdp1OK) GetPayload added in v0.4.0

type CityBusAPIRealTimeNearStopUdp1Status299 added in v0.4.0

type CityBusAPIRealTimeNearStopUdp1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRealTimeNearStopUdp1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRealTimeNearStopUdp1Status299 added in v0.4.0

func NewCityBusAPIRealTimeNearStopUdp1Status299() *CityBusAPIRealTimeNearStopUdp1Status299

NewCityBusAPIRealTimeNearStopUdp1Status299 creates a CityBusAPIRealTimeNearStopUdp1Status299 with default headers values

func (*CityBusAPIRealTimeNearStopUdp1Status299) Error added in v0.4.0

func (*CityBusAPIRealTimeNearStopUdp1Status299) GetPayload added in v0.4.0

type CityBusAPIRoute1NotModified added in v0.9.0

type CityBusAPIRoute1NotModified struct {
}
CityBusAPIRoute1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRoute1NotModified added in v0.9.0

func NewCityBusAPIRoute1NotModified() *CityBusAPIRoute1NotModified

NewCityBusAPIRoute1NotModified creates a CityBusAPIRoute1NotModified with default headers values

func (*CityBusAPIRoute1NotModified) Error added in v0.9.0

type CityBusAPIRoute1OK

type CityBusAPIRoute1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRoute
}
CityBusAPIRoute1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRoute1OK

func NewCityBusAPIRoute1OK() *CityBusAPIRoute1OK

NewCityBusAPIRoute1OK creates a CityBusAPIRoute1OK with default headers values

func (*CityBusAPIRoute1OK) Error

func (o *CityBusAPIRoute1OK) Error() string

func (*CityBusAPIRoute1OK) GetPayload

type CityBusAPIRoute1Params

type CityBusAPIRoute1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRoute1Params contains all the parameters to send to the API endpoint

for the city bus Api route 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRoute1Params

func NewCityBusAPIRoute1Params() *CityBusAPIRoute1Params

NewCityBusAPIRoute1Params creates a new CityBusAPIRoute1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRoute1ParamsWithContext

func NewCityBusAPIRoute1ParamsWithContext(ctx context.Context) *CityBusAPIRoute1Params

NewCityBusAPIRoute1ParamsWithContext creates a new CityBusAPIRoute1Params object with the ability to set a context for a request.

func NewCityBusAPIRoute1ParamsWithHTTPClient

func NewCityBusAPIRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRoute1Params

NewCityBusAPIRoute1ParamsWithHTTPClient creates a new CityBusAPIRoute1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRoute1ParamsWithTimeout

func NewCityBusAPIRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRoute1Params

NewCityBusAPIRoute1ParamsWithTimeout creates a new CityBusAPIRoute1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRoute1Params) SetCity

func (o *CityBusAPIRoute1Params) SetCity(city string)

SetCity adds the city to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetContext

func (o *CityBusAPIRoute1Params) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIRoute1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRoute1Params) SetDollarFilter

func (o *CityBusAPIRoute1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetDollarFormat

func (o *CityBusAPIRoute1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetDollarOrderby

func (o *CityBusAPIRoute1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetDollarSelect

func (o *CityBusAPIRoute1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetDollarSkip

func (o *CityBusAPIRoute1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetDollarTop

func (o *CityBusAPIRoute1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetHTTPClient

func (o *CityBusAPIRoute1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetHealth added in v0.3.0

func (o *CityBusAPIRoute1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetRouteName

func (o *CityBusAPIRoute1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) SetTimeout

func (o *CityBusAPIRoute1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithCity

WithCity adds the city to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithContext

WithContext adds the context to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api route 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRoute1Params) WithDollarFilter

func (o *CityBusAPIRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRoute1Params

WithDollarFilter adds the dollarFilter to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithDollarFormat

func (o *CityBusAPIRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRoute1Params

WithDollarFormat adds the dollarFormat to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithDollarOrderby

func (o *CityBusAPIRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRoute1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithDollarSelect

func (o *CityBusAPIRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRoute1Params

WithDollarSelect adds the dollarSelect to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithDollarSkip

func (o *CityBusAPIRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRoute1Params

WithDollarSkip adds the dollarSkip to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithDollarTop

func (o *CityBusAPIRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRoute1Params

WithDollarTop adds the dollarTop to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithHTTPClient

func (o *CityBusAPIRoute1Params) WithHTTPClient(client *http.Client) *CityBusAPIRoute1Params

WithHTTPClient adds the HTTPClient to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithHealth added in v0.3.0

func (o *CityBusAPIRoute1Params) WithHealth(health *string) *CityBusAPIRoute1Params

WithHealth adds the health to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithRouteName

func (o *CityBusAPIRoute1Params) WithRouteName(routeName string) *CityBusAPIRoute1Params

WithRouteName adds the routeName to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WithTimeout

WithTimeout adds the timeout to the city bus Api route 1 params

func (*CityBusAPIRoute1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRoute1Reader

type CityBusAPIRoute1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIRoute1Reader is a Reader for the CityBusAPIRoute1 structure.

func (*CityBusAPIRoute1Reader) ReadResponse

func (o *CityBusAPIRoute1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRoute1Status299 added in v0.3.0

type CityBusAPIRoute1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRoute1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRoute1Status299 added in v0.3.0

func NewCityBusAPIRoute1Status299() *CityBusAPIRoute1Status299

NewCityBusAPIRoute1Status299 creates a CityBusAPIRoute1Status299 with default headers values

func (*CityBusAPIRoute1Status299) Error added in v0.3.0

func (o *CityBusAPIRoute1Status299) Error() string

func (*CityBusAPIRoute1Status299) GetPayload added in v0.3.0

type CityBusAPIRouteFare1NotModified added in v0.9.0

type CityBusAPIRouteFare1NotModified struct {
}
CityBusAPIRouteFare1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRouteFare1NotModified added in v0.9.0

func NewCityBusAPIRouteFare1NotModified() *CityBusAPIRouteFare1NotModified

NewCityBusAPIRouteFare1NotModified creates a CityBusAPIRouteFare1NotModified with default headers values

func (*CityBusAPIRouteFare1NotModified) Error added in v0.9.0

type CityBusAPIRouteFare1OK

type CityBusAPIRouteFare1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
}
CityBusAPIRouteFare1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteFare1OK

func NewCityBusAPIRouteFare1OK() *CityBusAPIRouteFare1OK

NewCityBusAPIRouteFare1OK creates a CityBusAPIRouteFare1OK with default headers values

func (*CityBusAPIRouteFare1OK) Error

func (o *CityBusAPIRouteFare1OK) Error() string

func (*CityBusAPIRouteFare1OK) GetPayload

type CityBusAPIRouteFare1Params

type CityBusAPIRouteFare1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRouteFare1Params contains all the parameters to send to the API endpoint

for the city bus Api route fare 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteFare1Params

func NewCityBusAPIRouteFare1Params() *CityBusAPIRouteFare1Params

NewCityBusAPIRouteFare1Params creates a new CityBusAPIRouteFare1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRouteFare1ParamsWithContext

func NewCityBusAPIRouteFare1ParamsWithContext(ctx context.Context) *CityBusAPIRouteFare1Params

NewCityBusAPIRouteFare1ParamsWithContext creates a new CityBusAPIRouteFare1Params object with the ability to set a context for a request.

func NewCityBusAPIRouteFare1ParamsWithHTTPClient

func NewCityBusAPIRouteFare1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFare1Params

NewCityBusAPIRouteFare1ParamsWithHTTPClient creates a new CityBusAPIRouteFare1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteFare1ParamsWithTimeout

func NewCityBusAPIRouteFare1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFare1Params

NewCityBusAPIRouteFare1ParamsWithTimeout creates a new CityBusAPIRouteFare1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRouteFare1Params) SetCity

func (o *CityBusAPIRouteFare1Params) SetCity(city string)

SetCity adds the city to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetContext

func (o *CityBusAPIRouteFare1Params) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIRouteFare1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route fare 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteFare1Params) SetDollarFilter

func (o *CityBusAPIRouteFare1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetDollarFormat

func (o *CityBusAPIRouteFare1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetDollarOrderby

func (o *CityBusAPIRouteFare1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetDollarSelect

func (o *CityBusAPIRouteFare1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetDollarSkip

func (o *CityBusAPIRouteFare1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetDollarTop

func (o *CityBusAPIRouteFare1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetHTTPClient

func (o *CityBusAPIRouteFare1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetHealth added in v0.3.0

func (o *CityBusAPIRouteFare1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetRouteName

func (o *CityBusAPIRouteFare1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) SetTimeout

func (o *CityBusAPIRouteFare1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithCity

WithCity adds the city to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithContext

WithContext adds the context to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api route fare 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteFare1Params) WithDollarFilter

func (o *CityBusAPIRouteFare1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteFare1Params

WithDollarFilter adds the dollarFilter to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithDollarFormat

func (o *CityBusAPIRouteFare1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRouteFare1Params

WithDollarFormat adds the dollarFormat to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithDollarOrderby

func (o *CityBusAPIRouteFare1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteFare1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithDollarSelect

func (o *CityBusAPIRouteFare1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteFare1Params

WithDollarSelect adds the dollarSelect to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithDollarSkip

func (o *CityBusAPIRouteFare1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteFare1Params

WithDollarSkip adds the dollarSkip to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithDollarTop

func (o *CityBusAPIRouteFare1Params) WithDollarTop(dollarTop *int64) *CityBusAPIRouteFare1Params

WithDollarTop adds the dollarTop to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithRouteName

func (o *CityBusAPIRouteFare1Params) WithRouteName(routeName string) *CityBusAPIRouteFare1Params

WithRouteName adds the routeName to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WithTimeout

WithTimeout adds the timeout to the city bus Api route fare 1 params

func (*CityBusAPIRouteFare1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteFare1Reader

type CityBusAPIRouteFare1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIRouteFare1Reader is a Reader for the CityBusAPIRouteFare1 structure.

func (*CityBusAPIRouteFare1Reader) ReadResponse

func (o *CityBusAPIRouteFare1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRouteFare1Status299 added in v0.3.0

type CityBusAPIRouteFare1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteFare1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRouteFare1Status299 added in v0.3.0

func NewCityBusAPIRouteFare1Status299() *CityBusAPIRouteFare1Status299

NewCityBusAPIRouteFare1Status299 creates a CityBusAPIRouteFare1Status299 with default headers values

func (*CityBusAPIRouteFare1Status299) Error added in v0.3.0

func (*CityBusAPIRouteFare1Status299) GetPayload added in v0.3.0

type CityBusAPIRouteFareNotModified added in v0.9.0

type CityBusAPIRouteFareNotModified struct {
}
CityBusAPIRouteFareNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRouteFareNotModified added in v0.9.0

func NewCityBusAPIRouteFareNotModified() *CityBusAPIRouteFareNotModified

NewCityBusAPIRouteFareNotModified creates a CityBusAPIRouteFareNotModified with default headers values

func (*CityBusAPIRouteFareNotModified) Error added in v0.9.0

type CityBusAPIRouteFareOK

type CityBusAPIRouteFareOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteFare
}
CityBusAPIRouteFareOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteFareOK

func NewCityBusAPIRouteFareOK() *CityBusAPIRouteFareOK

NewCityBusAPIRouteFareOK creates a CityBusAPIRouteFareOK with default headers values

func (*CityBusAPIRouteFareOK) Error

func (o *CityBusAPIRouteFareOK) Error() string

func (*CityBusAPIRouteFareOK) GetPayload

type CityBusAPIRouteFareParams

type CityBusAPIRouteFareParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRouteFareParams contains all the parameters to send to the API endpoint

for the city bus Api route fare operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteFareParams

func NewCityBusAPIRouteFareParams() *CityBusAPIRouteFareParams

NewCityBusAPIRouteFareParams creates a new CityBusAPIRouteFareParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRouteFareParamsWithContext

func NewCityBusAPIRouteFareParamsWithContext(ctx context.Context) *CityBusAPIRouteFareParams

NewCityBusAPIRouteFareParamsWithContext creates a new CityBusAPIRouteFareParams object with the ability to set a context for a request.

func NewCityBusAPIRouteFareParamsWithHTTPClient

func NewCityBusAPIRouteFareParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteFareParams

NewCityBusAPIRouteFareParamsWithHTTPClient creates a new CityBusAPIRouteFareParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteFareParamsWithTimeout

func NewCityBusAPIRouteFareParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteFareParams

NewCityBusAPIRouteFareParamsWithTimeout creates a new CityBusAPIRouteFareParams object with the ability to set a timeout on a request.

func (*CityBusAPIRouteFareParams) SetCity

func (o *CityBusAPIRouteFareParams) SetCity(city string)

SetCity adds the city to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetContext

func (o *CityBusAPIRouteFareParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetDefaults added in v0.9.0

func (o *CityBusAPIRouteFareParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api route fare params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteFareParams) SetDollarFilter

func (o *CityBusAPIRouteFareParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetDollarFormat

func (o *CityBusAPIRouteFareParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetDollarOrderby

func (o *CityBusAPIRouteFareParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetDollarSelect

func (o *CityBusAPIRouteFareParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetDollarSkip

func (o *CityBusAPIRouteFareParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetDollarTop

func (o *CityBusAPIRouteFareParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetHTTPClient

func (o *CityBusAPIRouteFareParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetHealth added in v0.3.0

func (o *CityBusAPIRouteFareParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) SetTimeout

func (o *CityBusAPIRouteFareParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithCity

WithCity adds the city to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithContext

WithContext adds the context to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api route fare params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteFareParams) WithDollarFilter

func (o *CityBusAPIRouteFareParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteFareParams

WithDollarFilter adds the dollarFilter to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithDollarFormat

func (o *CityBusAPIRouteFareParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteFareParams

WithDollarFormat adds the dollarFormat to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithDollarOrderby

func (o *CityBusAPIRouteFareParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteFareParams

WithDollarOrderby adds the dollarOrderby to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithDollarSelect

func (o *CityBusAPIRouteFareParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteFareParams

WithDollarSelect adds the dollarSelect to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithDollarSkip

func (o *CityBusAPIRouteFareParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteFareParams

WithDollarSkip adds the dollarSkip to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithDollarTop

func (o *CityBusAPIRouteFareParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteFareParams

WithDollarTop adds the dollarTop to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithHTTPClient

func (o *CityBusAPIRouteFareParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteFareParams

WithHTTPClient adds the HTTPClient to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WithTimeout

WithTimeout adds the timeout to the city bus Api route fare params

func (*CityBusAPIRouteFareParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteFareReader

type CityBusAPIRouteFareReader struct {
	// contains filtered or unexported fields
}

CityBusAPIRouteFareReader is a Reader for the CityBusAPIRouteFare structure.

func (*CityBusAPIRouteFareReader) ReadResponse

func (o *CityBusAPIRouteFareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRouteFareStatus299 added in v0.3.0

type CityBusAPIRouteFareStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteFareStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRouteFareStatus299 added in v0.3.0

func NewCityBusAPIRouteFareStatus299() *CityBusAPIRouteFareStatus299

NewCityBusAPIRouteFareStatus299 creates a CityBusAPIRouteFareStatus299 with default headers values

func (*CityBusAPIRouteFareStatus299) Error added in v0.3.0

func (*CityBusAPIRouteFareStatus299) GetPayload added in v0.3.0

type CityBusAPIRouteNetwork1NotModified added in v0.11.0

type CityBusAPIRouteNetwork1NotModified struct {
}
CityBusAPIRouteNetwork1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRouteNetwork1NotModified added in v0.11.0

func NewCityBusAPIRouteNetwork1NotModified() *CityBusAPIRouteNetwork1NotModified

NewCityBusAPIRouteNetwork1NotModified creates a CityBusAPIRouteNetwork1NotModified with default headers values

func (*CityBusAPIRouteNetwork1NotModified) Error added in v0.11.0

type CityBusAPIRouteNetwork1OK added in v0.11.0

type CityBusAPIRouteNetwork1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
}
CityBusAPIRouteNetwork1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteNetwork1OK added in v0.11.0

func NewCityBusAPIRouteNetwork1OK() *CityBusAPIRouteNetwork1OK

NewCityBusAPIRouteNetwork1OK creates a CityBusAPIRouteNetwork1OK with default headers values

func (*CityBusAPIRouteNetwork1OK) Error added in v0.11.0

func (o *CityBusAPIRouteNetwork1OK) Error() string

func (*CityBusAPIRouteNetwork1OK) GetPayload added in v0.11.0

type CityBusAPIRouteNetwork1Params added in v0.11.0

type CityBusAPIRouteNetwork1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRouteNetwork1Params contains all the parameters to send to the API endpoint

for the city bus Api route network 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteNetwork1Params added in v0.11.0

func NewCityBusAPIRouteNetwork1Params() *CityBusAPIRouteNetwork1Params

NewCityBusAPIRouteNetwork1Params creates a new CityBusAPIRouteNetwork1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRouteNetwork1ParamsWithContext added in v0.11.0

func NewCityBusAPIRouteNetwork1ParamsWithContext(ctx context.Context) *CityBusAPIRouteNetwork1Params

NewCityBusAPIRouteNetwork1ParamsWithContext creates a new CityBusAPIRouteNetwork1Params object with the ability to set a context for a request.

func NewCityBusAPIRouteNetwork1ParamsWithHTTPClient added in v0.11.0

func NewCityBusAPIRouteNetwork1ParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetwork1Params

NewCityBusAPIRouteNetwork1ParamsWithHTTPClient creates a new CityBusAPIRouteNetwork1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteNetwork1ParamsWithTimeout added in v0.11.0

func NewCityBusAPIRouteNetwork1ParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetwork1Params

NewCityBusAPIRouteNetwork1ParamsWithTimeout creates a new CityBusAPIRouteNetwork1Params object with the ability to set a timeout on a request.

func (*CityBusAPIRouteNetwork1Params) SetCity added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetCity(city string)

SetCity adds the city to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetContext added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetDefaults added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api route network 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteNetwork1Params) SetDollarFilter added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetDollarFormat added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetDollarOrderby added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetDollarSelect added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetDollarSkip added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetDollarTop added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetHTTPClient added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetHealth added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetRouteName added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) SetTimeout added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithCity added in v0.11.0

WithCity adds the city to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithContext added in v0.11.0

WithContext adds the context to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithDefaults added in v0.11.0

WithDefaults hydrates default values in the city bus Api route network 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteNetwork1Params) WithDollarFilter added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteNetwork1Params

WithDollarFilter adds the dollarFilter to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithDollarFormat added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) WithDollarFormat(dollarFormat string) *CityBusAPIRouteNetwork1Params

WithDollarFormat adds the dollarFormat to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithDollarOrderby added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteNetwork1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithDollarSelect added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteNetwork1Params

WithDollarSelect adds the dollarSelect to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithDollarSkip added in v0.11.0

func (o *CityBusAPIRouteNetwork1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteNetwork1Params

WithDollarSkip adds the dollarSkip to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithDollarTop added in v0.11.0

WithDollarTop adds the dollarTop to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithHTTPClient added in v0.11.0

WithHTTPClient adds the HTTPClient to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithHealth added in v0.11.0

WithHealth adds the health to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithRouteName added in v0.11.0

WithRouteName adds the routeName to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WithTimeout added in v0.11.0

WithTimeout adds the timeout to the city bus Api route network 1 params

func (*CityBusAPIRouteNetwork1Params) WriteToRequest added in v0.11.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteNetwork1Reader added in v0.11.0

type CityBusAPIRouteNetwork1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIRouteNetwork1Reader is a Reader for the CityBusAPIRouteNetwork1 structure.

func (*CityBusAPIRouteNetwork1Reader) ReadResponse added in v0.11.0

func (o *CityBusAPIRouteNetwork1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRouteNetwork1Status299 added in v0.11.0

type CityBusAPIRouteNetwork1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteNetwork1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRouteNetwork1Status299 added in v0.11.0

func NewCityBusAPIRouteNetwork1Status299() *CityBusAPIRouteNetwork1Status299

NewCityBusAPIRouteNetwork1Status299 creates a CityBusAPIRouteNetwork1Status299 with default headers values

func (*CityBusAPIRouteNetwork1Status299) Error added in v0.11.0

func (*CityBusAPIRouteNetwork1Status299) GetPayload added in v0.11.0

type CityBusAPIRouteNetworkNotModified added in v0.11.0

type CityBusAPIRouteNetworkNotModified struct {
}
CityBusAPIRouteNetworkNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRouteNetworkNotModified added in v0.11.0

func NewCityBusAPIRouteNetworkNotModified() *CityBusAPIRouteNetworkNotModified

NewCityBusAPIRouteNetworkNotModified creates a CityBusAPIRouteNetworkNotModified with default headers values

func (*CityBusAPIRouteNetworkNotModified) Error added in v0.11.0

type CityBusAPIRouteNetworkOK added in v0.11.0

type CityBusAPIRouteNetworkOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRouteNetwork
}
CityBusAPIRouteNetworkOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteNetworkOK added in v0.11.0

func NewCityBusAPIRouteNetworkOK() *CityBusAPIRouteNetworkOK

NewCityBusAPIRouteNetworkOK creates a CityBusAPIRouteNetworkOK with default headers values

func (*CityBusAPIRouteNetworkOK) Error added in v0.11.0

func (o *CityBusAPIRouteNetworkOK) Error() string

func (*CityBusAPIRouteNetworkOK) GetPayload added in v0.11.0

type CityBusAPIRouteNetworkParams added in v0.11.0

type CityBusAPIRouteNetworkParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRouteNetworkParams contains all the parameters to send to the API endpoint

for the city bus Api route network operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteNetworkParams added in v0.11.0

func NewCityBusAPIRouteNetworkParams() *CityBusAPIRouteNetworkParams

NewCityBusAPIRouteNetworkParams creates a new CityBusAPIRouteNetworkParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRouteNetworkParamsWithContext added in v0.11.0

func NewCityBusAPIRouteNetworkParamsWithContext(ctx context.Context) *CityBusAPIRouteNetworkParams

NewCityBusAPIRouteNetworkParamsWithContext creates a new CityBusAPIRouteNetworkParams object with the ability to set a context for a request.

func NewCityBusAPIRouteNetworkParamsWithHTTPClient added in v0.11.0

func NewCityBusAPIRouteNetworkParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteNetworkParams

NewCityBusAPIRouteNetworkParamsWithHTTPClient creates a new CityBusAPIRouteNetworkParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteNetworkParamsWithTimeout added in v0.11.0

func NewCityBusAPIRouteNetworkParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteNetworkParams

NewCityBusAPIRouteNetworkParamsWithTimeout creates a new CityBusAPIRouteNetworkParams object with the ability to set a timeout on a request.

func (*CityBusAPIRouteNetworkParams) SetCity added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetCity(city string)

SetCity adds the city to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetContext added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetDefaults added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api route network params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteNetworkParams) SetDollarFilter added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetDollarFormat added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetDollarOrderby added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetDollarSelect added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetDollarSkip added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetDollarTop added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetHTTPClient added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetHealth added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) SetTimeout added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithCity added in v0.11.0

WithCity adds the city to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithContext added in v0.11.0

WithContext adds the context to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithDefaults added in v0.11.0

WithDefaults hydrates default values in the city bus Api route network params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteNetworkParams) WithDollarFilter added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteNetworkParams

WithDollarFilter adds the dollarFilter to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithDollarFormat added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteNetworkParams

WithDollarFormat adds the dollarFormat to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithDollarOrderby added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteNetworkParams

WithDollarOrderby adds the dollarOrderby to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithDollarSelect added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteNetworkParams

WithDollarSelect adds the dollarSelect to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithDollarSkip added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteNetworkParams

WithDollarSkip adds the dollarSkip to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithDollarTop added in v0.11.0

func (o *CityBusAPIRouteNetworkParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteNetworkParams

WithDollarTop adds the dollarTop to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithHTTPClient added in v0.11.0

WithHTTPClient adds the HTTPClient to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithHealth added in v0.11.0

WithHealth adds the health to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WithTimeout added in v0.11.0

WithTimeout adds the timeout to the city bus Api route network params

func (*CityBusAPIRouteNetworkParams) WriteToRequest added in v0.11.0

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteNetworkReader added in v0.11.0

type CityBusAPIRouteNetworkReader struct {
	// contains filtered or unexported fields
}

CityBusAPIRouteNetworkReader is a Reader for the CityBusAPIRouteNetwork structure.

func (*CityBusAPIRouteNetworkReader) ReadResponse added in v0.11.0

func (o *CityBusAPIRouteNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRouteNetworkStatus299 added in v0.11.0

type CityBusAPIRouteNetworkStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteNetworkStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRouteNetworkStatus299 added in v0.11.0

func NewCityBusAPIRouteNetworkStatus299() *CityBusAPIRouteNetworkStatus299

NewCityBusAPIRouteNetworkStatus299 creates a CityBusAPIRouteNetworkStatus299 with default headers values

func (*CityBusAPIRouteNetworkStatus299) Error added in v0.11.0

func (*CityBusAPIRouteNetworkStatus299) GetPayload added in v0.11.0

type CityBusAPIRouteNotModified added in v0.9.0

type CityBusAPIRouteNotModified struct {
}
CityBusAPIRouteNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIRouteNotModified added in v0.9.0

func NewCityBusAPIRouteNotModified() *CityBusAPIRouteNotModified

NewCityBusAPIRouteNotModified creates a CityBusAPIRouteNotModified with default headers values

func (*CityBusAPIRouteNotModified) Error added in v0.9.0

type CityBusAPIRouteOK

type CityBusAPIRouteOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusRoute
}
CityBusAPIRouteOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIRouteOK

func NewCityBusAPIRouteOK() *CityBusAPIRouteOK

NewCityBusAPIRouteOK creates a CityBusAPIRouteOK with default headers values

func (*CityBusAPIRouteOK) Error

func (o *CityBusAPIRouteOK) Error() string

func (*CityBusAPIRouteOK) GetPayload

type CityBusAPIRouteParams

type CityBusAPIRouteParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIRouteParams contains all the parameters to send to the API endpoint

for the city bus Api route operation.

Typically these are written to a http.Request.

func NewCityBusAPIRouteParams

func NewCityBusAPIRouteParams() *CityBusAPIRouteParams

NewCityBusAPIRouteParams creates a new CityBusAPIRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIRouteParamsWithContext

func NewCityBusAPIRouteParamsWithContext(ctx context.Context) *CityBusAPIRouteParams

NewCityBusAPIRouteParamsWithContext creates a new CityBusAPIRouteParams object with the ability to set a context for a request.

func NewCityBusAPIRouteParamsWithHTTPClient

func NewCityBusAPIRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIRouteParams

NewCityBusAPIRouteParamsWithHTTPClient creates a new CityBusAPIRouteParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIRouteParamsWithTimeout

func NewCityBusAPIRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIRouteParams

NewCityBusAPIRouteParamsWithTimeout creates a new CityBusAPIRouteParams object with the ability to set a timeout on a request.

func (*CityBusAPIRouteParams) SetCity

func (o *CityBusAPIRouteParams) SetCity(city string)

SetCity adds the city to the city bus Api route params

func (*CityBusAPIRouteParams) SetContext

func (o *CityBusAPIRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api route params

func (*CityBusAPIRouteParams) SetDefaults added in v0.9.0

func (o *CityBusAPIRouteParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api route params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteParams) SetDollarFilter

func (o *CityBusAPIRouteParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api route params

func (*CityBusAPIRouteParams) SetDollarFormat

func (o *CityBusAPIRouteParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api route params

func (*CityBusAPIRouteParams) SetDollarOrderby

func (o *CityBusAPIRouteParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api route params

func (*CityBusAPIRouteParams) SetDollarSelect

func (o *CityBusAPIRouteParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api route params

func (*CityBusAPIRouteParams) SetDollarSkip

func (o *CityBusAPIRouteParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api route params

func (*CityBusAPIRouteParams) SetDollarTop

func (o *CityBusAPIRouteParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api route params

func (*CityBusAPIRouteParams) SetHTTPClient

func (o *CityBusAPIRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api route params

func (*CityBusAPIRouteParams) SetHealth added in v0.3.0

func (o *CityBusAPIRouteParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api route params

func (*CityBusAPIRouteParams) SetTimeout

func (o *CityBusAPIRouteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api route params

func (*CityBusAPIRouteParams) WithCity

WithCity adds the city to the city bus Api route params

func (*CityBusAPIRouteParams) WithContext

WithContext adds the context to the city bus Api route params

func (*CityBusAPIRouteParams) WithDefaults added in v0.9.0

func (o *CityBusAPIRouteParams) WithDefaults() *CityBusAPIRouteParams

WithDefaults hydrates default values in the city bus Api route params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIRouteParams) WithDollarFilter

func (o *CityBusAPIRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIRouteParams

WithDollarFilter adds the dollarFilter to the city bus Api route params

func (*CityBusAPIRouteParams) WithDollarFormat

func (o *CityBusAPIRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIRouteParams

WithDollarFormat adds the dollarFormat to the city bus Api route params

func (*CityBusAPIRouteParams) WithDollarOrderby

func (o *CityBusAPIRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIRouteParams

WithDollarOrderby adds the dollarOrderby to the city bus Api route params

func (*CityBusAPIRouteParams) WithDollarSelect

func (o *CityBusAPIRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIRouteParams

WithDollarSelect adds the dollarSelect to the city bus Api route params

func (*CityBusAPIRouteParams) WithDollarSkip

func (o *CityBusAPIRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIRouteParams

WithDollarSkip adds the dollarSkip to the city bus Api route params

func (*CityBusAPIRouteParams) WithDollarTop

func (o *CityBusAPIRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIRouteParams

WithDollarTop adds the dollarTop to the city bus Api route params

func (*CityBusAPIRouteParams) WithHTTPClient

func (o *CityBusAPIRouteParams) WithHTTPClient(client *http.Client) *CityBusAPIRouteParams

WithHTTPClient adds the HTTPClient to the city bus Api route params

func (*CityBusAPIRouteParams) WithHealth added in v0.3.0

func (o *CityBusAPIRouteParams) WithHealth(health *string) *CityBusAPIRouteParams

WithHealth adds the health to the city bus Api route params

func (*CityBusAPIRouteParams) WithTimeout

func (o *CityBusAPIRouteParams) WithTimeout(timeout time.Duration) *CityBusAPIRouteParams

WithTimeout adds the timeout to the city bus Api route params

func (*CityBusAPIRouteParams) WriteToRequest

func (o *CityBusAPIRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CityBusAPIRouteReader

type CityBusAPIRouteReader struct {
	// contains filtered or unexported fields
}

CityBusAPIRouteReader is a Reader for the CityBusAPIRoute structure.

func (*CityBusAPIRouteReader) ReadResponse

func (o *CityBusAPIRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIRouteStatus299 added in v0.3.0

type CityBusAPIRouteStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIRouteStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIRouteStatus299 added in v0.3.0

func NewCityBusAPIRouteStatus299() *CityBusAPIRouteStatus299

NewCityBusAPIRouteStatus299 creates a CityBusAPIRouteStatus299 with default headers values

func (*CityBusAPIRouteStatus299) Error added in v0.3.0

func (o *CityBusAPIRouteStatus299) Error() string

func (*CityBusAPIRouteStatus299) GetPayload added in v0.3.0

type CityBusAPIS2STravelTimeDetailNotModified added in v0.9.0

type CityBusAPIS2STravelTimeDetailNotModified struct {
}
CityBusAPIS2STravelTimeDetailNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIS2STravelTimeDetailNotModified added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailNotModified() *CityBusAPIS2STravelTimeDetailNotModified

NewCityBusAPIS2STravelTimeDetailNotModified creates a CityBusAPIS2STravelTimeDetailNotModified with default headers values

func (*CityBusAPIS2STravelTimeDetailNotModified) Error added in v0.9.0

type CityBusAPIS2STravelTimeDetailOK added in v0.9.0

type CityBusAPIS2STravelTimeDetailOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusS2STravelTime
}
CityBusAPIS2STravelTimeDetailOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIS2STravelTimeDetailOK added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailOK() *CityBusAPIS2STravelTimeDetailOK

NewCityBusAPIS2STravelTimeDetailOK creates a CityBusAPIS2STravelTimeDetailOK with default headers values

func (*CityBusAPIS2STravelTimeDetailOK) Error added in v0.9.0

func (*CityBusAPIS2STravelTimeDetailOK) GetPayload added in v0.9.0

type CityBusAPIS2STravelTimeDetailParams added in v0.9.0

type CityBusAPIS2STravelTimeDetailParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteID.

	   路線代碼
	*/
	RouteID string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIS2STravelTimeDetailParams contains all the parameters to send to the API endpoint

for the city bus Api s2 s travel time detail operation.

Typically these are written to a http.Request.

func NewCityBusAPIS2STravelTimeDetailParams added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailParams() *CityBusAPIS2STravelTimeDetailParams

NewCityBusAPIS2STravelTimeDetailParams creates a new CityBusAPIS2STravelTimeDetailParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIS2STravelTimeDetailParamsWithContext added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailParamsWithContext(ctx context.Context) *CityBusAPIS2STravelTimeDetailParams

NewCityBusAPIS2STravelTimeDetailParamsWithContext creates a new CityBusAPIS2STravelTimeDetailParams object with the ability to set a context for a request.

func NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient(client *http.Client) *CityBusAPIS2STravelTimeDetailParams

NewCityBusAPIS2STravelTimeDetailParamsWithHTTPClient creates a new CityBusAPIS2STravelTimeDetailParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIS2STravelTimeDetailParamsWithTimeout added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailParamsWithTimeout(timeout time.Duration) *CityBusAPIS2STravelTimeDetailParams

NewCityBusAPIS2STravelTimeDetailParamsWithTimeout creates a new CityBusAPIS2STravelTimeDetailParams object with the ability to set a timeout on a request.

func (*CityBusAPIS2STravelTimeDetailParams) SetCity added in v0.9.0

SetCity adds the city to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetContext added in v0.9.0

SetContext adds the context to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetDefaults added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api s2 s travel time detail params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIS2STravelTimeDetailParams) SetDollarFilter added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetDollarFormat added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetDollarOrderby added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetDollarSelect added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetDollarSkip added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetDollarTop added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetHTTPClient added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetHealth added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetRouteID added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetRouteID(routeID string)

SetRouteID adds the routeId to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) SetTimeout added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithCity added in v0.9.0

WithCity adds the city to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithContext added in v0.9.0

WithContext adds the context to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api s2 s travel time detail params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIS2STravelTimeDetailParams) WithDollarFilter added in v0.9.0

WithDollarFilter adds the dollarFilter to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithDollarFormat added in v0.9.0

WithDollarFormat adds the dollarFormat to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithDollarOrderby added in v0.9.0

WithDollarOrderby adds the dollarOrderby to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithDollarSelect added in v0.9.0

WithDollarSelect adds the dollarSelect to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithDollarSkip added in v0.9.0

WithDollarSkip adds the dollarSkip to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithDollarTop added in v0.9.0

WithDollarTop adds the dollarTop to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithHTTPClient added in v0.9.0

WithHTTPClient adds the HTTPClient to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithHealth added in v0.9.0

WithHealth adds the health to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithRouteID added in v0.9.0

WithRouteID adds the routeID to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the city bus Api s2 s travel time detail params

func (*CityBusAPIS2STravelTimeDetailParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type CityBusAPIS2STravelTimeDetailReader added in v0.9.0

type CityBusAPIS2STravelTimeDetailReader struct {
	// contains filtered or unexported fields
}

CityBusAPIS2STravelTimeDetailReader is a Reader for the CityBusAPIS2STravelTimeDetail structure.

func (*CityBusAPIS2STravelTimeDetailReader) ReadResponse added in v0.9.0

func (o *CityBusAPIS2STravelTimeDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIS2STravelTimeDetailStatus299 added in v0.9.0

type CityBusAPIS2STravelTimeDetailStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIS2STravelTimeDetailStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIS2STravelTimeDetailStatus299 added in v0.9.0

func NewCityBusAPIS2STravelTimeDetailStatus299() *CityBusAPIS2STravelTimeDetailStatus299

NewCityBusAPIS2STravelTimeDetailStatus299 creates a CityBusAPIS2STravelTimeDetailStatus299 with default headers values

func (*CityBusAPIS2STravelTimeDetailStatus299) Error added in v0.9.0

func (*CityBusAPIS2STravelTimeDetailStatus299) GetPayload added in v0.9.0

type CityBusAPISchedule1NotModified added in v0.9.0

type CityBusAPISchedule1NotModified struct {
}
CityBusAPISchedule1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPISchedule1NotModified added in v0.9.0

func NewCityBusAPISchedule1NotModified() *CityBusAPISchedule1NotModified

NewCityBusAPISchedule1NotModified creates a CityBusAPISchedule1NotModified with default headers values

func (*CityBusAPISchedule1NotModified) Error added in v0.9.0

type CityBusAPISchedule1OK

type CityBusAPISchedule1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusSchedule
}
CityBusAPISchedule1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPISchedule1OK

func NewCityBusAPISchedule1OK() *CityBusAPISchedule1OK

NewCityBusAPISchedule1OK creates a CityBusAPISchedule1OK with default headers values

func (*CityBusAPISchedule1OK) Error

func (o *CityBusAPISchedule1OK) Error() string

func (*CityBusAPISchedule1OK) GetPayload

type CityBusAPISchedule1Params

type CityBusAPISchedule1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPISchedule1Params contains all the parameters to send to the API endpoint

for the city bus Api schedule 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPISchedule1Params

func NewCityBusAPISchedule1Params() *CityBusAPISchedule1Params

NewCityBusAPISchedule1Params creates a new CityBusAPISchedule1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPISchedule1ParamsWithContext

func NewCityBusAPISchedule1ParamsWithContext(ctx context.Context) *CityBusAPISchedule1Params

NewCityBusAPISchedule1ParamsWithContext creates a new CityBusAPISchedule1Params object with the ability to set a context for a request.

func NewCityBusAPISchedule1ParamsWithHTTPClient

func NewCityBusAPISchedule1ParamsWithHTTPClient(client *http.Client) *CityBusAPISchedule1Params

NewCityBusAPISchedule1ParamsWithHTTPClient creates a new CityBusAPISchedule1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPISchedule1ParamsWithTimeout

func NewCityBusAPISchedule1ParamsWithTimeout(timeout time.Duration) *CityBusAPISchedule1Params

NewCityBusAPISchedule1ParamsWithTimeout creates a new CityBusAPISchedule1Params object with the ability to set a timeout on a request.

func (*CityBusAPISchedule1Params) SetCity

func (o *CityBusAPISchedule1Params) SetCity(city string)

SetCity adds the city to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetContext

func (o *CityBusAPISchedule1Params) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetDefaults added in v0.9.0

func (o *CityBusAPISchedule1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api schedule 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPISchedule1Params) SetDollarFilter

func (o *CityBusAPISchedule1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetDollarFormat

func (o *CityBusAPISchedule1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetDollarOrderby

func (o *CityBusAPISchedule1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetDollarSelect

func (o *CityBusAPISchedule1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetDollarSkip

func (o *CityBusAPISchedule1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetDollarTop

func (o *CityBusAPISchedule1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetHTTPClient

func (o *CityBusAPISchedule1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetHealth added in v0.3.0

func (o *CityBusAPISchedule1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetRouteName

func (o *CityBusAPISchedule1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) SetTimeout

func (o *CityBusAPISchedule1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithCity

WithCity adds the city to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithContext

WithContext adds the context to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api schedule 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPISchedule1Params) WithDollarFilter

func (o *CityBusAPISchedule1Params) WithDollarFilter(dollarFilter *string) *CityBusAPISchedule1Params

WithDollarFilter adds the dollarFilter to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithDollarFormat

func (o *CityBusAPISchedule1Params) WithDollarFormat(dollarFormat string) *CityBusAPISchedule1Params

WithDollarFormat adds the dollarFormat to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithDollarOrderby

func (o *CityBusAPISchedule1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPISchedule1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithDollarSelect

func (o *CityBusAPISchedule1Params) WithDollarSelect(dollarSelect *string) *CityBusAPISchedule1Params

WithDollarSelect adds the dollarSelect to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithDollarSkip

func (o *CityBusAPISchedule1Params) WithDollarSkip(dollarSkip *string) *CityBusAPISchedule1Params

WithDollarSkip adds the dollarSkip to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithDollarTop

func (o *CityBusAPISchedule1Params) WithDollarTop(dollarTop *int64) *CityBusAPISchedule1Params

WithDollarTop adds the dollarTop to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithHTTPClient

func (o *CityBusAPISchedule1Params) WithHTTPClient(client *http.Client) *CityBusAPISchedule1Params

WithHTTPClient adds the HTTPClient to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithRouteName

func (o *CityBusAPISchedule1Params) WithRouteName(routeName string) *CityBusAPISchedule1Params

WithRouteName adds the routeName to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WithTimeout

WithTimeout adds the timeout to the city bus Api schedule 1 params

func (*CityBusAPISchedule1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPISchedule1Reader

type CityBusAPISchedule1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPISchedule1Reader is a Reader for the CityBusAPISchedule1 structure.

func (*CityBusAPISchedule1Reader) ReadResponse

func (o *CityBusAPISchedule1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPISchedule1Status299 added in v0.3.0

type CityBusAPISchedule1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPISchedule1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPISchedule1Status299 added in v0.3.0

func NewCityBusAPISchedule1Status299() *CityBusAPISchedule1Status299

NewCityBusAPISchedule1Status299 creates a CityBusAPISchedule1Status299 with default headers values

func (*CityBusAPISchedule1Status299) Error added in v0.3.0

func (*CityBusAPISchedule1Status299) GetPayload added in v0.3.0

type CityBusAPIScheduleNotModified added in v0.9.0

type CityBusAPIScheduleNotModified struct {
}
CityBusAPIScheduleNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIScheduleNotModified added in v0.9.0

func NewCityBusAPIScheduleNotModified() *CityBusAPIScheduleNotModified

NewCityBusAPIScheduleNotModified creates a CityBusAPIScheduleNotModified with default headers values

func (*CityBusAPIScheduleNotModified) Error added in v0.9.0

type CityBusAPIScheduleOK

type CityBusAPIScheduleOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusSchedule
}
CityBusAPIScheduleOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIScheduleOK

func NewCityBusAPIScheduleOK() *CityBusAPIScheduleOK

NewCityBusAPIScheduleOK creates a CityBusAPIScheduleOK with default headers values

func (*CityBusAPIScheduleOK) Error

func (o *CityBusAPIScheduleOK) Error() string

func (*CityBusAPIScheduleOK) GetPayload

type CityBusAPIScheduleParams

type CityBusAPIScheduleParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIScheduleParams contains all the parameters to send to the API endpoint

for the city bus Api schedule operation.

Typically these are written to a http.Request.

func NewCityBusAPIScheduleParams

func NewCityBusAPIScheduleParams() *CityBusAPIScheduleParams

NewCityBusAPIScheduleParams creates a new CityBusAPIScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIScheduleParamsWithContext

func NewCityBusAPIScheduleParamsWithContext(ctx context.Context) *CityBusAPIScheduleParams

NewCityBusAPIScheduleParamsWithContext creates a new CityBusAPIScheduleParams object with the ability to set a context for a request.

func NewCityBusAPIScheduleParamsWithHTTPClient

func NewCityBusAPIScheduleParamsWithHTTPClient(client *http.Client) *CityBusAPIScheduleParams

NewCityBusAPIScheduleParamsWithHTTPClient creates a new CityBusAPIScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIScheduleParamsWithTimeout

func NewCityBusAPIScheduleParamsWithTimeout(timeout time.Duration) *CityBusAPIScheduleParams

NewCityBusAPIScheduleParamsWithTimeout creates a new CityBusAPIScheduleParams object with the ability to set a timeout on a request.

func (*CityBusAPIScheduleParams) SetCity

func (o *CityBusAPIScheduleParams) SetCity(city string)

SetCity adds the city to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetContext

func (o *CityBusAPIScheduleParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetDefaults added in v0.9.0

func (o *CityBusAPIScheduleParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api schedule params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIScheduleParams) SetDollarFilter

func (o *CityBusAPIScheduleParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetDollarFormat

func (o *CityBusAPIScheduleParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetDollarOrderby

func (o *CityBusAPIScheduleParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetDollarSelect

func (o *CityBusAPIScheduleParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetDollarSkip

func (o *CityBusAPIScheduleParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetDollarTop

func (o *CityBusAPIScheduleParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetHTTPClient

func (o *CityBusAPIScheduleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetHealth added in v0.3.0

func (o *CityBusAPIScheduleParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api schedule params

func (*CityBusAPIScheduleParams) SetTimeout

func (o *CityBusAPIScheduleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithCity

WithCity adds the city to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithContext

WithContext adds the context to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api schedule params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIScheduleParams) WithDollarFilter

func (o *CityBusAPIScheduleParams) WithDollarFilter(dollarFilter *string) *CityBusAPIScheduleParams

WithDollarFilter adds the dollarFilter to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithDollarFormat

func (o *CityBusAPIScheduleParams) WithDollarFormat(dollarFormat string) *CityBusAPIScheduleParams

WithDollarFormat adds the dollarFormat to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithDollarOrderby

func (o *CityBusAPIScheduleParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIScheduleParams

WithDollarOrderby adds the dollarOrderby to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithDollarSelect

func (o *CityBusAPIScheduleParams) WithDollarSelect(dollarSelect *string) *CityBusAPIScheduleParams

WithDollarSelect adds the dollarSelect to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithDollarSkip

func (o *CityBusAPIScheduleParams) WithDollarSkip(dollarSkip *string) *CityBusAPIScheduleParams

WithDollarSkip adds the dollarSkip to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithDollarTop

func (o *CityBusAPIScheduleParams) WithDollarTop(dollarTop *int64) *CityBusAPIScheduleParams

WithDollarTop adds the dollarTop to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithHTTPClient

func (o *CityBusAPIScheduleParams) WithHTTPClient(client *http.Client) *CityBusAPIScheduleParams

WithHTTPClient adds the HTTPClient to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WithTimeout

WithTimeout adds the timeout to the city bus Api schedule params

func (*CityBusAPIScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIScheduleReader

type CityBusAPIScheduleReader struct {
	// contains filtered or unexported fields
}

CityBusAPIScheduleReader is a Reader for the CityBusAPISchedule structure.

func (*CityBusAPIScheduleReader) ReadResponse

func (o *CityBusAPIScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIScheduleStatus299 added in v0.3.0

type CityBusAPIScheduleStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIScheduleStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIScheduleStatus299 added in v0.3.0

func NewCityBusAPIScheduleStatus299() *CityBusAPIScheduleStatus299

NewCityBusAPIScheduleStatus299 creates a CityBusAPIScheduleStatus299 with default headers values

func (*CityBusAPIScheduleStatus299) Error added in v0.3.0

func (*CityBusAPIScheduleStatus299) GetPayload added in v0.3.0

type CityBusAPIShape1NotModified added in v0.9.0

type CityBusAPIShape1NotModified struct {
}
CityBusAPIShape1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIShape1NotModified added in v0.9.0

func NewCityBusAPIShape1NotModified() *CityBusAPIShape1NotModified

NewCityBusAPIShape1NotModified creates a CityBusAPIShape1NotModified with default headers values

func (*CityBusAPIShape1NotModified) Error added in v0.9.0

type CityBusAPIShape1OK

type CityBusAPIShape1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusShape
}
CityBusAPIShape1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIShape1OK

func NewCityBusAPIShape1OK() *CityBusAPIShape1OK

NewCityBusAPIShape1OK creates a CityBusAPIShape1OK with default headers values

func (*CityBusAPIShape1OK) Error

func (o *CityBusAPIShape1OK) Error() string

func (*CityBusAPIShape1OK) GetPayload

type CityBusAPIShape1Params

type CityBusAPIShape1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIShape1Params contains all the parameters to send to the API endpoint

for the city bus Api shape 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIShape1Params

func NewCityBusAPIShape1Params() *CityBusAPIShape1Params

NewCityBusAPIShape1Params creates a new CityBusAPIShape1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIShape1ParamsWithContext

func NewCityBusAPIShape1ParamsWithContext(ctx context.Context) *CityBusAPIShape1Params

NewCityBusAPIShape1ParamsWithContext creates a new CityBusAPIShape1Params object with the ability to set a context for a request.

func NewCityBusAPIShape1ParamsWithHTTPClient

func NewCityBusAPIShape1ParamsWithHTTPClient(client *http.Client) *CityBusAPIShape1Params

NewCityBusAPIShape1ParamsWithHTTPClient creates a new CityBusAPIShape1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIShape1ParamsWithTimeout

func NewCityBusAPIShape1ParamsWithTimeout(timeout time.Duration) *CityBusAPIShape1Params

NewCityBusAPIShape1ParamsWithTimeout creates a new CityBusAPIShape1Params object with the ability to set a timeout on a request.

func (*CityBusAPIShape1Params) SetCity

func (o *CityBusAPIShape1Params) SetCity(city string)

SetCity adds the city to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetContext

func (o *CityBusAPIShape1Params) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIShape1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api shape 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIShape1Params) SetDollarFilter

func (o *CityBusAPIShape1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetDollarFormat

func (o *CityBusAPIShape1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetDollarOrderby

func (o *CityBusAPIShape1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetDollarSelect

func (o *CityBusAPIShape1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetDollarSkip

func (o *CityBusAPIShape1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetDollarTop

func (o *CityBusAPIShape1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetHTTPClient

func (o *CityBusAPIShape1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetHealth added in v0.3.0

func (o *CityBusAPIShape1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetRouteName

func (o *CityBusAPIShape1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) SetTimeout

func (o *CityBusAPIShape1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithCity

WithCity adds the city to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithContext

WithContext adds the context to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api shape 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIShape1Params) WithDollarFilter

func (o *CityBusAPIShape1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIShape1Params

WithDollarFilter adds the dollarFilter to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithDollarFormat

func (o *CityBusAPIShape1Params) WithDollarFormat(dollarFormat string) *CityBusAPIShape1Params

WithDollarFormat adds the dollarFormat to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithDollarOrderby

func (o *CityBusAPIShape1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIShape1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithDollarSelect

func (o *CityBusAPIShape1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIShape1Params

WithDollarSelect adds the dollarSelect to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithDollarSkip

func (o *CityBusAPIShape1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIShape1Params

WithDollarSkip adds the dollarSkip to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithDollarTop

func (o *CityBusAPIShape1Params) WithDollarTop(dollarTop *int64) *CityBusAPIShape1Params

WithDollarTop adds the dollarTop to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithHTTPClient

func (o *CityBusAPIShape1Params) WithHTTPClient(client *http.Client) *CityBusAPIShape1Params

WithHTTPClient adds the HTTPClient to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithHealth added in v0.3.0

func (o *CityBusAPIShape1Params) WithHealth(health *string) *CityBusAPIShape1Params

WithHealth adds the health to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithRouteName

func (o *CityBusAPIShape1Params) WithRouteName(routeName string) *CityBusAPIShape1Params

WithRouteName adds the routeName to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WithTimeout

WithTimeout adds the timeout to the city bus Api shape 1 params

func (*CityBusAPIShape1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIShape1Reader

type CityBusAPIShape1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIShape1Reader is a Reader for the CityBusAPIShape1 structure.

func (*CityBusAPIShape1Reader) ReadResponse

func (o *CityBusAPIShape1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIShape1Status299 added in v0.3.0

type CityBusAPIShape1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIShape1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIShape1Status299 added in v0.3.0

func NewCityBusAPIShape1Status299() *CityBusAPIShape1Status299

NewCityBusAPIShape1Status299 creates a CityBusAPIShape1Status299 with default headers values

func (*CityBusAPIShape1Status299) Error added in v0.3.0

func (o *CityBusAPIShape1Status299) Error() string

func (*CityBusAPIShape1Status299) GetPayload added in v0.3.0

type CityBusAPIShapeNotModified added in v0.9.0

type CityBusAPIShapeNotModified struct {
}
CityBusAPIShapeNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIShapeNotModified added in v0.9.0

func NewCityBusAPIShapeNotModified() *CityBusAPIShapeNotModified

NewCityBusAPIShapeNotModified creates a CityBusAPIShapeNotModified with default headers values

func (*CityBusAPIShapeNotModified) Error added in v0.9.0

type CityBusAPIShapeOK

type CityBusAPIShapeOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusShape
}
CityBusAPIShapeOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIShapeOK

func NewCityBusAPIShapeOK() *CityBusAPIShapeOK

NewCityBusAPIShapeOK creates a CityBusAPIShapeOK with default headers values

func (*CityBusAPIShapeOK) Error

func (o *CityBusAPIShapeOK) Error() string

func (*CityBusAPIShapeOK) GetPayload

type CityBusAPIShapeParams

type CityBusAPIShapeParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIShapeParams contains all the parameters to send to the API endpoint

for the city bus Api shape operation.

Typically these are written to a http.Request.

func NewCityBusAPIShapeParams

func NewCityBusAPIShapeParams() *CityBusAPIShapeParams

NewCityBusAPIShapeParams creates a new CityBusAPIShapeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIShapeParamsWithContext

func NewCityBusAPIShapeParamsWithContext(ctx context.Context) *CityBusAPIShapeParams

NewCityBusAPIShapeParamsWithContext creates a new CityBusAPIShapeParams object with the ability to set a context for a request.

func NewCityBusAPIShapeParamsWithHTTPClient

func NewCityBusAPIShapeParamsWithHTTPClient(client *http.Client) *CityBusAPIShapeParams

NewCityBusAPIShapeParamsWithHTTPClient creates a new CityBusAPIShapeParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIShapeParamsWithTimeout

func NewCityBusAPIShapeParamsWithTimeout(timeout time.Duration) *CityBusAPIShapeParams

NewCityBusAPIShapeParamsWithTimeout creates a new CityBusAPIShapeParams object with the ability to set a timeout on a request.

func (*CityBusAPIShapeParams) SetCity

func (o *CityBusAPIShapeParams) SetCity(city string)

SetCity adds the city to the city bus Api shape params

func (*CityBusAPIShapeParams) SetContext

func (o *CityBusAPIShapeParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api shape params

func (*CityBusAPIShapeParams) SetDefaults added in v0.9.0

func (o *CityBusAPIShapeParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api shape params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIShapeParams) SetDollarFilter

func (o *CityBusAPIShapeParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api shape params

func (*CityBusAPIShapeParams) SetDollarFormat

func (o *CityBusAPIShapeParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api shape params

func (*CityBusAPIShapeParams) SetDollarOrderby

func (o *CityBusAPIShapeParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api shape params

func (*CityBusAPIShapeParams) SetDollarSelect

func (o *CityBusAPIShapeParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api shape params

func (*CityBusAPIShapeParams) SetDollarSkip

func (o *CityBusAPIShapeParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api shape params

func (*CityBusAPIShapeParams) SetDollarTop

func (o *CityBusAPIShapeParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api shape params

func (*CityBusAPIShapeParams) SetHTTPClient

func (o *CityBusAPIShapeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api shape params

func (*CityBusAPIShapeParams) SetHealth added in v0.3.0

func (o *CityBusAPIShapeParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api shape params

func (*CityBusAPIShapeParams) SetTimeout

func (o *CityBusAPIShapeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api shape params

func (*CityBusAPIShapeParams) WithCity

WithCity adds the city to the city bus Api shape params

func (*CityBusAPIShapeParams) WithContext

WithContext adds the context to the city bus Api shape params

func (*CityBusAPIShapeParams) WithDefaults added in v0.9.0

func (o *CityBusAPIShapeParams) WithDefaults() *CityBusAPIShapeParams

WithDefaults hydrates default values in the city bus Api shape params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIShapeParams) WithDollarFilter

func (o *CityBusAPIShapeParams) WithDollarFilter(dollarFilter *string) *CityBusAPIShapeParams

WithDollarFilter adds the dollarFilter to the city bus Api shape params

func (*CityBusAPIShapeParams) WithDollarFormat

func (o *CityBusAPIShapeParams) WithDollarFormat(dollarFormat string) *CityBusAPIShapeParams

WithDollarFormat adds the dollarFormat to the city bus Api shape params

func (*CityBusAPIShapeParams) WithDollarOrderby

func (o *CityBusAPIShapeParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIShapeParams

WithDollarOrderby adds the dollarOrderby to the city bus Api shape params

func (*CityBusAPIShapeParams) WithDollarSelect

func (o *CityBusAPIShapeParams) WithDollarSelect(dollarSelect *string) *CityBusAPIShapeParams

WithDollarSelect adds the dollarSelect to the city bus Api shape params

func (*CityBusAPIShapeParams) WithDollarSkip

func (o *CityBusAPIShapeParams) WithDollarSkip(dollarSkip *string) *CityBusAPIShapeParams

WithDollarSkip adds the dollarSkip to the city bus Api shape params

func (*CityBusAPIShapeParams) WithDollarTop

func (o *CityBusAPIShapeParams) WithDollarTop(dollarTop *int64) *CityBusAPIShapeParams

WithDollarTop adds the dollarTop to the city bus Api shape params

func (*CityBusAPIShapeParams) WithHTTPClient

func (o *CityBusAPIShapeParams) WithHTTPClient(client *http.Client) *CityBusAPIShapeParams

WithHTTPClient adds the HTTPClient to the city bus Api shape params

func (*CityBusAPIShapeParams) WithHealth added in v0.3.0

func (o *CityBusAPIShapeParams) WithHealth(health *string) *CityBusAPIShapeParams

WithHealth adds the health to the city bus Api shape params

func (*CityBusAPIShapeParams) WithTimeout

func (o *CityBusAPIShapeParams) WithTimeout(timeout time.Duration) *CityBusAPIShapeParams

WithTimeout adds the timeout to the city bus Api shape params

func (*CityBusAPIShapeParams) WriteToRequest

func (o *CityBusAPIShapeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CityBusAPIShapeReader

type CityBusAPIShapeReader struct {
	// contains filtered or unexported fields
}

CityBusAPIShapeReader is a Reader for the CityBusAPIShape structure.

func (*CityBusAPIShapeReader) ReadResponse

func (o *CityBusAPIShapeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIShapeStatus299 added in v0.3.0

type CityBusAPIShapeStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIShapeStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIShapeStatus299 added in v0.3.0

func NewCityBusAPIShapeStatus299() *CityBusAPIShapeStatus299

NewCityBusAPIShapeStatus299 creates a CityBusAPIShapeStatus299 with default headers values

func (*CityBusAPIShapeStatus299) Error added in v0.3.0

func (o *CityBusAPIShapeStatus299) Error() string

func (*CityBusAPIShapeStatus299) GetPayload added in v0.3.0

type CityBusAPIStationGroupNotModified added in v0.9.0

type CityBusAPIStationGroupNotModified struct {
}
CityBusAPIStationGroupNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIStationGroupNotModified added in v0.9.0

func NewCityBusAPIStationGroupNotModified() *CityBusAPIStationGroupNotModified

NewCityBusAPIStationGroupNotModified creates a CityBusAPIStationGroupNotModified with default headers values

func (*CityBusAPIStationGroupNotModified) Error added in v0.9.0

type CityBusAPIStationGroupOK added in v0.4.0

type CityBusAPIStationGroupOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStationGroup
}
CityBusAPIStationGroupOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStationGroupOK added in v0.4.0

func NewCityBusAPIStationGroupOK() *CityBusAPIStationGroupOK

NewCityBusAPIStationGroupOK creates a CityBusAPIStationGroupOK with default headers values

func (*CityBusAPIStationGroupOK) Error added in v0.4.0

func (o *CityBusAPIStationGroupOK) Error() string

func (*CityBusAPIStationGroupOK) GetPayload added in v0.4.0

type CityBusAPIStationGroupParams added in v0.4.0

type CityBusAPIStationGroupParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

	   空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100)
	*/
	DollarSpatialFilter *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIStationGroupParams contains all the parameters to send to the API endpoint

for the city bus Api station group operation.

Typically these are written to a http.Request.

func NewCityBusAPIStationGroupParams added in v0.4.0

func NewCityBusAPIStationGroupParams() *CityBusAPIStationGroupParams

NewCityBusAPIStationGroupParams creates a new CityBusAPIStationGroupParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIStationGroupParamsWithContext added in v0.4.0

func NewCityBusAPIStationGroupParamsWithContext(ctx context.Context) *CityBusAPIStationGroupParams

NewCityBusAPIStationGroupParamsWithContext creates a new CityBusAPIStationGroupParams object with the ability to set a context for a request.

func NewCityBusAPIStationGroupParamsWithHTTPClient added in v0.4.0

func NewCityBusAPIStationGroupParamsWithHTTPClient(client *http.Client) *CityBusAPIStationGroupParams

NewCityBusAPIStationGroupParamsWithHTTPClient creates a new CityBusAPIStationGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStationGroupParamsWithTimeout added in v0.4.0

func NewCityBusAPIStationGroupParamsWithTimeout(timeout time.Duration) *CityBusAPIStationGroupParams

NewCityBusAPIStationGroupParamsWithTimeout creates a new CityBusAPIStationGroupParams object with the ability to set a timeout on a request.

func (*CityBusAPIStationGroupParams) SetCity added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetCity(city string)

SetCity adds the city to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetContext added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDefaults added in v0.9.0

func (o *CityBusAPIStationGroupParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api station group params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStationGroupParams) SetDollarFilter added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDollarFormat added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDollarOrderby added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDollarSelect added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDollarSkip added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDollarSpatialFilter added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarSpatialFilter(dollarSpatialFilter *string)

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetDollarTop added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetHTTPClient added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetHealth added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api station group params

func (*CityBusAPIStationGroupParams) SetTimeout added in v0.4.0

func (o *CityBusAPIStationGroupParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithCity added in v0.4.0

WithCity adds the city to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithContext added in v0.4.0

WithContext adds the context to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api station group params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStationGroupParams) WithDollarFilter added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStationGroupParams

WithDollarFilter adds the dollarFilter to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDollarFormat added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarFormat(dollarFormat string) *CityBusAPIStationGroupParams

WithDollarFormat adds the dollarFormat to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDollarOrderby added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStationGroupParams

WithDollarOrderby adds the dollarOrderby to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDollarSelect added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStationGroupParams

WithDollarSelect adds the dollarSelect to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDollarSkip added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStationGroupParams

WithDollarSkip adds the dollarSkip to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDollarSpatialFilter added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStationGroupParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithDollarTop added in v0.4.0

func (o *CityBusAPIStationGroupParams) WithDollarTop(dollarTop *int64) *CityBusAPIStationGroupParams

WithDollarTop adds the dollarTop to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithHTTPClient added in v0.4.0

WithHTTPClient adds the HTTPClient to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithHealth added in v0.4.0

WithHealth adds the health to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WithTimeout added in v0.4.0

WithTimeout adds the timeout to the city bus Api station group params

func (*CityBusAPIStationGroupParams) WriteToRequest added in v0.4.0

WriteToRequest writes these params to a swagger request

type CityBusAPIStationGroupReader added in v0.4.0

type CityBusAPIStationGroupReader struct {
	// contains filtered or unexported fields
}

CityBusAPIStationGroupReader is a Reader for the CityBusAPIStationGroup structure.

func (*CityBusAPIStationGroupReader) ReadResponse added in v0.4.0

func (o *CityBusAPIStationGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIStationGroupStatus299 added in v0.4.0

type CityBusAPIStationGroupStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStationGroupStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIStationGroupStatus299 added in v0.4.0

func NewCityBusAPIStationGroupStatus299() *CityBusAPIStationGroupStatus299

NewCityBusAPIStationGroupStatus299 creates a CityBusAPIStationGroupStatus299 with default headers values

func (*CityBusAPIStationGroupStatus299) Error added in v0.4.0

func (*CityBusAPIStationGroupStatus299) GetPayload added in v0.4.0

type CityBusAPIStationNotModified added in v0.9.0

type CityBusAPIStationNotModified struct {
}
CityBusAPIStationNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIStationNotModified added in v0.9.0

func NewCityBusAPIStationNotModified() *CityBusAPIStationNotModified

NewCityBusAPIStationNotModified creates a CityBusAPIStationNotModified with default headers values

func (*CityBusAPIStationNotModified) Error added in v0.9.0

type CityBusAPIStationOK

type CityBusAPIStationOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStation
}
CityBusAPIStationOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStationOK

func NewCityBusAPIStationOK() *CityBusAPIStationOK

NewCityBusAPIStationOK creates a CityBusAPIStationOK with default headers values

func (*CityBusAPIStationOK) Error

func (o *CityBusAPIStationOK) Error() string

func (*CityBusAPIStationOK) GetPayload

type CityBusAPIStationParams

type CityBusAPIStationParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

	   空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100)
	*/
	DollarSpatialFilter *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIStationParams contains all the parameters to send to the API endpoint

for the city bus Api station operation.

Typically these are written to a http.Request.

func NewCityBusAPIStationParams

func NewCityBusAPIStationParams() *CityBusAPIStationParams

NewCityBusAPIStationParams creates a new CityBusAPIStationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIStationParamsWithContext

func NewCityBusAPIStationParamsWithContext(ctx context.Context) *CityBusAPIStationParams

NewCityBusAPIStationParamsWithContext creates a new CityBusAPIStationParams object with the ability to set a context for a request.

func NewCityBusAPIStationParamsWithHTTPClient

func NewCityBusAPIStationParamsWithHTTPClient(client *http.Client) *CityBusAPIStationParams

NewCityBusAPIStationParamsWithHTTPClient creates a new CityBusAPIStationParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStationParamsWithTimeout

func NewCityBusAPIStationParamsWithTimeout(timeout time.Duration) *CityBusAPIStationParams

NewCityBusAPIStationParamsWithTimeout creates a new CityBusAPIStationParams object with the ability to set a timeout on a request.

func (*CityBusAPIStationParams) SetCity

func (o *CityBusAPIStationParams) SetCity(city string)

SetCity adds the city to the city bus Api station params

func (*CityBusAPIStationParams) SetContext

func (o *CityBusAPIStationParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api station params

func (*CityBusAPIStationParams) SetDefaults added in v0.9.0

func (o *CityBusAPIStationParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api station params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStationParams) SetDollarFilter

func (o *CityBusAPIStationParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api station params

func (*CityBusAPIStationParams) SetDollarFormat

func (o *CityBusAPIStationParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api station params

func (*CityBusAPIStationParams) SetDollarOrderby

func (o *CityBusAPIStationParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api station params

func (*CityBusAPIStationParams) SetDollarSelect

func (o *CityBusAPIStationParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api station params

func (*CityBusAPIStationParams) SetDollarSkip

func (o *CityBusAPIStationParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api station params

func (*CityBusAPIStationParams) SetDollarSpatialFilter

func (o *CityBusAPIStationParams) SetDollarSpatialFilter(dollarSpatialFilter *string)

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station params

func (*CityBusAPIStationParams) SetDollarTop

func (o *CityBusAPIStationParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api station params

func (*CityBusAPIStationParams) SetHTTPClient

func (o *CityBusAPIStationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api station params

func (*CityBusAPIStationParams) SetHealth added in v0.3.0

func (o *CityBusAPIStationParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api station params

func (*CityBusAPIStationParams) SetTimeout

func (o *CityBusAPIStationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api station params

func (*CityBusAPIStationParams) WithCity

WithCity adds the city to the city bus Api station params

func (*CityBusAPIStationParams) WithContext

WithContext adds the context to the city bus Api station params

func (*CityBusAPIStationParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api station params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStationParams) WithDollarFilter

func (o *CityBusAPIStationParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStationParams

WithDollarFilter adds the dollarFilter to the city bus Api station params

func (*CityBusAPIStationParams) WithDollarFormat

func (o *CityBusAPIStationParams) WithDollarFormat(dollarFormat string) *CityBusAPIStationParams

WithDollarFormat adds the dollarFormat to the city bus Api station params

func (*CityBusAPIStationParams) WithDollarOrderby

func (o *CityBusAPIStationParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStationParams

WithDollarOrderby adds the dollarOrderby to the city bus Api station params

func (*CityBusAPIStationParams) WithDollarSelect

func (o *CityBusAPIStationParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStationParams

WithDollarSelect adds the dollarSelect to the city bus Api station params

func (*CityBusAPIStationParams) WithDollarSkip

func (o *CityBusAPIStationParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStationParams

WithDollarSkip adds the dollarSkip to the city bus Api station params

func (*CityBusAPIStationParams) WithDollarSpatialFilter

func (o *CityBusAPIStationParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStationParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api station params

func (*CityBusAPIStationParams) WithDollarTop

func (o *CityBusAPIStationParams) WithDollarTop(dollarTop *int64) *CityBusAPIStationParams

WithDollarTop adds the dollarTop to the city bus Api station params

func (*CityBusAPIStationParams) WithHTTPClient

func (o *CityBusAPIStationParams) WithHTTPClient(client *http.Client) *CityBusAPIStationParams

WithHTTPClient adds the HTTPClient to the city bus Api station params

func (*CityBusAPIStationParams) WithHealth added in v0.3.0

func (o *CityBusAPIStationParams) WithHealth(health *string) *CityBusAPIStationParams

WithHealth adds the health to the city bus Api station params

func (*CityBusAPIStationParams) WithTimeout

WithTimeout adds the timeout to the city bus Api station params

func (*CityBusAPIStationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIStationReader

type CityBusAPIStationReader struct {
	// contains filtered or unexported fields
}

CityBusAPIStationReader is a Reader for the CityBusAPIStation structure.

func (*CityBusAPIStationReader) ReadResponse

func (o *CityBusAPIStationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIStationStatus299 added in v0.3.0

type CityBusAPIStationStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStationStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIStationStatus299 added in v0.3.0

func NewCityBusAPIStationStatus299() *CityBusAPIStationStatus299

NewCityBusAPIStationStatus299 creates a CityBusAPIStationStatus299 with default headers values

func (*CityBusAPIStationStatus299) Error added in v0.3.0

func (*CityBusAPIStationStatus299) GetPayload added in v0.3.0

type CityBusAPIStopNotModified added in v0.9.0

type CityBusAPIStopNotModified struct {
}
CityBusAPIStopNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIStopNotModified added in v0.9.0

func NewCityBusAPIStopNotModified() *CityBusAPIStopNotModified

NewCityBusAPIStopNotModified creates a CityBusAPIStopNotModified with default headers values

func (*CityBusAPIStopNotModified) Error added in v0.9.0

func (o *CityBusAPIStopNotModified) Error() string

type CityBusAPIStopOK

type CityBusAPIStopOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStop
}
CityBusAPIStopOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStopOK

func NewCityBusAPIStopOK() *CityBusAPIStopOK

NewCityBusAPIStopOK creates a CityBusAPIStopOK with default headers values

func (*CityBusAPIStopOK) Error

func (o *CityBusAPIStopOK) Error() string

func (*CityBusAPIStopOK) GetPayload

type CityBusAPIStopOfRoute1NotModified added in v0.9.0

type CityBusAPIStopOfRoute1NotModified struct {
}
CityBusAPIStopOfRoute1NotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIStopOfRoute1NotModified added in v0.9.0

func NewCityBusAPIStopOfRoute1NotModified() *CityBusAPIStopOfRoute1NotModified

NewCityBusAPIStopOfRoute1NotModified creates a CityBusAPIStopOfRoute1NotModified with default headers values

func (*CityBusAPIStopOfRoute1NotModified) Error added in v0.9.0

type CityBusAPIStopOfRoute1OK

type CityBusAPIStopOfRoute1OK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
}
CityBusAPIStopOfRoute1OK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStopOfRoute1OK

func NewCityBusAPIStopOfRoute1OK() *CityBusAPIStopOfRoute1OK

NewCityBusAPIStopOfRoute1OK creates a CityBusAPIStopOfRoute1OK with default headers values

func (*CityBusAPIStopOfRoute1OK) Error

func (o *CityBusAPIStopOfRoute1OK) Error() string

func (*CityBusAPIStopOfRoute1OK) GetPayload

type CityBusAPIStopOfRoute1Params

type CityBusAPIStopOfRoute1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* RouteName.

	   繁體中文路線名稱,如'307'
	*/
	RouteName string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIStopOfRoute1Params contains all the parameters to send to the API endpoint

for the city bus Api stop of route 1 operation.

Typically these are written to a http.Request.

func NewCityBusAPIStopOfRoute1Params

func NewCityBusAPIStopOfRoute1Params() *CityBusAPIStopOfRoute1Params

NewCityBusAPIStopOfRoute1Params creates a new CityBusAPIStopOfRoute1Params object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIStopOfRoute1ParamsWithContext

func NewCityBusAPIStopOfRoute1ParamsWithContext(ctx context.Context) *CityBusAPIStopOfRoute1Params

NewCityBusAPIStopOfRoute1ParamsWithContext creates a new CityBusAPIStopOfRoute1Params object with the ability to set a context for a request.

func NewCityBusAPIStopOfRoute1ParamsWithHTTPClient

func NewCityBusAPIStopOfRoute1ParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRoute1Params

NewCityBusAPIStopOfRoute1ParamsWithHTTPClient creates a new CityBusAPIStopOfRoute1Params object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStopOfRoute1ParamsWithTimeout

func NewCityBusAPIStopOfRoute1ParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRoute1Params

NewCityBusAPIStopOfRoute1ParamsWithTimeout creates a new CityBusAPIStopOfRoute1Params object with the ability to set a timeout on a request.

func (*CityBusAPIStopOfRoute1Params) SetCity

func (o *CityBusAPIStopOfRoute1Params) SetCity(city string)

SetCity adds the city to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetContext

func (o *CityBusAPIStopOfRoute1Params) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetDefaults added in v0.9.0

func (o *CityBusAPIStopOfRoute1Params) SetDefaults()

SetDefaults hydrates default values in the city bus Api stop of route 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStopOfRoute1Params) SetDollarFilter

func (o *CityBusAPIStopOfRoute1Params) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetDollarFormat

func (o *CityBusAPIStopOfRoute1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetDollarOrderby

func (o *CityBusAPIStopOfRoute1Params) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetDollarSelect

func (o *CityBusAPIStopOfRoute1Params) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetDollarSkip

func (o *CityBusAPIStopOfRoute1Params) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetDollarTop

func (o *CityBusAPIStopOfRoute1Params) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetHTTPClient

func (o *CityBusAPIStopOfRoute1Params) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetHealth added in v0.3.0

func (o *CityBusAPIStopOfRoute1Params) SetHealth(health *string)

SetHealth adds the health to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetRouteName

func (o *CityBusAPIStopOfRoute1Params) SetRouteName(routeName string)

SetRouteName adds the routeName to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) SetTimeout

func (o *CityBusAPIStopOfRoute1Params) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithCity

WithCity adds the city to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithContext

WithContext adds the context to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api stop of route 1 params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStopOfRoute1Params) WithDollarFilter

func (o *CityBusAPIStopOfRoute1Params) WithDollarFilter(dollarFilter *string) *CityBusAPIStopOfRoute1Params

WithDollarFilter adds the dollarFilter to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithDollarFormat

func (o *CityBusAPIStopOfRoute1Params) WithDollarFormat(dollarFormat string) *CityBusAPIStopOfRoute1Params

WithDollarFormat adds the dollarFormat to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithDollarOrderby

func (o *CityBusAPIStopOfRoute1Params) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopOfRoute1Params

WithDollarOrderby adds the dollarOrderby to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithDollarSelect

func (o *CityBusAPIStopOfRoute1Params) WithDollarSelect(dollarSelect *string) *CityBusAPIStopOfRoute1Params

WithDollarSelect adds the dollarSelect to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithDollarSkip

func (o *CityBusAPIStopOfRoute1Params) WithDollarSkip(dollarSkip *string) *CityBusAPIStopOfRoute1Params

WithDollarSkip adds the dollarSkip to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithDollarTop

func (o *CityBusAPIStopOfRoute1Params) WithDollarTop(dollarTop *int64) *CityBusAPIStopOfRoute1Params

WithDollarTop adds the dollarTop to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithRouteName

WithRouteName adds the routeName to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WithTimeout

WithTimeout adds the timeout to the city bus Api stop of route 1 params

func (*CityBusAPIStopOfRoute1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIStopOfRoute1Reader

type CityBusAPIStopOfRoute1Reader struct {
	// contains filtered or unexported fields
}

CityBusAPIStopOfRoute1Reader is a Reader for the CityBusAPIStopOfRoute1 structure.

func (*CityBusAPIStopOfRoute1Reader) ReadResponse

func (o *CityBusAPIStopOfRoute1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIStopOfRoute1Status299 added in v0.3.0

type CityBusAPIStopOfRoute1Status299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStopOfRoute1Status299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIStopOfRoute1Status299 added in v0.3.0

func NewCityBusAPIStopOfRoute1Status299() *CityBusAPIStopOfRoute1Status299

NewCityBusAPIStopOfRoute1Status299 creates a CityBusAPIStopOfRoute1Status299 with default headers values

func (*CityBusAPIStopOfRoute1Status299) Error added in v0.3.0

func (*CityBusAPIStopOfRoute1Status299) GetPayload added in v0.3.0

type CityBusAPIStopOfRouteNotModified added in v0.9.0

type CityBusAPIStopOfRouteNotModified struct {
}
CityBusAPIStopOfRouteNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIStopOfRouteNotModified added in v0.9.0

func NewCityBusAPIStopOfRouteNotModified() *CityBusAPIStopOfRouteNotModified

NewCityBusAPIStopOfRouteNotModified creates a CityBusAPIStopOfRouteNotModified with default headers values

func (*CityBusAPIStopOfRouteNotModified) Error added in v0.9.0

type CityBusAPIStopOfRouteOK

type CityBusAPIStopOfRouteOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusStopOfRoute
}
CityBusAPIStopOfRouteOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIStopOfRouteOK

func NewCityBusAPIStopOfRouteOK() *CityBusAPIStopOfRouteOK

NewCityBusAPIStopOfRouteOK creates a CityBusAPIStopOfRouteOK with default headers values

func (*CityBusAPIStopOfRouteOK) Error

func (o *CityBusAPIStopOfRouteOK) Error() string

func (*CityBusAPIStopOfRouteOK) GetPayload

type CityBusAPIStopOfRouteParams

type CityBusAPIStopOfRouteParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIStopOfRouteParams contains all the parameters to send to the API endpoint

for the city bus Api stop of route operation.

Typically these are written to a http.Request.

func NewCityBusAPIStopOfRouteParams

func NewCityBusAPIStopOfRouteParams() *CityBusAPIStopOfRouteParams

NewCityBusAPIStopOfRouteParams creates a new CityBusAPIStopOfRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIStopOfRouteParamsWithContext

func NewCityBusAPIStopOfRouteParamsWithContext(ctx context.Context) *CityBusAPIStopOfRouteParams

NewCityBusAPIStopOfRouteParamsWithContext creates a new CityBusAPIStopOfRouteParams object with the ability to set a context for a request.

func NewCityBusAPIStopOfRouteParamsWithHTTPClient

func NewCityBusAPIStopOfRouteParamsWithHTTPClient(client *http.Client) *CityBusAPIStopOfRouteParams

NewCityBusAPIStopOfRouteParamsWithHTTPClient creates a new CityBusAPIStopOfRouteParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStopOfRouteParamsWithTimeout

func NewCityBusAPIStopOfRouteParamsWithTimeout(timeout time.Duration) *CityBusAPIStopOfRouteParams

NewCityBusAPIStopOfRouteParamsWithTimeout creates a new CityBusAPIStopOfRouteParams object with the ability to set a timeout on a request.

func (*CityBusAPIStopOfRouteParams) SetCity

func (o *CityBusAPIStopOfRouteParams) SetCity(city string)

SetCity adds the city to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetContext

func (o *CityBusAPIStopOfRouteParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetDefaults added in v0.9.0

func (o *CityBusAPIStopOfRouteParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api stop of route params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStopOfRouteParams) SetDollarFilter

func (o *CityBusAPIStopOfRouteParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetDollarFormat

func (o *CityBusAPIStopOfRouteParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetDollarOrderby

func (o *CityBusAPIStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetDollarSelect

func (o *CityBusAPIStopOfRouteParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetDollarSkip

func (o *CityBusAPIStopOfRouteParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetDollarTop

func (o *CityBusAPIStopOfRouteParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetHTTPClient

func (o *CityBusAPIStopOfRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetHealth added in v0.3.0

func (o *CityBusAPIStopOfRouteParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) SetTimeout

func (o *CityBusAPIStopOfRouteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithCity

WithCity adds the city to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithContext

WithContext adds the context to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api stop of route params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStopOfRouteParams) WithDollarFilter

func (o *CityBusAPIStopOfRouteParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStopOfRouteParams

WithDollarFilter adds the dollarFilter to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithDollarFormat

func (o *CityBusAPIStopOfRouteParams) WithDollarFormat(dollarFormat string) *CityBusAPIStopOfRouteParams

WithDollarFormat adds the dollarFormat to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithDollarOrderby

func (o *CityBusAPIStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopOfRouteParams

WithDollarOrderby adds the dollarOrderby to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithDollarSelect

func (o *CityBusAPIStopOfRouteParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStopOfRouteParams

WithDollarSelect adds the dollarSelect to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithDollarSkip

func (o *CityBusAPIStopOfRouteParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStopOfRouteParams

WithDollarSkip adds the dollarSkip to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithDollarTop

func (o *CityBusAPIStopOfRouteParams) WithDollarTop(dollarTop *int64) *CityBusAPIStopOfRouteParams

WithDollarTop adds the dollarTop to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithHealth added in v0.3.0

WithHealth adds the health to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WithTimeout

WithTimeout adds the timeout to the city bus Api stop of route params

func (*CityBusAPIStopOfRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIStopOfRouteReader

type CityBusAPIStopOfRouteReader struct {
	// contains filtered or unexported fields
}

CityBusAPIStopOfRouteReader is a Reader for the CityBusAPIStopOfRoute structure.

func (*CityBusAPIStopOfRouteReader) ReadResponse

func (o *CityBusAPIStopOfRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIStopOfRouteStatus299 added in v0.3.0

type CityBusAPIStopOfRouteStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStopOfRouteStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIStopOfRouteStatus299 added in v0.3.0

func NewCityBusAPIStopOfRouteStatus299() *CityBusAPIStopOfRouteStatus299

NewCityBusAPIStopOfRouteStatus299 creates a CityBusAPIStopOfRouteStatus299 with default headers values

func (*CityBusAPIStopOfRouteStatus299) Error added in v0.3.0

func (*CityBusAPIStopOfRouteStatus299) GetPayload added in v0.3.0

type CityBusAPIStopParams

type CityBusAPIStopParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarSpatialFilter.

	   空間過濾,語法為nearby({Lat},{Lon},{DistanceInMeters}),例如nearby(25.047675, 121.517055, 100)
	*/
	DollarSpatialFilter *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIStopParams contains all the parameters to send to the API endpoint

for the city bus Api stop operation.

Typically these are written to a http.Request.

func NewCityBusAPIStopParams

func NewCityBusAPIStopParams() *CityBusAPIStopParams

NewCityBusAPIStopParams creates a new CityBusAPIStopParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIStopParamsWithContext

func NewCityBusAPIStopParamsWithContext(ctx context.Context) *CityBusAPIStopParams

NewCityBusAPIStopParamsWithContext creates a new CityBusAPIStopParams object with the ability to set a context for a request.

func NewCityBusAPIStopParamsWithHTTPClient

func NewCityBusAPIStopParamsWithHTTPClient(client *http.Client) *CityBusAPIStopParams

NewCityBusAPIStopParamsWithHTTPClient creates a new CityBusAPIStopParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIStopParamsWithTimeout

func NewCityBusAPIStopParamsWithTimeout(timeout time.Duration) *CityBusAPIStopParams

NewCityBusAPIStopParamsWithTimeout creates a new CityBusAPIStopParams object with the ability to set a timeout on a request.

func (*CityBusAPIStopParams) SetCity

func (o *CityBusAPIStopParams) SetCity(city string)

SetCity adds the city to the city bus Api stop params

func (*CityBusAPIStopParams) SetContext

func (o *CityBusAPIStopParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api stop params

func (*CityBusAPIStopParams) SetDefaults added in v0.9.0

func (o *CityBusAPIStopParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api stop params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStopParams) SetDollarFilter

func (o *CityBusAPIStopParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api stop params

func (*CityBusAPIStopParams) SetDollarFormat

func (o *CityBusAPIStopParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api stop params

func (*CityBusAPIStopParams) SetDollarOrderby

func (o *CityBusAPIStopParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api stop params

func (*CityBusAPIStopParams) SetDollarSelect

func (o *CityBusAPIStopParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api stop params

func (*CityBusAPIStopParams) SetDollarSkip

func (o *CityBusAPIStopParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api stop params

func (*CityBusAPIStopParams) SetDollarSpatialFilter

func (o *CityBusAPIStopParams) SetDollarSpatialFilter(dollarSpatialFilter *string)

SetDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api stop params

func (*CityBusAPIStopParams) SetDollarTop

func (o *CityBusAPIStopParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api stop params

func (*CityBusAPIStopParams) SetHTTPClient

func (o *CityBusAPIStopParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api stop params

func (*CityBusAPIStopParams) SetHealth added in v0.3.0

func (o *CityBusAPIStopParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api stop params

func (*CityBusAPIStopParams) SetTimeout

func (o *CityBusAPIStopParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api stop params

func (*CityBusAPIStopParams) WithCity

WithCity adds the city to the city bus Api stop params

func (*CityBusAPIStopParams) WithContext

WithContext adds the context to the city bus Api stop params

func (*CityBusAPIStopParams) WithDefaults added in v0.9.0

func (o *CityBusAPIStopParams) WithDefaults() *CityBusAPIStopParams

WithDefaults hydrates default values in the city bus Api stop params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIStopParams) WithDollarFilter

func (o *CityBusAPIStopParams) WithDollarFilter(dollarFilter *string) *CityBusAPIStopParams

WithDollarFilter adds the dollarFilter to the city bus Api stop params

func (*CityBusAPIStopParams) WithDollarFormat

func (o *CityBusAPIStopParams) WithDollarFormat(dollarFormat string) *CityBusAPIStopParams

WithDollarFormat adds the dollarFormat to the city bus Api stop params

func (*CityBusAPIStopParams) WithDollarOrderby

func (o *CityBusAPIStopParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIStopParams

WithDollarOrderby adds the dollarOrderby to the city bus Api stop params

func (*CityBusAPIStopParams) WithDollarSelect

func (o *CityBusAPIStopParams) WithDollarSelect(dollarSelect *string) *CityBusAPIStopParams

WithDollarSelect adds the dollarSelect to the city bus Api stop params

func (*CityBusAPIStopParams) WithDollarSkip

func (o *CityBusAPIStopParams) WithDollarSkip(dollarSkip *string) *CityBusAPIStopParams

WithDollarSkip adds the dollarSkip to the city bus Api stop params

func (*CityBusAPIStopParams) WithDollarSpatialFilter

func (o *CityBusAPIStopParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *CityBusAPIStopParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the city bus Api stop params

func (*CityBusAPIStopParams) WithDollarTop

func (o *CityBusAPIStopParams) WithDollarTop(dollarTop *int64) *CityBusAPIStopParams

WithDollarTop adds the dollarTop to the city bus Api stop params

func (*CityBusAPIStopParams) WithHTTPClient

func (o *CityBusAPIStopParams) WithHTTPClient(client *http.Client) *CityBusAPIStopParams

WithHTTPClient adds the HTTPClient to the city bus Api stop params

func (*CityBusAPIStopParams) WithHealth added in v0.3.0

func (o *CityBusAPIStopParams) WithHealth(health *string) *CityBusAPIStopParams

WithHealth adds the health to the city bus Api stop params

func (*CityBusAPIStopParams) WithTimeout

func (o *CityBusAPIStopParams) WithTimeout(timeout time.Duration) *CityBusAPIStopParams

WithTimeout adds the timeout to the city bus Api stop params

func (*CityBusAPIStopParams) WriteToRequest

func (o *CityBusAPIStopParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CityBusAPIStopReader

type CityBusAPIStopReader struct {
	// contains filtered or unexported fields
}

CityBusAPIStopReader is a Reader for the CityBusAPIStop structure.

func (*CityBusAPIStopReader) ReadResponse

func (o *CityBusAPIStopReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIStopStatus299 added in v0.3.0

type CityBusAPIStopStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIStopStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIStopStatus299 added in v0.3.0

func NewCityBusAPIStopStatus299() *CityBusAPIStopStatus299

NewCityBusAPIStopStatus299 creates a CityBusAPIStopStatus299 with default headers values

func (*CityBusAPIStopStatus299) Error added in v0.3.0

func (o *CityBusAPIStopStatus299) Error() string

func (*CityBusAPIStopStatus299) GetPayload added in v0.3.0

type CityBusAPIVehicleNotModified added in v0.9.0

type CityBusAPIVehicleNotModified struct {
}
CityBusAPIVehicleNotModified describes a response with status code 304, with default header values.

服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content

func NewCityBusAPIVehicleNotModified added in v0.9.0

func NewCityBusAPIVehicleNotModified() *CityBusAPIVehicleNotModified

NewCityBusAPIVehicleNotModified creates a CityBusAPIVehicleNotModified with default headers values

func (*CityBusAPIVehicleNotModified) Error added in v0.9.0

type CityBusAPIVehicleOK

type CityBusAPIVehicleOK struct {
	Payload []*models.PTXServiceDTOBusSpecificationV2BusVehicleInfo
}
CityBusAPIVehicleOK describes a response with status code 200, with default header values.

Success

func NewCityBusAPIVehicleOK

func NewCityBusAPIVehicleOK() *CityBusAPIVehicleOK

NewCityBusAPIVehicleOK creates a CityBusAPIVehicleOK with default headers values

func (*CityBusAPIVehicleOK) Error

func (o *CityBusAPIVehicleOK) Error() string

func (*CityBusAPIVehicleOK) GetPayload

type CityBusAPIVehicleParams

type CityBusAPIVehicleParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* City.

	   欲查詢縣市
	*/
	City string

	/* Health.

	   加入參數'?health=true'即可查詢此API服務的健康狀態
	*/
	Health *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CityBusAPIVehicleParams contains all the parameters to send to the API endpoint

for the city bus Api vehicle operation.

Typically these are written to a http.Request.

func NewCityBusAPIVehicleParams

func NewCityBusAPIVehicleParams() *CityBusAPIVehicleParams

NewCityBusAPIVehicleParams creates a new CityBusAPIVehicleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCityBusAPIVehicleParamsWithContext

func NewCityBusAPIVehicleParamsWithContext(ctx context.Context) *CityBusAPIVehicleParams

NewCityBusAPIVehicleParamsWithContext creates a new CityBusAPIVehicleParams object with the ability to set a context for a request.

func NewCityBusAPIVehicleParamsWithHTTPClient

func NewCityBusAPIVehicleParamsWithHTTPClient(client *http.Client) *CityBusAPIVehicleParams

NewCityBusAPIVehicleParamsWithHTTPClient creates a new CityBusAPIVehicleParams object with the ability to set a custom HTTPClient for a request.

func NewCityBusAPIVehicleParamsWithTimeout

func NewCityBusAPIVehicleParamsWithTimeout(timeout time.Duration) *CityBusAPIVehicleParams

NewCityBusAPIVehicleParamsWithTimeout creates a new CityBusAPIVehicleParams object with the ability to set a timeout on a request.

func (*CityBusAPIVehicleParams) SetCity

func (o *CityBusAPIVehicleParams) SetCity(city string)

SetCity adds the city to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetContext

func (o *CityBusAPIVehicleParams) SetContext(ctx context.Context)

SetContext adds the context to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetDefaults added in v0.9.0

func (o *CityBusAPIVehicleParams) SetDefaults()

SetDefaults hydrates default values in the city bus Api vehicle params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIVehicleParams) SetDollarFilter

func (o *CityBusAPIVehicleParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetDollarFormat

func (o *CityBusAPIVehicleParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetDollarOrderby

func (o *CityBusAPIVehicleParams) SetDollarOrderby(dollarOrderby *string)

SetDollarOrderby adds the dollarOrderby to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetDollarSelect

func (o *CityBusAPIVehicleParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetDollarSkip

func (o *CityBusAPIVehicleParams) SetDollarSkip(dollarSkip *string)

SetDollarSkip adds the dollarSkip to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetDollarTop

func (o *CityBusAPIVehicleParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetHTTPClient

func (o *CityBusAPIVehicleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetHealth added in v0.3.0

func (o *CityBusAPIVehicleParams) SetHealth(health *string)

SetHealth adds the health to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) SetTimeout

func (o *CityBusAPIVehicleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithCity

WithCity adds the city to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithContext

WithContext adds the context to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the city bus Api vehicle params (not the query body).

All values with no default are reset to their zero value.

func (*CityBusAPIVehicleParams) WithDollarFilter

func (o *CityBusAPIVehicleParams) WithDollarFilter(dollarFilter *string) *CityBusAPIVehicleParams

WithDollarFilter adds the dollarFilter to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithDollarFormat

func (o *CityBusAPIVehicleParams) WithDollarFormat(dollarFormat string) *CityBusAPIVehicleParams

WithDollarFormat adds the dollarFormat to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithDollarOrderby

func (o *CityBusAPIVehicleParams) WithDollarOrderby(dollarOrderby *string) *CityBusAPIVehicleParams

WithDollarOrderby adds the dollarOrderby to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithDollarSelect

func (o *CityBusAPIVehicleParams) WithDollarSelect(dollarSelect *string) *CityBusAPIVehicleParams

WithDollarSelect adds the dollarSelect to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithDollarSkip

func (o *CityBusAPIVehicleParams) WithDollarSkip(dollarSkip *string) *CityBusAPIVehicleParams

WithDollarSkip adds the dollarSkip to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithDollarTop

func (o *CityBusAPIVehicleParams) WithDollarTop(dollarTop *int64) *CityBusAPIVehicleParams

WithDollarTop adds the dollarTop to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithHTTPClient

func (o *CityBusAPIVehicleParams) WithHTTPClient(client *http.Client) *CityBusAPIVehicleParams

WithHTTPClient adds the HTTPClient to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithHealth added in v0.3.0

func (o *CityBusAPIVehicleParams) WithHealth(health *string) *CityBusAPIVehicleParams

WithHealth adds the health to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WithTimeout

WithTimeout adds the timeout to the city bus Api vehicle params

func (*CityBusAPIVehicleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CityBusAPIVehicleReader

type CityBusAPIVehicleReader struct {
	// contains filtered or unexported fields
}

CityBusAPIVehicleReader is a Reader for the CityBusAPIVehicle structure.

func (*CityBusAPIVehicleReader) ReadResponse

func (o *CityBusAPIVehicleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CityBusAPIVehicleStatus299 added in v0.3.0

type CityBusAPIVehicleStatus299 struct {
	Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
CityBusAPIVehicleStatus299 describes a response with status code 299, with default header values.

加入參數'?health=true'即可查詢此API服務的健康狀態

func NewCityBusAPIVehicleStatus299 added in v0.3.0

func NewCityBusAPIVehicleStatus299() *CityBusAPIVehicleStatus299

NewCityBusAPIVehicleStatus299 creates a CityBusAPIVehicleStatus299 with default headers values

func (*CityBusAPIVehicleStatus299) Error added in v0.3.0

func (*CityBusAPIVehicleStatus299) GetPayload added in v0.3.0

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for city bus API

func (*Client) CityBusAPIAlert added in v0.11.0

func (a *Client) CityBusAPIAlert(params *CityBusAPIAlertParams, opts ...ClientOption) (*CityBusAPIAlertOK, *CityBusAPIAlertStatus299, error)

CityBusAPIAlert 取得指定s 縣市 的市區公車營運通阻資料

市區公車營運通阻資料

func (*Client) CityBusAPIDailyStopTimeTable added in v0.12.0

CityBusAPIDailyStopTimeTable 取得指定s 縣市 的市區公車每日站別時刻表資料

市區公車每日站別時刻表資料

func (*Client) CityBusAPIDailyStopTimeTable1 added in v0.12.0

CityBusAPIDailyStopTimeTable1 取得指定s 縣市 路線名稱 的市區公車每日站別時刻表資料

市區公車每日站別時刻表資料

func (*Client) CityBusAPIDailyTimeTable added in v0.12.0

CityBusAPIDailyTimeTable 取得指定s 縣市 的市區公車每日營運時刻表資料

市區公車每日營運時刻表資料

func (*Client) CityBusAPIDailyTimeTable1 added in v0.12.0

CityBusAPIDailyTimeTable1 取得指定s 縣市 路線名稱 的市區公車每日營運時刻表資料

市區公車之每日營運時刻表資料

func (*Client) CityBusAPIDataVersion

CityBusAPIDataVersion 取得指定s 縣市 目前資料的最新版本資訊

版本詳細資訊

func (*Client) CityBusAPIDisplayStopOfRoute

CityBusAPIDisplayStopOfRoute 取得指定s 縣市 的市區公車顯示用路線站序資料

市區公車之顯示用路線站序資料

func (*Client) CityBusAPIDisplayStopOfRoute1

CityBusAPIDisplayStopOfRoute1 取得指定s 縣市 路線名稱 的市區公車顯示用路線站序資料

市區公車之顯示用路線站序資料

func (*Client) CityBusAPIEstimatedTimeOfArrival

CityBusAPIEstimatedTimeOfArrival 取得指定s 縣市 的公車預估到站資料 n1 批次更新

 ### 市區公車之預估到站資料(N1) ###

- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIEstimatedTimeOfArrival1

CityBusAPIEstimatedTimeOfArrival1 取得指定s 縣市 路線名稱 的公車預估到站資料 n1 批次更新

 ### 市區公車之預估到站資料(N1) ###

- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIEstimatedTimeOfArrivalUDP added in v0.4.0

CityBusAPIEstimatedTimeOfArrivalUDP 取得指定s 縣市 的公車預估到站資料 n1 逐筆更新

### 市區公車之預估到站資料(N1) ###

- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html)) - N1僅於該路線上有任一車輛離站時,來源端才會重新計算並發佈,因此使用者需自行處理時間遞減機制,或以EstimateTime-(收到資料時間-SrcTrasTime)(秒)作為實際預估抵達時間。

func (*Client) CityBusAPIEstimatedTimeOfArrivalUDP1 added in v0.4.0

CityBusAPIEstimatedTimeOfArrivalUDP1 取得指定s 縣市 路線名稱 的公車預估到站資料 n1 逐筆更新

### 市區公車之預估到站資料(N1) ###

- [部分縣市] 當 StopStatus = 1(尚未發車) 且 EstimateTime > 0 (有值) 的情形, 屬正常情形, 雖目前尚未發車, 但提供EstimateTime值為預計多久後開始發車之時間。 - [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html)) - N1僅於該路線上有任一車輛離站時,來源端才會重新計算並發佈,因此使用者需自行處理時間遞減機制,或以EstimateTime-(收到資料時間-SrcTrasTime)(秒)作為實際預估抵達時間。

func (*Client) CityBusAPIFirstLastTripInfo added in v0.6.0

CityBusAPIFirstLastTripInfo 取得指定s 縣市 的市區公車路線首末班車資料

市區公車之路線首末班車資料

func (*Client) CityBusAPIFirstLastTripInfo1 added in v0.6.0

CityBusAPIFirstLastTripInfo1 取得指定s 縣市 路線名稱 的路線首末班車資料

市區公車之路線首末班車資料

func (*Client) CityBusAPINews

func (a *Client) CityBusAPINews(params *CityBusAPINewsParams, opts ...ClientOption) (*CityBusAPINewsOK, *CityBusAPINewsStatus299, error)

CityBusAPINews 取得指定s 縣市 的市區公車最新消息資料

市區公車最新消息資料

func (*Client) CityBusAPIOperator

CityBusAPIOperator 取得指定s 縣市 的市區公車營運業者資料

市區公車之營運業者資料

func (*Client) CityBusAPIRealTimeByFrequency

CityBusAPIRealTimeByFrequency 取得指定s 縣市 的公車動態定時資料 a1 批次更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeByFrequency1

CityBusAPIRealTimeByFrequency1 取得指定s 縣市 路線名稱 的公車動態定時資料 a1 批次更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeByFrequencyUDP added in v0.4.0

CityBusAPIRealTimeByFrequencyUDP 取得指定s 縣市 的公車動態定時資料 a1 逐筆更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeByFrequencyUDP1 added in v0.4.0

CityBusAPIRealTimeByFrequencyUDP1 取得指定s 縣市 路線名稱 的公車動態定時資料 a1 逐筆更新

### 市區公車之定時資料(A1) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStop

CityBusAPIRealTimeNearStop 取得指定s 縣市 的公車動態定點資料 a2 批次更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStop1

CityBusAPIRealTimeNearStop1 取得指定s 縣市 路線名稱 的公車動態定點資料 a2 批次更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStopUDP added in v0.4.0

CityBusAPIRealTimeNearStopUDP 取得指定s 縣市 的公車動態定點資料 a2 逐筆更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRealTimeNearStopUDP1 added in v0.4.0

CityBusAPIRealTimeNearStopUDP1 取得指定s 縣市 路線名稱 的公車動態定點資料 a2 逐筆更新

### 市區公車之定點資料(A2) ###

- [逐筆更新]與[批次更新]之差異請詳見資料使用葵花寶典([連結](https://ptxmotc.gitbooks.io/ptx-api-documentation/content/api-zi-liao-shi-yong-zhu-yi-shi-xiang/buslive.html))

func (*Client) CityBusAPIRoute

func (a *Client) CityBusAPIRoute(params *CityBusAPIRouteParams, opts ...ClientOption) (*CityBusAPIRouteOK, *CityBusAPIRouteStatus299, error)

CityBusAPIRoute 取得指定s 縣市 的市區公車路線資料

市區公車之路線資料

func (*Client) CityBusAPIRoute1

CityBusAPIRoute1 取得指定s 縣市 路線名稱 的路線資料

市區公車之路線資料

func (*Client) CityBusAPIRouteFare

CityBusAPIRouteFare 取得指定s 縣市 的市區公車路線票價資料

市區公車路線票價資料

func (*Client) CityBusAPIRouteFare1

CityBusAPIRouteFare1 取得指定s 縣市 路線名稱 的的市區公車路線票價資料

市區公車路線票價資料

func (*Client) CityBusAPIRouteNetwork added in v0.11.0

CityBusAPIRouteNetwork 取得指定s 縣市 的市區公車路線網路拓撲資料

市區公車路線網路拓撲資料

func (*Client) CityBusAPIRouteNetwork1 added in v0.11.0

CityBusAPIRouteNetwork1 取得指定s 縣市 路線名稱 的市區公車顯示用路線站序資料

市區公車之顯示用路線站序資料

func (*Client) CityBusAPIS2STravelTimeDetail added in v0.9.0

CityBusAPIS2STravelTimeDetail 取得指定s 縣市 路線代碼 的市區公車站間旅行時間資料

指定[縣市],[路線代碼]的市區公車站間旅行時間資料

func (*Client) CityBusAPISchedule

CityBusAPISchedule 取得指定s 縣市 的市區公車路線班表資料

市區公車之班表及班距資料。一般市區公車班次較多時會採用【班距】式時刻表;班次較少時會採用【班表】式時刻表

func (*Client) CityBusAPISchedule1

CityBusAPISchedule1 取得指定s 縣市 路線名稱 的市區公車路線班表資料

市區公車之預定班表及班距資料。一般市區公車班次較多時會採用【班距】式時刻表;班次較少時會採用【班表】式時刻表

func (*Client) CityBusAPIShape

func (a *Client) CityBusAPIShape(params *CityBusAPIShapeParams, opts ...ClientOption) (*CityBusAPIShapeOK, *CityBusAPIShapeStatus299, error)

CityBusAPIShape 取得指定s 縣市 的市區公車線型資料

市區公車之線型資料

func (*Client) CityBusAPIShape1

CityBusAPIShape1 取得指定s 縣市 路線名稱 的市區公車線型資料

市區公車之線型資料

func (*Client) CityBusAPIStation

CityBusAPIStation 取得指定s 縣市 的市區公車站位資料

市區公車之各站牌所屬的站位資料

func (*Client) CityBusAPIStationGroup added in v0.4.0

CityBusAPIStationGroup 取得指定s 縣市 的市區公車組站位資料

市區公車之各站牌所屬的組站位資料

func (*Client) CityBusAPIStop

func (a *Client) CityBusAPIStop(params *CityBusAPIStopParams, opts ...ClientOption) (*CityBusAPIStopOK, *CityBusAPIStopStatus299, error)

CityBusAPIStop 取得指定s 縣市 的市區公車站牌資料

市區公車之站牌資料

func (*Client) CityBusAPIStopOfRoute

CityBusAPIStopOfRoute 取得指定s 縣市 的市區公車路線站序資料

市區公車之路線站序資料

func (*Client) CityBusAPIStopOfRoute1

CityBusAPIStopOfRoute1 取得指定s 縣市 路線名稱 的市區公車路線站序資料

市區公車之路線站序資料

func (*Client) CityBusAPIVehicle

CityBusAPIVehicle 取得指定s 縣市 的市區公車車輛資料

市區公車之車輛資料

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v0.11.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.5.0

type ClientService interface {
	CityBusAPIAlert(params *CityBusAPIAlertParams, opts ...ClientOption) (*CityBusAPIAlertOK, *CityBusAPIAlertStatus299, error)

	CityBusAPIDailyStopTimeTable(params *CityBusAPIDailyStopTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyStopTimeTableOK, *CityBusAPIDailyStopTimeTableStatus299, error)

	CityBusAPIDailyStopTimeTable1(params *CityBusAPIDailyStopTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyStopTimeTable1OK, *CityBusAPIDailyStopTimeTable1Status299, error)

	CityBusAPIDailyTimeTable(params *CityBusAPIDailyTimeTableParams, opts ...ClientOption) (*CityBusAPIDailyTimeTableOK, *CityBusAPIDailyTimeTableStatus299, error)

	CityBusAPIDailyTimeTable1(params *CityBusAPIDailyTimeTable1Params, opts ...ClientOption) (*CityBusAPIDailyTimeTable1OK, *CityBusAPIDailyTimeTable1Status299, error)

	CityBusAPIDataVersion(params *CityBusAPIDataVersionParams, opts ...ClientOption) (*CityBusAPIDataVersionOK, *CityBusAPIDataVersionStatus299, error)

	CityBusAPIDisplayStopOfRoute(params *CityBusAPIDisplayStopOfRouteParams, opts ...ClientOption) (*CityBusAPIDisplayStopOfRouteOK, *CityBusAPIDisplayStopOfRouteStatus299, error)

	CityBusAPIDisplayStopOfRoute1(params *CityBusAPIDisplayStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIDisplayStopOfRoute1OK, *CityBusAPIDisplayStopOfRoute1Status299, error)

	CityBusAPIEstimatedTimeOfArrival(params *CityBusAPIEstimatedTimeOfArrivalParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalOK, *CityBusAPIEstimatedTimeOfArrivalStatus299, error)

	CityBusAPIEstimatedTimeOfArrival1(params *CityBusAPIEstimatedTimeOfArrival1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrival1OK, *CityBusAPIEstimatedTimeOfArrival1Status299, error)

	CityBusAPIEstimatedTimeOfArrivalUDP(params *CityBusAPIEstimatedTimeOfArrivalUDPParams, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUDPOK, *CityBusAPIEstimatedTimeOfArrivalUDPStatus299, error)

	CityBusAPIEstimatedTimeOfArrivalUDP1(params *CityBusAPIEstimatedTimeOfArrivalUDP1Params, opts ...ClientOption) (*CityBusAPIEstimatedTimeOfArrivalUdp1OK, *CityBusAPIEstimatedTimeOfArrivalUdp1Status299, error)

	CityBusAPIFirstLastTripInfo(params *CityBusAPIFirstLastTripInfoParams, opts ...ClientOption) (*CityBusAPIFirstLastTripInfoOK, *CityBusAPIFirstLastTripInfoStatus299, error)

	CityBusAPIFirstLastTripInfo1(params *CityBusAPIFirstLastTripInfo1Params, opts ...ClientOption) (*CityBusAPIFirstLastTripInfo1OK, *CityBusAPIFirstLastTripInfo1Status299, error)

	CityBusAPINews(params *CityBusAPINewsParams, opts ...ClientOption) (*CityBusAPINewsOK, *CityBusAPINewsStatus299, error)

	CityBusAPIOperator(params *CityBusAPIOperatorParams, opts ...ClientOption) (*CityBusAPIOperatorOK, *CityBusAPIOperatorStatus299, error)

	CityBusAPIRealTimeByFrequency(params *CityBusAPIRealTimeByFrequencyParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyOK, *CityBusAPIRealTimeByFrequencyStatus299, error)

	CityBusAPIRealTimeByFrequency1(params *CityBusAPIRealTimeByFrequency1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequency1OK, *CityBusAPIRealTimeByFrequency1Status299, error)

	CityBusAPIRealTimeByFrequencyUDP(params *CityBusAPIRealTimeByFrequencyUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUDPOK, *CityBusAPIRealTimeByFrequencyUDPStatus299, error)

	CityBusAPIRealTimeByFrequencyUDP1(params *CityBusAPIRealTimeByFrequencyUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeByFrequencyUdp1OK, *CityBusAPIRealTimeByFrequencyUdp1Status299, error)

	CityBusAPIRealTimeNearStop(params *CityBusAPIRealTimeNearStopParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopOK, *CityBusAPIRealTimeNearStopStatus299, error)

	CityBusAPIRealTimeNearStop1(params *CityBusAPIRealTimeNearStop1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStop1OK, *CityBusAPIRealTimeNearStop1Status299, error)

	CityBusAPIRealTimeNearStopUDP(params *CityBusAPIRealTimeNearStopUDPParams, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUDPOK, *CityBusAPIRealTimeNearStopUDPStatus299, error)

	CityBusAPIRealTimeNearStopUDP1(params *CityBusAPIRealTimeNearStopUDP1Params, opts ...ClientOption) (*CityBusAPIRealTimeNearStopUdp1OK, *CityBusAPIRealTimeNearStopUdp1Status299, error)

	CityBusAPIRoute(params *CityBusAPIRouteParams, opts ...ClientOption) (*CityBusAPIRouteOK, *CityBusAPIRouteStatus299, error)

	CityBusAPIRouteFare(params *CityBusAPIRouteFareParams, opts ...ClientOption) (*CityBusAPIRouteFareOK, *CityBusAPIRouteFareStatus299, error)

	CityBusAPIRouteFare1(params *CityBusAPIRouteFare1Params, opts ...ClientOption) (*CityBusAPIRouteFare1OK, *CityBusAPIRouteFare1Status299, error)

	CityBusAPIRouteNetwork(params *CityBusAPIRouteNetworkParams, opts ...ClientOption) (*CityBusAPIRouteNetworkOK, *CityBusAPIRouteNetworkStatus299, error)

	CityBusAPIRouteNetwork1(params *CityBusAPIRouteNetwork1Params, opts ...ClientOption) (*CityBusAPIRouteNetwork1OK, *CityBusAPIRouteNetwork1Status299, error)

	CityBusAPIRoute1(params *CityBusAPIRoute1Params, opts ...ClientOption) (*CityBusAPIRoute1OK, *CityBusAPIRoute1Status299, error)

	CityBusAPIS2STravelTimeDetail(params *CityBusAPIS2STravelTimeDetailParams, opts ...ClientOption) (*CityBusAPIS2STravelTimeDetailOK, *CityBusAPIS2STravelTimeDetailStatus299, error)

	CityBusAPISchedule(params *CityBusAPIScheduleParams, opts ...ClientOption) (*CityBusAPIScheduleOK, *CityBusAPIScheduleStatus299, error)

	CityBusAPISchedule1(params *CityBusAPISchedule1Params, opts ...ClientOption) (*CityBusAPISchedule1OK, *CityBusAPISchedule1Status299, error)

	CityBusAPIShape(params *CityBusAPIShapeParams, opts ...ClientOption) (*CityBusAPIShapeOK, *CityBusAPIShapeStatus299, error)

	CityBusAPIShape1(params *CityBusAPIShape1Params, opts ...ClientOption) (*CityBusAPIShape1OK, *CityBusAPIShape1Status299, error)

	CityBusAPIStation(params *CityBusAPIStationParams, opts ...ClientOption) (*CityBusAPIStationOK, *CityBusAPIStationStatus299, error)

	CityBusAPIStationGroup(params *CityBusAPIStationGroupParams, opts ...ClientOption) (*CityBusAPIStationGroupOK, *CityBusAPIStationGroupStatus299, error)

	CityBusAPIStop(params *CityBusAPIStopParams, opts ...ClientOption) (*CityBusAPIStopOK, *CityBusAPIStopStatus299, error)

	CityBusAPIStopOfRoute(params *CityBusAPIStopOfRouteParams, opts ...ClientOption) (*CityBusAPIStopOfRouteOK, *CityBusAPIStopOfRouteStatus299, error)

	CityBusAPIStopOfRoute1(params *CityBusAPIStopOfRoute1Params, opts ...ClientOption) (*CityBusAPIStopOfRoute1OK, *CityBusAPIStopOfRoute1Status299, error)

	CityBusAPIVehicle(params *CityBusAPIVehicleParams, opts ...ClientOption) (*CityBusAPIVehicleOK, *CityBusAPIVehicleStatus299, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new city bus API client.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL