Documentation
¶
Index ¶
- type Client
- func (a *Client) ProductUnitMasterGet(params *ProductUnitMasterGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitMasterGetOK, error)
- func (a *Client) ProductUnitMasterSearch(params *ProductUnitMasterSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitMasterSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ProductUnitMasterGetOK
- type ProductUnitMasterGetParams
- func NewProductUnitMasterGetParams() *ProductUnitMasterGetParams
- func NewProductUnitMasterGetParamsWithContext(ctx context.Context) *ProductUnitMasterGetParams
- func NewProductUnitMasterGetParamsWithHTTPClient(client *http.Client) *ProductUnitMasterGetParams
- func NewProductUnitMasterGetParamsWithTimeout(timeout time.Duration) *ProductUnitMasterGetParams
- func (o *ProductUnitMasterGetParams) SetContext(ctx context.Context)
- func (o *ProductUnitMasterGetParams) SetFields(fields *string)
- func (o *ProductUnitMasterGetParams) SetHTTPClient(client *http.Client)
- func (o *ProductUnitMasterGetParams) SetID(id int32)
- func (o *ProductUnitMasterGetParams) SetTimeout(timeout time.Duration)
- func (o *ProductUnitMasterGetParams) WithContext(ctx context.Context) *ProductUnitMasterGetParams
- func (o *ProductUnitMasterGetParams) WithFields(fields *string) *ProductUnitMasterGetParams
- func (o *ProductUnitMasterGetParams) WithHTTPClient(client *http.Client) *ProductUnitMasterGetParams
- func (o *ProductUnitMasterGetParams) WithID(id int32) *ProductUnitMasterGetParams
- func (o *ProductUnitMasterGetParams) WithTimeout(timeout time.Duration) *ProductUnitMasterGetParams
- func (o *ProductUnitMasterGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductUnitMasterGetReader
- type ProductUnitMasterSearchOK
- type ProductUnitMasterSearchParams
- func NewProductUnitMasterSearchParams() *ProductUnitMasterSearchParams
- func NewProductUnitMasterSearchParamsWithContext(ctx context.Context) *ProductUnitMasterSearchParams
- func NewProductUnitMasterSearchParamsWithHTTPClient(client *http.Client) *ProductUnitMasterSearchParams
- func NewProductUnitMasterSearchParamsWithTimeout(timeout time.Duration) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) SetCommonCode(commonCode *string)
- func (o *ProductUnitMasterSearchParams) SetContext(ctx context.Context)
- func (o *ProductUnitMasterSearchParams) SetCount(count *int32)
- func (o *ProductUnitMasterSearchParams) SetFields(fields *string)
- func (o *ProductUnitMasterSearchParams) SetFrom(from *int64)
- func (o *ProductUnitMasterSearchParams) SetHTTPClient(client *http.Client)
- func (o *ProductUnitMasterSearchParams) SetID(id *string)
- func (o *ProductUnitMasterSearchParams) SetIsInactive(isInactive *bool)
- func (o *ProductUnitMasterSearchParams) SetName(name *string)
- func (o *ProductUnitMasterSearchParams) SetNameShort(nameShort *string)
- func (o *ProductUnitMasterSearchParams) SetPeppolName(peppolName *string)
- func (o *ProductUnitMasterSearchParams) SetPeppolSymbol(peppolSymbol *string)
- func (o *ProductUnitMasterSearchParams) SetSorting(sorting *string)
- func (o *ProductUnitMasterSearchParams) SetTimeout(timeout time.Duration)
- func (o *ProductUnitMasterSearchParams) WithCommonCode(commonCode *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithContext(ctx context.Context) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithCount(count *int32) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithFields(fields *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithFrom(from *int64) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithHTTPClient(client *http.Client) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithID(id *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithIsInactive(isInactive *bool) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithName(name *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithNameShort(nameShort *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithPeppolName(peppolName *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithPeppolSymbol(peppolSymbol *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithSorting(sorting *string) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WithTimeout(timeout time.Duration) *ProductUnitMasterSearchParams
- func (o *ProductUnitMasterSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProductUnitMasterSearchReader
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 master API
func (*Client) ProductUnitMasterGet ¶
func (a *Client) ProductUnitMasterGet(params *ProductUnitMasterGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitMasterGetOK, error)
ProductUnitMasterGet bs e t a get product unit master by ID
func (*Client) ProductUnitMasterSearch ¶
func (a *Client) ProductUnitMasterSearch(params *ProductUnitMasterSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitMasterSearchOK, error)
ProductUnitMasterSearch bs e t a find product units master corresponding with sent data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ProductUnitMasterGet(params *ProductUnitMasterGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitMasterGetOK, error) ProductUnitMasterSearch(params *ProductUnitMasterSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProductUnitMasterSearchOK, 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 master API client.
type ProductUnitMasterGetOK ¶
type ProductUnitMasterGetOK struct {
Payload *models.ResponseWrapperProductUnitMaster
}
ProductUnitMasterGetOK handles this case with default header values.
successful operation
func NewProductUnitMasterGetOK ¶
func NewProductUnitMasterGetOK() *ProductUnitMasterGetOK
NewProductUnitMasterGetOK creates a ProductUnitMasterGetOK with default headers values
func (*ProductUnitMasterGetOK) Error ¶
func (o *ProductUnitMasterGetOK) Error() string
func (*ProductUnitMasterGetOK) GetPayload ¶
func (o *ProductUnitMasterGetOK) GetPayload() *models.ResponseWrapperProductUnitMaster
type ProductUnitMasterGetParams ¶
type ProductUnitMasterGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductUnitMasterGetParams contains all the parameters to send to the API endpoint for the product unit master get operation typically these are written to a http.Request
func NewProductUnitMasterGetParams ¶
func NewProductUnitMasterGetParams() *ProductUnitMasterGetParams
NewProductUnitMasterGetParams creates a new ProductUnitMasterGetParams object with the default values initialized.
func NewProductUnitMasterGetParamsWithContext ¶
func NewProductUnitMasterGetParamsWithContext(ctx context.Context) *ProductUnitMasterGetParams
NewProductUnitMasterGetParamsWithContext creates a new ProductUnitMasterGetParams object with the default values initialized, and the ability to set a context for a request
func NewProductUnitMasterGetParamsWithHTTPClient ¶
func NewProductUnitMasterGetParamsWithHTTPClient(client *http.Client) *ProductUnitMasterGetParams
NewProductUnitMasterGetParamsWithHTTPClient creates a new ProductUnitMasterGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductUnitMasterGetParamsWithTimeout ¶
func NewProductUnitMasterGetParamsWithTimeout(timeout time.Duration) *ProductUnitMasterGetParams
NewProductUnitMasterGetParamsWithTimeout creates a new ProductUnitMasterGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductUnitMasterGetParams) SetContext ¶
func (o *ProductUnitMasterGetParams) SetContext(ctx context.Context)
SetContext adds the context to the product unit master get params
func (*ProductUnitMasterGetParams) SetFields ¶
func (o *ProductUnitMasterGetParams) SetFields(fields *string)
SetFields adds the fields to the product unit master get params
func (*ProductUnitMasterGetParams) SetHTTPClient ¶
func (o *ProductUnitMasterGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product unit master get params
func (*ProductUnitMasterGetParams) SetID ¶
func (o *ProductUnitMasterGetParams) SetID(id int32)
SetID adds the id to the product unit master get params
func (*ProductUnitMasterGetParams) SetTimeout ¶
func (o *ProductUnitMasterGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product unit master get params
func (*ProductUnitMasterGetParams) WithContext ¶
func (o *ProductUnitMasterGetParams) WithContext(ctx context.Context) *ProductUnitMasterGetParams
WithContext adds the context to the product unit master get params
func (*ProductUnitMasterGetParams) WithFields ¶
func (o *ProductUnitMasterGetParams) WithFields(fields *string) *ProductUnitMasterGetParams
WithFields adds the fields to the product unit master get params
func (*ProductUnitMasterGetParams) WithHTTPClient ¶
func (o *ProductUnitMasterGetParams) WithHTTPClient(client *http.Client) *ProductUnitMasterGetParams
WithHTTPClient adds the HTTPClient to the product unit master get params
func (*ProductUnitMasterGetParams) WithID ¶
func (o *ProductUnitMasterGetParams) WithID(id int32) *ProductUnitMasterGetParams
WithID adds the id to the product unit master get params
func (*ProductUnitMasterGetParams) WithTimeout ¶
func (o *ProductUnitMasterGetParams) WithTimeout(timeout time.Duration) *ProductUnitMasterGetParams
WithTimeout adds the timeout to the product unit master get params
func (*ProductUnitMasterGetParams) WriteToRequest ¶
func (o *ProductUnitMasterGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductUnitMasterGetReader ¶
type ProductUnitMasterGetReader struct {
// contains filtered or unexported fields
}
ProductUnitMasterGetReader is a Reader for the ProductUnitMasterGet structure.
func (*ProductUnitMasterGetReader) ReadResponse ¶
func (o *ProductUnitMasterGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProductUnitMasterSearchOK ¶
type ProductUnitMasterSearchOK struct {
Payload *models.ListResponseProductUnitMaster
}
ProductUnitMasterSearchOK handles this case with default header values.
successful operation
func NewProductUnitMasterSearchOK ¶
func NewProductUnitMasterSearchOK() *ProductUnitMasterSearchOK
NewProductUnitMasterSearchOK creates a ProductUnitMasterSearchOK with default headers values
func (*ProductUnitMasterSearchOK) Error ¶
func (o *ProductUnitMasterSearchOK) Error() string
func (*ProductUnitMasterSearchOK) GetPayload ¶
func (o *ProductUnitMasterSearchOK) GetPayload() *models.ListResponseProductUnitMaster
type ProductUnitMasterSearchParams ¶
type ProductUnitMasterSearchParams struct { /*CommonCode Common codes */ CommonCode *string /*Count Number of elements to return */ Count *int32 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*IsInactive Inactive units */ IsInactive *bool /*Name Names */ Name *string /*NameShort Short names */ NameShort *string /*PeppolName Peppol names */ PeppolName *string /*PeppolSymbol Peppol symbols */ PeppolSymbol *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProductUnitMasterSearchParams contains all the parameters to send to the API endpoint for the product unit master search operation typically these are written to a http.Request
func NewProductUnitMasterSearchParams ¶
func NewProductUnitMasterSearchParams() *ProductUnitMasterSearchParams
NewProductUnitMasterSearchParams creates a new ProductUnitMasterSearchParams object with the default values initialized.
func NewProductUnitMasterSearchParamsWithContext ¶
func NewProductUnitMasterSearchParamsWithContext(ctx context.Context) *ProductUnitMasterSearchParams
NewProductUnitMasterSearchParamsWithContext creates a new ProductUnitMasterSearchParams object with the default values initialized, and the ability to set a context for a request
func NewProductUnitMasterSearchParamsWithHTTPClient ¶
func NewProductUnitMasterSearchParamsWithHTTPClient(client *http.Client) *ProductUnitMasterSearchParams
NewProductUnitMasterSearchParamsWithHTTPClient creates a new ProductUnitMasterSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProductUnitMasterSearchParamsWithTimeout ¶
func NewProductUnitMasterSearchParamsWithTimeout(timeout time.Duration) *ProductUnitMasterSearchParams
NewProductUnitMasterSearchParamsWithTimeout creates a new ProductUnitMasterSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProductUnitMasterSearchParams) SetCommonCode ¶
func (o *ProductUnitMasterSearchParams) SetCommonCode(commonCode *string)
SetCommonCode adds the commonCode to the product unit master search params
func (*ProductUnitMasterSearchParams) SetContext ¶
func (o *ProductUnitMasterSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the product unit master search params
func (*ProductUnitMasterSearchParams) SetCount ¶
func (o *ProductUnitMasterSearchParams) SetCount(count *int32)
SetCount adds the count to the product unit master search params
func (*ProductUnitMasterSearchParams) SetFields ¶
func (o *ProductUnitMasterSearchParams) SetFields(fields *string)
SetFields adds the fields to the product unit master search params
func (*ProductUnitMasterSearchParams) SetFrom ¶
func (o *ProductUnitMasterSearchParams) SetFrom(from *int64)
SetFrom adds the from to the product unit master search params
func (*ProductUnitMasterSearchParams) SetHTTPClient ¶
func (o *ProductUnitMasterSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the product unit master search params
func (*ProductUnitMasterSearchParams) SetID ¶
func (o *ProductUnitMasterSearchParams) SetID(id *string)
SetID adds the id to the product unit master search params
func (*ProductUnitMasterSearchParams) SetIsInactive ¶
func (o *ProductUnitMasterSearchParams) SetIsInactive(isInactive *bool)
SetIsInactive adds the isInactive to the product unit master search params
func (*ProductUnitMasterSearchParams) SetName ¶
func (o *ProductUnitMasterSearchParams) SetName(name *string)
SetName adds the name to the product unit master search params
func (*ProductUnitMasterSearchParams) SetNameShort ¶
func (o *ProductUnitMasterSearchParams) SetNameShort(nameShort *string)
SetNameShort adds the nameShort to the product unit master search params
func (*ProductUnitMasterSearchParams) SetPeppolName ¶
func (o *ProductUnitMasterSearchParams) SetPeppolName(peppolName *string)
SetPeppolName adds the peppolName to the product unit master search params
func (*ProductUnitMasterSearchParams) SetPeppolSymbol ¶
func (o *ProductUnitMasterSearchParams) SetPeppolSymbol(peppolSymbol *string)
SetPeppolSymbol adds the peppolSymbol to the product unit master search params
func (*ProductUnitMasterSearchParams) SetSorting ¶
func (o *ProductUnitMasterSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the product unit master search params
func (*ProductUnitMasterSearchParams) SetTimeout ¶
func (o *ProductUnitMasterSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the product unit master search params
func (*ProductUnitMasterSearchParams) WithCommonCode ¶
func (o *ProductUnitMasterSearchParams) WithCommonCode(commonCode *string) *ProductUnitMasterSearchParams
WithCommonCode adds the commonCode to the product unit master search params
func (*ProductUnitMasterSearchParams) WithContext ¶
func (o *ProductUnitMasterSearchParams) WithContext(ctx context.Context) *ProductUnitMasterSearchParams
WithContext adds the context to the product unit master search params
func (*ProductUnitMasterSearchParams) WithCount ¶
func (o *ProductUnitMasterSearchParams) WithCount(count *int32) *ProductUnitMasterSearchParams
WithCount adds the count to the product unit master search params
func (*ProductUnitMasterSearchParams) WithFields ¶
func (o *ProductUnitMasterSearchParams) WithFields(fields *string) *ProductUnitMasterSearchParams
WithFields adds the fields to the product unit master search params
func (*ProductUnitMasterSearchParams) WithFrom ¶
func (o *ProductUnitMasterSearchParams) WithFrom(from *int64) *ProductUnitMasterSearchParams
WithFrom adds the from to the product unit master search params
func (*ProductUnitMasterSearchParams) WithHTTPClient ¶
func (o *ProductUnitMasterSearchParams) WithHTTPClient(client *http.Client) *ProductUnitMasterSearchParams
WithHTTPClient adds the HTTPClient to the product unit master search params
func (*ProductUnitMasterSearchParams) WithID ¶
func (o *ProductUnitMasterSearchParams) WithID(id *string) *ProductUnitMasterSearchParams
WithID adds the id to the product unit master search params
func (*ProductUnitMasterSearchParams) WithIsInactive ¶
func (o *ProductUnitMasterSearchParams) WithIsInactive(isInactive *bool) *ProductUnitMasterSearchParams
WithIsInactive adds the isInactive to the product unit master search params
func (*ProductUnitMasterSearchParams) WithName ¶
func (o *ProductUnitMasterSearchParams) WithName(name *string) *ProductUnitMasterSearchParams
WithName adds the name to the product unit master search params
func (*ProductUnitMasterSearchParams) WithNameShort ¶
func (o *ProductUnitMasterSearchParams) WithNameShort(nameShort *string) *ProductUnitMasterSearchParams
WithNameShort adds the nameShort to the product unit master search params
func (*ProductUnitMasterSearchParams) WithPeppolName ¶
func (o *ProductUnitMasterSearchParams) WithPeppolName(peppolName *string) *ProductUnitMasterSearchParams
WithPeppolName adds the peppolName to the product unit master search params
func (*ProductUnitMasterSearchParams) WithPeppolSymbol ¶
func (o *ProductUnitMasterSearchParams) WithPeppolSymbol(peppolSymbol *string) *ProductUnitMasterSearchParams
WithPeppolSymbol adds the peppolSymbol to the product unit master search params
func (*ProductUnitMasterSearchParams) WithSorting ¶
func (o *ProductUnitMasterSearchParams) WithSorting(sorting *string) *ProductUnitMasterSearchParams
WithSorting adds the sorting to the product unit master search params
func (*ProductUnitMasterSearchParams) WithTimeout ¶
func (o *ProductUnitMasterSearchParams) WithTimeout(timeout time.Duration) *ProductUnitMasterSearchParams
WithTimeout adds the timeout to the product unit master search params
func (*ProductUnitMasterSearchParams) WriteToRequest ¶
func (o *ProductUnitMasterSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProductUnitMasterSearchReader ¶
type ProductUnitMasterSearchReader struct {
// contains filtered or unexported fields
}
ProductUnitMasterSearchReader is a Reader for the ProductUnitMasterSearch structure.
func (*ProductUnitMasterSearchReader) ReadResponse ¶
func (o *ProductUnitMasterSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.