Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShipDomesticAlert(params *ShipDomesticAlertParams, opts ...ClientOption) (*ShipDomesticAlertOK, *ShipDomesticAlertStatus299, error)
- func (a *Client) ShipDomesticDailySchedule(params *ShipDomesticDailyScheduleParams, opts ...ClientOption) (*ShipDomesticDailyScheduleOK, *ShipDomesticDailyScheduleStatus299, error)
- func (a *Client) ShipDomesticDailySchedule1(params *ShipDomesticDailySchedule1Params, opts ...ClientOption) (*ShipDomesticDailySchedule1OK, *ShipDomesticDailySchedule1Status299, error)
- func (a *Client) ShipDomesticNews(params *ShipDomesticNewsParams, opts ...ClientOption) (*ShipDomesticNewsOK, *ShipDomesticNewsStatus299, error)
- func (a *Client) ShipDomesticOperator(params *ShipDomesticOperatorParams, opts ...ClientOption) (*ShipDomesticOperatorOK, *ShipDomesticOperatorStatus299, error)
- func (a *Client) ShipDomesticRoute(params *ShipDomesticRouteParams, opts ...ClientOption) (*ShipDomesticRouteOK, *ShipDomesticRouteStatus299, error)
- func (a *Client) ShipDomesticSpecificSchedule(params *ShipDomesticSpecificScheduleParams, opts ...ClientOption) (*ShipDomesticSpecificScheduleOK, *ShipDomesticSpecificScheduleStatus299, error)
- func (a *Client) ShipDomesticSpecificSchedule1(params *ShipDomesticSpecificSchedule1Params, opts ...ClientOption) (*ShipDomesticSpecificSchedule1OK, *ShipDomesticSpecificSchedule1Status299, ...)
- func (a *Client) ShipDomesticStopOfRoute(params *ShipDomesticStopOfRouteParams, opts ...ClientOption) (*ShipDomesticStopOfRouteOK, *ShipDomesticStopOfRouteStatus299, error)
- func (a *Client) ShipDomesticVessel(params *ShipDomesticVesselParams, opts ...ClientOption) (*ShipDomesticVesselOK, *ShipDomesticVesselStatus299, error)
- type ClientOption
- type ClientService
- type ShipDomesticAlertNotModified
- type ShipDomesticAlertOK
- type ShipDomesticAlertParams
- func NewShipDomesticAlertParams() *ShipDomesticAlertParams
- func NewShipDomesticAlertParamsWithContext(ctx context.Context) *ShipDomesticAlertParams
- func NewShipDomesticAlertParamsWithHTTPClient(client *http.Client) *ShipDomesticAlertParams
- func NewShipDomesticAlertParamsWithTimeout(timeout time.Duration) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) SetCity(city string)
- func (o *ShipDomesticAlertParams) SetContext(ctx context.Context)
- func (o *ShipDomesticAlertParams) SetDefaults()
- func (o *ShipDomesticAlertParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticAlertParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticAlertParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticAlertParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticAlertParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticAlertParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticAlertParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticAlertParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticAlertParams) SetHealth(health *string)
- func (o *ShipDomesticAlertParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticAlertParams) WithCity(city string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithContext(ctx context.Context) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDefaults() *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarCount(dollarCount *bool) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarFilter(dollarFilter *string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarFormat(dollarFormat string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarSelect(dollarSelect *string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarSkip(dollarSkip *string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithDollarTop(dollarTop *int64) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithHTTPClient(client *http.Client) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithHealth(health *string) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WithTimeout(timeout time.Duration) *ShipDomesticAlertParams
- func (o *ShipDomesticAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticAlertReader
- type ShipDomesticAlertStatus299
- type ShipDomesticDailySchedule1NotModified
- type ShipDomesticDailySchedule1OK
- type ShipDomesticDailySchedule1Params
- func NewShipDomesticDailySchedule1Params() *ShipDomesticDailySchedule1Params
- func NewShipDomesticDailySchedule1ParamsWithContext(ctx context.Context) *ShipDomesticDailySchedule1Params
- func NewShipDomesticDailySchedule1ParamsWithHTTPClient(client *http.Client) *ShipDomesticDailySchedule1Params
- func NewShipDomesticDailySchedule1ParamsWithTimeout(timeout time.Duration) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) SetCity(city string)
- func (o *ShipDomesticDailySchedule1Params) SetContext(ctx context.Context)
- func (o *ShipDomesticDailySchedule1Params) SetDefaults()
- func (o *ShipDomesticDailySchedule1Params) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticDailySchedule1Params) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticDailySchedule1Params) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticDailySchedule1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticDailySchedule1Params) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticDailySchedule1Params) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticDailySchedule1Params) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticDailySchedule1Params) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticDailySchedule1Params) SetHealth(health *string)
- func (o *ShipDomesticDailySchedule1Params) SetRouteID(routeID string)
- func (o *ShipDomesticDailySchedule1Params) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticDailySchedule1Params) WithCity(city string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithContext(ctx context.Context) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDefaults() *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarCount(dollarCount *bool) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarFilter(dollarFilter *string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarFormat(dollarFormat string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarOrderby(dollarOrderby *string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarSelect(dollarSelect *string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarSkip(dollarSkip *string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithDollarTop(dollarTop *int64) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithHTTPClient(client *http.Client) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithHealth(health *string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithRouteID(routeID string) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WithTimeout(timeout time.Duration) *ShipDomesticDailySchedule1Params
- func (o *ShipDomesticDailySchedule1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticDailySchedule1Reader
- type ShipDomesticDailySchedule1Status299
- type ShipDomesticDailyScheduleNotModified
- type ShipDomesticDailyScheduleOK
- type ShipDomesticDailyScheduleParams
- func NewShipDomesticDailyScheduleParams() *ShipDomesticDailyScheduleParams
- func NewShipDomesticDailyScheduleParamsWithContext(ctx context.Context) *ShipDomesticDailyScheduleParams
- func NewShipDomesticDailyScheduleParamsWithHTTPClient(client *http.Client) *ShipDomesticDailyScheduleParams
- func NewShipDomesticDailyScheduleParamsWithTimeout(timeout time.Duration) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) SetCity(city string)
- func (o *ShipDomesticDailyScheduleParams) SetContext(ctx context.Context)
- func (o *ShipDomesticDailyScheduleParams) SetDefaults()
- func (o *ShipDomesticDailyScheduleParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticDailyScheduleParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticDailyScheduleParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticDailyScheduleParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticDailyScheduleParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticDailyScheduleParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticDailyScheduleParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticDailyScheduleParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticDailyScheduleParams) SetHealth(health *string)
- func (o *ShipDomesticDailyScheduleParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticDailyScheduleParams) WithCity(city string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithContext(ctx context.Context) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDefaults() *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarCount(dollarCount *bool) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarFilter(dollarFilter *string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarFormat(dollarFormat string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarSelect(dollarSelect *string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarSkip(dollarSkip *string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithDollarTop(dollarTop *int64) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithHTTPClient(client *http.Client) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithHealth(health *string) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WithTimeout(timeout time.Duration) *ShipDomesticDailyScheduleParams
- func (o *ShipDomesticDailyScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticDailyScheduleReader
- type ShipDomesticDailyScheduleStatus299
- type ShipDomesticNewsNotModified
- type ShipDomesticNewsOK
- type ShipDomesticNewsParams
- func NewShipDomesticNewsParams() *ShipDomesticNewsParams
- func NewShipDomesticNewsParamsWithContext(ctx context.Context) *ShipDomesticNewsParams
- func NewShipDomesticNewsParamsWithHTTPClient(client *http.Client) *ShipDomesticNewsParams
- func NewShipDomesticNewsParamsWithTimeout(timeout time.Duration) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) SetCity(city string)
- func (o *ShipDomesticNewsParams) SetContext(ctx context.Context)
- func (o *ShipDomesticNewsParams) SetDefaults()
- func (o *ShipDomesticNewsParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticNewsParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticNewsParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticNewsParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticNewsParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticNewsParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticNewsParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticNewsParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticNewsParams) SetHealth(health *string)
- func (o *ShipDomesticNewsParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticNewsParams) WithCity(city string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithContext(ctx context.Context) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDefaults() *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarCount(dollarCount *bool) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarFilter(dollarFilter *string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarFormat(dollarFormat string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarSelect(dollarSelect *string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarSkip(dollarSkip *string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithDollarTop(dollarTop *int64) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithHTTPClient(client *http.Client) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithHealth(health *string) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WithTimeout(timeout time.Duration) *ShipDomesticNewsParams
- func (o *ShipDomesticNewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticNewsReader
- type ShipDomesticNewsStatus299
- type ShipDomesticOperatorNotModified
- type ShipDomesticOperatorOK
- type ShipDomesticOperatorParams
- func NewShipDomesticOperatorParams() *ShipDomesticOperatorParams
- func NewShipDomesticOperatorParamsWithContext(ctx context.Context) *ShipDomesticOperatorParams
- func NewShipDomesticOperatorParamsWithHTTPClient(client *http.Client) *ShipDomesticOperatorParams
- func NewShipDomesticOperatorParamsWithTimeout(timeout time.Duration) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) SetCity(city string)
- func (o *ShipDomesticOperatorParams) SetContext(ctx context.Context)
- func (o *ShipDomesticOperatorParams) SetDefaults()
- func (o *ShipDomesticOperatorParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticOperatorParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticOperatorParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticOperatorParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticOperatorParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticOperatorParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticOperatorParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticOperatorParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticOperatorParams) SetHealth(health *string)
- func (o *ShipDomesticOperatorParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticOperatorParams) WithCity(city string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithContext(ctx context.Context) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDefaults() *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarCount(dollarCount *bool) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarFilter(dollarFilter *string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarFormat(dollarFormat string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarSelect(dollarSelect *string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarSkip(dollarSkip *string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithDollarTop(dollarTop *int64) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithHTTPClient(client *http.Client) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithHealth(health *string) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WithTimeout(timeout time.Duration) *ShipDomesticOperatorParams
- func (o *ShipDomesticOperatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticOperatorReader
- type ShipDomesticOperatorStatus299
- type ShipDomesticRouteNotModified
- type ShipDomesticRouteOK
- type ShipDomesticRouteParams
- func NewShipDomesticRouteParams() *ShipDomesticRouteParams
- func NewShipDomesticRouteParamsWithContext(ctx context.Context) *ShipDomesticRouteParams
- func NewShipDomesticRouteParamsWithHTTPClient(client *http.Client) *ShipDomesticRouteParams
- func NewShipDomesticRouteParamsWithTimeout(timeout time.Duration) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) SetCity(city string)
- func (o *ShipDomesticRouteParams) SetContext(ctx context.Context)
- func (o *ShipDomesticRouteParams) SetDefaults()
- func (o *ShipDomesticRouteParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticRouteParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticRouteParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticRouteParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticRouteParams) SetHealth(health *string)
- func (o *ShipDomesticRouteParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticRouteParams) WithCity(city string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithContext(ctx context.Context) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDefaults() *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarCount(dollarCount *bool) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarFilter(dollarFilter *string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarFormat(dollarFormat string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarSelect(dollarSelect *string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarSkip(dollarSkip *string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithDollarTop(dollarTop *int64) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithHTTPClient(client *http.Client) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithHealth(health *string) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WithTimeout(timeout time.Duration) *ShipDomesticRouteParams
- func (o *ShipDomesticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticRouteReader
- type ShipDomesticRouteStatus299
- type ShipDomesticSpecificSchedule1NotModified
- type ShipDomesticSpecificSchedule1OK
- type ShipDomesticSpecificSchedule1Params
- func NewShipDomesticSpecificSchedule1Params() *ShipDomesticSpecificSchedule1Params
- func NewShipDomesticSpecificSchedule1ParamsWithContext(ctx context.Context) *ShipDomesticSpecificSchedule1Params
- func NewShipDomesticSpecificSchedule1ParamsWithHTTPClient(client *http.Client) *ShipDomesticSpecificSchedule1Params
- func NewShipDomesticSpecificSchedule1ParamsWithTimeout(timeout time.Duration) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) SetCity(city string)
- func (o *ShipDomesticSpecificSchedule1Params) SetContext(ctx context.Context)
- func (o *ShipDomesticSpecificSchedule1Params) SetDefaults()
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticSpecificSchedule1Params) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticSpecificSchedule1Params) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticSpecificSchedule1Params) SetHealth(health *string)
- func (o *ShipDomesticSpecificSchedule1Params) SetRouteID(routeID string)
- func (o *ShipDomesticSpecificSchedule1Params) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticSpecificSchedule1Params) WithCity(city string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithContext(ctx context.Context) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDefaults() *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarCount(dollarCount *bool) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarFilter(dollarFilter *string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarFormat(dollarFormat string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarOrderby(dollarOrderby *string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarSelect(dollarSelect *string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarSkip(dollarSkip *string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithDollarTop(dollarTop *int64) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithHTTPClient(client *http.Client) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithHealth(health *string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithRouteID(routeID string) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WithTimeout(timeout time.Duration) *ShipDomesticSpecificSchedule1Params
- func (o *ShipDomesticSpecificSchedule1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticSpecificSchedule1Reader
- type ShipDomesticSpecificSchedule1Status299
- type ShipDomesticSpecificScheduleNotModified
- type ShipDomesticSpecificScheduleOK
- type ShipDomesticSpecificScheduleParams
- func NewShipDomesticSpecificScheduleParams() *ShipDomesticSpecificScheduleParams
- func NewShipDomesticSpecificScheduleParamsWithContext(ctx context.Context) *ShipDomesticSpecificScheduleParams
- func NewShipDomesticSpecificScheduleParamsWithHTTPClient(client *http.Client) *ShipDomesticSpecificScheduleParams
- func NewShipDomesticSpecificScheduleParamsWithTimeout(timeout time.Duration) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) SetCity(city string)
- func (o *ShipDomesticSpecificScheduleParams) SetContext(ctx context.Context)
- func (o *ShipDomesticSpecificScheduleParams) SetDefaults()
- func (o *ShipDomesticSpecificScheduleParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticSpecificScheduleParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticSpecificScheduleParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticSpecificScheduleParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticSpecificScheduleParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticSpecificScheduleParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticSpecificScheduleParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticSpecificScheduleParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticSpecificScheduleParams) SetHealth(health *string)
- func (o *ShipDomesticSpecificScheduleParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticSpecificScheduleParams) WithCity(city string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithContext(ctx context.Context) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDefaults() *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarCount(dollarCount *bool) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarFilter(dollarFilter *string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarFormat(dollarFormat string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarSelect(dollarSelect *string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarSkip(dollarSkip *string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithDollarTop(dollarTop *int64) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithHTTPClient(client *http.Client) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithHealth(health *string) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WithTimeout(timeout time.Duration) *ShipDomesticSpecificScheduleParams
- func (o *ShipDomesticSpecificScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticSpecificScheduleReader
- type ShipDomesticSpecificScheduleStatus299
- type ShipDomesticStopOfRouteNotModified
- type ShipDomesticStopOfRouteOK
- type ShipDomesticStopOfRouteParams
- func NewShipDomesticStopOfRouteParams() *ShipDomesticStopOfRouteParams
- func NewShipDomesticStopOfRouteParamsWithContext(ctx context.Context) *ShipDomesticStopOfRouteParams
- func NewShipDomesticStopOfRouteParamsWithHTTPClient(client *http.Client) *ShipDomesticStopOfRouteParams
- func NewShipDomesticStopOfRouteParamsWithTimeout(timeout time.Duration) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) SetCity(city string)
- func (o *ShipDomesticStopOfRouteParams) SetContext(ctx context.Context)
- func (o *ShipDomesticStopOfRouteParams) SetDefaults()
- func (o *ShipDomesticStopOfRouteParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticStopOfRouteParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticStopOfRouteParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticStopOfRouteParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticStopOfRouteParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticStopOfRouteParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticStopOfRouteParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticStopOfRouteParams) SetHealth(health *string)
- func (o *ShipDomesticStopOfRouteParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticStopOfRouteParams) WithCity(city string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithContext(ctx context.Context) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDefaults() *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarCount(dollarCount *bool) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarFilter(dollarFilter *string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarFormat(dollarFormat string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarSelect(dollarSelect *string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarSkip(dollarSkip *string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithDollarTop(dollarTop *int64) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithHTTPClient(client *http.Client) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithHealth(health *string) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WithTimeout(timeout time.Duration) *ShipDomesticStopOfRouteParams
- func (o *ShipDomesticStopOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticStopOfRouteReader
- type ShipDomesticStopOfRouteStatus299
- type ShipDomesticVesselNotModified
- type ShipDomesticVesselOK
- type ShipDomesticVesselParams
- func NewShipDomesticVesselParams() *ShipDomesticVesselParams
- func NewShipDomesticVesselParamsWithContext(ctx context.Context) *ShipDomesticVesselParams
- func NewShipDomesticVesselParamsWithHTTPClient(client *http.Client) *ShipDomesticVesselParams
- func NewShipDomesticVesselParamsWithTimeout(timeout time.Duration) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) SetCity(city string)
- func (o *ShipDomesticVesselParams) SetContext(ctx context.Context)
- func (o *ShipDomesticVesselParams) SetDefaults()
- func (o *ShipDomesticVesselParams) SetDollarCount(dollarCount *bool)
- func (o *ShipDomesticVesselParams) SetDollarFilter(dollarFilter *string)
- func (o *ShipDomesticVesselParams) SetDollarFormat(dollarFormat string)
- func (o *ShipDomesticVesselParams) SetDollarOrderby(dollarOrderby *string)
- func (o *ShipDomesticVesselParams) SetDollarSelect(dollarSelect *string)
- func (o *ShipDomesticVesselParams) SetDollarSkip(dollarSkip *string)
- func (o *ShipDomesticVesselParams) SetDollarTop(dollarTop *int64)
- func (o *ShipDomesticVesselParams) SetHTTPClient(client *http.Client)
- func (o *ShipDomesticVesselParams) SetHealth(health *string)
- func (o *ShipDomesticVesselParams) SetTimeout(timeout time.Duration)
- func (o *ShipDomesticVesselParams) WithCity(city string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithContext(ctx context.Context) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDefaults() *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarCount(dollarCount *bool) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarFilter(dollarFilter *string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarFormat(dollarFormat string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarSelect(dollarSelect *string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarSkip(dollarSkip *string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithDollarTop(dollarTop *int64) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithHTTPClient(client *http.Client) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithHealth(health *string) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WithTimeout(timeout time.Duration) *ShipDomesticVesselParams
- func (o *ShipDomesticVesselParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShipDomesticVesselReader
- type ShipDomesticVesselStatus299
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for domestic ship API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShipDomesticAlert ¶
func (a *Client) ShipDomesticAlert(params *ShipDomesticAlertParams, opts ...ClientOption) (*ShipDomesticAlertOK, *ShipDomesticAlertStatus299, error)
ShipDomesticAlert 取得指定s 縣市 之營運通阻資料
func (*Client) ShipDomesticDailySchedule ¶
func (a *Client) ShipDomesticDailySchedule(params *ShipDomesticDailyScheduleParams, opts ...ClientOption) (*ShipDomesticDailyScheduleOK, *ShipDomesticDailyScheduleStatus299, error)
ShipDomesticDailySchedule 取得指定s 縣市 之每日班表資料
func (*Client) ShipDomesticDailySchedule1 ¶
func (a *Client) ShipDomesticDailySchedule1(params *ShipDomesticDailySchedule1Params, opts ...ClientOption) (*ShipDomesticDailySchedule1OK, *ShipDomesticDailySchedule1Status299, error)
ShipDomesticDailySchedule1 取得指定s 縣市 航線 之每日班表資料
func (*Client) ShipDomesticNews ¶
func (a *Client) ShipDomesticNews(params *ShipDomesticNewsParams, opts ...ClientOption) (*ShipDomesticNewsOK, *ShipDomesticNewsStatus299, error)
ShipDomesticNews 取得指定s 縣市 之最新消息資料
func (*Client) ShipDomesticOperator ¶
func (a *Client) ShipDomesticOperator(params *ShipDomesticOperatorParams, opts ...ClientOption) (*ShipDomesticOperatorOK, *ShipDomesticOperatorStatus299, error)
ShipDomesticOperator 取得指定s 縣市 之航運營運業者資料
func (*Client) ShipDomesticRoute ¶
func (a *Client) ShipDomesticRoute(params *ShipDomesticRouteParams, opts ...ClientOption) (*ShipDomesticRouteOK, *ShipDomesticRouteStatus299, error)
ShipDomesticRoute 取得指定s 縣市 之航線資料
func (*Client) ShipDomesticSpecificSchedule ¶
func (a *Client) ShipDomesticSpecificSchedule(params *ShipDomesticSpecificScheduleParams, opts ...ClientOption) (*ShipDomesticSpecificScheduleOK, *ShipDomesticSpecificScheduleStatus299, error)
ShipDomesticSpecificSchedule 取得指定s 縣市 之特殊班表資料
func (*Client) ShipDomesticSpecificSchedule1 ¶
func (a *Client) ShipDomesticSpecificSchedule1(params *ShipDomesticSpecificSchedule1Params, opts ...ClientOption) (*ShipDomesticSpecificSchedule1OK, *ShipDomesticSpecificSchedule1Status299, error)
ShipDomesticSpecificSchedule1 取得指定s 縣市 航線 之特殊班表資料
func (*Client) ShipDomesticStopOfRoute ¶
func (a *Client) ShipDomesticStopOfRoute(params *ShipDomesticStopOfRouteParams, opts ...ClientOption) (*ShipDomesticStopOfRouteOK, *ShipDomesticStopOfRouteStatus299, error)
ShipDomesticStopOfRoute 取得指定s 縣市 之航線靠港順序資料
func (*Client) ShipDomesticVessel ¶
func (a *Client) ShipDomesticVessel(params *ShipDomesticVesselParams, opts ...ClientOption) (*ShipDomesticVesselOK, *ShipDomesticVesselStatus299, error)
ShipDomesticVessel 取得指定s 縣市 之船舶資料
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ShipDomesticAlert(params *ShipDomesticAlertParams, opts ...ClientOption) (*ShipDomesticAlertOK, *ShipDomesticAlertStatus299, error) ShipDomesticDailySchedule(params *ShipDomesticDailyScheduleParams, opts ...ClientOption) (*ShipDomesticDailyScheduleOK, *ShipDomesticDailyScheduleStatus299, error) ShipDomesticDailySchedule1(params *ShipDomesticDailySchedule1Params, opts ...ClientOption) (*ShipDomesticDailySchedule1OK, *ShipDomesticDailySchedule1Status299, error) ShipDomesticNews(params *ShipDomesticNewsParams, opts ...ClientOption) (*ShipDomesticNewsOK, *ShipDomesticNewsStatus299, error) ShipDomesticOperator(params *ShipDomesticOperatorParams, opts ...ClientOption) (*ShipDomesticOperatorOK, *ShipDomesticOperatorStatus299, error) ShipDomesticRoute(params *ShipDomesticRouteParams, opts ...ClientOption) (*ShipDomesticRouteOK, *ShipDomesticRouteStatus299, error) ShipDomesticSpecificSchedule(params *ShipDomesticSpecificScheduleParams, opts ...ClientOption) (*ShipDomesticSpecificScheduleOK, *ShipDomesticSpecificScheduleStatus299, error) ShipDomesticSpecificSchedule1(params *ShipDomesticSpecificSchedule1Params, opts ...ClientOption) (*ShipDomesticSpecificSchedule1OK, *ShipDomesticSpecificSchedule1Status299, error) ShipDomesticStopOfRoute(params *ShipDomesticStopOfRouteParams, opts ...ClientOption) (*ShipDomesticStopOfRouteOK, *ShipDomesticStopOfRouteStatus299, error) ShipDomesticVessel(params *ShipDomesticVesselParams, opts ...ClientOption) (*ShipDomesticVesselOK, *ShipDomesticVesselStatus299, 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 domestic ship API client.
type ShipDomesticAlertNotModified ¶
type ShipDomesticAlertNotModified struct { }
ShipDomesticAlertNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticAlertNotModified ¶
func NewShipDomesticAlertNotModified() *ShipDomesticAlertNotModified
NewShipDomesticAlertNotModified creates a ShipDomesticAlertNotModified with default headers values
func (*ShipDomesticAlertNotModified) Error ¶
func (o *ShipDomesticAlertNotModified) Error() string
type ShipDomesticAlertOK ¶
type ShipDomesticAlertOK struct {
Payload *models.PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3Alert
}
ShipDomesticAlertOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticAlertOK ¶
func NewShipDomesticAlertOK() *ShipDomesticAlertOK
NewShipDomesticAlertOK creates a ShipDomesticAlertOK with default headers values
func (*ShipDomesticAlertOK) Error ¶
func (o *ShipDomesticAlertOK) Error() string
func (*ShipDomesticAlertOK) GetPayload ¶
func (o *ShipDomesticAlertOK) GetPayload() *models.PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3Alert
type ShipDomesticAlertParams ¶
type ShipDomesticAlertParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticAlertParams contains all the parameters to send to the API endpoint
for the ship domestic alert operation. Typically these are written to a http.Request.
func NewShipDomesticAlertParams ¶
func NewShipDomesticAlertParams() *ShipDomesticAlertParams
NewShipDomesticAlertParams creates a new ShipDomesticAlertParams 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 NewShipDomesticAlertParamsWithContext ¶
func NewShipDomesticAlertParamsWithContext(ctx context.Context) *ShipDomesticAlertParams
NewShipDomesticAlertParamsWithContext creates a new ShipDomesticAlertParams object with the ability to set a context for a request.
func NewShipDomesticAlertParamsWithHTTPClient ¶
func NewShipDomesticAlertParamsWithHTTPClient(client *http.Client) *ShipDomesticAlertParams
NewShipDomesticAlertParamsWithHTTPClient creates a new ShipDomesticAlertParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticAlertParamsWithTimeout ¶
func NewShipDomesticAlertParamsWithTimeout(timeout time.Duration) *ShipDomesticAlertParams
NewShipDomesticAlertParamsWithTimeout creates a new ShipDomesticAlertParams object with the ability to set a timeout on a request.
func (*ShipDomesticAlertParams) SetCity ¶
func (o *ShipDomesticAlertParams) SetCity(city string)
SetCity adds the city to the ship domestic alert params
func (*ShipDomesticAlertParams) SetContext ¶
func (o *ShipDomesticAlertParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDefaults ¶
func (o *ShipDomesticAlertParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic alert params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticAlertParams) SetDollarCount ¶
func (o *ShipDomesticAlertParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDollarFilter ¶
func (o *ShipDomesticAlertParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDollarFormat ¶
func (o *ShipDomesticAlertParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDollarOrderby ¶
func (o *ShipDomesticAlertParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDollarSelect ¶
func (o *ShipDomesticAlertParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDollarSkip ¶
func (o *ShipDomesticAlertParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic alert params
func (*ShipDomesticAlertParams) SetDollarTop ¶
func (o *ShipDomesticAlertParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic alert params
func (*ShipDomesticAlertParams) SetHTTPClient ¶
func (o *ShipDomesticAlertParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic alert params
func (*ShipDomesticAlertParams) SetHealth ¶
func (o *ShipDomesticAlertParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic alert params
func (*ShipDomesticAlertParams) SetTimeout ¶
func (o *ShipDomesticAlertParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic alert params
func (*ShipDomesticAlertParams) WithCity ¶
func (o *ShipDomesticAlertParams) WithCity(city string) *ShipDomesticAlertParams
WithCity adds the city to the ship domestic alert params
func (*ShipDomesticAlertParams) WithContext ¶
func (o *ShipDomesticAlertParams) WithContext(ctx context.Context) *ShipDomesticAlertParams
WithContext adds the context to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDefaults ¶
func (o *ShipDomesticAlertParams) WithDefaults() *ShipDomesticAlertParams
WithDefaults hydrates default values in the ship domestic alert params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticAlertParams) WithDollarCount ¶
func (o *ShipDomesticAlertParams) WithDollarCount(dollarCount *bool) *ShipDomesticAlertParams
WithDollarCount adds the dollarCount to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDollarFilter ¶
func (o *ShipDomesticAlertParams) WithDollarFilter(dollarFilter *string) *ShipDomesticAlertParams
WithDollarFilter adds the dollarFilter to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDollarFormat ¶
func (o *ShipDomesticAlertParams) WithDollarFormat(dollarFormat string) *ShipDomesticAlertParams
WithDollarFormat adds the dollarFormat to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDollarOrderby ¶
func (o *ShipDomesticAlertParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticAlertParams
WithDollarOrderby adds the dollarOrderby to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDollarSelect ¶
func (o *ShipDomesticAlertParams) WithDollarSelect(dollarSelect *string) *ShipDomesticAlertParams
WithDollarSelect adds the dollarSelect to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDollarSkip ¶
func (o *ShipDomesticAlertParams) WithDollarSkip(dollarSkip *string) *ShipDomesticAlertParams
WithDollarSkip adds the dollarSkip to the ship domestic alert params
func (*ShipDomesticAlertParams) WithDollarTop ¶
func (o *ShipDomesticAlertParams) WithDollarTop(dollarTop *int64) *ShipDomesticAlertParams
WithDollarTop adds the dollarTop to the ship domestic alert params
func (*ShipDomesticAlertParams) WithHTTPClient ¶
func (o *ShipDomesticAlertParams) WithHTTPClient(client *http.Client) *ShipDomesticAlertParams
WithHTTPClient adds the HTTPClient to the ship domestic alert params
func (*ShipDomesticAlertParams) WithHealth ¶
func (o *ShipDomesticAlertParams) WithHealth(health *string) *ShipDomesticAlertParams
WithHealth adds the health to the ship domestic alert params
func (*ShipDomesticAlertParams) WithTimeout ¶
func (o *ShipDomesticAlertParams) WithTimeout(timeout time.Duration) *ShipDomesticAlertParams
WithTimeout adds the timeout to the ship domestic alert params
func (*ShipDomesticAlertParams) WriteToRequest ¶
func (o *ShipDomesticAlertParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticAlertReader ¶
type ShipDomesticAlertReader struct {
// contains filtered or unexported fields
}
ShipDomesticAlertReader is a Reader for the ShipDomesticAlert structure.
func (*ShipDomesticAlertReader) ReadResponse ¶
func (o *ShipDomesticAlertReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticAlertStatus299 ¶
type ShipDomesticAlertStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticAlertStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticAlertStatus299 ¶
func NewShipDomesticAlertStatus299() *ShipDomesticAlertStatus299
NewShipDomesticAlertStatus299 creates a ShipDomesticAlertStatus299 with default headers values
func (*ShipDomesticAlertStatus299) Error ¶
func (o *ShipDomesticAlertStatus299) Error() string
func (*ShipDomesticAlertStatus299) GetPayload ¶
func (o *ShipDomesticAlertStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticDailySchedule1NotModified ¶
type ShipDomesticDailySchedule1NotModified struct { }
ShipDomesticDailySchedule1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticDailySchedule1NotModified ¶
func NewShipDomesticDailySchedule1NotModified() *ShipDomesticDailySchedule1NotModified
NewShipDomesticDailySchedule1NotModified creates a ShipDomesticDailySchedule1NotModified with default headers values
func (*ShipDomesticDailySchedule1NotModified) Error ¶
func (o *ShipDomesticDailySchedule1NotModified) Error() string
type ShipDomesticDailySchedule1OK ¶
type ShipDomesticDailySchedule1OK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule
}
ShipDomesticDailySchedule1OK describes a response with status code 200, with default header values.
Success
func NewShipDomesticDailySchedule1OK ¶
func NewShipDomesticDailySchedule1OK() *ShipDomesticDailySchedule1OK
NewShipDomesticDailySchedule1OK creates a ShipDomesticDailySchedule1OK with default headers values
func (*ShipDomesticDailySchedule1OK) Error ¶
func (o *ShipDomesticDailySchedule1OK) Error() string
func (*ShipDomesticDailySchedule1OK) GetPayload ¶
type ShipDomesticDailySchedule1Params ¶
type ShipDomesticDailySchedule1Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* RouteID. 指定航運路線代碼 */ RouteID string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticDailySchedule1Params contains all the parameters to send to the API endpoint
for the ship domestic daily schedule 1 operation. Typically these are written to a http.Request.
func NewShipDomesticDailySchedule1Params ¶
func NewShipDomesticDailySchedule1Params() *ShipDomesticDailySchedule1Params
NewShipDomesticDailySchedule1Params creates a new ShipDomesticDailySchedule1Params 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 NewShipDomesticDailySchedule1ParamsWithContext ¶
func NewShipDomesticDailySchedule1ParamsWithContext(ctx context.Context) *ShipDomesticDailySchedule1Params
NewShipDomesticDailySchedule1ParamsWithContext creates a new ShipDomesticDailySchedule1Params object with the ability to set a context for a request.
func NewShipDomesticDailySchedule1ParamsWithHTTPClient ¶
func NewShipDomesticDailySchedule1ParamsWithHTTPClient(client *http.Client) *ShipDomesticDailySchedule1Params
NewShipDomesticDailySchedule1ParamsWithHTTPClient creates a new ShipDomesticDailySchedule1Params object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticDailySchedule1ParamsWithTimeout ¶
func NewShipDomesticDailySchedule1ParamsWithTimeout(timeout time.Duration) *ShipDomesticDailySchedule1Params
NewShipDomesticDailySchedule1ParamsWithTimeout creates a new ShipDomesticDailySchedule1Params object with the ability to set a timeout on a request.
func (*ShipDomesticDailySchedule1Params) SetCity ¶
func (o *ShipDomesticDailySchedule1Params) SetCity(city string)
SetCity adds the city to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetContext ¶
func (o *ShipDomesticDailySchedule1Params) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDefaults ¶
func (o *ShipDomesticDailySchedule1Params) SetDefaults()
SetDefaults hydrates default values in the ship domestic daily schedule 1 params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticDailySchedule1Params) SetDollarCount ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDollarFilter ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDollarFormat ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDollarOrderby ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDollarSelect ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDollarSkip ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetDollarTop ¶
func (o *ShipDomesticDailySchedule1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetHTTPClient ¶
func (o *ShipDomesticDailySchedule1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetHealth ¶
func (o *ShipDomesticDailySchedule1Params) SetHealth(health *string)
SetHealth adds the health to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetRouteID ¶
func (o *ShipDomesticDailySchedule1Params) SetRouteID(routeID string)
SetRouteID adds the routeId to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) SetTimeout ¶
func (o *ShipDomesticDailySchedule1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithCity ¶
func (o *ShipDomesticDailySchedule1Params) WithCity(city string) *ShipDomesticDailySchedule1Params
WithCity adds the city to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithContext ¶
func (o *ShipDomesticDailySchedule1Params) WithContext(ctx context.Context) *ShipDomesticDailySchedule1Params
WithContext adds the context to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDefaults ¶
func (o *ShipDomesticDailySchedule1Params) WithDefaults() *ShipDomesticDailySchedule1Params
WithDefaults hydrates default values in the ship domestic daily schedule 1 params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticDailySchedule1Params) WithDollarCount ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarCount(dollarCount *bool) *ShipDomesticDailySchedule1Params
WithDollarCount adds the dollarCount to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDollarFilter ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarFilter(dollarFilter *string) *ShipDomesticDailySchedule1Params
WithDollarFilter adds the dollarFilter to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDollarFormat ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarFormat(dollarFormat string) *ShipDomesticDailySchedule1Params
WithDollarFormat adds the dollarFormat to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDollarOrderby ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarOrderby(dollarOrderby *string) *ShipDomesticDailySchedule1Params
WithDollarOrderby adds the dollarOrderby to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDollarSelect ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarSelect(dollarSelect *string) *ShipDomesticDailySchedule1Params
WithDollarSelect adds the dollarSelect to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDollarSkip ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarSkip(dollarSkip *string) *ShipDomesticDailySchedule1Params
WithDollarSkip adds the dollarSkip to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithDollarTop ¶
func (o *ShipDomesticDailySchedule1Params) WithDollarTop(dollarTop *int64) *ShipDomesticDailySchedule1Params
WithDollarTop adds the dollarTop to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithHTTPClient ¶
func (o *ShipDomesticDailySchedule1Params) WithHTTPClient(client *http.Client) *ShipDomesticDailySchedule1Params
WithHTTPClient adds the HTTPClient to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithHealth ¶
func (o *ShipDomesticDailySchedule1Params) WithHealth(health *string) *ShipDomesticDailySchedule1Params
WithHealth adds the health to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithRouteID ¶
func (o *ShipDomesticDailySchedule1Params) WithRouteID(routeID string) *ShipDomesticDailySchedule1Params
WithRouteID adds the routeID to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WithTimeout ¶
func (o *ShipDomesticDailySchedule1Params) WithTimeout(timeout time.Duration) *ShipDomesticDailySchedule1Params
WithTimeout adds the timeout to the ship domestic daily schedule 1 params
func (*ShipDomesticDailySchedule1Params) WriteToRequest ¶
func (o *ShipDomesticDailySchedule1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticDailySchedule1Reader ¶
type ShipDomesticDailySchedule1Reader struct {
// contains filtered or unexported fields
}
ShipDomesticDailySchedule1Reader is a Reader for the ShipDomesticDailySchedule1 structure.
func (*ShipDomesticDailySchedule1Reader) ReadResponse ¶
func (o *ShipDomesticDailySchedule1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticDailySchedule1Status299 ¶
type ShipDomesticDailySchedule1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticDailySchedule1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticDailySchedule1Status299 ¶
func NewShipDomesticDailySchedule1Status299() *ShipDomesticDailySchedule1Status299
NewShipDomesticDailySchedule1Status299 creates a ShipDomesticDailySchedule1Status299 with default headers values
func (*ShipDomesticDailySchedule1Status299) Error ¶
func (o *ShipDomesticDailySchedule1Status299) Error() string
func (*ShipDomesticDailySchedule1Status299) GetPayload ¶
func (o *ShipDomesticDailySchedule1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticDailyScheduleNotModified ¶
type ShipDomesticDailyScheduleNotModified struct { }
ShipDomesticDailyScheduleNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticDailyScheduleNotModified ¶
func NewShipDomesticDailyScheduleNotModified() *ShipDomesticDailyScheduleNotModified
NewShipDomesticDailyScheduleNotModified creates a ShipDomesticDailyScheduleNotModified with default headers values
func (*ShipDomesticDailyScheduleNotModified) Error ¶
func (o *ShipDomesticDailyScheduleNotModified) Error() string
type ShipDomesticDailyScheduleOK ¶
type ShipDomesticDailyScheduleOK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule
}
ShipDomesticDailyScheduleOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticDailyScheduleOK ¶
func NewShipDomesticDailyScheduleOK() *ShipDomesticDailyScheduleOK
NewShipDomesticDailyScheduleOK creates a ShipDomesticDailyScheduleOK with default headers values
func (*ShipDomesticDailyScheduleOK) Error ¶
func (o *ShipDomesticDailyScheduleOK) Error() string
func (*ShipDomesticDailyScheduleOK) GetPayload ¶
func (o *ShipDomesticDailyScheduleOK) GetPayload() *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3DailySchedule
type ShipDomesticDailyScheduleParams ¶
type ShipDomesticDailyScheduleParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticDailyScheduleParams contains all the parameters to send to the API endpoint
for the ship domestic daily schedule operation. Typically these are written to a http.Request.
func NewShipDomesticDailyScheduleParams ¶
func NewShipDomesticDailyScheduleParams() *ShipDomesticDailyScheduleParams
NewShipDomesticDailyScheduleParams creates a new ShipDomesticDailyScheduleParams 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 NewShipDomesticDailyScheduleParamsWithContext ¶
func NewShipDomesticDailyScheduleParamsWithContext(ctx context.Context) *ShipDomesticDailyScheduleParams
NewShipDomesticDailyScheduleParamsWithContext creates a new ShipDomesticDailyScheduleParams object with the ability to set a context for a request.
func NewShipDomesticDailyScheduleParamsWithHTTPClient ¶
func NewShipDomesticDailyScheduleParamsWithHTTPClient(client *http.Client) *ShipDomesticDailyScheduleParams
NewShipDomesticDailyScheduleParamsWithHTTPClient creates a new ShipDomesticDailyScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticDailyScheduleParamsWithTimeout ¶
func NewShipDomesticDailyScheduleParamsWithTimeout(timeout time.Duration) *ShipDomesticDailyScheduleParams
NewShipDomesticDailyScheduleParamsWithTimeout creates a new ShipDomesticDailyScheduleParams object with the ability to set a timeout on a request.
func (*ShipDomesticDailyScheduleParams) SetCity ¶
func (o *ShipDomesticDailyScheduleParams) SetCity(city string)
SetCity adds the city to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetContext ¶
func (o *ShipDomesticDailyScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDefaults ¶
func (o *ShipDomesticDailyScheduleParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic daily schedule params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticDailyScheduleParams) SetDollarCount ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDollarFilter ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDollarFormat ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDollarOrderby ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDollarSelect ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDollarSkip ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetDollarTop ¶
func (o *ShipDomesticDailyScheduleParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetHTTPClient ¶
func (o *ShipDomesticDailyScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetHealth ¶
func (o *ShipDomesticDailyScheduleParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) SetTimeout ¶
func (o *ShipDomesticDailyScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithCity ¶
func (o *ShipDomesticDailyScheduleParams) WithCity(city string) *ShipDomesticDailyScheduleParams
WithCity adds the city to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithContext ¶
func (o *ShipDomesticDailyScheduleParams) WithContext(ctx context.Context) *ShipDomesticDailyScheduleParams
WithContext adds the context to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDefaults ¶
func (o *ShipDomesticDailyScheduleParams) WithDefaults() *ShipDomesticDailyScheduleParams
WithDefaults hydrates default values in the ship domestic daily schedule params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticDailyScheduleParams) WithDollarCount ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarCount(dollarCount *bool) *ShipDomesticDailyScheduleParams
WithDollarCount adds the dollarCount to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDollarFilter ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarFilter(dollarFilter *string) *ShipDomesticDailyScheduleParams
WithDollarFilter adds the dollarFilter to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDollarFormat ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarFormat(dollarFormat string) *ShipDomesticDailyScheduleParams
WithDollarFormat adds the dollarFormat to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDollarOrderby ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticDailyScheduleParams
WithDollarOrderby adds the dollarOrderby to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDollarSelect ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarSelect(dollarSelect *string) *ShipDomesticDailyScheduleParams
WithDollarSelect adds the dollarSelect to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDollarSkip ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarSkip(dollarSkip *string) *ShipDomesticDailyScheduleParams
WithDollarSkip adds the dollarSkip to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithDollarTop ¶
func (o *ShipDomesticDailyScheduleParams) WithDollarTop(dollarTop *int64) *ShipDomesticDailyScheduleParams
WithDollarTop adds the dollarTop to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithHTTPClient ¶
func (o *ShipDomesticDailyScheduleParams) WithHTTPClient(client *http.Client) *ShipDomesticDailyScheduleParams
WithHTTPClient adds the HTTPClient to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithHealth ¶
func (o *ShipDomesticDailyScheduleParams) WithHealth(health *string) *ShipDomesticDailyScheduleParams
WithHealth adds the health to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WithTimeout ¶
func (o *ShipDomesticDailyScheduleParams) WithTimeout(timeout time.Duration) *ShipDomesticDailyScheduleParams
WithTimeout adds the timeout to the ship domestic daily schedule params
func (*ShipDomesticDailyScheduleParams) WriteToRequest ¶
func (o *ShipDomesticDailyScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticDailyScheduleReader ¶
type ShipDomesticDailyScheduleReader struct {
// contains filtered or unexported fields
}
ShipDomesticDailyScheduleReader is a Reader for the ShipDomesticDailySchedule structure.
func (*ShipDomesticDailyScheduleReader) ReadResponse ¶
func (o *ShipDomesticDailyScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticDailyScheduleStatus299 ¶
type ShipDomesticDailyScheduleStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticDailyScheduleStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticDailyScheduleStatus299 ¶
func NewShipDomesticDailyScheduleStatus299() *ShipDomesticDailyScheduleStatus299
NewShipDomesticDailyScheduleStatus299 creates a ShipDomesticDailyScheduleStatus299 with default headers values
func (*ShipDomesticDailyScheduleStatus299) Error ¶
func (o *ShipDomesticDailyScheduleStatus299) Error() string
func (*ShipDomesticDailyScheduleStatus299) GetPayload ¶
func (o *ShipDomesticDailyScheduleStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticNewsNotModified ¶
type ShipDomesticNewsNotModified struct { }
ShipDomesticNewsNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticNewsNotModified ¶
func NewShipDomesticNewsNotModified() *ShipDomesticNewsNotModified
NewShipDomesticNewsNotModified creates a ShipDomesticNewsNotModified with default headers values
func (*ShipDomesticNewsNotModified) Error ¶
func (o *ShipDomesticNewsNotModified) Error() string
type ShipDomesticNewsOK ¶
type ShipDomesticNewsOK struct {
Payload *models.PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News
}
ShipDomesticNewsOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticNewsOK ¶
func NewShipDomesticNewsOK() *ShipDomesticNewsOK
NewShipDomesticNewsOK creates a ShipDomesticNewsOK with default headers values
func (*ShipDomesticNewsOK) Error ¶
func (o *ShipDomesticNewsOK) Error() string
func (*ShipDomesticNewsOK) GetPayload ¶
func (o *ShipDomesticNewsOK) GetPayload() *models.PTXAPIShipModelShipLiveWrapperPTXServiceDTOShipSpecificationV3News
type ShipDomesticNewsParams ¶
type ShipDomesticNewsParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticNewsParams contains all the parameters to send to the API endpoint
for the ship domestic news operation. Typically these are written to a http.Request.
func NewShipDomesticNewsParams ¶
func NewShipDomesticNewsParams() *ShipDomesticNewsParams
NewShipDomesticNewsParams creates a new ShipDomesticNewsParams 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 NewShipDomesticNewsParamsWithContext ¶
func NewShipDomesticNewsParamsWithContext(ctx context.Context) *ShipDomesticNewsParams
NewShipDomesticNewsParamsWithContext creates a new ShipDomesticNewsParams object with the ability to set a context for a request.
func NewShipDomesticNewsParamsWithHTTPClient ¶
func NewShipDomesticNewsParamsWithHTTPClient(client *http.Client) *ShipDomesticNewsParams
NewShipDomesticNewsParamsWithHTTPClient creates a new ShipDomesticNewsParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticNewsParamsWithTimeout ¶
func NewShipDomesticNewsParamsWithTimeout(timeout time.Duration) *ShipDomesticNewsParams
NewShipDomesticNewsParamsWithTimeout creates a new ShipDomesticNewsParams object with the ability to set a timeout on a request.
func (*ShipDomesticNewsParams) SetCity ¶
func (o *ShipDomesticNewsParams) SetCity(city string)
SetCity adds the city to the ship domestic news params
func (*ShipDomesticNewsParams) SetContext ¶
func (o *ShipDomesticNewsParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic news params
func (*ShipDomesticNewsParams) SetDefaults ¶
func (o *ShipDomesticNewsParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic news params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticNewsParams) SetDollarCount ¶
func (o *ShipDomesticNewsParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic news params
func (*ShipDomesticNewsParams) SetDollarFilter ¶
func (o *ShipDomesticNewsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic news params
func (*ShipDomesticNewsParams) SetDollarFormat ¶
func (o *ShipDomesticNewsParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic news params
func (*ShipDomesticNewsParams) SetDollarOrderby ¶
func (o *ShipDomesticNewsParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic news params
func (*ShipDomesticNewsParams) SetDollarSelect ¶
func (o *ShipDomesticNewsParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic news params
func (*ShipDomesticNewsParams) SetDollarSkip ¶
func (o *ShipDomesticNewsParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic news params
func (*ShipDomesticNewsParams) SetDollarTop ¶
func (o *ShipDomesticNewsParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic news params
func (*ShipDomesticNewsParams) SetHTTPClient ¶
func (o *ShipDomesticNewsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic news params
func (*ShipDomesticNewsParams) SetHealth ¶
func (o *ShipDomesticNewsParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic news params
func (*ShipDomesticNewsParams) SetTimeout ¶
func (o *ShipDomesticNewsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic news params
func (*ShipDomesticNewsParams) WithCity ¶
func (o *ShipDomesticNewsParams) WithCity(city string) *ShipDomesticNewsParams
WithCity adds the city to the ship domestic news params
func (*ShipDomesticNewsParams) WithContext ¶
func (o *ShipDomesticNewsParams) WithContext(ctx context.Context) *ShipDomesticNewsParams
WithContext adds the context to the ship domestic news params
func (*ShipDomesticNewsParams) WithDefaults ¶
func (o *ShipDomesticNewsParams) WithDefaults() *ShipDomesticNewsParams
WithDefaults hydrates default values in the ship domestic news params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticNewsParams) WithDollarCount ¶
func (o *ShipDomesticNewsParams) WithDollarCount(dollarCount *bool) *ShipDomesticNewsParams
WithDollarCount adds the dollarCount to the ship domestic news params
func (*ShipDomesticNewsParams) WithDollarFilter ¶
func (o *ShipDomesticNewsParams) WithDollarFilter(dollarFilter *string) *ShipDomesticNewsParams
WithDollarFilter adds the dollarFilter to the ship domestic news params
func (*ShipDomesticNewsParams) WithDollarFormat ¶
func (o *ShipDomesticNewsParams) WithDollarFormat(dollarFormat string) *ShipDomesticNewsParams
WithDollarFormat adds the dollarFormat to the ship domestic news params
func (*ShipDomesticNewsParams) WithDollarOrderby ¶
func (o *ShipDomesticNewsParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticNewsParams
WithDollarOrderby adds the dollarOrderby to the ship domestic news params
func (*ShipDomesticNewsParams) WithDollarSelect ¶
func (o *ShipDomesticNewsParams) WithDollarSelect(dollarSelect *string) *ShipDomesticNewsParams
WithDollarSelect adds the dollarSelect to the ship domestic news params
func (*ShipDomesticNewsParams) WithDollarSkip ¶
func (o *ShipDomesticNewsParams) WithDollarSkip(dollarSkip *string) *ShipDomesticNewsParams
WithDollarSkip adds the dollarSkip to the ship domestic news params
func (*ShipDomesticNewsParams) WithDollarTop ¶
func (o *ShipDomesticNewsParams) WithDollarTop(dollarTop *int64) *ShipDomesticNewsParams
WithDollarTop adds the dollarTop to the ship domestic news params
func (*ShipDomesticNewsParams) WithHTTPClient ¶
func (o *ShipDomesticNewsParams) WithHTTPClient(client *http.Client) *ShipDomesticNewsParams
WithHTTPClient adds the HTTPClient to the ship domestic news params
func (*ShipDomesticNewsParams) WithHealth ¶
func (o *ShipDomesticNewsParams) WithHealth(health *string) *ShipDomesticNewsParams
WithHealth adds the health to the ship domestic news params
func (*ShipDomesticNewsParams) WithTimeout ¶
func (o *ShipDomesticNewsParams) WithTimeout(timeout time.Duration) *ShipDomesticNewsParams
WithTimeout adds the timeout to the ship domestic news params
func (*ShipDomesticNewsParams) WriteToRequest ¶
func (o *ShipDomesticNewsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticNewsReader ¶
type ShipDomesticNewsReader struct {
// contains filtered or unexported fields
}
ShipDomesticNewsReader is a Reader for the ShipDomesticNews structure.
func (*ShipDomesticNewsReader) ReadResponse ¶
func (o *ShipDomesticNewsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticNewsStatus299 ¶
type ShipDomesticNewsStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticNewsStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticNewsStatus299 ¶
func NewShipDomesticNewsStatus299() *ShipDomesticNewsStatus299
NewShipDomesticNewsStatus299 creates a ShipDomesticNewsStatus299 with default headers values
func (*ShipDomesticNewsStatus299) Error ¶
func (o *ShipDomesticNewsStatus299) Error() string
func (*ShipDomesticNewsStatus299) GetPayload ¶
func (o *ShipDomesticNewsStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticOperatorNotModified ¶
type ShipDomesticOperatorNotModified struct { }
ShipDomesticOperatorNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticOperatorNotModified ¶
func NewShipDomesticOperatorNotModified() *ShipDomesticOperatorNotModified
NewShipDomesticOperatorNotModified creates a ShipDomesticOperatorNotModified with default headers values
func (*ShipDomesticOperatorNotModified) Error ¶
func (o *ShipDomesticOperatorNotModified) Error() string
type ShipDomesticOperatorOK ¶
type ShipDomesticOperatorOK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator
}
ShipDomesticOperatorOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticOperatorOK ¶
func NewShipDomesticOperatorOK() *ShipDomesticOperatorOK
NewShipDomesticOperatorOK creates a ShipDomesticOperatorOK with default headers values
func (*ShipDomesticOperatorOK) Error ¶
func (o *ShipDomesticOperatorOK) Error() string
func (*ShipDomesticOperatorOK) GetPayload ¶
func (o *ShipDomesticOperatorOK) GetPayload() *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Operator
type ShipDomesticOperatorParams ¶
type ShipDomesticOperatorParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticOperatorParams contains all the parameters to send to the API endpoint
for the ship domestic operator operation. Typically these are written to a http.Request.
func NewShipDomesticOperatorParams ¶
func NewShipDomesticOperatorParams() *ShipDomesticOperatorParams
NewShipDomesticOperatorParams creates a new ShipDomesticOperatorParams 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 NewShipDomesticOperatorParamsWithContext ¶
func NewShipDomesticOperatorParamsWithContext(ctx context.Context) *ShipDomesticOperatorParams
NewShipDomesticOperatorParamsWithContext creates a new ShipDomesticOperatorParams object with the ability to set a context for a request.
func NewShipDomesticOperatorParamsWithHTTPClient ¶
func NewShipDomesticOperatorParamsWithHTTPClient(client *http.Client) *ShipDomesticOperatorParams
NewShipDomesticOperatorParamsWithHTTPClient creates a new ShipDomesticOperatorParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticOperatorParamsWithTimeout ¶
func NewShipDomesticOperatorParamsWithTimeout(timeout time.Duration) *ShipDomesticOperatorParams
NewShipDomesticOperatorParamsWithTimeout creates a new ShipDomesticOperatorParams object with the ability to set a timeout on a request.
func (*ShipDomesticOperatorParams) SetCity ¶
func (o *ShipDomesticOperatorParams) SetCity(city string)
SetCity adds the city to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetContext ¶
func (o *ShipDomesticOperatorParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDefaults ¶
func (o *ShipDomesticOperatorParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic operator params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticOperatorParams) SetDollarCount ¶
func (o *ShipDomesticOperatorParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDollarFilter ¶
func (o *ShipDomesticOperatorParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDollarFormat ¶
func (o *ShipDomesticOperatorParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDollarOrderby ¶
func (o *ShipDomesticOperatorParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDollarSelect ¶
func (o *ShipDomesticOperatorParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDollarSkip ¶
func (o *ShipDomesticOperatorParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetDollarTop ¶
func (o *ShipDomesticOperatorParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetHTTPClient ¶
func (o *ShipDomesticOperatorParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetHealth ¶
func (o *ShipDomesticOperatorParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic operator params
func (*ShipDomesticOperatorParams) SetTimeout ¶
func (o *ShipDomesticOperatorParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithCity ¶
func (o *ShipDomesticOperatorParams) WithCity(city string) *ShipDomesticOperatorParams
WithCity adds the city to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithContext ¶
func (o *ShipDomesticOperatorParams) WithContext(ctx context.Context) *ShipDomesticOperatorParams
WithContext adds the context to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDefaults ¶
func (o *ShipDomesticOperatorParams) WithDefaults() *ShipDomesticOperatorParams
WithDefaults hydrates default values in the ship domestic operator params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticOperatorParams) WithDollarCount ¶
func (o *ShipDomesticOperatorParams) WithDollarCount(dollarCount *bool) *ShipDomesticOperatorParams
WithDollarCount adds the dollarCount to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDollarFilter ¶
func (o *ShipDomesticOperatorParams) WithDollarFilter(dollarFilter *string) *ShipDomesticOperatorParams
WithDollarFilter adds the dollarFilter to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDollarFormat ¶
func (o *ShipDomesticOperatorParams) WithDollarFormat(dollarFormat string) *ShipDomesticOperatorParams
WithDollarFormat adds the dollarFormat to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDollarOrderby ¶
func (o *ShipDomesticOperatorParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticOperatorParams
WithDollarOrderby adds the dollarOrderby to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDollarSelect ¶
func (o *ShipDomesticOperatorParams) WithDollarSelect(dollarSelect *string) *ShipDomesticOperatorParams
WithDollarSelect adds the dollarSelect to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDollarSkip ¶
func (o *ShipDomesticOperatorParams) WithDollarSkip(dollarSkip *string) *ShipDomesticOperatorParams
WithDollarSkip adds the dollarSkip to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithDollarTop ¶
func (o *ShipDomesticOperatorParams) WithDollarTop(dollarTop *int64) *ShipDomesticOperatorParams
WithDollarTop adds the dollarTop to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithHTTPClient ¶
func (o *ShipDomesticOperatorParams) WithHTTPClient(client *http.Client) *ShipDomesticOperatorParams
WithHTTPClient adds the HTTPClient to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithHealth ¶
func (o *ShipDomesticOperatorParams) WithHealth(health *string) *ShipDomesticOperatorParams
WithHealth adds the health to the ship domestic operator params
func (*ShipDomesticOperatorParams) WithTimeout ¶
func (o *ShipDomesticOperatorParams) WithTimeout(timeout time.Duration) *ShipDomesticOperatorParams
WithTimeout adds the timeout to the ship domestic operator params
func (*ShipDomesticOperatorParams) WriteToRequest ¶
func (o *ShipDomesticOperatorParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticOperatorReader ¶
type ShipDomesticOperatorReader struct {
// contains filtered or unexported fields
}
ShipDomesticOperatorReader is a Reader for the ShipDomesticOperator structure.
func (*ShipDomesticOperatorReader) ReadResponse ¶
func (o *ShipDomesticOperatorReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticOperatorStatus299 ¶
type ShipDomesticOperatorStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticOperatorStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticOperatorStatus299 ¶
func NewShipDomesticOperatorStatus299() *ShipDomesticOperatorStatus299
NewShipDomesticOperatorStatus299 creates a ShipDomesticOperatorStatus299 with default headers values
func (*ShipDomesticOperatorStatus299) Error ¶
func (o *ShipDomesticOperatorStatus299) Error() string
func (*ShipDomesticOperatorStatus299) GetPayload ¶
func (o *ShipDomesticOperatorStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticRouteNotModified ¶
type ShipDomesticRouteNotModified struct { }
ShipDomesticRouteNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticRouteNotModified ¶
func NewShipDomesticRouteNotModified() *ShipDomesticRouteNotModified
NewShipDomesticRouteNotModified creates a ShipDomesticRouteNotModified with default headers values
func (*ShipDomesticRouteNotModified) Error ¶
func (o *ShipDomesticRouteNotModified) Error() string
type ShipDomesticRouteOK ¶
type ShipDomesticRouteOK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route
}
ShipDomesticRouteOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticRouteOK ¶
func NewShipDomesticRouteOK() *ShipDomesticRouteOK
NewShipDomesticRouteOK creates a ShipDomesticRouteOK with default headers values
func (*ShipDomesticRouteOK) Error ¶
func (o *ShipDomesticRouteOK) Error() string
func (*ShipDomesticRouteOK) GetPayload ¶
func (o *ShipDomesticRouteOK) GetPayload() *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Route
type ShipDomesticRouteParams ¶
type ShipDomesticRouteParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticRouteParams contains all the parameters to send to the API endpoint
for the ship domestic route operation. Typically these are written to a http.Request.
func NewShipDomesticRouteParams ¶
func NewShipDomesticRouteParams() *ShipDomesticRouteParams
NewShipDomesticRouteParams creates a new ShipDomesticRouteParams 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 NewShipDomesticRouteParamsWithContext ¶
func NewShipDomesticRouteParamsWithContext(ctx context.Context) *ShipDomesticRouteParams
NewShipDomesticRouteParamsWithContext creates a new ShipDomesticRouteParams object with the ability to set a context for a request.
func NewShipDomesticRouteParamsWithHTTPClient ¶
func NewShipDomesticRouteParamsWithHTTPClient(client *http.Client) *ShipDomesticRouteParams
NewShipDomesticRouteParamsWithHTTPClient creates a new ShipDomesticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticRouteParamsWithTimeout ¶
func NewShipDomesticRouteParamsWithTimeout(timeout time.Duration) *ShipDomesticRouteParams
NewShipDomesticRouteParamsWithTimeout creates a new ShipDomesticRouteParams object with the ability to set a timeout on a request.
func (*ShipDomesticRouteParams) SetCity ¶
func (o *ShipDomesticRouteParams) SetCity(city string)
SetCity adds the city to the ship domestic route params
func (*ShipDomesticRouteParams) SetContext ¶
func (o *ShipDomesticRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic route params
func (*ShipDomesticRouteParams) SetDefaults ¶
func (o *ShipDomesticRouteParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic route params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticRouteParams) SetDollarCount ¶
func (o *ShipDomesticRouteParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic route params
func (*ShipDomesticRouteParams) SetDollarFilter ¶
func (o *ShipDomesticRouteParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic route params
func (*ShipDomesticRouteParams) SetDollarFormat ¶
func (o *ShipDomesticRouteParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic route params
func (*ShipDomesticRouteParams) SetDollarOrderby ¶
func (o *ShipDomesticRouteParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic route params
func (*ShipDomesticRouteParams) SetDollarSelect ¶
func (o *ShipDomesticRouteParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic route params
func (*ShipDomesticRouteParams) SetDollarSkip ¶
func (o *ShipDomesticRouteParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic route params
func (*ShipDomesticRouteParams) SetDollarTop ¶
func (o *ShipDomesticRouteParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic route params
func (*ShipDomesticRouteParams) SetHTTPClient ¶
func (o *ShipDomesticRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic route params
func (*ShipDomesticRouteParams) SetHealth ¶
func (o *ShipDomesticRouteParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic route params
func (*ShipDomesticRouteParams) SetTimeout ¶
func (o *ShipDomesticRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic route params
func (*ShipDomesticRouteParams) WithCity ¶
func (o *ShipDomesticRouteParams) WithCity(city string) *ShipDomesticRouteParams
WithCity adds the city to the ship domestic route params
func (*ShipDomesticRouteParams) WithContext ¶
func (o *ShipDomesticRouteParams) WithContext(ctx context.Context) *ShipDomesticRouteParams
WithContext adds the context to the ship domestic route params
func (*ShipDomesticRouteParams) WithDefaults ¶
func (o *ShipDomesticRouteParams) WithDefaults() *ShipDomesticRouteParams
WithDefaults hydrates default values in the ship domestic route params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticRouteParams) WithDollarCount ¶
func (o *ShipDomesticRouteParams) WithDollarCount(dollarCount *bool) *ShipDomesticRouteParams
WithDollarCount adds the dollarCount to the ship domestic route params
func (*ShipDomesticRouteParams) WithDollarFilter ¶
func (o *ShipDomesticRouteParams) WithDollarFilter(dollarFilter *string) *ShipDomesticRouteParams
WithDollarFilter adds the dollarFilter to the ship domestic route params
func (*ShipDomesticRouteParams) WithDollarFormat ¶
func (o *ShipDomesticRouteParams) WithDollarFormat(dollarFormat string) *ShipDomesticRouteParams
WithDollarFormat adds the dollarFormat to the ship domestic route params
func (*ShipDomesticRouteParams) WithDollarOrderby ¶
func (o *ShipDomesticRouteParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticRouteParams
WithDollarOrderby adds the dollarOrderby to the ship domestic route params
func (*ShipDomesticRouteParams) WithDollarSelect ¶
func (o *ShipDomesticRouteParams) WithDollarSelect(dollarSelect *string) *ShipDomesticRouteParams
WithDollarSelect adds the dollarSelect to the ship domestic route params
func (*ShipDomesticRouteParams) WithDollarSkip ¶
func (o *ShipDomesticRouteParams) WithDollarSkip(dollarSkip *string) *ShipDomesticRouteParams
WithDollarSkip adds the dollarSkip to the ship domestic route params
func (*ShipDomesticRouteParams) WithDollarTop ¶
func (o *ShipDomesticRouteParams) WithDollarTop(dollarTop *int64) *ShipDomesticRouteParams
WithDollarTop adds the dollarTop to the ship domestic route params
func (*ShipDomesticRouteParams) WithHTTPClient ¶
func (o *ShipDomesticRouteParams) WithHTTPClient(client *http.Client) *ShipDomesticRouteParams
WithHTTPClient adds the HTTPClient to the ship domestic route params
func (*ShipDomesticRouteParams) WithHealth ¶
func (o *ShipDomesticRouteParams) WithHealth(health *string) *ShipDomesticRouteParams
WithHealth adds the health to the ship domestic route params
func (*ShipDomesticRouteParams) WithTimeout ¶
func (o *ShipDomesticRouteParams) WithTimeout(timeout time.Duration) *ShipDomesticRouteParams
WithTimeout adds the timeout to the ship domestic route params
func (*ShipDomesticRouteParams) WriteToRequest ¶
func (o *ShipDomesticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticRouteReader ¶
type ShipDomesticRouteReader struct {
// contains filtered or unexported fields
}
ShipDomesticRouteReader is a Reader for the ShipDomesticRoute structure.
func (*ShipDomesticRouteReader) ReadResponse ¶
func (o *ShipDomesticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticRouteStatus299 ¶
type ShipDomesticRouteStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticRouteStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticRouteStatus299 ¶
func NewShipDomesticRouteStatus299() *ShipDomesticRouteStatus299
NewShipDomesticRouteStatus299 creates a ShipDomesticRouteStatus299 with default headers values
func (*ShipDomesticRouteStatus299) Error ¶
func (o *ShipDomesticRouteStatus299) Error() string
func (*ShipDomesticRouteStatus299) GetPayload ¶
func (o *ShipDomesticRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticSpecificSchedule1NotModified ¶
type ShipDomesticSpecificSchedule1NotModified struct { }
ShipDomesticSpecificSchedule1NotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticSpecificSchedule1NotModified ¶
func NewShipDomesticSpecificSchedule1NotModified() *ShipDomesticSpecificSchedule1NotModified
NewShipDomesticSpecificSchedule1NotModified creates a ShipDomesticSpecificSchedule1NotModified with default headers values
func (*ShipDomesticSpecificSchedule1NotModified) Error ¶
func (o *ShipDomesticSpecificSchedule1NotModified) Error() string
type ShipDomesticSpecificSchedule1OK ¶
type ShipDomesticSpecificSchedule1OK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule
}
ShipDomesticSpecificSchedule1OK describes a response with status code 200, with default header values.
Success
func NewShipDomesticSpecificSchedule1OK ¶
func NewShipDomesticSpecificSchedule1OK() *ShipDomesticSpecificSchedule1OK
NewShipDomesticSpecificSchedule1OK creates a ShipDomesticSpecificSchedule1OK with default headers values
func (*ShipDomesticSpecificSchedule1OK) Error ¶
func (o *ShipDomesticSpecificSchedule1OK) Error() string
func (*ShipDomesticSpecificSchedule1OK) GetPayload ¶
type ShipDomesticSpecificSchedule1Params ¶
type ShipDomesticSpecificSchedule1Params struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* RouteID. 指定航運路線代碼 */ RouteID string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticSpecificSchedule1Params contains all the parameters to send to the API endpoint
for the ship domestic specific schedule 1 operation. Typically these are written to a http.Request.
func NewShipDomesticSpecificSchedule1Params ¶
func NewShipDomesticSpecificSchedule1Params() *ShipDomesticSpecificSchedule1Params
NewShipDomesticSpecificSchedule1Params creates a new ShipDomesticSpecificSchedule1Params 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 NewShipDomesticSpecificSchedule1ParamsWithContext ¶
func NewShipDomesticSpecificSchedule1ParamsWithContext(ctx context.Context) *ShipDomesticSpecificSchedule1Params
NewShipDomesticSpecificSchedule1ParamsWithContext creates a new ShipDomesticSpecificSchedule1Params object with the ability to set a context for a request.
func NewShipDomesticSpecificSchedule1ParamsWithHTTPClient ¶
func NewShipDomesticSpecificSchedule1ParamsWithHTTPClient(client *http.Client) *ShipDomesticSpecificSchedule1Params
NewShipDomesticSpecificSchedule1ParamsWithHTTPClient creates a new ShipDomesticSpecificSchedule1Params object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticSpecificSchedule1ParamsWithTimeout ¶
func NewShipDomesticSpecificSchedule1ParamsWithTimeout(timeout time.Duration) *ShipDomesticSpecificSchedule1Params
NewShipDomesticSpecificSchedule1ParamsWithTimeout creates a new ShipDomesticSpecificSchedule1Params object with the ability to set a timeout on a request.
func (*ShipDomesticSpecificSchedule1Params) SetCity ¶
func (o *ShipDomesticSpecificSchedule1Params) SetCity(city string)
SetCity adds the city to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetContext ¶
func (o *ShipDomesticSpecificSchedule1Params) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDefaults ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDefaults()
SetDefaults hydrates default values in the ship domestic specific schedule 1 params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticSpecificSchedule1Params) SetDollarCount ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDollarFilter ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDollarFormat ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDollarOrderby ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDollarSelect ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDollarSkip ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetDollarTop ¶
func (o *ShipDomesticSpecificSchedule1Params) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetHTTPClient ¶
func (o *ShipDomesticSpecificSchedule1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetHealth ¶
func (o *ShipDomesticSpecificSchedule1Params) SetHealth(health *string)
SetHealth adds the health to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetRouteID ¶
func (o *ShipDomesticSpecificSchedule1Params) SetRouteID(routeID string)
SetRouteID adds the routeId to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) SetTimeout ¶
func (o *ShipDomesticSpecificSchedule1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithCity ¶
func (o *ShipDomesticSpecificSchedule1Params) WithCity(city string) *ShipDomesticSpecificSchedule1Params
WithCity adds the city to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithContext ¶
func (o *ShipDomesticSpecificSchedule1Params) WithContext(ctx context.Context) *ShipDomesticSpecificSchedule1Params
WithContext adds the context to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDefaults ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDefaults() *ShipDomesticSpecificSchedule1Params
WithDefaults hydrates default values in the ship domestic specific schedule 1 params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticSpecificSchedule1Params) WithDollarCount ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarCount(dollarCount *bool) *ShipDomesticSpecificSchedule1Params
WithDollarCount adds the dollarCount to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDollarFilter ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarFilter(dollarFilter *string) *ShipDomesticSpecificSchedule1Params
WithDollarFilter adds the dollarFilter to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDollarFormat ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarFormat(dollarFormat string) *ShipDomesticSpecificSchedule1Params
WithDollarFormat adds the dollarFormat to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDollarOrderby ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarOrderby(dollarOrderby *string) *ShipDomesticSpecificSchedule1Params
WithDollarOrderby adds the dollarOrderby to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDollarSelect ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarSelect(dollarSelect *string) *ShipDomesticSpecificSchedule1Params
WithDollarSelect adds the dollarSelect to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDollarSkip ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarSkip(dollarSkip *string) *ShipDomesticSpecificSchedule1Params
WithDollarSkip adds the dollarSkip to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithDollarTop ¶
func (o *ShipDomesticSpecificSchedule1Params) WithDollarTop(dollarTop *int64) *ShipDomesticSpecificSchedule1Params
WithDollarTop adds the dollarTop to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithHTTPClient ¶
func (o *ShipDomesticSpecificSchedule1Params) WithHTTPClient(client *http.Client) *ShipDomesticSpecificSchedule1Params
WithHTTPClient adds the HTTPClient to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithHealth ¶
func (o *ShipDomesticSpecificSchedule1Params) WithHealth(health *string) *ShipDomesticSpecificSchedule1Params
WithHealth adds the health to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithRouteID ¶
func (o *ShipDomesticSpecificSchedule1Params) WithRouteID(routeID string) *ShipDomesticSpecificSchedule1Params
WithRouteID adds the routeID to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WithTimeout ¶
func (o *ShipDomesticSpecificSchedule1Params) WithTimeout(timeout time.Duration) *ShipDomesticSpecificSchedule1Params
WithTimeout adds the timeout to the ship domestic specific schedule 1 params
func (*ShipDomesticSpecificSchedule1Params) WriteToRequest ¶
func (o *ShipDomesticSpecificSchedule1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticSpecificSchedule1Reader ¶
type ShipDomesticSpecificSchedule1Reader struct {
// contains filtered or unexported fields
}
ShipDomesticSpecificSchedule1Reader is a Reader for the ShipDomesticSpecificSchedule1 structure.
func (*ShipDomesticSpecificSchedule1Reader) ReadResponse ¶
func (o *ShipDomesticSpecificSchedule1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticSpecificSchedule1Status299 ¶
type ShipDomesticSpecificSchedule1Status299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticSpecificSchedule1Status299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticSpecificSchedule1Status299 ¶
func NewShipDomesticSpecificSchedule1Status299() *ShipDomesticSpecificSchedule1Status299
NewShipDomesticSpecificSchedule1Status299 creates a ShipDomesticSpecificSchedule1Status299 with default headers values
func (*ShipDomesticSpecificSchedule1Status299) Error ¶
func (o *ShipDomesticSpecificSchedule1Status299) Error() string
func (*ShipDomesticSpecificSchedule1Status299) GetPayload ¶
func (o *ShipDomesticSpecificSchedule1Status299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticSpecificScheduleNotModified ¶
type ShipDomesticSpecificScheduleNotModified struct { }
ShipDomesticSpecificScheduleNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticSpecificScheduleNotModified ¶
func NewShipDomesticSpecificScheduleNotModified() *ShipDomesticSpecificScheduleNotModified
NewShipDomesticSpecificScheduleNotModified creates a ShipDomesticSpecificScheduleNotModified with default headers values
func (*ShipDomesticSpecificScheduleNotModified) Error ¶
func (o *ShipDomesticSpecificScheduleNotModified) Error() string
type ShipDomesticSpecificScheduleOK ¶
type ShipDomesticSpecificScheduleOK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3SpecificSchedule
}
ShipDomesticSpecificScheduleOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticSpecificScheduleOK ¶
func NewShipDomesticSpecificScheduleOK() *ShipDomesticSpecificScheduleOK
NewShipDomesticSpecificScheduleOK creates a ShipDomesticSpecificScheduleOK with default headers values
func (*ShipDomesticSpecificScheduleOK) Error ¶
func (o *ShipDomesticSpecificScheduleOK) Error() string
func (*ShipDomesticSpecificScheduleOK) GetPayload ¶
type ShipDomesticSpecificScheduleParams ¶
type ShipDomesticSpecificScheduleParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticSpecificScheduleParams contains all the parameters to send to the API endpoint
for the ship domestic specific schedule operation. Typically these are written to a http.Request.
func NewShipDomesticSpecificScheduleParams ¶
func NewShipDomesticSpecificScheduleParams() *ShipDomesticSpecificScheduleParams
NewShipDomesticSpecificScheduleParams creates a new ShipDomesticSpecificScheduleParams 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 NewShipDomesticSpecificScheduleParamsWithContext ¶
func NewShipDomesticSpecificScheduleParamsWithContext(ctx context.Context) *ShipDomesticSpecificScheduleParams
NewShipDomesticSpecificScheduleParamsWithContext creates a new ShipDomesticSpecificScheduleParams object with the ability to set a context for a request.
func NewShipDomesticSpecificScheduleParamsWithHTTPClient ¶
func NewShipDomesticSpecificScheduleParamsWithHTTPClient(client *http.Client) *ShipDomesticSpecificScheduleParams
NewShipDomesticSpecificScheduleParamsWithHTTPClient creates a new ShipDomesticSpecificScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticSpecificScheduleParamsWithTimeout ¶
func NewShipDomesticSpecificScheduleParamsWithTimeout(timeout time.Duration) *ShipDomesticSpecificScheduleParams
NewShipDomesticSpecificScheduleParamsWithTimeout creates a new ShipDomesticSpecificScheduleParams object with the ability to set a timeout on a request.
func (*ShipDomesticSpecificScheduleParams) SetCity ¶
func (o *ShipDomesticSpecificScheduleParams) SetCity(city string)
SetCity adds the city to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetContext ¶
func (o *ShipDomesticSpecificScheduleParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDefaults ¶
func (o *ShipDomesticSpecificScheduleParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic specific schedule params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticSpecificScheduleParams) SetDollarCount ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDollarFilter ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDollarFormat ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDollarOrderby ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDollarSelect ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDollarSkip ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetDollarTop ¶
func (o *ShipDomesticSpecificScheduleParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetHTTPClient ¶
func (o *ShipDomesticSpecificScheduleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetHealth ¶
func (o *ShipDomesticSpecificScheduleParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) SetTimeout ¶
func (o *ShipDomesticSpecificScheduleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithCity ¶
func (o *ShipDomesticSpecificScheduleParams) WithCity(city string) *ShipDomesticSpecificScheduleParams
WithCity adds the city to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithContext ¶
func (o *ShipDomesticSpecificScheduleParams) WithContext(ctx context.Context) *ShipDomesticSpecificScheduleParams
WithContext adds the context to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDefaults ¶
func (o *ShipDomesticSpecificScheduleParams) WithDefaults() *ShipDomesticSpecificScheduleParams
WithDefaults hydrates default values in the ship domestic specific schedule params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticSpecificScheduleParams) WithDollarCount ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarCount(dollarCount *bool) *ShipDomesticSpecificScheduleParams
WithDollarCount adds the dollarCount to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDollarFilter ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarFilter(dollarFilter *string) *ShipDomesticSpecificScheduleParams
WithDollarFilter adds the dollarFilter to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDollarFormat ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarFormat(dollarFormat string) *ShipDomesticSpecificScheduleParams
WithDollarFormat adds the dollarFormat to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDollarOrderby ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticSpecificScheduleParams
WithDollarOrderby adds the dollarOrderby to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDollarSelect ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarSelect(dollarSelect *string) *ShipDomesticSpecificScheduleParams
WithDollarSelect adds the dollarSelect to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDollarSkip ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarSkip(dollarSkip *string) *ShipDomesticSpecificScheduleParams
WithDollarSkip adds the dollarSkip to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithDollarTop ¶
func (o *ShipDomesticSpecificScheduleParams) WithDollarTop(dollarTop *int64) *ShipDomesticSpecificScheduleParams
WithDollarTop adds the dollarTop to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithHTTPClient ¶
func (o *ShipDomesticSpecificScheduleParams) WithHTTPClient(client *http.Client) *ShipDomesticSpecificScheduleParams
WithHTTPClient adds the HTTPClient to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithHealth ¶
func (o *ShipDomesticSpecificScheduleParams) WithHealth(health *string) *ShipDomesticSpecificScheduleParams
WithHealth adds the health to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WithTimeout ¶
func (o *ShipDomesticSpecificScheduleParams) WithTimeout(timeout time.Duration) *ShipDomesticSpecificScheduleParams
WithTimeout adds the timeout to the ship domestic specific schedule params
func (*ShipDomesticSpecificScheduleParams) WriteToRequest ¶
func (o *ShipDomesticSpecificScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticSpecificScheduleReader ¶
type ShipDomesticSpecificScheduleReader struct {
// contains filtered or unexported fields
}
ShipDomesticSpecificScheduleReader is a Reader for the ShipDomesticSpecificSchedule structure.
func (*ShipDomesticSpecificScheduleReader) ReadResponse ¶
func (o *ShipDomesticSpecificScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticSpecificScheduleStatus299 ¶
type ShipDomesticSpecificScheduleStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticSpecificScheduleStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticSpecificScheduleStatus299 ¶
func NewShipDomesticSpecificScheduleStatus299() *ShipDomesticSpecificScheduleStatus299
NewShipDomesticSpecificScheduleStatus299 creates a ShipDomesticSpecificScheduleStatus299 with default headers values
func (*ShipDomesticSpecificScheduleStatus299) Error ¶
func (o *ShipDomesticSpecificScheduleStatus299) Error() string
func (*ShipDomesticSpecificScheduleStatus299) GetPayload ¶
func (o *ShipDomesticSpecificScheduleStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticStopOfRouteNotModified ¶
type ShipDomesticStopOfRouteNotModified struct { }
ShipDomesticStopOfRouteNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticStopOfRouteNotModified ¶
func NewShipDomesticStopOfRouteNotModified() *ShipDomesticStopOfRouteNotModified
NewShipDomesticStopOfRouteNotModified creates a ShipDomesticStopOfRouteNotModified with default headers values
func (*ShipDomesticStopOfRouteNotModified) Error ¶
func (o *ShipDomesticStopOfRouteNotModified) Error() string
type ShipDomesticStopOfRouteOK ¶
type ShipDomesticStopOfRouteOK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute
}
ShipDomesticStopOfRouteOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticStopOfRouteOK ¶
func NewShipDomesticStopOfRouteOK() *ShipDomesticStopOfRouteOK
NewShipDomesticStopOfRouteOK creates a ShipDomesticStopOfRouteOK with default headers values
func (*ShipDomesticStopOfRouteOK) Error ¶
func (o *ShipDomesticStopOfRouteOK) Error() string
func (*ShipDomesticStopOfRouteOK) GetPayload ¶
func (o *ShipDomesticStopOfRouteOK) GetPayload() *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3StopOfRoute
type ShipDomesticStopOfRouteParams ¶
type ShipDomesticStopOfRouteParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticStopOfRouteParams contains all the parameters to send to the API endpoint
for the ship domestic stop of route operation. Typically these are written to a http.Request.
func NewShipDomesticStopOfRouteParams ¶
func NewShipDomesticStopOfRouteParams() *ShipDomesticStopOfRouteParams
NewShipDomesticStopOfRouteParams creates a new ShipDomesticStopOfRouteParams 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 NewShipDomesticStopOfRouteParamsWithContext ¶
func NewShipDomesticStopOfRouteParamsWithContext(ctx context.Context) *ShipDomesticStopOfRouteParams
NewShipDomesticStopOfRouteParamsWithContext creates a new ShipDomesticStopOfRouteParams object with the ability to set a context for a request.
func NewShipDomesticStopOfRouteParamsWithHTTPClient ¶
func NewShipDomesticStopOfRouteParamsWithHTTPClient(client *http.Client) *ShipDomesticStopOfRouteParams
NewShipDomesticStopOfRouteParamsWithHTTPClient creates a new ShipDomesticStopOfRouteParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticStopOfRouteParamsWithTimeout ¶
func NewShipDomesticStopOfRouteParamsWithTimeout(timeout time.Duration) *ShipDomesticStopOfRouteParams
NewShipDomesticStopOfRouteParamsWithTimeout creates a new ShipDomesticStopOfRouteParams object with the ability to set a timeout on a request.
func (*ShipDomesticStopOfRouteParams) SetCity ¶
func (o *ShipDomesticStopOfRouteParams) SetCity(city string)
SetCity adds the city to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetContext ¶
func (o *ShipDomesticStopOfRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDefaults ¶
func (o *ShipDomesticStopOfRouteParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic stop of route params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticStopOfRouteParams) SetDollarCount ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDollarFilter ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDollarFormat ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDollarOrderby ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDollarSelect ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDollarSkip ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetDollarTop ¶
func (o *ShipDomesticStopOfRouteParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetHTTPClient ¶
func (o *ShipDomesticStopOfRouteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetHealth ¶
func (o *ShipDomesticStopOfRouteParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) SetTimeout ¶
func (o *ShipDomesticStopOfRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithCity ¶
func (o *ShipDomesticStopOfRouteParams) WithCity(city string) *ShipDomesticStopOfRouteParams
WithCity adds the city to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithContext ¶
func (o *ShipDomesticStopOfRouteParams) WithContext(ctx context.Context) *ShipDomesticStopOfRouteParams
WithContext adds the context to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDefaults ¶
func (o *ShipDomesticStopOfRouteParams) WithDefaults() *ShipDomesticStopOfRouteParams
WithDefaults hydrates default values in the ship domestic stop of route params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticStopOfRouteParams) WithDollarCount ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarCount(dollarCount *bool) *ShipDomesticStopOfRouteParams
WithDollarCount adds the dollarCount to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDollarFilter ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarFilter(dollarFilter *string) *ShipDomesticStopOfRouteParams
WithDollarFilter adds the dollarFilter to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDollarFormat ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarFormat(dollarFormat string) *ShipDomesticStopOfRouteParams
WithDollarFormat adds the dollarFormat to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDollarOrderby ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticStopOfRouteParams
WithDollarOrderby adds the dollarOrderby to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDollarSelect ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarSelect(dollarSelect *string) *ShipDomesticStopOfRouteParams
WithDollarSelect adds the dollarSelect to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDollarSkip ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarSkip(dollarSkip *string) *ShipDomesticStopOfRouteParams
WithDollarSkip adds the dollarSkip to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithDollarTop ¶
func (o *ShipDomesticStopOfRouteParams) WithDollarTop(dollarTop *int64) *ShipDomesticStopOfRouteParams
WithDollarTop adds the dollarTop to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithHTTPClient ¶
func (o *ShipDomesticStopOfRouteParams) WithHTTPClient(client *http.Client) *ShipDomesticStopOfRouteParams
WithHTTPClient adds the HTTPClient to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithHealth ¶
func (o *ShipDomesticStopOfRouteParams) WithHealth(health *string) *ShipDomesticStopOfRouteParams
WithHealth adds the health to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WithTimeout ¶
func (o *ShipDomesticStopOfRouteParams) WithTimeout(timeout time.Duration) *ShipDomesticStopOfRouteParams
WithTimeout adds the timeout to the ship domestic stop of route params
func (*ShipDomesticStopOfRouteParams) WriteToRequest ¶
func (o *ShipDomesticStopOfRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticStopOfRouteReader ¶
type ShipDomesticStopOfRouteReader struct {
// contains filtered or unexported fields
}
ShipDomesticStopOfRouteReader is a Reader for the ShipDomesticStopOfRoute structure.
func (*ShipDomesticStopOfRouteReader) ReadResponse ¶
func (o *ShipDomesticStopOfRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticStopOfRouteStatus299 ¶
type ShipDomesticStopOfRouteStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticStopOfRouteStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticStopOfRouteStatus299 ¶
func NewShipDomesticStopOfRouteStatus299() *ShipDomesticStopOfRouteStatus299
NewShipDomesticStopOfRouteStatus299 creates a ShipDomesticStopOfRouteStatus299 with default headers values
func (*ShipDomesticStopOfRouteStatus299) Error ¶
func (o *ShipDomesticStopOfRouteStatus299) Error() string
func (*ShipDomesticStopOfRouteStatus299) GetPayload ¶
func (o *ShipDomesticStopOfRouteStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
type ShipDomesticVesselNotModified ¶
type ShipDomesticVesselNotModified struct { }
ShipDomesticVesselNotModified describes a response with status code 304, with default header values.
服務端會在Response加上Last-Modified header,表示最近的更新時間。客戶端能利用此時間,於Request加上If-Modified-Since header,若沒有更新,服務端會回應304 StatusCode且空值Content
func NewShipDomesticVesselNotModified ¶
func NewShipDomesticVesselNotModified() *ShipDomesticVesselNotModified
NewShipDomesticVesselNotModified creates a ShipDomesticVesselNotModified with default headers values
func (*ShipDomesticVesselNotModified) Error ¶
func (o *ShipDomesticVesselNotModified) Error() string
type ShipDomesticVesselOK ¶
type ShipDomesticVesselOK struct {
Payload *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel
}
ShipDomesticVesselOK describes a response with status code 200, with default header values.
Success
func NewShipDomesticVesselOK ¶
func NewShipDomesticVesselOK() *ShipDomesticVesselOK
NewShipDomesticVesselOK creates a ShipDomesticVesselOK with default headers values
func (*ShipDomesticVesselOK) Error ¶
func (o *ShipDomesticVesselOK) Error() string
func (*ShipDomesticVesselOK) GetPayload ¶
func (o *ShipDomesticVesselOK) GetPayload() *models.PTXAPIShipModelShipWrapperPTXServiceDTOShipSpecificationV3Vessel
type ShipDomesticVesselParams ¶
type ShipDomesticVesselParams struct { /* DollarCount. 查詢數量 */ DollarCount *bool /* DollarFilter. 過濾 */ DollarFilter *string /* DollarFormat. 指定來源格式 */ DollarFormat string /* DollarOrderby. 排序 */ DollarOrderby *string /* DollarSelect. 挑選 */ DollarSelect *string /* DollarSkip. 跳過前幾筆 */ DollarSkip *string /* DollarTop. 取前幾筆 Default: 30 */ DollarTop *int64 // City. City string /* Health. 加入參數'?health=true'即可查詢此API服務的健康狀態 */ Health *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShipDomesticVesselParams contains all the parameters to send to the API endpoint
for the ship domestic vessel operation. Typically these are written to a http.Request.
func NewShipDomesticVesselParams ¶
func NewShipDomesticVesselParams() *ShipDomesticVesselParams
NewShipDomesticVesselParams creates a new ShipDomesticVesselParams 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 NewShipDomesticVesselParamsWithContext ¶
func NewShipDomesticVesselParamsWithContext(ctx context.Context) *ShipDomesticVesselParams
NewShipDomesticVesselParamsWithContext creates a new ShipDomesticVesselParams object with the ability to set a context for a request.
func NewShipDomesticVesselParamsWithHTTPClient ¶
func NewShipDomesticVesselParamsWithHTTPClient(client *http.Client) *ShipDomesticVesselParams
NewShipDomesticVesselParamsWithHTTPClient creates a new ShipDomesticVesselParams object with the ability to set a custom HTTPClient for a request.
func NewShipDomesticVesselParamsWithTimeout ¶
func NewShipDomesticVesselParamsWithTimeout(timeout time.Duration) *ShipDomesticVesselParams
NewShipDomesticVesselParamsWithTimeout creates a new ShipDomesticVesselParams object with the ability to set a timeout on a request.
func (*ShipDomesticVesselParams) SetCity ¶
func (o *ShipDomesticVesselParams) SetCity(city string)
SetCity adds the city to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetContext ¶
func (o *ShipDomesticVesselParams) SetContext(ctx context.Context)
SetContext adds the context to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDefaults ¶
func (o *ShipDomesticVesselParams) SetDefaults()
SetDefaults hydrates default values in the ship domestic vessel params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticVesselParams) SetDollarCount ¶
func (o *ShipDomesticVesselParams) SetDollarCount(dollarCount *bool)
SetDollarCount adds the dollarCount to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDollarFilter ¶
func (o *ShipDomesticVesselParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDollarFormat ¶
func (o *ShipDomesticVesselParams) SetDollarFormat(dollarFormat string)
SetDollarFormat adds the dollarFormat to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDollarOrderby ¶
func (o *ShipDomesticVesselParams) SetDollarOrderby(dollarOrderby *string)
SetDollarOrderby adds the dollarOrderby to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDollarSelect ¶
func (o *ShipDomesticVesselParams) SetDollarSelect(dollarSelect *string)
SetDollarSelect adds the dollarSelect to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDollarSkip ¶
func (o *ShipDomesticVesselParams) SetDollarSkip(dollarSkip *string)
SetDollarSkip adds the dollarSkip to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetDollarTop ¶
func (o *ShipDomesticVesselParams) SetDollarTop(dollarTop *int64)
SetDollarTop adds the dollarTop to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetHTTPClient ¶
func (o *ShipDomesticVesselParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetHealth ¶
func (o *ShipDomesticVesselParams) SetHealth(health *string)
SetHealth adds the health to the ship domestic vessel params
func (*ShipDomesticVesselParams) SetTimeout ¶
func (o *ShipDomesticVesselParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithCity ¶
func (o *ShipDomesticVesselParams) WithCity(city string) *ShipDomesticVesselParams
WithCity adds the city to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithContext ¶
func (o *ShipDomesticVesselParams) WithContext(ctx context.Context) *ShipDomesticVesselParams
WithContext adds the context to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDefaults ¶
func (o *ShipDomesticVesselParams) WithDefaults() *ShipDomesticVesselParams
WithDefaults hydrates default values in the ship domestic vessel params (not the query body).
All values with no default are reset to their zero value.
func (*ShipDomesticVesselParams) WithDollarCount ¶
func (o *ShipDomesticVesselParams) WithDollarCount(dollarCount *bool) *ShipDomesticVesselParams
WithDollarCount adds the dollarCount to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDollarFilter ¶
func (o *ShipDomesticVesselParams) WithDollarFilter(dollarFilter *string) *ShipDomesticVesselParams
WithDollarFilter adds the dollarFilter to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDollarFormat ¶
func (o *ShipDomesticVesselParams) WithDollarFormat(dollarFormat string) *ShipDomesticVesselParams
WithDollarFormat adds the dollarFormat to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDollarOrderby ¶
func (o *ShipDomesticVesselParams) WithDollarOrderby(dollarOrderby *string) *ShipDomesticVesselParams
WithDollarOrderby adds the dollarOrderby to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDollarSelect ¶
func (o *ShipDomesticVesselParams) WithDollarSelect(dollarSelect *string) *ShipDomesticVesselParams
WithDollarSelect adds the dollarSelect to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDollarSkip ¶
func (o *ShipDomesticVesselParams) WithDollarSkip(dollarSkip *string) *ShipDomesticVesselParams
WithDollarSkip adds the dollarSkip to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithDollarTop ¶
func (o *ShipDomesticVesselParams) WithDollarTop(dollarTop *int64) *ShipDomesticVesselParams
WithDollarTop adds the dollarTop to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithHTTPClient ¶
func (o *ShipDomesticVesselParams) WithHTTPClient(client *http.Client) *ShipDomesticVesselParams
WithHTTPClient adds the HTTPClient to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithHealth ¶
func (o *ShipDomesticVesselParams) WithHealth(health *string) *ShipDomesticVesselParams
WithHealth adds the health to the ship domestic vessel params
func (*ShipDomesticVesselParams) WithTimeout ¶
func (o *ShipDomesticVesselParams) WithTimeout(timeout time.Duration) *ShipDomesticVesselParams
WithTimeout adds the timeout to the ship domestic vessel params
func (*ShipDomesticVesselParams) WriteToRequest ¶
func (o *ShipDomesticVesselParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShipDomesticVesselReader ¶
type ShipDomesticVesselReader struct {
// contains filtered or unexported fields
}
ShipDomesticVesselReader is a Reader for the ShipDomesticVessel structure.
func (*ShipDomesticVesselReader) ReadResponse ¶
func (o *ShipDomesticVesselReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShipDomesticVesselStatus299 ¶
type ShipDomesticVesselStatus299 struct {
Payload *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
}
ShipDomesticVesselStatus299 describes a response with status code 299, with default header values.
加入參數'?health=true'即可查詢此API服務的健康狀態
func NewShipDomesticVesselStatus299 ¶
func NewShipDomesticVesselStatus299() *ShipDomesticVesselStatus299
NewShipDomesticVesselStatus299 creates a ShipDomesticVesselStatus299 with default headers values
func (*ShipDomesticVesselStatus299) Error ¶
func (o *ShipDomesticVesselStatus299) Error() string
func (*ShipDomesticVesselStatus299) GetPayload ¶
func (o *ShipDomesticVesselStatus299) GetPayload() *models.PTXServiceDTOSharedSpecificationV3BaseDisplayHealth
Source Files ¶
- domestic_ship_client.go
- ship_domestic_alert_parameters.go
- ship_domestic_alert_responses.go
- ship_domestic_daily_schedule1_parameters.go
- ship_domestic_daily_schedule1_responses.go
- ship_domestic_daily_schedule_parameters.go
- ship_domestic_daily_schedule_responses.go
- ship_domestic_news_parameters.go
- ship_domestic_news_responses.go
- ship_domestic_operator_parameters.go
- ship_domestic_operator_responses.go
- ship_domestic_route_parameters.go
- ship_domestic_route_responses.go
- ship_domestic_specific_schedule1_parameters.go
- ship_domestic_specific_schedule1_responses.go
- ship_domestic_specific_schedule_parameters.go
- ship_domestic_specific_schedule_responses.go
- ship_domestic_stop_of_route_parameters.go
- ship_domestic_stop_of_route_responses.go
- ship_domestic_vessel_parameters.go
- ship_domestic_vessel_responses.go