Versions in this module Expand all Collapse all v1 v1.1.0 Jul 2, 2020 v1.0.0 Jun 19, 2020 Changes in this version + type Client struct + func (a *Client) ProductUnitGet(params *ProductUnitGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitGetOK, error) + func (a *Client) ProductUnitSearch(params *ProductUnitSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitSearchOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + ProductUnitGet func(params *ProductUnitGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitGetOK, error) + ProductUnitSearch func(params *ProductUnitSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitSearchOK, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type ProductUnitGetOK struct + Payload *models.ResponseWrapperProductUnit + func NewProductUnitGetOK() *ProductUnitGetOK + func (o *ProductUnitGetOK) Error() string + func (o *ProductUnitGetOK) GetPayload() *models.ResponseWrapperProductUnit + type ProductUnitGetParams struct + Context context.Context + Fields *string + HTTPClient *http.Client + ID int32 + func NewProductUnitGetParams() *ProductUnitGetParams + func NewProductUnitGetParamsWithContext(ctx context.Context) *ProductUnitGetParams + func NewProductUnitGetParamsWithHTTPClient(client *http.Client) *ProductUnitGetParams + func NewProductUnitGetParamsWithTimeout(timeout time.Duration) *ProductUnitGetParams + func (o *ProductUnitGetParams) SetContext(ctx context.Context) + func (o *ProductUnitGetParams) SetFields(fields *string) + func (o *ProductUnitGetParams) SetHTTPClient(client *http.Client) + func (o *ProductUnitGetParams) SetID(id int32) + func (o *ProductUnitGetParams) SetTimeout(timeout time.Duration) + func (o *ProductUnitGetParams) WithContext(ctx context.Context) *ProductUnitGetParams + func (o *ProductUnitGetParams) WithFields(fields *string) *ProductUnitGetParams + func (o *ProductUnitGetParams) WithHTTPClient(client *http.Client) *ProductUnitGetParams + func (o *ProductUnitGetParams) WithID(id int32) *ProductUnitGetParams + func (o *ProductUnitGetParams) WithTimeout(timeout time.Duration) *ProductUnitGetParams + func (o *ProductUnitGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ProductUnitGetReader struct + func (o *ProductUnitGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ProductUnitSearchOK struct + Payload *models.ListResponseProductUnit + func NewProductUnitSearchOK() *ProductUnitSearchOK + func (o *ProductUnitSearchOK) Error() string + func (o *ProductUnitSearchOK) GetPayload() *models.ListResponseProductUnit + type ProductUnitSearchParams struct + CommonCode *string + Context context.Context + Count *int64 + Fields *string + From *int64 + HTTPClient *http.Client + ID *string + Name *string + NameShort *string + Sorting *string + func NewProductUnitSearchParams() *ProductUnitSearchParams + func NewProductUnitSearchParamsWithContext(ctx context.Context) *ProductUnitSearchParams + func NewProductUnitSearchParamsWithHTTPClient(client *http.Client) *ProductUnitSearchParams + func NewProductUnitSearchParamsWithTimeout(timeout time.Duration) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) SetCommonCode(commonCode *string) + func (o *ProductUnitSearchParams) SetContext(ctx context.Context) + func (o *ProductUnitSearchParams) SetCount(count *int64) + func (o *ProductUnitSearchParams) SetFields(fields *string) + func (o *ProductUnitSearchParams) SetFrom(from *int64) + func (o *ProductUnitSearchParams) SetHTTPClient(client *http.Client) + func (o *ProductUnitSearchParams) SetID(id *string) + func (o *ProductUnitSearchParams) SetName(name *string) + func (o *ProductUnitSearchParams) SetNameShort(nameShort *string) + func (o *ProductUnitSearchParams) SetSorting(sorting *string) + func (o *ProductUnitSearchParams) SetTimeout(timeout time.Duration) + func (o *ProductUnitSearchParams) WithCommonCode(commonCode *string) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithContext(ctx context.Context) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithCount(count *int64) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithFields(fields *string) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithFrom(from *int64) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithHTTPClient(client *http.Client) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithID(id *string) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithName(name *string) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithNameShort(nameShort *string) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithSorting(sorting *string) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WithTimeout(timeout time.Duration) *ProductUnitSearchParams + func (o *ProductUnitSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ProductUnitSearchReader struct + func (o *ProductUnitSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) Other modules containing this package github.com/bjerkio/tripletex-go/v2