goods_receipt_line

package
Version: v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 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 goods receipt line API

func (*Client) PurchaseOrderGoodsReceiptLineDelete

func (a *Client) PurchaseOrderGoodsReceiptLineDelete(params *PurchaseOrderGoodsReceiptLineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

PurchaseOrderGoodsReceiptLineDelete bs e t a delete goods receipt line by ID only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptLineGet

PurchaseOrderGoodsReceiptLineGet bs e t a get goods receipt line by purchase order line ID only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptLineListPostList

PurchaseOrderGoodsReceiptLineListPostList bs e t a register multiple new goods receipt on an existing purchase order only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptLinePost

PurchaseOrderGoodsReceiptLinePost bs e t a register new goods receipt new product on an existing purchase order when registration of several goods receipt use list for better performance only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptLinePut

PurchaseOrderGoodsReceiptLinePut bs e t a enter goods receipt on purchase order line only available for users that have activated the logistics plus beta program in our customer account

func (*Client) PurchaseOrderGoodsReceiptLineSearch

PurchaseOrderGoodsReceiptLineSearch bs e t a find goods receipt lines for purchase order only available for users that have activated the logistics plus beta program in our customer account

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PurchaseOrderGoodsReceiptLineListPostList(params *PurchaseOrderGoodsReceiptLineListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptLineListPostListCreated, error)

	PurchaseOrderGoodsReceiptLineDelete(params *PurchaseOrderGoodsReceiptLineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	PurchaseOrderGoodsReceiptLineGet(params *PurchaseOrderGoodsReceiptLineGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptLineGetOK, error)

	PurchaseOrderGoodsReceiptLinePost(params *PurchaseOrderGoodsReceiptLinePostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptLinePostCreated, error)

	PurchaseOrderGoodsReceiptLinePut(params *PurchaseOrderGoodsReceiptLinePutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptLinePutOK, error)

	PurchaseOrderGoodsReceiptLineSearch(params *PurchaseOrderGoodsReceiptLineSearchParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderGoodsReceiptLineSearchOK, 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 goods receipt line API client.

type PurchaseOrderGoodsReceiptLineDeleteDefault

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

PurchaseOrderGoodsReceiptLineDeleteDefault handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptLineDeleteDefault

func NewPurchaseOrderGoodsReceiptLineDeleteDefault(code int) *PurchaseOrderGoodsReceiptLineDeleteDefault

NewPurchaseOrderGoodsReceiptLineDeleteDefault creates a PurchaseOrderGoodsReceiptLineDeleteDefault with default headers values

func (*PurchaseOrderGoodsReceiptLineDeleteDefault) Code

Code gets the status code for the purchase order goods receipt line delete default response

func (*PurchaseOrderGoodsReceiptLineDeleteDefault) Error

type PurchaseOrderGoodsReceiptLineDeleteParams

type PurchaseOrderGoodsReceiptLineDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderGoodsReceiptLineDeleteParams contains all the parameters to send to the API endpoint for the purchase order goods receipt line delete operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptLineDeleteParams

func NewPurchaseOrderGoodsReceiptLineDeleteParams() *PurchaseOrderGoodsReceiptLineDeleteParams

NewPurchaseOrderGoodsReceiptLineDeleteParams creates a new PurchaseOrderGoodsReceiptLineDeleteParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptLineDeleteParamsWithContext

func NewPurchaseOrderGoodsReceiptLineDeleteParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptLineDeleteParams

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

func NewPurchaseOrderGoodsReceiptLineDeleteParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptLineDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptLineDeleteParams

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

func NewPurchaseOrderGoodsReceiptLineDeleteParamsWithTimeout

func NewPurchaseOrderGoodsReceiptLineDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptLineDeleteParams

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

func (*PurchaseOrderGoodsReceiptLineDeleteParams) SetContext

SetContext adds the context to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) SetID

SetID adds the id to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) WithContext

WithContext adds the context to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) WithID

WithID adds the id to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt line delete params

func (*PurchaseOrderGoodsReceiptLineDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptLineDeleteReader

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

PurchaseOrderGoodsReceiptLineDeleteReader is a Reader for the PurchaseOrderGoodsReceiptLineDelete structure.

func (*PurchaseOrderGoodsReceiptLineDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptLineGetOK

type PurchaseOrderGoodsReceiptLineGetOK struct {
	Payload *models.ResponseWrapperGoodsReceiptLine
}

PurchaseOrderGoodsReceiptLineGetOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptLineGetOK

func NewPurchaseOrderGoodsReceiptLineGetOK() *PurchaseOrderGoodsReceiptLineGetOK

NewPurchaseOrderGoodsReceiptLineGetOK creates a PurchaseOrderGoodsReceiptLineGetOK with default headers values

func (*PurchaseOrderGoodsReceiptLineGetOK) Error

func (*PurchaseOrderGoodsReceiptLineGetOK) GetPayload

type PurchaseOrderGoodsReceiptLineGetParams

type PurchaseOrderGoodsReceiptLineGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderGoodsReceiptLineGetParams contains all the parameters to send to the API endpoint for the purchase order goods receipt line get operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptLineGetParams

func NewPurchaseOrderGoodsReceiptLineGetParams() *PurchaseOrderGoodsReceiptLineGetParams

NewPurchaseOrderGoodsReceiptLineGetParams creates a new PurchaseOrderGoodsReceiptLineGetParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptLineGetParamsWithContext

func NewPurchaseOrderGoodsReceiptLineGetParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptLineGetParams

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

func NewPurchaseOrderGoodsReceiptLineGetParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptLineGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptLineGetParams

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

func NewPurchaseOrderGoodsReceiptLineGetParamsWithTimeout

func NewPurchaseOrderGoodsReceiptLineGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptLineGetParams

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

func (*PurchaseOrderGoodsReceiptLineGetParams) SetContext

SetContext adds the context to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) SetFields

func (o *PurchaseOrderGoodsReceiptLineGetParams) SetFields(fields *string)

SetFields adds the fields to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) SetID

SetID adds the id to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) WithContext

WithContext adds the context to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) WithFields

WithFields adds the fields to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) WithID

WithID adds the id to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt line get params

func (*PurchaseOrderGoodsReceiptLineGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptLineGetReader

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

PurchaseOrderGoodsReceiptLineGetReader is a Reader for the PurchaseOrderGoodsReceiptLineGet structure.

func (*PurchaseOrderGoodsReceiptLineGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptLineListPostListCreated

type PurchaseOrderGoodsReceiptLineListPostListCreated struct {
	Payload *models.ListResponseGoodsReceiptLine
}

PurchaseOrderGoodsReceiptLineListPostListCreated handles this case with default header values.

successfully created

func NewPurchaseOrderGoodsReceiptLineListPostListCreated

func NewPurchaseOrderGoodsReceiptLineListPostListCreated() *PurchaseOrderGoodsReceiptLineListPostListCreated

NewPurchaseOrderGoodsReceiptLineListPostListCreated creates a PurchaseOrderGoodsReceiptLineListPostListCreated with default headers values

func (*PurchaseOrderGoodsReceiptLineListPostListCreated) Error

func (*PurchaseOrderGoodsReceiptLineListPostListCreated) GetPayload

type PurchaseOrderGoodsReceiptLineListPostListParams

type PurchaseOrderGoodsReceiptLineListPostListParams struct {

	/*Body
	  JSON representing a list of new object to be created. Should not have ID and version set.

	*/
	Body []*models.GoodsReceiptLine

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

PurchaseOrderGoodsReceiptLineListPostListParams contains all the parameters to send to the API endpoint for the purchase order goods receipt line list post list operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptLineListPostListParams

func NewPurchaseOrderGoodsReceiptLineListPostListParams() *PurchaseOrderGoodsReceiptLineListPostListParams

NewPurchaseOrderGoodsReceiptLineListPostListParams creates a new PurchaseOrderGoodsReceiptLineListPostListParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptLineListPostListParamsWithContext

func NewPurchaseOrderGoodsReceiptLineListPostListParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptLineListPostListParams

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

func NewPurchaseOrderGoodsReceiptLineListPostListParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptLineListPostListParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptLineListPostListParams

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

func NewPurchaseOrderGoodsReceiptLineListPostListParamsWithTimeout

func NewPurchaseOrderGoodsReceiptLineListPostListParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptLineListPostListParams

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

func (*PurchaseOrderGoodsReceiptLineListPostListParams) SetBody

SetBody adds the body to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) SetContext

SetContext adds the context to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) WithBody

WithBody adds the body to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) WithContext

WithContext adds the context to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt line list post list params

func (*PurchaseOrderGoodsReceiptLineListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptLineListPostListReader

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

PurchaseOrderGoodsReceiptLineListPostListReader is a Reader for the PurchaseOrderGoodsReceiptLineListPostList structure.

func (*PurchaseOrderGoodsReceiptLineListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptLinePostCreated

type PurchaseOrderGoodsReceiptLinePostCreated struct {
	Payload *models.ResponseWrapperGoodsReceiptLine
}

PurchaseOrderGoodsReceiptLinePostCreated handles this case with default header values.

successfully created

func NewPurchaseOrderGoodsReceiptLinePostCreated

func NewPurchaseOrderGoodsReceiptLinePostCreated() *PurchaseOrderGoodsReceiptLinePostCreated

NewPurchaseOrderGoodsReceiptLinePostCreated creates a PurchaseOrderGoodsReceiptLinePostCreated with default headers values

func (*PurchaseOrderGoodsReceiptLinePostCreated) Error

func (*PurchaseOrderGoodsReceiptLinePostCreated) GetPayload

type PurchaseOrderGoodsReceiptLinePostParams

type PurchaseOrderGoodsReceiptLinePostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.GoodsReceiptLine

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

PurchaseOrderGoodsReceiptLinePostParams contains all the parameters to send to the API endpoint for the purchase order goods receipt line post operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptLinePostParams

func NewPurchaseOrderGoodsReceiptLinePostParams() *PurchaseOrderGoodsReceiptLinePostParams

NewPurchaseOrderGoodsReceiptLinePostParams creates a new PurchaseOrderGoodsReceiptLinePostParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptLinePostParamsWithContext

func NewPurchaseOrderGoodsReceiptLinePostParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptLinePostParams

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

func NewPurchaseOrderGoodsReceiptLinePostParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptLinePostParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptLinePostParams

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

func NewPurchaseOrderGoodsReceiptLinePostParamsWithTimeout

func NewPurchaseOrderGoodsReceiptLinePostParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptLinePostParams

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

func (*PurchaseOrderGoodsReceiptLinePostParams) SetBody

SetBody adds the body to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) SetContext

SetContext adds the context to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) WithBody

WithBody adds the body to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) WithContext

WithContext adds the context to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt line post params

func (*PurchaseOrderGoodsReceiptLinePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptLinePostReader

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

PurchaseOrderGoodsReceiptLinePostReader is a Reader for the PurchaseOrderGoodsReceiptLinePost structure.

func (*PurchaseOrderGoodsReceiptLinePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptLinePutOK

type PurchaseOrderGoodsReceiptLinePutOK struct {
	Payload *models.ResponseWrapperGoodsReceiptLine
}

PurchaseOrderGoodsReceiptLinePutOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptLinePutOK

func NewPurchaseOrderGoodsReceiptLinePutOK() *PurchaseOrderGoodsReceiptLinePutOK

NewPurchaseOrderGoodsReceiptLinePutOK creates a PurchaseOrderGoodsReceiptLinePutOK with default headers values

func (*PurchaseOrderGoodsReceiptLinePutOK) Error

func (*PurchaseOrderGoodsReceiptLinePutOK) GetPayload

type PurchaseOrderGoodsReceiptLinePutParams

type PurchaseOrderGoodsReceiptLinePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.GoodsReceiptLine
	/*ID
	  Purchase Order Line ID

	*/
	ID int32

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

PurchaseOrderGoodsReceiptLinePutParams contains all the parameters to send to the API endpoint for the purchase order goods receipt line put operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptLinePutParams

func NewPurchaseOrderGoodsReceiptLinePutParams() *PurchaseOrderGoodsReceiptLinePutParams

NewPurchaseOrderGoodsReceiptLinePutParams creates a new PurchaseOrderGoodsReceiptLinePutParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptLinePutParamsWithContext

func NewPurchaseOrderGoodsReceiptLinePutParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptLinePutParams

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

func NewPurchaseOrderGoodsReceiptLinePutParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptLinePutParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptLinePutParams

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

func NewPurchaseOrderGoodsReceiptLinePutParamsWithTimeout

func NewPurchaseOrderGoodsReceiptLinePutParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptLinePutParams

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

func (*PurchaseOrderGoodsReceiptLinePutParams) SetBody

SetBody adds the body to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) SetContext

SetContext adds the context to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) SetID

SetID adds the id to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) WithBody

WithBody adds the body to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) WithContext

WithContext adds the context to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) WithID

WithID adds the id to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt line put params

func (*PurchaseOrderGoodsReceiptLinePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptLinePutReader

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

PurchaseOrderGoodsReceiptLinePutReader is a Reader for the PurchaseOrderGoodsReceiptLinePut structure.

func (*PurchaseOrderGoodsReceiptLinePutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderGoodsReceiptLineSearchOK

type PurchaseOrderGoodsReceiptLineSearchOK struct {
	Payload *models.ListResponseGoodsReceiptLine
}

PurchaseOrderGoodsReceiptLineSearchOK handles this case with default header values.

successful operation

func NewPurchaseOrderGoodsReceiptLineSearchOK

func NewPurchaseOrderGoodsReceiptLineSearchOK() *PurchaseOrderGoodsReceiptLineSearchOK

NewPurchaseOrderGoodsReceiptLineSearchOK creates a PurchaseOrderGoodsReceiptLineSearchOK with default headers values

func (*PurchaseOrderGoodsReceiptLineSearchOK) Error

func (*PurchaseOrderGoodsReceiptLineSearchOK) GetPayload

type PurchaseOrderGoodsReceiptLineSearchParams

type PurchaseOrderGoodsReceiptLineSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*PurchaseOrderID
	  Equals

	*/
	PurchaseOrderID int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

PurchaseOrderGoodsReceiptLineSearchParams contains all the parameters to send to the API endpoint for the purchase order goods receipt line search operation typically these are written to a http.Request

func NewPurchaseOrderGoodsReceiptLineSearchParams

func NewPurchaseOrderGoodsReceiptLineSearchParams() *PurchaseOrderGoodsReceiptLineSearchParams

NewPurchaseOrderGoodsReceiptLineSearchParams creates a new PurchaseOrderGoodsReceiptLineSearchParams object with the default values initialized.

func NewPurchaseOrderGoodsReceiptLineSearchParamsWithContext

func NewPurchaseOrderGoodsReceiptLineSearchParamsWithContext(ctx context.Context) *PurchaseOrderGoodsReceiptLineSearchParams

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

func NewPurchaseOrderGoodsReceiptLineSearchParamsWithHTTPClient

func NewPurchaseOrderGoodsReceiptLineSearchParamsWithHTTPClient(client *http.Client) *PurchaseOrderGoodsReceiptLineSearchParams

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

func NewPurchaseOrderGoodsReceiptLineSearchParamsWithTimeout

func NewPurchaseOrderGoodsReceiptLineSearchParamsWithTimeout(timeout time.Duration) *PurchaseOrderGoodsReceiptLineSearchParams

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

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetContext

SetContext adds the context to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetCount

SetCount adds the count to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetFields

func (o *PurchaseOrderGoodsReceiptLineSearchParams) SetFields(fields *string)

SetFields adds the fields to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetFrom

SetFrom adds the from to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetPurchaseOrderID

func (o *PurchaseOrderGoodsReceiptLineSearchParams) SetPurchaseOrderID(purchaseOrderID int32)

SetPurchaseOrderID adds the purchaseOrderId to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetSorting

func (o *PurchaseOrderGoodsReceiptLineSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) SetTimeout

SetTimeout adds the timeout to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithContext

WithContext adds the context to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithCount

WithCount adds the count to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithFields

WithFields adds the fields to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithFrom

WithFrom adds the from to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithPurchaseOrderID

WithPurchaseOrderID adds the purchaseOrderID to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithSorting

WithSorting adds the sorting to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WithTimeout

WithTimeout adds the timeout to the purchase order goods receipt line search params

func (*PurchaseOrderGoodsReceiptLineSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderGoodsReceiptLineSearchReader

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

PurchaseOrderGoodsReceiptLineSearchReader is a Reader for the PurchaseOrderGoodsReceiptLineSearch structure.

func (*PurchaseOrderGoodsReceiptLineSearchReader) ReadResponse

func (o *PurchaseOrderGoodsReceiptLineSearchReader) 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL