rail_basic

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for rail basic API

func (*Client) RailAPIOperator

func (a *Client) RailAPIOperator(params *RailAPIOperatorParams) (*RailAPIOperatorOK, error)

RailAPIOperator 取得軌道營運業者資料s

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService added in v0.5.0

type ClientService interface {
	RailAPIOperator(params *RailAPIOperatorParams) (*RailAPIOperatorOK, 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 rail basic API client.

type RailAPIOperatorOK

type RailAPIOperatorOK struct {
	Payload []*models.PTXServiceDTOSharedSpecificationV2BaseOperator
}

RailAPIOperatorOK handles this case with default header values.

Success

func NewRailAPIOperatorOK

func NewRailAPIOperatorOK() *RailAPIOperatorOK

NewRailAPIOperatorOK creates a RailAPIOperatorOK with default headers values

func (*RailAPIOperatorOK) Error

func (o *RailAPIOperatorOK) Error() string

func (*RailAPIOperatorOK) GetPayload

type RailAPIOperatorParams

type RailAPIOperatorParams struct {

	/*DollarFilter
	  過濾

	*/
	DollarFilter *string
	/*DollarFormat
	  指定來源格式

	*/
	DollarFormat string
	/*DollarOrderby
	  排序

	*/
	DollarOrderby *string
	/*DollarSelect
	  挑選

	*/
	DollarSelect *string
	/*DollarSkip
	  跳過前幾筆

	*/
	DollarSkip *string
	/*DollarTop
	  取前幾筆

	*/
	DollarTop *int64

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

RailAPIOperatorParams contains all the parameters to send to the API endpoint for the rail Api operator operation typically these are written to a http.Request

func NewRailAPIOperatorParams

func NewRailAPIOperatorParams() *RailAPIOperatorParams

NewRailAPIOperatorParams creates a new RailAPIOperatorParams object with the default values initialized.

func NewRailAPIOperatorParamsWithContext

func NewRailAPIOperatorParamsWithContext(ctx context.Context) *RailAPIOperatorParams

NewRailAPIOperatorParamsWithContext creates a new RailAPIOperatorParams object with the default values initialized, and the ability to set a context for a request

func NewRailAPIOperatorParamsWithHTTPClient

func NewRailAPIOperatorParamsWithHTTPClient(client *http.Client) *RailAPIOperatorParams

NewRailAPIOperatorParamsWithHTTPClient creates a new RailAPIOperatorParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRailAPIOperatorParamsWithTimeout

func NewRailAPIOperatorParamsWithTimeout(timeout time.Duration) *RailAPIOperatorParams

NewRailAPIOperatorParamsWithTimeout creates a new RailAPIOperatorParams object with the default values initialized, and the ability to set a timeout on a request

func (*RailAPIOperatorParams) SetContext

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

SetContext adds the context to the rail Api operator params

func (*RailAPIOperatorParams) SetDollarFilter

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

SetDollarFilter adds the dollarFilter to the rail Api operator params

func (*RailAPIOperatorParams) SetDollarFormat

func (o *RailAPIOperatorParams) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the rail Api operator params

func (*RailAPIOperatorParams) SetDollarOrderby

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

SetDollarOrderby adds the dollarOrderby to the rail Api operator params

func (*RailAPIOperatorParams) SetDollarSelect

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

SetDollarSelect adds the dollarSelect to the rail Api operator params

func (*RailAPIOperatorParams) SetDollarSkip

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

SetDollarSkip adds the dollarSkip to the rail Api operator params

func (*RailAPIOperatorParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the rail Api operator params

func (*RailAPIOperatorParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rail Api operator params

func (*RailAPIOperatorParams) SetTimeout

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

SetTimeout adds the timeout to the rail Api operator params

func (*RailAPIOperatorParams) WithContext

WithContext adds the context to the rail Api operator params

func (*RailAPIOperatorParams) WithDollarFilter

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

WithDollarFilter adds the dollarFilter to the rail Api operator params

func (*RailAPIOperatorParams) WithDollarFormat

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

WithDollarFormat adds the dollarFormat to the rail Api operator params

func (*RailAPIOperatorParams) WithDollarOrderby

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

WithDollarOrderby adds the dollarOrderby to the rail Api operator params

func (*RailAPIOperatorParams) WithDollarSelect

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

WithDollarSelect adds the dollarSelect to the rail Api operator params

func (*RailAPIOperatorParams) WithDollarSkip

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

WithDollarSkip adds the dollarSkip to the rail Api operator params

func (*RailAPIOperatorParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the rail Api operator params

func (*RailAPIOperatorParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the rail Api operator params

func (*RailAPIOperatorParams) WithTimeout

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

WithTimeout adds the timeout to the rail Api operator params

func (*RailAPIOperatorParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RailAPIOperatorReader

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

RailAPIOperatorReader is a Reader for the RailAPIOperator structure.

func (*RailAPIOperatorReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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