master

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 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 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

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

WithContext adds the context to the product unit master get params

func (*ProductUnitMasterGetParams) WithFields

WithFields adds the fields to the product unit master get params

func (*ProductUnitMasterGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product unit master get params

func (*ProductUnitMasterGetParams) WithID

WithID adds the id to the product unit master get params

func (*ProductUnitMasterGetParams) WithTimeout

WithTimeout adds the timeout to the product unit master get params

func (*ProductUnitMasterGetParams) WriteToRequest

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

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

WithContext adds the context to the product unit master search params

func (*ProductUnitMasterSearchParams) WithCount

WithCount adds the count to the product unit master search params

func (*ProductUnitMasterSearchParams) WithFields

WithFields adds the fields to the product unit master search params

func (*ProductUnitMasterSearchParams) WithFrom

WithFrom adds the from to the product unit master search params

func (*ProductUnitMasterSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the product unit master search params

func (*ProductUnitMasterSearchParams) WithID

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

WithName adds the name to the product unit master search params

func (*ProductUnitMasterSearchParams) WithNameShort

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

WithSorting adds the sorting to the product unit master search params

func (*ProductUnitMasterSearchParams) WithTimeout

WithTimeout adds the timeout to the product unit master search params

func (*ProductUnitMasterSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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