air

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 AirAPIAirline1NotModified added in v0.9.0

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

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

func NewAirAPIAirline1NotModified added in v0.9.0

func NewAirAPIAirline1NotModified() *AirAPIAirline1NotModified

NewAirAPIAirline1NotModified creates a AirAPIAirline1NotModified with default headers values

func (*AirAPIAirline1NotModified) Error added in v0.9.0

func (o *AirAPIAirline1NotModified) Error() string

type AirAPIAirline1OK

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

Success

func NewAirAPIAirline1OK

func NewAirAPIAirline1OK() *AirAPIAirline1OK

NewAirAPIAirline1OK creates a AirAPIAirline1OK with default headers values

func (*AirAPIAirline1OK) Error

func (o *AirAPIAirline1OK) Error() string

func (*AirAPIAirline1OK) GetPayload

type AirAPIAirline1Params

type AirAPIAirline1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

AirAPIAirline1Params contains all the parameters to send to the API endpoint

for the air Api airline 1 operation.

Typically these are written to a http.Request.

func NewAirAPIAirline1Params

func NewAirAPIAirline1Params() *AirAPIAirline1Params

NewAirAPIAirline1Params creates a new AirAPIAirline1Params 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 NewAirAPIAirline1ParamsWithContext

func NewAirAPIAirline1ParamsWithContext(ctx context.Context) *AirAPIAirline1Params

NewAirAPIAirline1ParamsWithContext creates a new AirAPIAirline1Params object with the ability to set a context for a request.

func NewAirAPIAirline1ParamsWithHTTPClient

func NewAirAPIAirline1ParamsWithHTTPClient(client *http.Client) *AirAPIAirline1Params

NewAirAPIAirline1ParamsWithHTTPClient creates a new AirAPIAirline1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIAirline1ParamsWithTimeout

func NewAirAPIAirline1ParamsWithTimeout(timeout time.Duration) *AirAPIAirline1Params

NewAirAPIAirline1ParamsWithTimeout creates a new AirAPIAirline1Params object with the ability to set a timeout on a request.

func (*AirAPIAirline1Params) SetContext

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

SetContext adds the context to the air Api airline 1 params

func (*AirAPIAirline1Params) SetDefaults added in v0.9.0

func (o *AirAPIAirline1Params) SetDefaults()

SetDefaults hydrates default values in the air Api airline 1 params (not the query body).

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

func (*AirAPIAirline1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api airline 1 params

func (*AirAPIAirline1Params) SetDollarFormat

func (o *AirAPIAirline1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api airline 1 params

func (*AirAPIAirline1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api airline 1 params

func (*AirAPIAirline1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api airline 1 params

func (*AirAPIAirline1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api airline 1 params

func (*AirAPIAirline1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api airline 1 params

func (*AirAPIAirline1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api airline 1 params

func (*AirAPIAirline1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api airline 1 params

func (*AirAPIAirline1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api airline 1 params

func (*AirAPIAirline1Params) WithContext

WithContext adds the context to the air Api airline 1 params

func (*AirAPIAirline1Params) WithDefaults added in v0.9.0

func (o *AirAPIAirline1Params) WithDefaults() *AirAPIAirline1Params

WithDefaults hydrates default values in the air Api airline 1 params (not the query body).

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

func (*AirAPIAirline1Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api airline 1 params

func (*AirAPIAirline1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api airline 1 params

func (*AirAPIAirline1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api airline 1 params

func (*AirAPIAirline1Params) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api airline 1 params

func (*AirAPIAirline1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api airline 1 params

func (*AirAPIAirline1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api airline 1 params

func (*AirAPIAirline1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api airline 1 params

func (*AirAPIAirline1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api airline 1 params

func (*AirAPIAirline1Params) WithTimeout

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

WithTimeout adds the timeout to the air Api airline 1 params

func (*AirAPIAirline1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIAirline1Reader

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

AirAPIAirline1Reader is a Reader for the AirAPIAirline1 structure.

func (*AirAPIAirline1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIAirline1Status299 added in v0.13.0

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

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

func NewAirAPIAirline1Status299 added in v0.13.0

func NewAirAPIAirline1Status299() *AirAPIAirline1Status299

NewAirAPIAirline1Status299 creates a AirAPIAirline1Status299 with default headers values

func (*AirAPIAirline1Status299) Error added in v0.13.0

func (o *AirAPIAirline1Status299) Error() string

func (*AirAPIAirline1Status299) GetPayload added in v0.13.0

type AirAPIAirlineOK

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

Success

func NewAirAPIAirlineOK

func NewAirAPIAirlineOK() *AirAPIAirlineOK

NewAirAPIAirlineOK creates a AirAPIAirlineOK with default headers values

func (*AirAPIAirlineOK) Error

func (o *AirAPIAirlineOK) Error() string

func (*AirAPIAirlineOK) GetPayload

type AirAPIAirlineParams

type AirAPIAirlineParams struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* IATA.

	   航空公司代碼
	*/
	IATA string

	/* Health.

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

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

AirAPIAirlineParams contains all the parameters to send to the API endpoint

for the air Api airline operation.

Typically these are written to a http.Request.

func NewAirAPIAirlineParams

func NewAirAPIAirlineParams() *AirAPIAirlineParams

NewAirAPIAirlineParams creates a new AirAPIAirlineParams 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 NewAirAPIAirlineParamsWithContext

func NewAirAPIAirlineParamsWithContext(ctx context.Context) *AirAPIAirlineParams

NewAirAPIAirlineParamsWithContext creates a new AirAPIAirlineParams object with the ability to set a context for a request.

func NewAirAPIAirlineParamsWithHTTPClient

func NewAirAPIAirlineParamsWithHTTPClient(client *http.Client) *AirAPIAirlineParams

NewAirAPIAirlineParamsWithHTTPClient creates a new AirAPIAirlineParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIAirlineParamsWithTimeout

func NewAirAPIAirlineParamsWithTimeout(timeout time.Duration) *AirAPIAirlineParams

NewAirAPIAirlineParamsWithTimeout creates a new AirAPIAirlineParams object with the ability to set a timeout on a request.

func (*AirAPIAirlineParams) SetContext

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

SetContext adds the context to the air Api airline params

func (*AirAPIAirlineParams) SetDefaults added in v0.9.0

func (o *AirAPIAirlineParams) SetDefaults()

SetDefaults hydrates default values in the air Api airline params (not the query body).

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

func (*AirAPIAirlineParams) SetDollarFormat

func (o *AirAPIAirlineParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api airline params

func (*AirAPIAirlineParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api airline params

func (*AirAPIAirlineParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api airline params

func (*AirAPIAirlineParams) SetIATA

func (o *AirAPIAirlineParams) SetIATA(iATA string)

SetIATA adds the iATA to the air Api airline params

func (*AirAPIAirlineParams) SetTimeout

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

SetTimeout adds the timeout to the air Api airline params

func (*AirAPIAirlineParams) WithContext

WithContext adds the context to the air Api airline params

func (*AirAPIAirlineParams) WithDefaults added in v0.9.0

func (o *AirAPIAirlineParams) WithDefaults() *AirAPIAirlineParams

WithDefaults hydrates default values in the air Api airline params (not the query body).

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

func (*AirAPIAirlineParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api airline params

func (*AirAPIAirlineParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api airline params

func (*AirAPIAirlineParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api airline params

func (*AirAPIAirlineParams) WithIATA

func (o *AirAPIAirlineParams) WithIATA(iATA string) *AirAPIAirlineParams

WithIATA adds the iATA to the air Api airline params

func (*AirAPIAirlineParams) WithTimeout

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

WithTimeout adds the timeout to the air Api airline params

func (*AirAPIAirlineParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIAirlineReader

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

AirAPIAirlineReader is a Reader for the AirAPIAirline structure.

func (*AirAPIAirlineReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIAirlineStatus299 added in v0.13.0

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

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

func NewAirAPIAirlineStatus299 added in v0.13.0

func NewAirAPIAirlineStatus299() *AirAPIAirlineStatus299

NewAirAPIAirlineStatus299 creates a AirAPIAirlineStatus299 with default headers values

func (*AirAPIAirlineStatus299) Error added in v0.13.0

func (o *AirAPIAirlineStatus299) Error() string

func (*AirAPIAirlineStatus299) GetPayload added in v0.13.0

type AirAPIAirport1OK

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

Success

func NewAirAPIAirport1OK

func NewAirAPIAirport1OK() *AirAPIAirport1OK

NewAirAPIAirport1OK creates a AirAPIAirport1OK with default headers values

func (*AirAPIAirport1OK) Error

func (o *AirAPIAirport1OK) Error() string

func (*AirAPIAirport1OK) GetPayload

type AirAPIAirport1Params

type AirAPIAirport1Params struct {

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* IATA.

	   機場代碼
	*/
	IATA string

	/* Health.

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

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

AirAPIAirport1Params contains all the parameters to send to the API endpoint

for the air Api airport 1 operation.

Typically these are written to a http.Request.

func NewAirAPIAirport1Params

func NewAirAPIAirport1Params() *AirAPIAirport1Params

NewAirAPIAirport1Params creates a new AirAPIAirport1Params 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 NewAirAPIAirport1ParamsWithContext

func NewAirAPIAirport1ParamsWithContext(ctx context.Context) *AirAPIAirport1Params

NewAirAPIAirport1ParamsWithContext creates a new AirAPIAirport1Params object with the ability to set a context for a request.

func NewAirAPIAirport1ParamsWithHTTPClient

func NewAirAPIAirport1ParamsWithHTTPClient(client *http.Client) *AirAPIAirport1Params

NewAirAPIAirport1ParamsWithHTTPClient creates a new AirAPIAirport1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIAirport1ParamsWithTimeout

func NewAirAPIAirport1ParamsWithTimeout(timeout time.Duration) *AirAPIAirport1Params

NewAirAPIAirport1ParamsWithTimeout creates a new AirAPIAirport1Params object with the ability to set a timeout on a request.

func (*AirAPIAirport1Params) SetContext

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

SetContext adds the context to the air Api airport 1 params

func (*AirAPIAirport1Params) SetDefaults added in v0.9.0

func (o *AirAPIAirport1Params) SetDefaults()

SetDefaults hydrates default values in the air Api airport 1 params (not the query body).

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

func (*AirAPIAirport1Params) SetDollarFormat

func (o *AirAPIAirport1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api airport 1 params

func (*AirAPIAirport1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api airport 1 params

func (*AirAPIAirport1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api airport 1 params

func (*AirAPIAirport1Params) SetIATA

func (o *AirAPIAirport1Params) SetIATA(iATA string)

SetIATA adds the iATA to the air Api airport 1 params

func (*AirAPIAirport1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api airport 1 params

func (*AirAPIAirport1Params) WithContext

WithContext adds the context to the air Api airport 1 params

func (*AirAPIAirport1Params) WithDefaults added in v0.9.0

func (o *AirAPIAirport1Params) WithDefaults() *AirAPIAirport1Params

WithDefaults hydrates default values in the air Api airport 1 params (not the query body).

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

func (*AirAPIAirport1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api airport 1 params

func (*AirAPIAirport1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api airport 1 params

func (*AirAPIAirport1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api airport 1 params

func (*AirAPIAirport1Params) WithIATA

WithIATA adds the iATA to the air Api airport 1 params

func (*AirAPIAirport1Params) WithTimeout

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

WithTimeout adds the timeout to the air Api airport 1 params

func (*AirAPIAirport1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIAirport1Reader

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

AirAPIAirport1Reader is a Reader for the AirAPIAirport1 structure.

func (*AirAPIAirport1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIAirport1Status299 added in v0.13.0

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

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

func NewAirAPIAirport1Status299 added in v0.13.0

func NewAirAPIAirport1Status299() *AirAPIAirport1Status299

NewAirAPIAirport1Status299 creates a AirAPIAirport1Status299 with default headers values

func (*AirAPIAirport1Status299) Error added in v0.13.0

func (o *AirAPIAirport1Status299) Error() string

func (*AirAPIAirport1Status299) GetPayload added in v0.13.0

type AirAPIAirportNotModified added in v0.9.0

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

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

func NewAirAPIAirportNotModified added in v0.9.0

func NewAirAPIAirportNotModified() *AirAPIAirportNotModified

NewAirAPIAirportNotModified creates a AirAPIAirportNotModified with default headers values

func (*AirAPIAirportNotModified) Error added in v0.9.0

func (o *AirAPIAirportNotModified) Error() string

type AirAPIAirportOK

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

Success

func NewAirAPIAirportOK

func NewAirAPIAirportOK() *AirAPIAirportOK

NewAirAPIAirportOK creates a AirAPIAirportOK with default headers values

func (*AirAPIAirportOK) Error

func (o *AirAPIAirportOK) Error() string

func (*AirAPIAirportOK) GetPayload

type AirAPIAirportParams

type AirAPIAirportParams 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

	/* Health.

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

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

AirAPIAirportParams contains all the parameters to send to the API endpoint

for the air Api airport operation.

Typically these are written to a http.Request.

func NewAirAPIAirportParams

func NewAirAPIAirportParams() *AirAPIAirportParams

NewAirAPIAirportParams creates a new AirAPIAirportParams 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 NewAirAPIAirportParamsWithContext

func NewAirAPIAirportParamsWithContext(ctx context.Context) *AirAPIAirportParams

NewAirAPIAirportParamsWithContext creates a new AirAPIAirportParams object with the ability to set a context for a request.

func NewAirAPIAirportParamsWithHTTPClient

func NewAirAPIAirportParamsWithHTTPClient(client *http.Client) *AirAPIAirportParams

NewAirAPIAirportParamsWithHTTPClient creates a new AirAPIAirportParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIAirportParamsWithTimeout

func NewAirAPIAirportParamsWithTimeout(timeout time.Duration) *AirAPIAirportParams

NewAirAPIAirportParamsWithTimeout creates a new AirAPIAirportParams object with the ability to set a timeout on a request.

func (*AirAPIAirportParams) SetContext

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

SetContext adds the context to the air Api airport params

func (*AirAPIAirportParams) SetDefaults added in v0.9.0

func (o *AirAPIAirportParams) SetDefaults()

SetDefaults hydrates default values in the air Api airport params (not the query body).

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

func (*AirAPIAirportParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api airport params

func (*AirAPIAirportParams) SetDollarFormat

func (o *AirAPIAirportParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api airport params

func (*AirAPIAirportParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api airport params

func (*AirAPIAirportParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api airport params

func (*AirAPIAirportParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api airport params

func (*AirAPIAirportParams) SetDollarSpatialFilter

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the air Api airport params

func (*AirAPIAirportParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api airport params

func (*AirAPIAirportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api airport params

func (*AirAPIAirportParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api airport params

func (*AirAPIAirportParams) SetTimeout

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

SetTimeout adds the timeout to the air Api airport params

func (*AirAPIAirportParams) WithContext

WithContext adds the context to the air Api airport params

func (*AirAPIAirportParams) WithDefaults added in v0.9.0

func (o *AirAPIAirportParams) WithDefaults() *AirAPIAirportParams

WithDefaults hydrates default values in the air Api airport params (not the query body).

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

func (*AirAPIAirportParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api airport params

func (*AirAPIAirportParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api airport params

func (*AirAPIAirportParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api airport params

func (*AirAPIAirportParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api airport params

func (*AirAPIAirportParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api airport params

func (*AirAPIAirportParams) WithDollarSpatialFilter

func (o *AirAPIAirportParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *AirAPIAirportParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the air Api airport params

func (*AirAPIAirportParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api airport params

func (*AirAPIAirportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api airport params

func (*AirAPIAirportParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api airport params

func (*AirAPIAirportParams) WithTimeout

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

WithTimeout adds the timeout to the air Api airport params

func (*AirAPIAirportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIAirportReader

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

AirAPIAirportReader is a Reader for the AirAPIAirport structure.

func (*AirAPIAirportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIAirportStatus299 added in v0.13.0

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

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

func NewAirAPIAirportStatus299 added in v0.13.0

func NewAirAPIAirportStatus299() *AirAPIAirportStatus299

NewAirAPIAirportStatus299 creates a AirAPIAirportStatus299 with default headers values

func (*AirAPIAirportStatus299) Error added in v0.13.0

func (o *AirAPIAirportStatus299) Error() string

func (*AirAPIAirportStatus299) GetPayload added in v0.13.0

type AirAPIArrival1NotModified added in v0.9.0

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

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

func NewAirAPIArrival1NotModified added in v0.9.0

func NewAirAPIArrival1NotModified() *AirAPIArrival1NotModified

NewAirAPIArrival1NotModified creates a AirAPIArrival1NotModified with default headers values

func (*AirAPIArrival1NotModified) Error added in v0.9.0

func (o *AirAPIArrival1NotModified) Error() string

type AirAPIArrival1OK

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

Success

func NewAirAPIArrival1OK

func NewAirAPIArrival1OK() *AirAPIArrival1OK

NewAirAPIArrival1OK creates a AirAPIArrival1OK with default headers values

func (*AirAPIArrival1OK) Error

func (o *AirAPIArrival1OK) Error() string

func (*AirAPIArrival1OK) GetPayload

type AirAPIArrival1Params

type AirAPIArrival1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* IATA.

	   機場代碼
	*/
	IATA string

	/* IsCargo.

	   是否為貨機
	*/
	IsCargo *bool

	/* Health.

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

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

AirAPIArrival1Params contains all the parameters to send to the API endpoint

for the air Api arrival 1 operation.

Typically these are written to a http.Request.

func NewAirAPIArrival1Params

func NewAirAPIArrival1Params() *AirAPIArrival1Params

NewAirAPIArrival1Params creates a new AirAPIArrival1Params 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 NewAirAPIArrival1ParamsWithContext

func NewAirAPIArrival1ParamsWithContext(ctx context.Context) *AirAPIArrival1Params

NewAirAPIArrival1ParamsWithContext creates a new AirAPIArrival1Params object with the ability to set a context for a request.

func NewAirAPIArrival1ParamsWithHTTPClient

func NewAirAPIArrival1ParamsWithHTTPClient(client *http.Client) *AirAPIArrival1Params

NewAirAPIArrival1ParamsWithHTTPClient creates a new AirAPIArrival1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIArrival1ParamsWithTimeout

func NewAirAPIArrival1ParamsWithTimeout(timeout time.Duration) *AirAPIArrival1Params

NewAirAPIArrival1ParamsWithTimeout creates a new AirAPIArrival1Params object with the ability to set a timeout on a request.

func (*AirAPIArrival1Params) SetContext

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

SetContext adds the context to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetDefaults added in v0.9.0

func (o *AirAPIArrival1Params) SetDefaults()

SetDefaults hydrates default values in the air Api arrival 1 params (not the query body).

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

func (*AirAPIArrival1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetDollarFormat

func (o *AirAPIArrival1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetIATA

func (o *AirAPIArrival1Params) SetIATA(iATA string)

SetIATA adds the iATA to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetIsCargo added in v0.5.0

func (o *AirAPIArrival1Params) SetIsCargo(isCargo *bool)

SetIsCargo adds the isCargo to the air Api arrival 1 params

func (*AirAPIArrival1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithContext

WithContext adds the context to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithDefaults added in v0.9.0

func (o *AirAPIArrival1Params) WithDefaults() *AirAPIArrival1Params

WithDefaults hydrates default values in the air Api arrival 1 params (not the query body).

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

func (*AirAPIArrival1Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithIATA

WithIATA adds the iATA to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithIsCargo added in v0.5.0

func (o *AirAPIArrival1Params) WithIsCargo(isCargo *bool) *AirAPIArrival1Params

WithIsCargo adds the isCargo to the air Api arrival 1 params

func (*AirAPIArrival1Params) WithTimeout

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

WithTimeout adds the timeout to the air Api arrival 1 params

func (*AirAPIArrival1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIArrival1Reader

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

AirAPIArrival1Reader is a Reader for the AirAPIArrival1 structure.

func (*AirAPIArrival1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIArrival1Status299 added in v0.13.0

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

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

func NewAirAPIArrival1Status299 added in v0.13.0

func NewAirAPIArrival1Status299() *AirAPIArrival1Status299

NewAirAPIArrival1Status299 creates a AirAPIArrival1Status299 with default headers values

func (*AirAPIArrival1Status299) Error added in v0.13.0

func (o *AirAPIArrival1Status299) Error() string

func (*AirAPIArrival1Status299) GetPayload added in v0.13.0

type AirAPIArrivalNotModified added in v0.9.0

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

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

func NewAirAPIArrivalNotModified added in v0.9.0

func NewAirAPIArrivalNotModified() *AirAPIArrivalNotModified

NewAirAPIArrivalNotModified creates a AirAPIArrivalNotModified with default headers values

func (*AirAPIArrivalNotModified) Error added in v0.9.0

func (o *AirAPIArrivalNotModified) Error() string

type AirAPIArrivalOK

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

Success

func NewAirAPIArrivalOK

func NewAirAPIArrivalOK() *AirAPIArrivalOK

NewAirAPIArrivalOK creates a AirAPIArrivalOK with default headers values

func (*AirAPIArrivalOK) Error

func (o *AirAPIArrivalOK) Error() string

func (*AirAPIArrivalOK) GetPayload

type AirAPIArrivalParams

type AirAPIArrivalParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* IsCargo.

	   是否為貨機
	*/
	IsCargo *bool

	/* Health.

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

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

AirAPIArrivalParams contains all the parameters to send to the API endpoint

for the air Api arrival operation.

Typically these are written to a http.Request.

func NewAirAPIArrivalParams

func NewAirAPIArrivalParams() *AirAPIArrivalParams

NewAirAPIArrivalParams creates a new AirAPIArrivalParams 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 NewAirAPIArrivalParamsWithContext

func NewAirAPIArrivalParamsWithContext(ctx context.Context) *AirAPIArrivalParams

NewAirAPIArrivalParamsWithContext creates a new AirAPIArrivalParams object with the ability to set a context for a request.

func NewAirAPIArrivalParamsWithHTTPClient

func NewAirAPIArrivalParamsWithHTTPClient(client *http.Client) *AirAPIArrivalParams

NewAirAPIArrivalParamsWithHTTPClient creates a new AirAPIArrivalParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIArrivalParamsWithTimeout

func NewAirAPIArrivalParamsWithTimeout(timeout time.Duration) *AirAPIArrivalParams

NewAirAPIArrivalParamsWithTimeout creates a new AirAPIArrivalParams object with the ability to set a timeout on a request.

func (*AirAPIArrivalParams) SetContext

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

SetContext adds the context to the air Api arrival params

func (*AirAPIArrivalParams) SetDefaults added in v0.9.0

func (o *AirAPIArrivalParams) SetDefaults()

SetDefaults hydrates default values in the air Api arrival params (not the query body).

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

func (*AirAPIArrivalParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api arrival params

func (*AirAPIArrivalParams) SetDollarFormat

func (o *AirAPIArrivalParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api arrival params

func (*AirAPIArrivalParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api arrival params

func (*AirAPIArrivalParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api arrival params

func (*AirAPIArrivalParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api arrival params

func (*AirAPIArrivalParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api arrival params

func (*AirAPIArrivalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api arrival params

func (*AirAPIArrivalParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api arrival params

func (*AirAPIArrivalParams) SetIsCargo added in v0.5.0

func (o *AirAPIArrivalParams) SetIsCargo(isCargo *bool)

SetIsCargo adds the isCargo to the air Api arrival params

func (*AirAPIArrivalParams) SetTimeout

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

SetTimeout adds the timeout to the air Api arrival params

func (*AirAPIArrivalParams) WithContext

WithContext adds the context to the air Api arrival params

func (*AirAPIArrivalParams) WithDefaults added in v0.9.0

func (o *AirAPIArrivalParams) WithDefaults() *AirAPIArrivalParams

WithDefaults hydrates default values in the air Api arrival params (not the query body).

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

func (*AirAPIArrivalParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api arrival params

func (*AirAPIArrivalParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api arrival params

func (*AirAPIArrivalParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api arrival params

func (*AirAPIArrivalParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api arrival params

func (*AirAPIArrivalParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api arrival params

func (*AirAPIArrivalParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api arrival params

func (*AirAPIArrivalParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api arrival params

func (*AirAPIArrivalParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api arrival params

func (*AirAPIArrivalParams) WithIsCargo added in v0.5.0

func (o *AirAPIArrivalParams) WithIsCargo(isCargo *bool) *AirAPIArrivalParams

WithIsCargo adds the isCargo to the air Api arrival params

func (*AirAPIArrivalParams) WithTimeout

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

WithTimeout adds the timeout to the air Api arrival params

func (*AirAPIArrivalParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIArrivalReader

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

AirAPIArrivalReader is a Reader for the AirAPIArrival structure.

func (*AirAPIArrivalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIArrivalStatus299 added in v0.13.0

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

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

func NewAirAPIArrivalStatus299 added in v0.13.0

func NewAirAPIArrivalStatus299() *AirAPIArrivalStatus299

NewAirAPIArrivalStatus299 creates a AirAPIArrivalStatus299 with default headers values

func (*AirAPIArrivalStatus299) Error added in v0.13.0

func (o *AirAPIArrivalStatus299) Error() string

func (*AirAPIArrivalStatus299) GetPayload added in v0.13.0

type AirAPIDeparture1NotModified added in v0.9.0

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

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

func NewAirAPIDeparture1NotModified added in v0.9.0

func NewAirAPIDeparture1NotModified() *AirAPIDeparture1NotModified

NewAirAPIDeparture1NotModified creates a AirAPIDeparture1NotModified with default headers values

func (*AirAPIDeparture1NotModified) Error added in v0.9.0

type AirAPIDeparture1OK

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

Success

func NewAirAPIDeparture1OK

func NewAirAPIDeparture1OK() *AirAPIDeparture1OK

NewAirAPIDeparture1OK creates a AirAPIDeparture1OK with default headers values

func (*AirAPIDeparture1OK) Error

func (o *AirAPIDeparture1OK) Error() string

func (*AirAPIDeparture1OK) GetPayload

type AirAPIDeparture1Params

type AirAPIDeparture1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* IATA.

	   機場代碼
	*/
	IATA string

	/* IsCargo.

	   是否為貨機
	*/
	IsCargo *bool

	/* Health.

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

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

AirAPIDeparture1Params contains all the parameters to send to the API endpoint

for the air Api departure 1 operation.

Typically these are written to a http.Request.

func NewAirAPIDeparture1Params

func NewAirAPIDeparture1Params() *AirAPIDeparture1Params

NewAirAPIDeparture1Params creates a new AirAPIDeparture1Params 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 NewAirAPIDeparture1ParamsWithContext

func NewAirAPIDeparture1ParamsWithContext(ctx context.Context) *AirAPIDeparture1Params

NewAirAPIDeparture1ParamsWithContext creates a new AirAPIDeparture1Params object with the ability to set a context for a request.

func NewAirAPIDeparture1ParamsWithHTTPClient

func NewAirAPIDeparture1ParamsWithHTTPClient(client *http.Client) *AirAPIDeparture1Params

NewAirAPIDeparture1ParamsWithHTTPClient creates a new AirAPIDeparture1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIDeparture1ParamsWithTimeout

func NewAirAPIDeparture1ParamsWithTimeout(timeout time.Duration) *AirAPIDeparture1Params

NewAirAPIDeparture1ParamsWithTimeout creates a new AirAPIDeparture1Params object with the ability to set a timeout on a request.

func (*AirAPIDeparture1Params) SetContext

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

SetContext adds the context to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetDefaults added in v0.9.0

func (o *AirAPIDeparture1Params) SetDefaults()

SetDefaults hydrates default values in the air Api departure 1 params (not the query body).

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

func (*AirAPIDeparture1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetDollarFormat

func (o *AirAPIDeparture1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetIATA

func (o *AirAPIDeparture1Params) SetIATA(iATA string)

SetIATA adds the iATA to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetIsCargo added in v0.5.0

func (o *AirAPIDeparture1Params) SetIsCargo(isCargo *bool)

SetIsCargo adds the isCargo to the air Api departure 1 params

func (*AirAPIDeparture1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithContext

WithContext adds the context to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the air Api departure 1 params (not the query body).

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

func (*AirAPIDeparture1Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithIATA

WithIATA adds the iATA to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithIsCargo added in v0.5.0

func (o *AirAPIDeparture1Params) WithIsCargo(isCargo *bool) *AirAPIDeparture1Params

WithIsCargo adds the isCargo to the air Api departure 1 params

func (*AirAPIDeparture1Params) WithTimeout

WithTimeout adds the timeout to the air Api departure 1 params

func (*AirAPIDeparture1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AirAPIDeparture1Reader

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

AirAPIDeparture1Reader is a Reader for the AirAPIDeparture1 structure.

func (*AirAPIDeparture1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIDeparture1Status299 added in v0.13.0

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

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

func NewAirAPIDeparture1Status299 added in v0.13.0

func NewAirAPIDeparture1Status299() *AirAPIDeparture1Status299

NewAirAPIDeparture1Status299 creates a AirAPIDeparture1Status299 with default headers values

func (*AirAPIDeparture1Status299) Error added in v0.13.0

func (o *AirAPIDeparture1Status299) Error() string

func (*AirAPIDeparture1Status299) GetPayload added in v0.13.0

type AirAPIDepartureNotModified added in v0.9.0

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

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

func NewAirAPIDepartureNotModified added in v0.9.0

func NewAirAPIDepartureNotModified() *AirAPIDepartureNotModified

NewAirAPIDepartureNotModified creates a AirAPIDepartureNotModified with default headers values

func (*AirAPIDepartureNotModified) Error added in v0.9.0

type AirAPIDepartureOK

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

Success

func NewAirAPIDepartureOK

func NewAirAPIDepartureOK() *AirAPIDepartureOK

NewAirAPIDepartureOK creates a AirAPIDepartureOK with default headers values

func (*AirAPIDepartureOK) Error

func (o *AirAPIDepartureOK) Error() string

func (*AirAPIDepartureOK) GetPayload

type AirAPIDepartureParams

type AirAPIDepartureParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* IsCargo.

	   是否為貨機
	*/
	IsCargo *bool

	/* Health.

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

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

AirAPIDepartureParams contains all the parameters to send to the API endpoint

for the air Api departure operation.

Typically these are written to a http.Request.

func NewAirAPIDepartureParams

func NewAirAPIDepartureParams() *AirAPIDepartureParams

NewAirAPIDepartureParams creates a new AirAPIDepartureParams 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 NewAirAPIDepartureParamsWithContext

func NewAirAPIDepartureParamsWithContext(ctx context.Context) *AirAPIDepartureParams

NewAirAPIDepartureParamsWithContext creates a new AirAPIDepartureParams object with the ability to set a context for a request.

func NewAirAPIDepartureParamsWithHTTPClient

func NewAirAPIDepartureParamsWithHTTPClient(client *http.Client) *AirAPIDepartureParams

NewAirAPIDepartureParamsWithHTTPClient creates a new AirAPIDepartureParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIDepartureParamsWithTimeout

func NewAirAPIDepartureParamsWithTimeout(timeout time.Duration) *AirAPIDepartureParams

NewAirAPIDepartureParamsWithTimeout creates a new AirAPIDepartureParams object with the ability to set a timeout on a request.

func (*AirAPIDepartureParams) SetContext

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

SetContext adds the context to the air Api departure params

func (*AirAPIDepartureParams) SetDefaults added in v0.9.0

func (o *AirAPIDepartureParams) SetDefaults()

SetDefaults hydrates default values in the air Api departure params (not the query body).

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

func (*AirAPIDepartureParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api departure params

func (*AirAPIDepartureParams) SetDollarFormat

func (o *AirAPIDepartureParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api departure params

func (*AirAPIDepartureParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api departure params

func (*AirAPIDepartureParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api departure params

func (*AirAPIDepartureParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api departure params

func (*AirAPIDepartureParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api departure params

func (*AirAPIDepartureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api departure params

func (*AirAPIDepartureParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api departure params

func (*AirAPIDepartureParams) SetIsCargo added in v0.5.0

func (o *AirAPIDepartureParams) SetIsCargo(isCargo *bool)

SetIsCargo adds the isCargo to the air Api departure params

func (*AirAPIDepartureParams) SetTimeout

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

SetTimeout adds the timeout to the air Api departure params

func (*AirAPIDepartureParams) WithContext

WithContext adds the context to the air Api departure params

func (*AirAPIDepartureParams) WithDefaults added in v0.9.0

func (o *AirAPIDepartureParams) WithDefaults() *AirAPIDepartureParams

WithDefaults hydrates default values in the air Api departure params (not the query body).

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

func (*AirAPIDepartureParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api departure params

func (*AirAPIDepartureParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api departure params

func (*AirAPIDepartureParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api departure params

func (*AirAPIDepartureParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api departure params

func (*AirAPIDepartureParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api departure params

func (*AirAPIDepartureParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api departure params

func (*AirAPIDepartureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api departure params

func (*AirAPIDepartureParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api departure params

func (*AirAPIDepartureParams) WithIsCargo added in v0.5.0

func (o *AirAPIDepartureParams) WithIsCargo(isCargo *bool) *AirAPIDepartureParams

WithIsCargo adds the isCargo to the air Api departure params

func (*AirAPIDepartureParams) WithTimeout

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

WithTimeout adds the timeout to the air Api departure params

func (*AirAPIDepartureParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIDepartureReader

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

AirAPIDepartureReader is a Reader for the AirAPIDeparture structure.

func (*AirAPIDepartureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIDepartureStatus299 added in v0.13.0

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

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

func NewAirAPIDepartureStatus299 added in v0.13.0

func NewAirAPIDepartureStatus299() *AirAPIDepartureStatus299

NewAirAPIDepartureStatus299 creates a AirAPIDepartureStatus299 with default headers values

func (*AirAPIDepartureStatus299) Error added in v0.13.0

func (o *AirAPIDepartureStatus299) Error() string

func (*AirAPIDepartureStatus299) GetPayload added in v0.13.0

type AirAPIDomesticNotModified added in v0.9.0

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

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

func NewAirAPIDomesticNotModified added in v0.9.0

func NewAirAPIDomesticNotModified() *AirAPIDomesticNotModified

NewAirAPIDomesticNotModified creates a AirAPIDomesticNotModified with default headers values

func (*AirAPIDomesticNotModified) Error added in v0.9.0

func (o *AirAPIDomesticNotModified) Error() string

type AirAPIDomesticOK

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

Success

func NewAirAPIDomesticOK

func NewAirAPIDomesticOK() *AirAPIDomesticOK

NewAirAPIDomesticOK creates a AirAPIDomesticOK with default headers values

func (*AirAPIDomesticOK) Error

func (o *AirAPIDomesticOK) Error() string

type AirAPIDomesticParams

type AirAPIDomesticParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

AirAPIDomesticParams contains all the parameters to send to the API endpoint

for the air Api domestic operation.

Typically these are written to a http.Request.

func NewAirAPIDomesticParams

func NewAirAPIDomesticParams() *AirAPIDomesticParams

NewAirAPIDomesticParams creates a new AirAPIDomesticParams 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 NewAirAPIDomesticParamsWithContext

func NewAirAPIDomesticParamsWithContext(ctx context.Context) *AirAPIDomesticParams

NewAirAPIDomesticParamsWithContext creates a new AirAPIDomesticParams object with the ability to set a context for a request.

func NewAirAPIDomesticParamsWithHTTPClient

func NewAirAPIDomesticParamsWithHTTPClient(client *http.Client) *AirAPIDomesticParams

NewAirAPIDomesticParamsWithHTTPClient creates a new AirAPIDomesticParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIDomesticParamsWithTimeout

func NewAirAPIDomesticParamsWithTimeout(timeout time.Duration) *AirAPIDomesticParams

NewAirAPIDomesticParamsWithTimeout creates a new AirAPIDomesticParams object with the ability to set a timeout on a request.

func (*AirAPIDomesticParams) SetContext

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

SetContext adds the context to the air Api domestic params

func (*AirAPIDomesticParams) SetDefaults added in v0.9.0

func (o *AirAPIDomesticParams) SetDefaults()

SetDefaults hydrates default values in the air Api domestic params (not the query body).

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

func (*AirAPIDomesticParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api domestic params

func (*AirAPIDomesticParams) SetDollarFormat

func (o *AirAPIDomesticParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api domestic params

func (*AirAPIDomesticParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api domestic params

func (*AirAPIDomesticParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api domestic params

func (*AirAPIDomesticParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api domestic params

func (*AirAPIDomesticParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api domestic params

func (*AirAPIDomesticParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api domestic params

func (*AirAPIDomesticParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api domestic params

func (*AirAPIDomesticParams) SetTimeout

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

SetTimeout adds the timeout to the air Api domestic params

func (*AirAPIDomesticParams) WithContext

WithContext adds the context to the air Api domestic params

func (*AirAPIDomesticParams) WithDefaults added in v0.9.0

func (o *AirAPIDomesticParams) WithDefaults() *AirAPIDomesticParams

WithDefaults hydrates default values in the air Api domestic params (not the query body).

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

func (*AirAPIDomesticParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api domestic params

func (*AirAPIDomesticParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api domestic params

func (*AirAPIDomesticParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api domestic params

func (*AirAPIDomesticParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api domestic params

func (*AirAPIDomesticParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api domestic params

func (*AirAPIDomesticParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api domestic params

func (*AirAPIDomesticParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api domestic params

func (*AirAPIDomesticParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api domestic params

func (*AirAPIDomesticParams) WithTimeout

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

WithTimeout adds the timeout to the air Api domestic params

func (*AirAPIDomesticParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIDomesticReader

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

AirAPIDomesticReader is a Reader for the AirAPIDomestic structure.

func (*AirAPIDomesticReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIDomesticStatus299 added in v0.13.0

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

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

func NewAirAPIDomesticStatus299 added in v0.13.0

func NewAirAPIDomesticStatus299() *AirAPIDomesticStatus299

NewAirAPIDomesticStatus299 creates a AirAPIDomesticStatus299 with default headers values

func (*AirAPIDomesticStatus299) Error added in v0.13.0

func (o *AirAPIDomesticStatus299) Error() string

func (*AirAPIDomesticStatus299) GetPayload added in v0.13.0

type AirAPIFIDS1NotModified added in v0.9.0

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

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

func NewAirAPIFIDS1NotModified added in v0.9.0

func NewAirAPIFIDS1NotModified() *AirAPIFIDS1NotModified

NewAirAPIFIDS1NotModified creates a AirAPIFIDS1NotModified with default headers values

func (*AirAPIFIDS1NotModified) Error added in v0.9.0

func (o *AirAPIFIDS1NotModified) Error() string

type AirAPIFIDS1OK

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

Success

func NewAirAPIFIDS1OK

func NewAirAPIFIDS1OK() *AirAPIFIDS1OK

NewAirAPIFIDS1OK creates a AirAPIFIDS1OK with default headers values

func (*AirAPIFIDS1OK) Error

func (o *AirAPIFIDS1OK) Error() string

func (*AirAPIFIDS1OK) GetPayload

type AirAPIFIDS1Params

type AirAPIFIDS1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* IATA.

	   機場代碼
	*/
	IATA string

	/* Health.

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

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

AirAPIFIDS1Params contains all the parameters to send to the API endpoint

for the air Api f ID s 1 operation.

Typically these are written to a http.Request.

func NewAirAPIFIDS1Params

func NewAirAPIFIDS1Params() *AirAPIFIDS1Params

NewAirAPIFIDS1Params creates a new AirAPIFIDS1Params 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 NewAirAPIFIDS1ParamsWithContext

func NewAirAPIFIDS1ParamsWithContext(ctx context.Context) *AirAPIFIDS1Params

NewAirAPIFIDS1ParamsWithContext creates a new AirAPIFIDS1Params object with the ability to set a context for a request.

func NewAirAPIFIDS1ParamsWithHTTPClient

func NewAirAPIFIDS1ParamsWithHTTPClient(client *http.Client) *AirAPIFIDS1Params

NewAirAPIFIDS1ParamsWithHTTPClient creates a new AirAPIFIDS1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIFIDS1ParamsWithTimeout

func NewAirAPIFIDS1ParamsWithTimeout(timeout time.Duration) *AirAPIFIDS1Params

NewAirAPIFIDS1ParamsWithTimeout creates a new AirAPIFIDS1Params object with the ability to set a timeout on a request.

func (*AirAPIFIDS1Params) SetContext

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

SetContext adds the context to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetDefaults added in v0.9.0

func (o *AirAPIFIDS1Params) SetDefaults()

SetDefaults hydrates default values in the air Api f ID s 1 params (not the query body).

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

func (*AirAPIFIDS1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetDollarFormat

func (o *AirAPIFIDS1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetIATA

func (o *AirAPIFIDS1Params) SetIATA(iATA string)

SetIATA adds the iATA to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithContext

func (o *AirAPIFIDS1Params) WithContext(ctx context.Context) *AirAPIFIDS1Params

WithContext adds the context to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithDefaults added in v0.9.0

func (o *AirAPIFIDS1Params) WithDefaults() *AirAPIFIDS1Params

WithDefaults hydrates default values in the air Api f ID s 1 params (not the query body).

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

func (*AirAPIFIDS1Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithIATA

func (o *AirAPIFIDS1Params) WithIATA(iATA string) *AirAPIFIDS1Params

WithIATA adds the iATA to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WithTimeout

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

WithTimeout adds the timeout to the air Api f ID s 1 params

func (*AirAPIFIDS1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIFIDS1Reader

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

AirAPIFIDS1Reader is a Reader for the AirAPIFIDS1 structure.

func (*AirAPIFIDS1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIFIDS1Status299 added in v0.13.0

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

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

func NewAirAPIFIDS1Status299 added in v0.13.0

func NewAirAPIFIDS1Status299() *AirAPIFIDS1Status299

NewAirAPIFIDS1Status299 creates a AirAPIFIDS1Status299 with default headers values

func (*AirAPIFIDS1Status299) Error added in v0.13.0

func (o *AirAPIFIDS1Status299) Error() string

func (*AirAPIFIDS1Status299) GetPayload added in v0.13.0

type AirAPIFIDSNotModified added in v0.9.0

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

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

func NewAirAPIFIDSNotModified added in v0.9.0

func NewAirAPIFIDSNotModified() *AirAPIFIDSNotModified

NewAirAPIFIDSNotModified creates a AirAPIFIDSNotModified with default headers values

func (*AirAPIFIDSNotModified) Error added in v0.9.0

func (o *AirAPIFIDSNotModified) Error() string

type AirAPIFIDSOK

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

Success

func NewAirAPIFIDSOK

func NewAirAPIFIDSOK() *AirAPIFIDSOK

NewAirAPIFIDSOK creates a AirAPIFIDSOK with default headers values

func (*AirAPIFIDSOK) Error

func (o *AirAPIFIDSOK) Error() string

func (*AirAPIFIDSOK) GetPayload

type AirAPIFIDSParams

type AirAPIFIDSParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

AirAPIFIDSParams contains all the parameters to send to the API endpoint

for the air Api f ID s operation.

Typically these are written to a http.Request.

func NewAirAPIFIDSParams

func NewAirAPIFIDSParams() *AirAPIFIDSParams

NewAirAPIFIDSParams creates a new AirAPIFIDSParams 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 NewAirAPIFIDSParamsWithContext

func NewAirAPIFIDSParamsWithContext(ctx context.Context) *AirAPIFIDSParams

NewAirAPIFIDSParamsWithContext creates a new AirAPIFIDSParams object with the ability to set a context for a request.

func NewAirAPIFIDSParamsWithHTTPClient

func NewAirAPIFIDSParamsWithHTTPClient(client *http.Client) *AirAPIFIDSParams

NewAirAPIFIDSParamsWithHTTPClient creates a new AirAPIFIDSParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIFIDSParamsWithTimeout

func NewAirAPIFIDSParamsWithTimeout(timeout time.Duration) *AirAPIFIDSParams

NewAirAPIFIDSParamsWithTimeout creates a new AirAPIFIDSParams object with the ability to set a timeout on a request.

func (*AirAPIFIDSParams) SetContext

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

SetContext adds the context to the air Api f ID s params

func (*AirAPIFIDSParams) SetDefaults added in v0.9.0

func (o *AirAPIFIDSParams) SetDefaults()

SetDefaults hydrates default values in the air Api f ID s params (not the query body).

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

func (*AirAPIFIDSParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api f ID s params

func (*AirAPIFIDSParams) SetDollarFormat

func (o *AirAPIFIDSParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api f ID s params

func (*AirAPIFIDSParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api f ID s params

func (*AirAPIFIDSParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api f ID s params

func (*AirAPIFIDSParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api f ID s params

func (*AirAPIFIDSParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api f ID s params

func (*AirAPIFIDSParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api f ID s params

func (*AirAPIFIDSParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api f ID s params

func (*AirAPIFIDSParams) SetTimeout

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

SetTimeout adds the timeout to the air Api f ID s params

func (*AirAPIFIDSParams) WithContext

func (o *AirAPIFIDSParams) WithContext(ctx context.Context) *AirAPIFIDSParams

WithContext adds the context to the air Api f ID s params

func (*AirAPIFIDSParams) WithDefaults added in v0.9.0

func (o *AirAPIFIDSParams) WithDefaults() *AirAPIFIDSParams

WithDefaults hydrates default values in the air Api f ID s params (not the query body).

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

func (*AirAPIFIDSParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api f ID s params

func (*AirAPIFIDSParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api f ID s params

func (*AirAPIFIDSParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api f ID s params

func (*AirAPIFIDSParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api f ID s params

func (*AirAPIFIDSParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api f ID s params

func (*AirAPIFIDSParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api f ID s params

func (*AirAPIFIDSParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api f ID s params

func (*AirAPIFIDSParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api f ID s params

func (*AirAPIFIDSParams) WithTimeout

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

WithTimeout adds the timeout to the air Api f ID s params

func (*AirAPIFIDSParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIFIDSReader

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

AirAPIFIDSReader is a Reader for the AirAPIFIDS structure.

func (*AirAPIFIDSReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIFIDSStatus299 added in v0.13.0

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

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

func NewAirAPIFIDSStatus299 added in v0.13.0

func NewAirAPIFIDSStatus299() *AirAPIFIDSStatus299

NewAirAPIFIDSStatus299 creates a AirAPIFIDSStatus299 with default headers values

func (*AirAPIFIDSStatus299) Error added in v0.13.0

func (o *AirAPIFIDSStatus299) Error() string

func (*AirAPIFIDSStatus299) GetPayload added in v0.13.0

type AirAPIFlight1NotModified added in v0.9.0

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

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

func NewAirAPIFlight1NotModified added in v0.9.0

func NewAirAPIFlight1NotModified() *AirAPIFlight1NotModified

NewAirAPIFlight1NotModified creates a AirAPIFlight1NotModified with default headers values

func (*AirAPIFlight1NotModified) Error added in v0.9.0

func (o *AirAPIFlight1NotModified) Error() string

type AirAPIFlight1OK

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

Success

func NewAirAPIFlight1OK

func NewAirAPIFlight1OK() *AirAPIFlight1OK

NewAirAPIFlight1OK creates a AirAPIFlight1OK with default headers values

func (*AirAPIFlight1OK) Error

func (o *AirAPIFlight1OK) Error() string

func (*AirAPIFlight1OK) GetPayload

type AirAPIFlight1Params

type AirAPIFlight1Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* FlightNo.

	   航機班號
	*/
	FlightNo string

	/* IsCargo.

	   是否為貨機
	*/
	IsCargo *bool

	/* Health.

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

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

AirAPIFlight1Params contains all the parameters to send to the API endpoint

for the air Api flight 1 operation.

Typically these are written to a http.Request.

func NewAirAPIFlight1Params

func NewAirAPIFlight1Params() *AirAPIFlight1Params

NewAirAPIFlight1Params creates a new AirAPIFlight1Params 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 NewAirAPIFlight1ParamsWithContext

func NewAirAPIFlight1ParamsWithContext(ctx context.Context) *AirAPIFlight1Params

NewAirAPIFlight1ParamsWithContext creates a new AirAPIFlight1Params object with the ability to set a context for a request.

func NewAirAPIFlight1ParamsWithHTTPClient

func NewAirAPIFlight1ParamsWithHTTPClient(client *http.Client) *AirAPIFlight1Params

NewAirAPIFlight1ParamsWithHTTPClient creates a new AirAPIFlight1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIFlight1ParamsWithTimeout

func NewAirAPIFlight1ParamsWithTimeout(timeout time.Duration) *AirAPIFlight1Params

NewAirAPIFlight1ParamsWithTimeout creates a new AirAPIFlight1Params object with the ability to set a timeout on a request.

func (*AirAPIFlight1Params) SetContext

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

SetContext adds the context to the air Api flight 1 params

func (*AirAPIFlight1Params) SetDefaults added in v0.9.0

func (o *AirAPIFlight1Params) SetDefaults()

SetDefaults hydrates default values in the air Api flight 1 params (not the query body).

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

func (*AirAPIFlight1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api flight 1 params

func (*AirAPIFlight1Params) SetDollarFormat

func (o *AirAPIFlight1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api flight 1 params

func (*AirAPIFlight1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api flight 1 params

func (*AirAPIFlight1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api flight 1 params

func (*AirAPIFlight1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api flight 1 params

func (*AirAPIFlight1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api flight 1 params

func (*AirAPIFlight1Params) SetFlightNo

func (o *AirAPIFlight1Params) SetFlightNo(flightNo string)

SetFlightNo adds the flightNo to the air Api flight 1 params

func (*AirAPIFlight1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api flight 1 params

func (*AirAPIFlight1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api flight 1 params

func (*AirAPIFlight1Params) SetIsCargo added in v0.5.0

func (o *AirAPIFlight1Params) SetIsCargo(isCargo *bool)

SetIsCargo adds the isCargo to the air Api flight 1 params

func (*AirAPIFlight1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api flight 1 params

func (*AirAPIFlight1Params) WithContext

WithContext adds the context to the air Api flight 1 params

func (*AirAPIFlight1Params) WithDefaults added in v0.9.0

func (o *AirAPIFlight1Params) WithDefaults() *AirAPIFlight1Params

WithDefaults hydrates default values in the air Api flight 1 params (not the query body).

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

func (*AirAPIFlight1Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api flight 1 params

func (*AirAPIFlight1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api flight 1 params

func (*AirAPIFlight1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api flight 1 params

func (*AirAPIFlight1Params) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api flight 1 params

func (*AirAPIFlight1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api flight 1 params

func (*AirAPIFlight1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api flight 1 params

func (*AirAPIFlight1Params) WithFlightNo

func (o *AirAPIFlight1Params) WithFlightNo(flightNo string) *AirAPIFlight1Params

WithFlightNo adds the flightNo to the air Api flight 1 params

func (*AirAPIFlight1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api flight 1 params

func (*AirAPIFlight1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api flight 1 params

func (*AirAPIFlight1Params) WithIsCargo added in v0.5.0

func (o *AirAPIFlight1Params) WithIsCargo(isCargo *bool) *AirAPIFlight1Params

WithIsCargo adds the isCargo to the air Api flight 1 params

func (*AirAPIFlight1Params) WithTimeout

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

WithTimeout adds the timeout to the air Api flight 1 params

func (*AirAPIFlight1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIFlight1Reader

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

AirAPIFlight1Reader is a Reader for the AirAPIFlight1 structure.

func (*AirAPIFlight1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIFlight1Status299 added in v0.13.0

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

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

func NewAirAPIFlight1Status299 added in v0.13.0

func NewAirAPIFlight1Status299() *AirAPIFlight1Status299

NewAirAPIFlight1Status299 creates a AirAPIFlight1Status299 with default headers values

func (*AirAPIFlight1Status299) Error added in v0.13.0

func (o *AirAPIFlight1Status299) Error() string

func (*AirAPIFlight1Status299) GetPayload added in v0.13.0

type AirAPIFlightNotModified added in v0.9.0

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

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

func NewAirAPIFlightNotModified added in v0.9.0

func NewAirAPIFlightNotModified() *AirAPIFlightNotModified

NewAirAPIFlightNotModified creates a AirAPIFlightNotModified with default headers values

func (*AirAPIFlightNotModified) Error added in v0.9.0

func (o *AirAPIFlightNotModified) Error() string

type AirAPIFlightOK

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

Success

func NewAirAPIFlightOK

func NewAirAPIFlightOK() *AirAPIFlightOK

NewAirAPIFlightOK creates a AirAPIFlightOK with default headers values

func (*AirAPIFlightOK) Error

func (o *AirAPIFlightOK) Error() string

func (*AirAPIFlightOK) GetPayload

type AirAPIFlightParams

type AirAPIFlightParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* IsCargo.

	   是否為貨機
	*/
	IsCargo *bool

	/* Health.

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

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

AirAPIFlightParams contains all the parameters to send to the API endpoint

for the air Api flight operation.

Typically these are written to a http.Request.

func NewAirAPIFlightParams

func NewAirAPIFlightParams() *AirAPIFlightParams

NewAirAPIFlightParams creates a new AirAPIFlightParams 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 NewAirAPIFlightParamsWithContext

func NewAirAPIFlightParamsWithContext(ctx context.Context) *AirAPIFlightParams

NewAirAPIFlightParamsWithContext creates a new AirAPIFlightParams object with the ability to set a context for a request.

func NewAirAPIFlightParamsWithHTTPClient

func NewAirAPIFlightParamsWithHTTPClient(client *http.Client) *AirAPIFlightParams

NewAirAPIFlightParamsWithHTTPClient creates a new AirAPIFlightParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIFlightParamsWithTimeout

func NewAirAPIFlightParamsWithTimeout(timeout time.Duration) *AirAPIFlightParams

NewAirAPIFlightParamsWithTimeout creates a new AirAPIFlightParams object with the ability to set a timeout on a request.

func (*AirAPIFlightParams) SetContext

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

SetContext adds the context to the air Api flight params

func (*AirAPIFlightParams) SetDefaults added in v0.9.0

func (o *AirAPIFlightParams) SetDefaults()

SetDefaults hydrates default values in the air Api flight params (not the query body).

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

func (*AirAPIFlightParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api flight params

func (*AirAPIFlightParams) SetDollarFormat

func (o *AirAPIFlightParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api flight params

func (*AirAPIFlightParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api flight params

func (*AirAPIFlightParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api flight params

func (*AirAPIFlightParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api flight params

func (*AirAPIFlightParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api flight params

func (*AirAPIFlightParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api flight params

func (*AirAPIFlightParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api flight params

func (*AirAPIFlightParams) SetIsCargo added in v0.5.0

func (o *AirAPIFlightParams) SetIsCargo(isCargo *bool)

SetIsCargo adds the isCargo to the air Api flight params

func (*AirAPIFlightParams) SetTimeout

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

SetTimeout adds the timeout to the air Api flight params

func (*AirAPIFlightParams) WithContext

WithContext adds the context to the air Api flight params

func (*AirAPIFlightParams) WithDefaults added in v0.9.0

func (o *AirAPIFlightParams) WithDefaults() *AirAPIFlightParams

WithDefaults hydrates default values in the air Api flight params (not the query body).

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

func (*AirAPIFlightParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api flight params

func (*AirAPIFlightParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api flight params

func (*AirAPIFlightParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api flight params

func (*AirAPIFlightParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api flight params

func (*AirAPIFlightParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api flight params

func (*AirAPIFlightParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api flight params

func (*AirAPIFlightParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api flight params

func (*AirAPIFlightParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api flight params

func (*AirAPIFlightParams) WithIsCargo added in v0.5.0

func (o *AirAPIFlightParams) WithIsCargo(isCargo *bool) *AirAPIFlightParams

WithIsCargo adds the isCargo to the air Api flight params

func (*AirAPIFlightParams) WithTimeout

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

WithTimeout adds the timeout to the air Api flight params

func (*AirAPIFlightParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIFlightReader

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

AirAPIFlightReader is a Reader for the AirAPIFlight structure.

func (*AirAPIFlightReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIFlightStatus299 added in v0.13.0

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

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

func NewAirAPIFlightStatus299 added in v0.13.0

func NewAirAPIFlightStatus299() *AirAPIFlightStatus299

NewAirAPIFlightStatus299 creates a AirAPIFlightStatus299 with default headers values

func (*AirAPIFlightStatus299) Error added in v0.13.0

func (o *AirAPIFlightStatus299) Error() string

func (*AirAPIFlightStatus299) GetPayload added in v0.13.0

type AirAPIInternationalNotModified added in v0.9.0

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

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

func NewAirAPIInternationalNotModified added in v0.9.0

func NewAirAPIInternationalNotModified() *AirAPIInternationalNotModified

NewAirAPIInternationalNotModified creates a AirAPIInternationalNotModified with default headers values

func (*AirAPIInternationalNotModified) Error added in v0.9.0

type AirAPIInternationalOK

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

Success

func NewAirAPIInternationalOK

func NewAirAPIInternationalOK() *AirAPIInternationalOK

NewAirAPIInternationalOK creates a AirAPIInternationalOK with default headers values

func (*AirAPIInternationalOK) Error

func (o *AirAPIInternationalOK) Error() string

func (*AirAPIInternationalOK) GetPayload

type AirAPIInternationalParams

type AirAPIInternationalParams struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

	/* Health.

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

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

AirAPIInternationalParams contains all the parameters to send to the API endpoint

for the air Api international operation.

Typically these are written to a http.Request.

func NewAirAPIInternationalParams

func NewAirAPIInternationalParams() *AirAPIInternationalParams

NewAirAPIInternationalParams creates a new AirAPIInternationalParams 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 NewAirAPIInternationalParamsWithContext

func NewAirAPIInternationalParamsWithContext(ctx context.Context) *AirAPIInternationalParams

NewAirAPIInternationalParamsWithContext creates a new AirAPIInternationalParams object with the ability to set a context for a request.

func NewAirAPIInternationalParamsWithHTTPClient

func NewAirAPIInternationalParamsWithHTTPClient(client *http.Client) *AirAPIInternationalParams

NewAirAPIInternationalParamsWithHTTPClient creates a new AirAPIInternationalParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIInternationalParamsWithTimeout

func NewAirAPIInternationalParamsWithTimeout(timeout time.Duration) *AirAPIInternationalParams

NewAirAPIInternationalParamsWithTimeout creates a new AirAPIInternationalParams object with the ability to set a timeout on a request.

func (*AirAPIInternationalParams) SetContext

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

SetContext adds the context to the air Api international params

func (*AirAPIInternationalParams) SetDefaults added in v0.9.0

func (o *AirAPIInternationalParams) SetDefaults()

SetDefaults hydrates default values in the air Api international params (not the query body).

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

func (*AirAPIInternationalParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api international params

func (*AirAPIInternationalParams) SetDollarFormat

func (o *AirAPIInternationalParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api international params

func (*AirAPIInternationalParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api international params

func (*AirAPIInternationalParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api international params

func (*AirAPIInternationalParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api international params

func (*AirAPIInternationalParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api international params

func (*AirAPIInternationalParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api international params

func (*AirAPIInternationalParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api international params

func (*AirAPIInternationalParams) SetTimeout

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

SetTimeout adds the timeout to the air Api international params

func (*AirAPIInternationalParams) WithContext

WithContext adds the context to the air Api international params

func (*AirAPIInternationalParams) WithDefaults added in v0.9.0

WithDefaults hydrates default values in the air Api international params (not the query body).

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

func (*AirAPIInternationalParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api international params

func (*AirAPIInternationalParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api international params

func (*AirAPIInternationalParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api international params

func (*AirAPIInternationalParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api international params

func (*AirAPIInternationalParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api international params

func (*AirAPIInternationalParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api international params

func (*AirAPIInternationalParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api international params

func (*AirAPIInternationalParams) WithHealth added in v0.13.0

WithHealth adds the health to the air Api international params

func (*AirAPIInternationalParams) WithTimeout

WithTimeout adds the timeout to the air Api international params

func (*AirAPIInternationalParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AirAPIInternationalReader

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

AirAPIInternationalReader is a Reader for the AirAPIInternational structure.

func (*AirAPIInternationalReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIInternationalStatus299 added in v0.13.0

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

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

func NewAirAPIInternationalStatus299 added in v0.13.0

func NewAirAPIInternationalStatus299() *AirAPIInternationalStatus299

NewAirAPIInternationalStatus299 creates a AirAPIInternationalStatus299 with default headers values

func (*AirAPIInternationalStatus299) Error added in v0.13.0

func (*AirAPIInternationalStatus299) GetPayload added in v0.13.0

type AirAPIMETAR1NotModified added in v0.9.0

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

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

func NewAirAPIMETAR1NotModified added in v0.9.0

func NewAirAPIMETAR1NotModified() *AirAPIMETAR1NotModified

NewAirAPIMETAR1NotModified creates a AirAPIMETAR1NotModified with default headers values

func (*AirAPIMETAR1NotModified) Error added in v0.9.0

func (o *AirAPIMETAR1NotModified) Error() string

type AirAPIMETAR1OK

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

Success

func NewAirAPIMETAR1OK

func NewAirAPIMETAR1OK() *AirAPIMETAR1OK

NewAirAPIMETAR1OK creates a AirAPIMETAR1OK with default headers values

func (*AirAPIMETAR1OK) Error

func (o *AirAPIMETAR1OK) Error() string

func (*AirAPIMETAR1OK) GetPayload

type AirAPIMETAR1Params

type AirAPIMETAR1Params 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

	/* IATA.

	   機場代碼
	*/
	IATA string

	/* Health.

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

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

AirAPIMETAR1Params contains all the parameters to send to the API endpoint

for the air Api m e t a r 1 operation.

Typically these are written to a http.Request.

func NewAirAPIMETAR1Params

func NewAirAPIMETAR1Params() *AirAPIMETAR1Params

NewAirAPIMETAR1Params creates a new AirAPIMETAR1Params 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 NewAirAPIMETAR1ParamsWithContext

func NewAirAPIMETAR1ParamsWithContext(ctx context.Context) *AirAPIMETAR1Params

NewAirAPIMETAR1ParamsWithContext creates a new AirAPIMETAR1Params object with the ability to set a context for a request.

func NewAirAPIMETAR1ParamsWithHTTPClient

func NewAirAPIMETAR1ParamsWithHTTPClient(client *http.Client) *AirAPIMETAR1Params

NewAirAPIMETAR1ParamsWithHTTPClient creates a new AirAPIMETAR1Params object with the ability to set a custom HTTPClient for a request.

func NewAirAPIMETAR1ParamsWithTimeout

func NewAirAPIMETAR1ParamsWithTimeout(timeout time.Duration) *AirAPIMETAR1Params

NewAirAPIMETAR1ParamsWithTimeout creates a new AirAPIMETAR1Params object with the ability to set a timeout on a request.

func (*AirAPIMETAR1Params) SetContext

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

SetContext adds the context to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDefaults added in v0.9.0

func (o *AirAPIMETAR1Params) SetDefaults()

SetDefaults hydrates default values in the air Api m e t a r 1 params (not the query body).

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

func (*AirAPIMETAR1Params) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDollarFormat

func (o *AirAPIMETAR1Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDollarSpatialFilter

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetIATA

func (o *AirAPIMETAR1Params) SetIATA(iATA string)

SetIATA adds the iATA to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) SetTimeout

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

SetTimeout adds the timeout to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithContext

WithContext adds the context to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDefaults added in v0.9.0

func (o *AirAPIMETAR1Params) WithDefaults() *AirAPIMETAR1Params

WithDefaults hydrates default values in the air Api m e t a r 1 params (not the query body).

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

func (*AirAPIMETAR1Params) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDollarSpatialFilter

func (o *AirAPIMETAR1Params) WithDollarSpatialFilter(dollarSpatialFilter *string) *AirAPIMETAR1Params

WithDollarSpatialFilter adds the dollarSpatialFilter to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithIATA

func (o *AirAPIMETAR1Params) WithIATA(iATA string) *AirAPIMETAR1Params

WithIATA adds the iATA to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WithTimeout

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

WithTimeout adds the timeout to the air Api m e t a r 1 params

func (*AirAPIMETAR1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIMETAR1Reader

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

AirAPIMETAR1Reader is a Reader for the AirAPIMETAR1 structure.

func (*AirAPIMETAR1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIMETAR1Status299 added in v0.13.0

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

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

func NewAirAPIMETAR1Status299 added in v0.13.0

func NewAirAPIMETAR1Status299() *AirAPIMETAR1Status299

NewAirAPIMETAR1Status299 creates a AirAPIMETAR1Status299 with default headers values

func (*AirAPIMETAR1Status299) Error added in v0.13.0

func (o *AirAPIMETAR1Status299) Error() string

func (*AirAPIMETAR1Status299) GetPayload added in v0.13.0

type AirAPIMETARNotModified added in v0.9.0

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

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

func NewAirAPIMETARNotModified added in v0.9.0

func NewAirAPIMETARNotModified() *AirAPIMETARNotModified

NewAirAPIMETARNotModified creates a AirAPIMETARNotModified with default headers values

func (*AirAPIMETARNotModified) Error added in v0.9.0

func (o *AirAPIMETARNotModified) Error() string

type AirAPIMETAROK

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

Success

func NewAirAPIMETAROK

func NewAirAPIMETAROK() *AirAPIMETAROK

NewAirAPIMETAROK creates a AirAPIMETAROK with default headers values

func (*AirAPIMETAROK) Error

func (o *AirAPIMETAROK) Error() string

func (*AirAPIMETAROK) GetPayload

type AirAPIMETARParams

type AirAPIMETARParams 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

	/* Health.

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

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

AirAPIMETARParams contains all the parameters to send to the API endpoint

for the air Api m e t a r operation.

Typically these are written to a http.Request.

func NewAirAPIMETARParams

func NewAirAPIMETARParams() *AirAPIMETARParams

NewAirAPIMETARParams creates a new AirAPIMETARParams 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 NewAirAPIMETARParamsWithContext

func NewAirAPIMETARParamsWithContext(ctx context.Context) *AirAPIMETARParams

NewAirAPIMETARParamsWithContext creates a new AirAPIMETARParams object with the ability to set a context for a request.

func NewAirAPIMETARParamsWithHTTPClient

func NewAirAPIMETARParamsWithHTTPClient(client *http.Client) *AirAPIMETARParams

NewAirAPIMETARParamsWithHTTPClient creates a new AirAPIMETARParams object with the ability to set a custom HTTPClient for a request.

func NewAirAPIMETARParamsWithTimeout

func NewAirAPIMETARParamsWithTimeout(timeout time.Duration) *AirAPIMETARParams

NewAirAPIMETARParamsWithTimeout creates a new AirAPIMETARParams object with the ability to set a timeout on a request.

func (*AirAPIMETARParams) SetContext

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

SetContext adds the context to the air Api m e t a r params

func (*AirAPIMETARParams) SetDefaults added in v0.9.0

func (o *AirAPIMETARParams) SetDefaults()

SetDefaults hydrates default values in the air Api m e t a r params (not the query body).

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

func (*AirAPIMETARParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the air Api m e t a r params

func (*AirAPIMETARParams) SetDollarFormat

func (o *AirAPIMETARParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the air Api m e t a r params

func (*AirAPIMETARParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the air Api m e t a r params

func (*AirAPIMETARParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the air Api m e t a r params

func (*AirAPIMETARParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the air Api m e t a r params

func (*AirAPIMETARParams) SetDollarSpatialFilter

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

SetDollarSpatialFilter adds the dollarSpatialFilter to the air Api m e t a r params

func (*AirAPIMETARParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the air Api m e t a r params

func (*AirAPIMETARParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the air Api m e t a r params

func (*AirAPIMETARParams) SetHealth added in v0.13.0

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

SetHealth adds the health to the air Api m e t a r params

func (*AirAPIMETARParams) SetTimeout

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

SetTimeout adds the timeout to the air Api m e t a r params

func (*AirAPIMETARParams) WithContext

func (o *AirAPIMETARParams) WithContext(ctx context.Context) *AirAPIMETARParams

WithContext adds the context to the air Api m e t a r params

func (*AirAPIMETARParams) WithDefaults added in v0.9.0

func (o *AirAPIMETARParams) WithDefaults() *AirAPIMETARParams

WithDefaults hydrates default values in the air Api m e t a r params (not the query body).

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

func (*AirAPIMETARParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the air Api m e t a r params

func (*AirAPIMETARParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the air Api m e t a r params

func (*AirAPIMETARParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the air Api m e t a r params

func (*AirAPIMETARParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the air Api m e t a r params

func (*AirAPIMETARParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the air Api m e t a r params

func (*AirAPIMETARParams) WithDollarSpatialFilter

func (o *AirAPIMETARParams) WithDollarSpatialFilter(dollarSpatialFilter *string) *AirAPIMETARParams

WithDollarSpatialFilter adds the dollarSpatialFilter to the air Api m e t a r params

func (*AirAPIMETARParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the air Api m e t a r params

func (*AirAPIMETARParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the air Api m e t a r params

func (*AirAPIMETARParams) WithHealth added in v0.13.0

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

WithHealth adds the health to the air Api m e t a r params

func (*AirAPIMETARParams) WithTimeout

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

WithTimeout adds the timeout to the air Api m e t a r params

func (*AirAPIMETARParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AirAPIMETARReader

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

AirAPIMETARReader is a Reader for the AirAPIMETAR structure.

func (*AirAPIMETARReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AirAPIMETARStatus299 added in v0.13.0

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

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

func NewAirAPIMETARStatus299 added in v0.13.0

func NewAirAPIMETARStatus299() *AirAPIMETARStatus299

NewAirAPIMETARStatus299 creates a AirAPIMETARStatus299 with default headers values

func (*AirAPIMETARStatus299) Error added in v0.13.0

func (o *AirAPIMETARStatus299) Error() string

func (*AirAPIMETARStatus299) GetPayload added in v0.13.0

type Client

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

Client for air API

func (*Client) AirAPIAirline

func (a *Client) AirAPIAirline(params *AirAPIAirlineParams, opts ...ClientOption) (*AirAPIAirlineOK, *AirAPIAirlineStatus299, error)

AirAPIAirline 取得指定s 航空公司 資料

取得指定[航空公司]資料

func (*Client) AirAPIAirline1

func (a *Client) AirAPIAirline1(params *AirAPIAirline1Params, opts ...ClientOption) (*AirAPIAirline1OK, *AirAPIAirline1Status299, error)

AirAPIAirline1 取得航空公司資料s

取得所有航空公司資料

func (*Client) AirAPIAirport

func (a *Client) AirAPIAirport(params *AirAPIAirportParams, opts ...ClientOption) (*AirAPIAirportOK, *AirAPIAirportStatus299, error)

AirAPIAirport 取得機場資料s

取得所有機場資料

func (*Client) AirAPIAirport1

func (a *Client) AirAPIAirport1(params *AirAPIAirport1Params, opts ...ClientOption) (*AirAPIAirport1OK, *AirAPIAirport1Status299, error)

AirAPIAirport1 取得指定s 機場 資料

取得指定[機場]資料

func (*Client) AirAPIArrival

func (a *Client) AirAPIArrival(params *AirAPIArrivalParams, opts ...ClientOption) (*AirAPIArrivalOK, *AirAPIArrivalStatus299, error)

AirAPIArrival 取得機場的即時入境航班s

取得機場的即時入境航班

func (*Client) AirAPIArrival1

func (a *Client) AirAPIArrival1(params *AirAPIArrival1Params, opts ...ClientOption) (*AirAPIArrival1OK, *AirAPIArrival1Status299, error)

AirAPIArrival1 取得指定s 機場的即時入境航班

取得[指定機場]的即時入境航班

func (*Client) AirAPIDeparture

func (a *Client) AirAPIDeparture(params *AirAPIDepartureParams, opts ...ClientOption) (*AirAPIDepartureOK, *AirAPIDepartureStatus299, error)

AirAPIDeparture 取得機場的即時出境航班s

取得機場的即時出境航班

func (*Client) AirAPIDeparture1

AirAPIDeparture1 取得指定s 機場的即時出境航班

取得指定的[機場即時出境航班]

func (*Client) AirAPIDomestic

func (a *Client) AirAPIDomestic(params *AirAPIDomesticParams, opts ...ClientOption) (*AirAPIDomesticOK, *AirAPIDomesticStatus299, error)

AirAPIDomestic 取得國內航空定期時刻表s

func (*Client) AirAPIFIDS

func (a *Client) AirAPIFIDS(params *AirAPIFIDSParams, opts ...ClientOption) (*AirAPIFIDSOK, *AirAPIFIDSStatus299, error)

AirAPIFIDS 取得機場的即時航班資料s

取得即時航班資料

func (*Client) AirAPIFIDS1

func (a *Client) AirAPIFIDS1(params *AirAPIFIDS1Params, opts ...ClientOption) (*AirAPIFIDS1OK, *AirAPIFIDS1Status299, error)

AirAPIFIDS1 取得指定s 機場的即時航班 資料

取得指定[機場的即時航班]資料

func (*Client) AirAPIFlight

func (a *Client) AirAPIFlight(params *AirAPIFlightParams, opts ...ClientOption) (*AirAPIFlightOK, *AirAPIFlightStatus299, error)

AirAPIFlight 取得即時航班資料s

取得即時航班資料

func (*Client) AirAPIFlight1

func (a *Client) AirAPIFlight1(params *AirAPIFlight1Params, opts ...ClientOption) (*AirAPIFlight1OK, *AirAPIFlight1Status299, error)

AirAPIFlight1 取得指定s 即時航班 資料

func (*Client) AirAPIInternational

AirAPIInternational 取得國際航空定期時刻表s

func (*Client) AirAPIMETAR

func (a *Client) AirAPIMETAR(params *AirAPIMETARParams, opts ...ClientOption) (*AirAPIMETAROK, *AirAPIMETARStatus299, error)
AirAPIMETAR 取得s 國內機場 氣象資訊觀測資料

取得[國內機場]氣象資訊觀測資料

<br />目前提供之機場氣象觀測站代碼清單 <br />RCSS:松山機場 RCKH:高雄機場 <br />RCTP:桃園機場 RCMT:北竿機場 <br />RCFG:南竿機場 RCBS:金門機場 <br />RCQC:馬公機場 RCMQ:臺中機場 <br />RCKU:嘉義機場 RCNN:臺南機場 <br />RCYU:花蓮機場 RCFN:臺東機場 <br />RCLY:蘭嶼機場 RCGI:綠島機場

func (*Client) AirAPIMETAR1

func (a *Client) AirAPIMETAR1(params *AirAPIMETAR1Params, opts ...ClientOption) (*AirAPIMETAR1OK, *AirAPIMETAR1Status299, error)

AirAPIMETAR1 取得指定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 {
	AirAPIAirline(params *AirAPIAirlineParams, opts ...ClientOption) (*AirAPIAirlineOK, *AirAPIAirlineStatus299, error)

	AirAPIAirline1(params *AirAPIAirline1Params, opts ...ClientOption) (*AirAPIAirline1OK, *AirAPIAirline1Status299, error)

	AirAPIAirport(params *AirAPIAirportParams, opts ...ClientOption) (*AirAPIAirportOK, *AirAPIAirportStatus299, error)

	AirAPIAirport1(params *AirAPIAirport1Params, opts ...ClientOption) (*AirAPIAirport1OK, *AirAPIAirport1Status299, error)

	AirAPIArrival(params *AirAPIArrivalParams, opts ...ClientOption) (*AirAPIArrivalOK, *AirAPIArrivalStatus299, error)

	AirAPIArrival1(params *AirAPIArrival1Params, opts ...ClientOption) (*AirAPIArrival1OK, *AirAPIArrival1Status299, error)

	AirAPIDeparture(params *AirAPIDepartureParams, opts ...ClientOption) (*AirAPIDepartureOK, *AirAPIDepartureStatus299, error)

	AirAPIDeparture1(params *AirAPIDeparture1Params, opts ...ClientOption) (*AirAPIDeparture1OK, *AirAPIDeparture1Status299, error)

	AirAPIDomestic(params *AirAPIDomesticParams, opts ...ClientOption) (*AirAPIDomesticOK, *AirAPIDomesticStatus299, error)

	AirAPIFIDS(params *AirAPIFIDSParams, opts ...ClientOption) (*AirAPIFIDSOK, *AirAPIFIDSStatus299, error)

	AirAPIFIDS1(params *AirAPIFIDS1Params, opts ...ClientOption) (*AirAPIFIDS1OK, *AirAPIFIDS1Status299, error)

	AirAPIFlight(params *AirAPIFlightParams, opts ...ClientOption) (*AirAPIFlightOK, *AirAPIFlightStatus299, error)

	AirAPIFlight1(params *AirAPIFlight1Params, opts ...ClientOption) (*AirAPIFlight1OK, *AirAPIFlight1Status299, error)

	AirAPIInternational(params *AirAPIInternationalParams, opts ...ClientOption) (*AirAPIInternationalOK, *AirAPIInternationalStatus299, error)

	AirAPIMETAR(params *AirAPIMETARParams, opts ...ClientOption) (*AirAPIMETAROK, *AirAPIMETARStatus299, error)

	AirAPIMETAR1(params *AirAPIMETAR1Params, opts ...ClientOption) (*AirAPIMETAR1OK, *AirAPIMETAR1Status299, 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 air API client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL