basic

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAPIAuthority2160NotModified added in v0.15.0

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

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

func NewBasicAPIAuthority2160NotModified added in v0.15.0

func NewBasicAPIAuthority2160NotModified() *BasicAPIAuthority2160NotModified

NewBasicAPIAuthority2160NotModified creates a BasicAPIAuthority2160NotModified with default headers values

func (*BasicAPIAuthority2160NotModified) Error added in v0.15.0

type BasicAPIAuthority2160OK added in v0.15.0

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

Success

func NewBasicAPIAuthority2160OK added in v0.15.0

func NewBasicAPIAuthority2160OK() *BasicAPIAuthority2160OK

NewBasicAPIAuthority2160OK creates a BasicAPIAuthority2160OK with default headers values

func (*BasicAPIAuthority2160OK) Error added in v0.15.0

func (o *BasicAPIAuthority2160OK) Error() string

func (*BasicAPIAuthority2160OK) GetPayload added in v0.15.0

type BasicAPIAuthority2160Params added in v0.15.0

type BasicAPIAuthority2160Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

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

BasicAPIAuthority2160Params contains all the parameters to send to the API endpoint

for the basic Api authority 2160 operation.

Typically these are written to a http.Request.

func NewBasicAPIAuthority2160Params added in v0.15.0

func NewBasicAPIAuthority2160Params() *BasicAPIAuthority2160Params

NewBasicAPIAuthority2160Params creates a new BasicAPIAuthority2160Params 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 NewBasicAPIAuthority2160ParamsWithContext added in v0.15.0

func NewBasicAPIAuthority2160ParamsWithContext(ctx context.Context) *BasicAPIAuthority2160Params

NewBasicAPIAuthority2160ParamsWithContext creates a new BasicAPIAuthority2160Params object with the ability to set a context for a request.

func NewBasicAPIAuthority2160ParamsWithHTTPClient added in v0.15.0

func NewBasicAPIAuthority2160ParamsWithHTTPClient(client *http.Client) *BasicAPIAuthority2160Params

NewBasicAPIAuthority2160ParamsWithHTTPClient creates a new BasicAPIAuthority2160Params object with the ability to set a custom HTTPClient for a request.

func NewBasicAPIAuthority2160ParamsWithTimeout added in v0.15.0

func NewBasicAPIAuthority2160ParamsWithTimeout(timeout time.Duration) *BasicAPIAuthority2160Params

NewBasicAPIAuthority2160ParamsWithTimeout creates a new BasicAPIAuthority2160Params object with the ability to set a timeout on a request.

func (*BasicAPIAuthority2160Params) SetContext added in v0.15.0

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

SetContext adds the context to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetDefaults added in v0.15.0

func (o *BasicAPIAuthority2160Params) SetDefaults()

SetDefaults hydrates default values in the basic Api authority 2160 params (not the query body).

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

func (*BasicAPIAuthority2160Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetDollarFormat added in v0.15.0

func (o *BasicAPIAuthority2160Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithContext added in v0.15.0

WithContext adds the context to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the basic Api authority 2160 params (not the query body).

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

func (*BasicAPIAuthority2160Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the basic Api authority 2160 params

func (*BasicAPIAuthority2160Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type BasicAPIAuthority2160Reader added in v0.15.0

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

BasicAPIAuthority2160Reader is a Reader for the BasicAPIAuthority2160 structure.

func (*BasicAPIAuthority2160Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type BasicAPIOperator2162NotModified added in v0.15.0

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

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

func NewBasicAPIOperator2162NotModified added in v0.15.0

func NewBasicAPIOperator2162NotModified() *BasicAPIOperator2162NotModified

NewBasicAPIOperator2162NotModified creates a BasicAPIOperator2162NotModified with default headers values

func (*BasicAPIOperator2162NotModified) Error added in v0.15.0

type BasicAPIOperator2162OK added in v0.15.0

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

Success

func NewBasicAPIOperator2162OK added in v0.15.0

func NewBasicAPIOperator2162OK() *BasicAPIOperator2162OK

NewBasicAPIOperator2162OK creates a BasicAPIOperator2162OK with default headers values

func (*BasicAPIOperator2162OK) Error added in v0.15.0

func (o *BasicAPIOperator2162OK) Error() string

func (*BasicAPIOperator2162OK) GetPayload added in v0.15.0

type BasicAPIOperator2162Params added in v0.15.0

type BasicAPIOperator2162Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

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

BasicAPIOperator2162Params contains all the parameters to send to the API endpoint

for the basic Api operator 2162 operation.

Typically these are written to a http.Request.

func NewBasicAPIOperator2162Params added in v0.15.0

func NewBasicAPIOperator2162Params() *BasicAPIOperator2162Params

NewBasicAPIOperator2162Params creates a new BasicAPIOperator2162Params 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 NewBasicAPIOperator2162ParamsWithContext added in v0.15.0

func NewBasicAPIOperator2162ParamsWithContext(ctx context.Context) *BasicAPIOperator2162Params

NewBasicAPIOperator2162ParamsWithContext creates a new BasicAPIOperator2162Params object with the ability to set a context for a request.

func NewBasicAPIOperator2162ParamsWithHTTPClient added in v0.15.0

func NewBasicAPIOperator2162ParamsWithHTTPClient(client *http.Client) *BasicAPIOperator2162Params

NewBasicAPIOperator2162ParamsWithHTTPClient creates a new BasicAPIOperator2162Params object with the ability to set a custom HTTPClient for a request.

func NewBasicAPIOperator2162ParamsWithTimeout added in v0.15.0

func NewBasicAPIOperator2162ParamsWithTimeout(timeout time.Duration) *BasicAPIOperator2162Params

NewBasicAPIOperator2162ParamsWithTimeout creates a new BasicAPIOperator2162Params object with the ability to set a timeout on a request.

func (*BasicAPIOperator2162Params) SetContext added in v0.15.0

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

SetContext adds the context to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetDefaults added in v0.15.0

func (o *BasicAPIOperator2162Params) SetDefaults()

SetDefaults hydrates default values in the basic Api operator 2162 params (not the query body).

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

func (*BasicAPIOperator2162Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetDollarFormat added in v0.15.0

func (o *BasicAPIOperator2162Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithContext added in v0.15.0

WithContext adds the context to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the basic Api operator 2162 params (not the query body).

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

func (*BasicAPIOperator2162Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the basic Api operator 2162 params

func (*BasicAPIOperator2162Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type BasicAPIOperator2162Reader added in v0.15.0

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

BasicAPIOperator2162Reader is a Reader for the BasicAPIOperator2162 structure.

func (*BasicAPIOperator2162Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type BasicAPIProvider2161NotModified added in v0.15.0

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

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

func NewBasicAPIProvider2161NotModified added in v0.15.0

func NewBasicAPIProvider2161NotModified() *BasicAPIProvider2161NotModified

NewBasicAPIProvider2161NotModified creates a BasicAPIProvider2161NotModified with default headers values

func (*BasicAPIProvider2161NotModified) Error added in v0.15.0

type BasicAPIProvider2161OK added in v0.15.0

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

Success

func NewBasicAPIProvider2161OK added in v0.15.0

func NewBasicAPIProvider2161OK() *BasicAPIProvider2161OK

NewBasicAPIProvider2161OK creates a BasicAPIProvider2161OK with default headers values

func (*BasicAPIProvider2161OK) Error added in v0.15.0

func (o *BasicAPIProvider2161OK) Error() string

func (*BasicAPIProvider2161OK) GetPayload added in v0.15.0

type BasicAPIProvider2161Params added in v0.15.0

type BasicAPIProvider2161Params struct {

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

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

BasicAPIProvider2161Params contains all the parameters to send to the API endpoint

for the basic Api provider 2161 operation.

Typically these are written to a http.Request.

func NewBasicAPIProvider2161Params added in v0.15.0

func NewBasicAPIProvider2161Params() *BasicAPIProvider2161Params

NewBasicAPIProvider2161Params creates a new BasicAPIProvider2161Params 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 NewBasicAPIProvider2161ParamsWithContext added in v0.15.0

func NewBasicAPIProvider2161ParamsWithContext(ctx context.Context) *BasicAPIProvider2161Params

NewBasicAPIProvider2161ParamsWithContext creates a new BasicAPIProvider2161Params object with the ability to set a context for a request.

func NewBasicAPIProvider2161ParamsWithHTTPClient added in v0.15.0

func NewBasicAPIProvider2161ParamsWithHTTPClient(client *http.Client) *BasicAPIProvider2161Params

NewBasicAPIProvider2161ParamsWithHTTPClient creates a new BasicAPIProvider2161Params object with the ability to set a custom HTTPClient for a request.

func NewBasicAPIProvider2161ParamsWithTimeout added in v0.15.0

func NewBasicAPIProvider2161ParamsWithTimeout(timeout time.Duration) *BasicAPIProvider2161Params

NewBasicAPIProvider2161ParamsWithTimeout creates a new BasicAPIProvider2161Params object with the ability to set a timeout on a request.

func (*BasicAPIProvider2161Params) SetContext added in v0.15.0

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

SetContext adds the context to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetDefaults added in v0.15.0

func (o *BasicAPIProvider2161Params) SetDefaults()

SetDefaults hydrates default values in the basic Api provider 2161 params (not the query body).

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

func (*BasicAPIProvider2161Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetDollarFormat added in v0.15.0

func (o *BasicAPIProvider2161Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithContext added in v0.15.0

WithContext adds the context to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the basic Api provider 2161 params (not the query body).

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

func (*BasicAPIProvider2161Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithHTTPClient added in v0.15.0

WithHTTPClient adds the HTTPClient to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the basic Api provider 2161 params

func (*BasicAPIProvider2161Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type BasicAPIProvider2161Reader added in v0.15.0

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

BasicAPIProvider2161Reader is a Reader for the BasicAPIProvider2161 structure.

func (*BasicAPIProvider2161Reader) ReadResponse added in v0.15.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for basic API

func (*Client) BasicAPIAuthority2160 added in v0.15.0

func (a *Client) BasicAPIAuthority2160(params *BasicAPIAuthority2160Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BasicAPIAuthority2160OK, error)

BasicAPIAuthority2160 取得業管機關資料s

func (*Client) BasicAPIOperator2162 added in v0.15.0

func (a *Client) BasicAPIOperator2162(params *BasicAPIOperator2162Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BasicAPIOperator2162OK, error)

BasicAPIOperator2162 取得營運業者資料s

func (*Client) BasicAPIProvider2161 added in v0.15.0

func (a *Client) BasicAPIProvider2161(params *BasicAPIProvider2161Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BasicAPIProvider2161OK, error)

BasicAPIProvider2161 取得資料提供平台資料s

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) WebSiteAPINews2163 added in v0.15.0

func (a *Client) WebSiteAPINews2163(params *WebSiteAPINews2163Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebSiteAPINews2163OK, error)

WebSiteAPINews2163 取得s p t x官網最新消息資料

type ClientOption added in v0.11.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.5.0

type ClientService interface {
	BasicAPIAuthority2160(params *BasicAPIAuthority2160Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BasicAPIAuthority2160OK, error)

	BasicAPIOperator2162(params *BasicAPIOperator2162Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BasicAPIOperator2162OK, error)

	BasicAPIProvider2161(params *BasicAPIProvider2161Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BasicAPIProvider2161OK, error)

	WebSiteAPINews2163(params *WebSiteAPINews2163Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*WebSiteAPINews2163OK, 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 basic API client.

type WebSiteAPINews2163NotModified added in v0.15.0

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

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

func NewWebSiteAPINews2163NotModified added in v0.15.0

func NewWebSiteAPINews2163NotModified() *WebSiteAPINews2163NotModified

NewWebSiteAPINews2163NotModified creates a WebSiteAPINews2163NotModified with default headers values

func (*WebSiteAPINews2163NotModified) Error added in v0.15.0

type WebSiteAPINews2163OK added in v0.15.0

WebSiteAPINews2163OK describes a response with status code 200, with default header values.

Success

func NewWebSiteAPINews2163OK added in v0.15.0

func NewWebSiteAPINews2163OK() *WebSiteAPINews2163OK

NewWebSiteAPINews2163OK creates a WebSiteAPINews2163OK with default headers values

func (*WebSiteAPINews2163OK) Error added in v0.15.0

func (o *WebSiteAPINews2163OK) Error() string

func (*WebSiteAPINews2163OK) GetPayload added in v0.15.0

type WebSiteAPINews2163Params added in v0.15.0

type WebSiteAPINews2163Params struct {

	/* DollarCount.

	   查詢數量
	*/
	DollarCount *bool

	/* DollarFilter.

	   過濾
	*/
	DollarFilter *string

	/* DollarFormat.

	   指定來源格式
	*/
	DollarFormat string

	/* DollarOrderby.

	   排序
	*/
	DollarOrderby *string

	/* DollarSelect.

	   挑選
	*/
	DollarSelect *string

	/* DollarSkip.

	   跳過前幾筆
	*/
	DollarSkip *string

	/* DollarTop.

	   取前幾筆

	   Default: 30
	*/
	DollarTop *int64

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

WebSiteAPINews2163Params contains all the parameters to send to the API endpoint

for the web site Api news 2163 operation.

Typically these are written to a http.Request.

func NewWebSiteAPINews2163Params added in v0.15.0

func NewWebSiteAPINews2163Params() *WebSiteAPINews2163Params

NewWebSiteAPINews2163Params creates a new WebSiteAPINews2163Params 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 NewWebSiteAPINews2163ParamsWithContext added in v0.15.0

func NewWebSiteAPINews2163ParamsWithContext(ctx context.Context) *WebSiteAPINews2163Params

NewWebSiteAPINews2163ParamsWithContext creates a new WebSiteAPINews2163Params object with the ability to set a context for a request.

func NewWebSiteAPINews2163ParamsWithHTTPClient added in v0.15.0

func NewWebSiteAPINews2163ParamsWithHTTPClient(client *http.Client) *WebSiteAPINews2163Params

NewWebSiteAPINews2163ParamsWithHTTPClient creates a new WebSiteAPINews2163Params object with the ability to set a custom HTTPClient for a request.

func NewWebSiteAPINews2163ParamsWithTimeout added in v0.15.0

func NewWebSiteAPINews2163ParamsWithTimeout(timeout time.Duration) *WebSiteAPINews2163Params

NewWebSiteAPINews2163ParamsWithTimeout creates a new WebSiteAPINews2163Params object with the ability to set a timeout on a request.

func (*WebSiteAPINews2163Params) SetContext added in v0.15.0

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

SetContext adds the context to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDefaults added in v0.15.0

func (o *WebSiteAPINews2163Params) SetDefaults()

SetDefaults hydrates default values in the web site Api news 2163 params (not the query body).

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

func (*WebSiteAPINews2163Params) SetDollarCount added in v0.15.0

func (o *WebSiteAPINews2163Params) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDollarFilter added in v0.15.0

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

SetDollarFilter adds the dollarFilter to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDollarFormat added in v0.15.0

func (o *WebSiteAPINews2163Params) SetDollarFormat(dollarFormat string)

SetDollarFormat adds the dollarFormat to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDollarOrderby added in v0.15.0

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

SetDollarOrderby adds the dollarOrderby to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDollarSelect added in v0.15.0

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

SetDollarSelect adds the dollarSelect to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDollarSkip added in v0.15.0

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

SetDollarSkip adds the dollarSkip to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetDollarTop added in v0.15.0

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

SetDollarTop adds the dollarTop to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetHTTPClient added in v0.15.0

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

SetHTTPClient adds the HTTPClient to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) SetTimeout added in v0.15.0

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

SetTimeout adds the timeout to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithContext added in v0.15.0

WithContext adds the context to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDefaults added in v0.15.0

WithDefaults hydrates default values in the web site Api news 2163 params (not the query body).

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

func (*WebSiteAPINews2163Params) WithDollarCount added in v0.15.0

func (o *WebSiteAPINews2163Params) WithDollarCount(dollarCount *bool) *WebSiteAPINews2163Params

WithDollarCount adds the dollarCount to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDollarFilter added in v0.15.0

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

WithDollarFilter adds the dollarFilter to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDollarFormat added in v0.15.0

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

WithDollarFormat adds the dollarFormat to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDollarOrderby added in v0.15.0

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

WithDollarOrderby adds the dollarOrderby to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDollarSelect added in v0.15.0

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

WithDollarSelect adds the dollarSelect to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDollarSkip added in v0.15.0

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

WithDollarSkip adds the dollarSkip to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithDollarTop added in v0.15.0

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

WithDollarTop adds the dollarTop to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithHTTPClient added in v0.15.0

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

WithHTTPClient adds the HTTPClient to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WithTimeout added in v0.15.0

WithTimeout adds the timeout to the web site Api news 2163 params

func (*WebSiteAPINews2163Params) WriteToRequest added in v0.15.0

WriteToRequest writes these params to a swagger request

type WebSiteAPINews2163Reader added in v0.15.0

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

WebSiteAPINews2163Reader is a Reader for the WebSiteAPINews2163 structure.

func (*WebSiteAPINews2163Reader) ReadResponse added in v0.15.0

func (o *WebSiteAPINews2163Reader) 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