orderline

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 orderline API

func (*Client) OrderOrderlineDelete

func (a *Client) OrderOrderlineDelete(params *OrderOrderlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

OrderOrderlineDelete bs e t a delete order line by ID

func (*Client) OrderOrderlineGet

func (a *Client) OrderOrderlineGet(params *OrderOrderlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlineGetOK, error)

OrderOrderlineGet gets order line by ID

func (*Client) OrderOrderlineListPostList

OrderOrderlineListPostList creates multiple order lines

func (*Client) OrderOrderlinePost

func (a *Client) OrderOrderlinePost(params *OrderOrderlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlinePostCreated, error)

OrderOrderlinePost creates order line when creating several order lines use list for better performance

func (*Client) OrderOrderlinePut

func (a *Client) OrderOrderlinePut(params *OrderOrderlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlinePutOK, error)

OrderOrderlinePut bs e t a put order line

func (*Client) ProjectOrderlineDelete

func (a *Client) ProjectOrderlineDelete(params *ProjectOrderlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

ProjectOrderlineDelete deletes order line by ID

func (*Client) ProjectOrderlineGet

func (a *Client) ProjectOrderlineGet(params *ProjectOrderlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlineGetOK, error)

ProjectOrderlineGet bs e t a get order line by ID

func (*Client) ProjectOrderlineListPostList

ProjectOrderlineListPostList bs e t a create multiple order lines

func (*Client) ProjectOrderlinePost

func (a *Client) ProjectOrderlinePost(params *ProjectOrderlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlinePostCreated, error)

ProjectOrderlinePost bs e t a create order line when creating several order lines use list for better performance

func (*Client) ProjectOrderlinePut

func (a *Client) ProjectOrderlinePut(params *ProjectOrderlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlinePutOK, error)

ProjectOrderlinePut bs e t a update project orderline

func (*Client) ProjectOrderlineSearch

func (a *Client) ProjectOrderlineSearch(params *ProjectOrderlineSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlineSearchOK, error)

ProjectOrderlineSearch bs e t a find all order lines for project

func (*Client) PurchaseOrderOrderlineDelete

func (a *Client) PurchaseOrderOrderlineDelete(params *PurchaseOrderOrderlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

PurchaseOrderOrderlineDelete bs e t a delete purchase order line

func (*Client) PurchaseOrderOrderlineGet

func (a *Client) PurchaseOrderOrderlineGet(params *PurchaseOrderOrderlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderOrderlineGetOK, error)

PurchaseOrderOrderlineGet bs e t a find purchase order line by ID

func (*Client) PurchaseOrderOrderlinePost

PurchaseOrderOrderlinePost bs e t a creates purchase order line

func (*Client) PurchaseOrderOrderlinePut

func (a *Client) PurchaseOrderOrderlinePut(params *PurchaseOrderOrderlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderOrderlinePutOK, error)

PurchaseOrderOrderlinePut bs e t a updates purchase order line

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	OrderOrderlineListPostList(params *OrderOrderlineListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlineListPostListCreated, error)

	OrderOrderlineDelete(params *OrderOrderlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	OrderOrderlineGet(params *OrderOrderlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlineGetOK, error)

	OrderOrderlinePost(params *OrderOrderlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlinePostCreated, error)

	OrderOrderlinePut(params *OrderOrderlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*OrderOrderlinePutOK, error)

	ProjectOrderlineListPostList(params *ProjectOrderlineListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlineListPostListCreated, error)

	ProjectOrderlineDelete(params *ProjectOrderlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	ProjectOrderlineGet(params *ProjectOrderlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlineGetOK, error)

	ProjectOrderlinePost(params *ProjectOrderlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlinePostCreated, error)

	ProjectOrderlinePut(params *ProjectOrderlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlinePutOK, error)

	ProjectOrderlineSearch(params *ProjectOrderlineSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectOrderlineSearchOK, error)

	PurchaseOrderOrderlineDelete(params *PurchaseOrderOrderlineDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	PurchaseOrderOrderlineGet(params *PurchaseOrderOrderlineGetParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderOrderlineGetOK, error)

	PurchaseOrderOrderlinePost(params *PurchaseOrderOrderlinePostParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderOrderlinePostCreated, error)

	PurchaseOrderOrderlinePut(params *PurchaseOrderOrderlinePutParams, authInfo runtime.ClientAuthInfoWriter) (*PurchaseOrderOrderlinePutOK, 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 orderline API client.

type OrderOrderlineDeleteDefault

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

OrderOrderlineDeleteDefault handles this case with default header values.

successful operation

func NewOrderOrderlineDeleteDefault

func NewOrderOrderlineDeleteDefault(code int) *OrderOrderlineDeleteDefault

NewOrderOrderlineDeleteDefault creates a OrderOrderlineDeleteDefault with default headers values

func (*OrderOrderlineDeleteDefault) Code

func (o *OrderOrderlineDeleteDefault) Code() int

Code gets the status code for the order orderline delete default response

func (*OrderOrderlineDeleteDefault) Error

type OrderOrderlineDeleteParams

type OrderOrderlineDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

OrderOrderlineDeleteParams contains all the parameters to send to the API endpoint for the order orderline delete operation typically these are written to a http.Request

func NewOrderOrderlineDeleteParams

func NewOrderOrderlineDeleteParams() *OrderOrderlineDeleteParams

NewOrderOrderlineDeleteParams creates a new OrderOrderlineDeleteParams object with the default values initialized.

func NewOrderOrderlineDeleteParamsWithContext

func NewOrderOrderlineDeleteParamsWithContext(ctx context.Context) *OrderOrderlineDeleteParams

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

func NewOrderOrderlineDeleteParamsWithHTTPClient

func NewOrderOrderlineDeleteParamsWithHTTPClient(client *http.Client) *OrderOrderlineDeleteParams

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

func NewOrderOrderlineDeleteParamsWithTimeout

func NewOrderOrderlineDeleteParamsWithTimeout(timeout time.Duration) *OrderOrderlineDeleteParams

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

func (*OrderOrderlineDeleteParams) SetContext

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

SetContext adds the context to the order orderline delete params

func (*OrderOrderlineDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order orderline delete params

func (*OrderOrderlineDeleteParams) SetID

func (o *OrderOrderlineDeleteParams) SetID(id int32)

SetID adds the id to the order orderline delete params

func (*OrderOrderlineDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the order orderline delete params

func (*OrderOrderlineDeleteParams) WithContext

WithContext adds the context to the order orderline delete params

func (*OrderOrderlineDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the order orderline delete params

func (*OrderOrderlineDeleteParams) WithID

WithID adds the id to the order orderline delete params

func (*OrderOrderlineDeleteParams) WithTimeout

WithTimeout adds the timeout to the order orderline delete params

func (*OrderOrderlineDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderOrderlineDeleteReader

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

OrderOrderlineDeleteReader is a Reader for the OrderOrderlineDelete structure.

func (*OrderOrderlineDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderOrderlineGetOK

type OrderOrderlineGetOK struct {
	Payload *models.ResponseWrapperOrderLine
}

OrderOrderlineGetOK handles this case with default header values.

successful operation

func NewOrderOrderlineGetOK

func NewOrderOrderlineGetOK() *OrderOrderlineGetOK

NewOrderOrderlineGetOK creates a OrderOrderlineGetOK with default headers values

func (*OrderOrderlineGetOK) Error

func (o *OrderOrderlineGetOK) Error() string

func (*OrderOrderlineGetOK) GetPayload

type OrderOrderlineGetParams

type OrderOrderlineGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

OrderOrderlineGetParams contains all the parameters to send to the API endpoint for the order orderline get operation typically these are written to a http.Request

func NewOrderOrderlineGetParams

func NewOrderOrderlineGetParams() *OrderOrderlineGetParams

NewOrderOrderlineGetParams creates a new OrderOrderlineGetParams object with the default values initialized.

func NewOrderOrderlineGetParamsWithContext

func NewOrderOrderlineGetParamsWithContext(ctx context.Context) *OrderOrderlineGetParams

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

func NewOrderOrderlineGetParamsWithHTTPClient

func NewOrderOrderlineGetParamsWithHTTPClient(client *http.Client) *OrderOrderlineGetParams

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

func NewOrderOrderlineGetParamsWithTimeout

func NewOrderOrderlineGetParamsWithTimeout(timeout time.Duration) *OrderOrderlineGetParams

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

func (*OrderOrderlineGetParams) SetContext

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

SetContext adds the context to the order orderline get params

func (*OrderOrderlineGetParams) SetFields

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

SetFields adds the fields to the order orderline get params

func (*OrderOrderlineGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order orderline get params

func (*OrderOrderlineGetParams) SetID

func (o *OrderOrderlineGetParams) SetID(id int32)

SetID adds the id to the order orderline get params

func (*OrderOrderlineGetParams) SetTimeout

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

SetTimeout adds the timeout to the order orderline get params

func (*OrderOrderlineGetParams) WithContext

WithContext adds the context to the order orderline get params

func (*OrderOrderlineGetParams) WithFields

func (o *OrderOrderlineGetParams) WithFields(fields *string) *OrderOrderlineGetParams

WithFields adds the fields to the order orderline get params

func (*OrderOrderlineGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order orderline get params

func (*OrderOrderlineGetParams) WithID

WithID adds the id to the order orderline get params

func (*OrderOrderlineGetParams) WithTimeout

WithTimeout adds the timeout to the order orderline get params

func (*OrderOrderlineGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderOrderlineGetReader

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

OrderOrderlineGetReader is a Reader for the OrderOrderlineGet structure.

func (*OrderOrderlineGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderOrderlineListPostListCreated

type OrderOrderlineListPostListCreated struct {
	Payload *models.ListResponseOrderLine
}

OrderOrderlineListPostListCreated handles this case with default header values.

successfully created

func NewOrderOrderlineListPostListCreated

func NewOrderOrderlineListPostListCreated() *OrderOrderlineListPostListCreated

NewOrderOrderlineListPostListCreated creates a OrderOrderlineListPostListCreated with default headers values

func (*OrderOrderlineListPostListCreated) Error

func (*OrderOrderlineListPostListCreated) GetPayload

type OrderOrderlineListPostListParams

type OrderOrderlineListPostListParams struct {

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

	*/
	Body []*models.OrderLine

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

OrderOrderlineListPostListParams contains all the parameters to send to the API endpoint for the order orderline list post list operation typically these are written to a http.Request

func NewOrderOrderlineListPostListParams

func NewOrderOrderlineListPostListParams() *OrderOrderlineListPostListParams

NewOrderOrderlineListPostListParams creates a new OrderOrderlineListPostListParams object with the default values initialized.

func NewOrderOrderlineListPostListParamsWithContext

func NewOrderOrderlineListPostListParamsWithContext(ctx context.Context) *OrderOrderlineListPostListParams

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

func NewOrderOrderlineListPostListParamsWithHTTPClient

func NewOrderOrderlineListPostListParamsWithHTTPClient(client *http.Client) *OrderOrderlineListPostListParams

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

func NewOrderOrderlineListPostListParamsWithTimeout

func NewOrderOrderlineListPostListParamsWithTimeout(timeout time.Duration) *OrderOrderlineListPostListParams

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

func (*OrderOrderlineListPostListParams) SetBody

SetBody adds the body to the order orderline list post list params

func (*OrderOrderlineListPostListParams) SetContext

SetContext adds the context to the order orderline list post list params

func (*OrderOrderlineListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order orderline list post list params

func (*OrderOrderlineListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the order orderline list post list params

func (*OrderOrderlineListPostListParams) WithBody

WithBody adds the body to the order orderline list post list params

func (*OrderOrderlineListPostListParams) WithContext

WithContext adds the context to the order orderline list post list params

func (*OrderOrderlineListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the order orderline list post list params

func (*OrderOrderlineListPostListParams) WithTimeout

WithTimeout adds the timeout to the order orderline list post list params

func (*OrderOrderlineListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderOrderlineListPostListReader

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

OrderOrderlineListPostListReader is a Reader for the OrderOrderlineListPostList structure.

func (*OrderOrderlineListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderOrderlinePostCreated

type OrderOrderlinePostCreated struct {
	Payload *models.ResponseWrapperOrderLine
}

OrderOrderlinePostCreated handles this case with default header values.

successfully created

func NewOrderOrderlinePostCreated

func NewOrderOrderlinePostCreated() *OrderOrderlinePostCreated

NewOrderOrderlinePostCreated creates a OrderOrderlinePostCreated with default headers values

func (*OrderOrderlinePostCreated) Error

func (o *OrderOrderlinePostCreated) Error() string

func (*OrderOrderlinePostCreated) GetPayload

type OrderOrderlinePostParams

type OrderOrderlinePostParams struct {

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

	*/
	Body *models.OrderLine

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

OrderOrderlinePostParams contains all the parameters to send to the API endpoint for the order orderline post operation typically these are written to a http.Request

func NewOrderOrderlinePostParams

func NewOrderOrderlinePostParams() *OrderOrderlinePostParams

NewOrderOrderlinePostParams creates a new OrderOrderlinePostParams object with the default values initialized.

func NewOrderOrderlinePostParamsWithContext

func NewOrderOrderlinePostParamsWithContext(ctx context.Context) *OrderOrderlinePostParams

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

func NewOrderOrderlinePostParamsWithHTTPClient

func NewOrderOrderlinePostParamsWithHTTPClient(client *http.Client) *OrderOrderlinePostParams

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

func NewOrderOrderlinePostParamsWithTimeout

func NewOrderOrderlinePostParamsWithTimeout(timeout time.Duration) *OrderOrderlinePostParams

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

func (*OrderOrderlinePostParams) SetBody

func (o *OrderOrderlinePostParams) SetBody(body *models.OrderLine)

SetBody adds the body to the order orderline post params

func (*OrderOrderlinePostParams) SetContext

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

SetContext adds the context to the order orderline post params

func (*OrderOrderlinePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order orderline post params

func (*OrderOrderlinePostParams) SetTimeout

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

SetTimeout adds the timeout to the order orderline post params

func (*OrderOrderlinePostParams) WithBody

WithBody adds the body to the order orderline post params

func (*OrderOrderlinePostParams) WithContext

WithContext adds the context to the order orderline post params

func (*OrderOrderlinePostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order orderline post params

func (*OrderOrderlinePostParams) WithTimeout

WithTimeout adds the timeout to the order orderline post params

func (*OrderOrderlinePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderOrderlinePostReader

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

OrderOrderlinePostReader is a Reader for the OrderOrderlinePost structure.

func (*OrderOrderlinePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type OrderOrderlinePutOK

type OrderOrderlinePutOK struct {
	Payload *models.ResponseWrapperOrderLine
}

OrderOrderlinePutOK handles this case with default header values.

successful operation

func NewOrderOrderlinePutOK

func NewOrderOrderlinePutOK() *OrderOrderlinePutOK

NewOrderOrderlinePutOK creates a OrderOrderlinePutOK with default headers values

func (*OrderOrderlinePutOK) Error

func (o *OrderOrderlinePutOK) Error() string

func (*OrderOrderlinePutOK) GetPayload

type OrderOrderlinePutParams

type OrderOrderlinePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.OrderLine
	/*ID
	  Element ID

	*/
	ID int32

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

OrderOrderlinePutParams contains all the parameters to send to the API endpoint for the order orderline put operation typically these are written to a http.Request

func NewOrderOrderlinePutParams

func NewOrderOrderlinePutParams() *OrderOrderlinePutParams

NewOrderOrderlinePutParams creates a new OrderOrderlinePutParams object with the default values initialized.

func NewOrderOrderlinePutParamsWithContext

func NewOrderOrderlinePutParamsWithContext(ctx context.Context) *OrderOrderlinePutParams

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

func NewOrderOrderlinePutParamsWithHTTPClient

func NewOrderOrderlinePutParamsWithHTTPClient(client *http.Client) *OrderOrderlinePutParams

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

func NewOrderOrderlinePutParamsWithTimeout

func NewOrderOrderlinePutParamsWithTimeout(timeout time.Duration) *OrderOrderlinePutParams

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

func (*OrderOrderlinePutParams) SetBody

func (o *OrderOrderlinePutParams) SetBody(body *models.OrderLine)

SetBody adds the body to the order orderline put params

func (*OrderOrderlinePutParams) SetContext

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

SetContext adds the context to the order orderline put params

func (*OrderOrderlinePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the order orderline put params

func (*OrderOrderlinePutParams) SetID

func (o *OrderOrderlinePutParams) SetID(id int32)

SetID adds the id to the order orderline put params

func (*OrderOrderlinePutParams) SetTimeout

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

SetTimeout adds the timeout to the order orderline put params

func (*OrderOrderlinePutParams) WithBody

WithBody adds the body to the order orderline put params

func (*OrderOrderlinePutParams) WithContext

WithContext adds the context to the order orderline put params

func (*OrderOrderlinePutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the order orderline put params

func (*OrderOrderlinePutParams) WithID

WithID adds the id to the order orderline put params

func (*OrderOrderlinePutParams) WithTimeout

WithTimeout adds the timeout to the order orderline put params

func (*OrderOrderlinePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type OrderOrderlinePutReader

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

OrderOrderlinePutReader is a Reader for the OrderOrderlinePut structure.

func (*OrderOrderlinePutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectOrderlineDeleteDefault

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

ProjectOrderlineDeleteDefault handles this case with default header values.

successful operation

func NewProjectOrderlineDeleteDefault

func NewProjectOrderlineDeleteDefault(code int) *ProjectOrderlineDeleteDefault

NewProjectOrderlineDeleteDefault creates a ProjectOrderlineDeleteDefault with default headers values

func (*ProjectOrderlineDeleteDefault) Code

Code gets the status code for the project orderline delete default response

func (*ProjectOrderlineDeleteDefault) Error

type ProjectOrderlineDeleteParams

type ProjectOrderlineDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

ProjectOrderlineDeleteParams contains all the parameters to send to the API endpoint for the project orderline delete operation typically these are written to a http.Request

func NewProjectOrderlineDeleteParams

func NewProjectOrderlineDeleteParams() *ProjectOrderlineDeleteParams

NewProjectOrderlineDeleteParams creates a new ProjectOrderlineDeleteParams object with the default values initialized.

func NewProjectOrderlineDeleteParamsWithContext

func NewProjectOrderlineDeleteParamsWithContext(ctx context.Context) *ProjectOrderlineDeleteParams

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

func NewProjectOrderlineDeleteParamsWithHTTPClient

func NewProjectOrderlineDeleteParamsWithHTTPClient(client *http.Client) *ProjectOrderlineDeleteParams

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

func NewProjectOrderlineDeleteParamsWithTimeout

func NewProjectOrderlineDeleteParamsWithTimeout(timeout time.Duration) *ProjectOrderlineDeleteParams

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

func (*ProjectOrderlineDeleteParams) SetContext

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

SetContext adds the context to the project orderline delete params

func (*ProjectOrderlineDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project orderline delete params

func (*ProjectOrderlineDeleteParams) SetID

func (o *ProjectOrderlineDeleteParams) SetID(id int32)

SetID adds the id to the project orderline delete params

func (*ProjectOrderlineDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the project orderline delete params

func (*ProjectOrderlineDeleteParams) WithContext

WithContext adds the context to the project orderline delete params

func (*ProjectOrderlineDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project orderline delete params

func (*ProjectOrderlineDeleteParams) WithID

WithID adds the id to the project orderline delete params

func (*ProjectOrderlineDeleteParams) WithTimeout

WithTimeout adds the timeout to the project orderline delete params

func (*ProjectOrderlineDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectOrderlineDeleteReader

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

ProjectOrderlineDeleteReader is a Reader for the ProjectOrderlineDelete structure.

func (*ProjectOrderlineDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectOrderlineGetOK

type ProjectOrderlineGetOK struct {
	Payload *models.ResponseWrapperProjectOrderLine
}

ProjectOrderlineGetOK handles this case with default header values.

successful operation

func NewProjectOrderlineGetOK

func NewProjectOrderlineGetOK() *ProjectOrderlineGetOK

NewProjectOrderlineGetOK creates a ProjectOrderlineGetOK with default headers values

func (*ProjectOrderlineGetOK) Error

func (o *ProjectOrderlineGetOK) Error() string

func (*ProjectOrderlineGetOK) GetPayload

type ProjectOrderlineGetParams

type ProjectOrderlineGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

ProjectOrderlineGetParams contains all the parameters to send to the API endpoint for the project orderline get operation typically these are written to a http.Request

func NewProjectOrderlineGetParams

func NewProjectOrderlineGetParams() *ProjectOrderlineGetParams

NewProjectOrderlineGetParams creates a new ProjectOrderlineGetParams object with the default values initialized.

func NewProjectOrderlineGetParamsWithContext

func NewProjectOrderlineGetParamsWithContext(ctx context.Context) *ProjectOrderlineGetParams

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

func NewProjectOrderlineGetParamsWithHTTPClient

func NewProjectOrderlineGetParamsWithHTTPClient(client *http.Client) *ProjectOrderlineGetParams

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

func NewProjectOrderlineGetParamsWithTimeout

func NewProjectOrderlineGetParamsWithTimeout(timeout time.Duration) *ProjectOrderlineGetParams

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

func (*ProjectOrderlineGetParams) SetContext

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

SetContext adds the context to the project orderline get params

func (*ProjectOrderlineGetParams) SetFields

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

SetFields adds the fields to the project orderline get params

func (*ProjectOrderlineGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project orderline get params

func (*ProjectOrderlineGetParams) SetID

func (o *ProjectOrderlineGetParams) SetID(id int32)

SetID adds the id to the project orderline get params

func (*ProjectOrderlineGetParams) SetTimeout

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

SetTimeout adds the timeout to the project orderline get params

func (*ProjectOrderlineGetParams) WithContext

WithContext adds the context to the project orderline get params

func (*ProjectOrderlineGetParams) WithFields

WithFields adds the fields to the project orderline get params

func (*ProjectOrderlineGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the project orderline get params

func (*ProjectOrderlineGetParams) WithID

WithID adds the id to the project orderline get params

func (*ProjectOrderlineGetParams) WithTimeout

WithTimeout adds the timeout to the project orderline get params

func (*ProjectOrderlineGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectOrderlineGetReader

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

ProjectOrderlineGetReader is a Reader for the ProjectOrderlineGet structure.

func (*ProjectOrderlineGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectOrderlineListPostListCreated

type ProjectOrderlineListPostListCreated struct {
	Payload *models.ListResponseProjectOrderLine
}

ProjectOrderlineListPostListCreated handles this case with default header values.

successfully created

func NewProjectOrderlineListPostListCreated

func NewProjectOrderlineListPostListCreated() *ProjectOrderlineListPostListCreated

NewProjectOrderlineListPostListCreated creates a ProjectOrderlineListPostListCreated with default headers values

func (*ProjectOrderlineListPostListCreated) Error

func (*ProjectOrderlineListPostListCreated) GetPayload

type ProjectOrderlineListPostListParams

type ProjectOrderlineListPostListParams struct {

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

	*/
	Body []*models.ProjectOrderLine

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

ProjectOrderlineListPostListParams contains all the parameters to send to the API endpoint for the project orderline list post list operation typically these are written to a http.Request

func NewProjectOrderlineListPostListParams

func NewProjectOrderlineListPostListParams() *ProjectOrderlineListPostListParams

NewProjectOrderlineListPostListParams creates a new ProjectOrderlineListPostListParams object with the default values initialized.

func NewProjectOrderlineListPostListParamsWithContext

func NewProjectOrderlineListPostListParamsWithContext(ctx context.Context) *ProjectOrderlineListPostListParams

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

func NewProjectOrderlineListPostListParamsWithHTTPClient

func NewProjectOrderlineListPostListParamsWithHTTPClient(client *http.Client) *ProjectOrderlineListPostListParams

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

func NewProjectOrderlineListPostListParamsWithTimeout

func NewProjectOrderlineListPostListParamsWithTimeout(timeout time.Duration) *ProjectOrderlineListPostListParams

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

func (*ProjectOrderlineListPostListParams) SetBody

SetBody adds the body to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) SetContext

SetContext adds the context to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) WithBody

WithBody adds the body to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) WithContext

WithContext adds the context to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) WithTimeout

WithTimeout adds the timeout to the project orderline list post list params

func (*ProjectOrderlineListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectOrderlineListPostListReader

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

ProjectOrderlineListPostListReader is a Reader for the ProjectOrderlineListPostList structure.

func (*ProjectOrderlineListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectOrderlinePostCreated

type ProjectOrderlinePostCreated struct {
	Payload *models.ResponseWrapperProjectOrderLine
}

ProjectOrderlinePostCreated handles this case with default header values.

successfully created

func NewProjectOrderlinePostCreated

func NewProjectOrderlinePostCreated() *ProjectOrderlinePostCreated

NewProjectOrderlinePostCreated creates a ProjectOrderlinePostCreated with default headers values

func (*ProjectOrderlinePostCreated) Error

func (*ProjectOrderlinePostCreated) GetPayload

type ProjectOrderlinePostParams

type ProjectOrderlinePostParams struct {

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

	*/
	Body *models.ProjectOrderLine

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

ProjectOrderlinePostParams contains all the parameters to send to the API endpoint for the project orderline post operation typically these are written to a http.Request

func NewProjectOrderlinePostParams

func NewProjectOrderlinePostParams() *ProjectOrderlinePostParams

NewProjectOrderlinePostParams creates a new ProjectOrderlinePostParams object with the default values initialized.

func NewProjectOrderlinePostParamsWithContext

func NewProjectOrderlinePostParamsWithContext(ctx context.Context) *ProjectOrderlinePostParams

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

func NewProjectOrderlinePostParamsWithHTTPClient

func NewProjectOrderlinePostParamsWithHTTPClient(client *http.Client) *ProjectOrderlinePostParams

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

func NewProjectOrderlinePostParamsWithTimeout

func NewProjectOrderlinePostParamsWithTimeout(timeout time.Duration) *ProjectOrderlinePostParams

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

func (*ProjectOrderlinePostParams) SetBody

SetBody adds the body to the project orderline post params

func (*ProjectOrderlinePostParams) SetContext

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

SetContext adds the context to the project orderline post params

func (*ProjectOrderlinePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project orderline post params

func (*ProjectOrderlinePostParams) SetTimeout

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

SetTimeout adds the timeout to the project orderline post params

func (*ProjectOrderlinePostParams) WithBody

WithBody adds the body to the project orderline post params

func (*ProjectOrderlinePostParams) WithContext

WithContext adds the context to the project orderline post params

func (*ProjectOrderlinePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project orderline post params

func (*ProjectOrderlinePostParams) WithTimeout

WithTimeout adds the timeout to the project orderline post params

func (*ProjectOrderlinePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectOrderlinePostReader

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

ProjectOrderlinePostReader is a Reader for the ProjectOrderlinePost structure.

func (*ProjectOrderlinePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectOrderlinePutOK

type ProjectOrderlinePutOK struct {
	Payload *models.ResponseWrapperProjectOrderLine
}

ProjectOrderlinePutOK handles this case with default header values.

successful operation

func NewProjectOrderlinePutOK

func NewProjectOrderlinePutOK() *ProjectOrderlinePutOK

NewProjectOrderlinePutOK creates a ProjectOrderlinePutOK with default headers values

func (*ProjectOrderlinePutOK) Error

func (o *ProjectOrderlinePutOK) Error() string

func (*ProjectOrderlinePutOK) GetPayload

type ProjectOrderlinePutParams

type ProjectOrderlinePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.ProjectOrderLine
	/*ID
	  Element ID

	*/
	ID int32

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

ProjectOrderlinePutParams contains all the parameters to send to the API endpoint for the project orderline put operation typically these are written to a http.Request

func NewProjectOrderlinePutParams

func NewProjectOrderlinePutParams() *ProjectOrderlinePutParams

NewProjectOrderlinePutParams creates a new ProjectOrderlinePutParams object with the default values initialized.

func NewProjectOrderlinePutParamsWithContext

func NewProjectOrderlinePutParamsWithContext(ctx context.Context) *ProjectOrderlinePutParams

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

func NewProjectOrderlinePutParamsWithHTTPClient

func NewProjectOrderlinePutParamsWithHTTPClient(client *http.Client) *ProjectOrderlinePutParams

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

func NewProjectOrderlinePutParamsWithTimeout

func NewProjectOrderlinePutParamsWithTimeout(timeout time.Duration) *ProjectOrderlinePutParams

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

func (*ProjectOrderlinePutParams) SetBody

SetBody adds the body to the project orderline put params

func (*ProjectOrderlinePutParams) SetContext

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

SetContext adds the context to the project orderline put params

func (*ProjectOrderlinePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project orderline put params

func (*ProjectOrderlinePutParams) SetID

func (o *ProjectOrderlinePutParams) SetID(id int32)

SetID adds the id to the project orderline put params

func (*ProjectOrderlinePutParams) SetTimeout

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

SetTimeout adds the timeout to the project orderline put params

func (*ProjectOrderlinePutParams) WithBody

WithBody adds the body to the project orderline put params

func (*ProjectOrderlinePutParams) WithContext

WithContext adds the context to the project orderline put params

func (*ProjectOrderlinePutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the project orderline put params

func (*ProjectOrderlinePutParams) WithID

WithID adds the id to the project orderline put params

func (*ProjectOrderlinePutParams) WithTimeout

WithTimeout adds the timeout to the project orderline put params

func (*ProjectOrderlinePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectOrderlinePutReader

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

ProjectOrderlinePutReader is a Reader for the ProjectOrderlinePut structure.

func (*ProjectOrderlinePutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectOrderlineSearchOK

type ProjectOrderlineSearchOK struct {
	Payload *models.ListResponseProjectOrderLine
}

ProjectOrderlineSearchOK handles this case with default header values.

successful operation

func NewProjectOrderlineSearchOK

func NewProjectOrderlineSearchOK() *ProjectOrderlineSearchOK

NewProjectOrderlineSearchOK creates a ProjectOrderlineSearchOK with default headers values

func (*ProjectOrderlineSearchOK) Error

func (o *ProjectOrderlineSearchOK) Error() string

func (*ProjectOrderlineSearchOK) GetPayload

type ProjectOrderlineSearchParams

type ProjectOrderlineSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ProjectID
	  Equals

	*/
	ProjectID int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

ProjectOrderlineSearchParams contains all the parameters to send to the API endpoint for the project orderline search operation typically these are written to a http.Request

func NewProjectOrderlineSearchParams

func NewProjectOrderlineSearchParams() *ProjectOrderlineSearchParams

NewProjectOrderlineSearchParams creates a new ProjectOrderlineSearchParams object with the default values initialized.

func NewProjectOrderlineSearchParamsWithContext

func NewProjectOrderlineSearchParamsWithContext(ctx context.Context) *ProjectOrderlineSearchParams

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

func NewProjectOrderlineSearchParamsWithHTTPClient

func NewProjectOrderlineSearchParamsWithHTTPClient(client *http.Client) *ProjectOrderlineSearchParams

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

func NewProjectOrderlineSearchParamsWithTimeout

func NewProjectOrderlineSearchParamsWithTimeout(timeout time.Duration) *ProjectOrderlineSearchParams

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

func (*ProjectOrderlineSearchParams) SetContext

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

SetContext adds the context to the project orderline search params

func (*ProjectOrderlineSearchParams) SetCount

func (o *ProjectOrderlineSearchParams) SetCount(count *int64)

SetCount adds the count to the project orderline search params

func (*ProjectOrderlineSearchParams) SetFields

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

SetFields adds the fields to the project orderline search params

func (*ProjectOrderlineSearchParams) SetFrom

func (o *ProjectOrderlineSearchParams) SetFrom(from *int64)

SetFrom adds the from to the project orderline search params

func (*ProjectOrderlineSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project orderline search params

func (*ProjectOrderlineSearchParams) SetProjectID

func (o *ProjectOrderlineSearchParams) SetProjectID(projectID int32)

SetProjectID adds the projectId to the project orderline search params

func (*ProjectOrderlineSearchParams) SetSorting

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

SetSorting adds the sorting to the project orderline search params

func (*ProjectOrderlineSearchParams) SetTimeout

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

SetTimeout adds the timeout to the project orderline search params

func (*ProjectOrderlineSearchParams) WithContext

WithContext adds the context to the project orderline search params

func (*ProjectOrderlineSearchParams) WithCount

WithCount adds the count to the project orderline search params

func (*ProjectOrderlineSearchParams) WithFields

WithFields adds the fields to the project orderline search params

func (*ProjectOrderlineSearchParams) WithFrom

WithFrom adds the from to the project orderline search params

func (*ProjectOrderlineSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project orderline search params

func (*ProjectOrderlineSearchParams) WithProjectID

WithProjectID adds the projectID to the project orderline search params

func (*ProjectOrderlineSearchParams) WithSorting

WithSorting adds the sorting to the project orderline search params

func (*ProjectOrderlineSearchParams) WithTimeout

WithTimeout adds the timeout to the project orderline search params

func (*ProjectOrderlineSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectOrderlineSearchReader

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

ProjectOrderlineSearchReader is a Reader for the ProjectOrderlineSearch structure.

func (*ProjectOrderlineSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderOrderlineDeleteDefault

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

PurchaseOrderOrderlineDeleteDefault handles this case with default header values.

successful operation

func NewPurchaseOrderOrderlineDeleteDefault

func NewPurchaseOrderOrderlineDeleteDefault(code int) *PurchaseOrderOrderlineDeleteDefault

NewPurchaseOrderOrderlineDeleteDefault creates a PurchaseOrderOrderlineDeleteDefault with default headers values

func (*PurchaseOrderOrderlineDeleteDefault) Code

Code gets the status code for the purchase order orderline delete default response

func (*PurchaseOrderOrderlineDeleteDefault) Error

type PurchaseOrderOrderlineDeleteParams

type PurchaseOrderOrderlineDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderOrderlineDeleteParams contains all the parameters to send to the API endpoint for the purchase order orderline delete operation typically these are written to a http.Request

func NewPurchaseOrderOrderlineDeleteParams

func NewPurchaseOrderOrderlineDeleteParams() *PurchaseOrderOrderlineDeleteParams

NewPurchaseOrderOrderlineDeleteParams creates a new PurchaseOrderOrderlineDeleteParams object with the default values initialized.

func NewPurchaseOrderOrderlineDeleteParamsWithContext

func NewPurchaseOrderOrderlineDeleteParamsWithContext(ctx context.Context) *PurchaseOrderOrderlineDeleteParams

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

func NewPurchaseOrderOrderlineDeleteParamsWithHTTPClient

func NewPurchaseOrderOrderlineDeleteParamsWithHTTPClient(client *http.Client) *PurchaseOrderOrderlineDeleteParams

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

func NewPurchaseOrderOrderlineDeleteParamsWithTimeout

func NewPurchaseOrderOrderlineDeleteParamsWithTimeout(timeout time.Duration) *PurchaseOrderOrderlineDeleteParams

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

func (*PurchaseOrderOrderlineDeleteParams) SetContext

SetContext adds the context to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) SetID

SetID adds the id to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) WithContext

WithContext adds the context to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) WithID

WithID adds the id to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) WithTimeout

WithTimeout adds the timeout to the purchase order orderline delete params

func (*PurchaseOrderOrderlineDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderOrderlineDeleteReader

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

PurchaseOrderOrderlineDeleteReader is a Reader for the PurchaseOrderOrderlineDelete structure.

func (*PurchaseOrderOrderlineDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderOrderlineGetOK

type PurchaseOrderOrderlineGetOK struct {
	Payload *models.ResponseWrapperPurchaseOrderline
}

PurchaseOrderOrderlineGetOK handles this case with default header values.

successful operation

func NewPurchaseOrderOrderlineGetOK

func NewPurchaseOrderOrderlineGetOK() *PurchaseOrderOrderlineGetOK

NewPurchaseOrderOrderlineGetOK creates a PurchaseOrderOrderlineGetOK with default headers values

func (*PurchaseOrderOrderlineGetOK) Error

func (*PurchaseOrderOrderlineGetOK) GetPayload

type PurchaseOrderOrderlineGetParams

type PurchaseOrderOrderlineGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderOrderlineGetParams contains all the parameters to send to the API endpoint for the purchase order orderline get operation typically these are written to a http.Request

func NewPurchaseOrderOrderlineGetParams

func NewPurchaseOrderOrderlineGetParams() *PurchaseOrderOrderlineGetParams

NewPurchaseOrderOrderlineGetParams creates a new PurchaseOrderOrderlineGetParams object with the default values initialized.

func NewPurchaseOrderOrderlineGetParamsWithContext

func NewPurchaseOrderOrderlineGetParamsWithContext(ctx context.Context) *PurchaseOrderOrderlineGetParams

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

func NewPurchaseOrderOrderlineGetParamsWithHTTPClient

func NewPurchaseOrderOrderlineGetParamsWithHTTPClient(client *http.Client) *PurchaseOrderOrderlineGetParams

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

func NewPurchaseOrderOrderlineGetParamsWithTimeout

func NewPurchaseOrderOrderlineGetParamsWithTimeout(timeout time.Duration) *PurchaseOrderOrderlineGetParams

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

func (*PurchaseOrderOrderlineGetParams) SetContext

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

SetContext adds the context to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) SetFields

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

SetFields adds the fields to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) SetID

SetID adds the id to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) WithContext

WithContext adds the context to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) WithFields

WithFields adds the fields to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) WithID

WithID adds the id to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) WithTimeout

WithTimeout adds the timeout to the purchase order orderline get params

func (*PurchaseOrderOrderlineGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderOrderlineGetReader

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

PurchaseOrderOrderlineGetReader is a Reader for the PurchaseOrderOrderlineGet structure.

func (*PurchaseOrderOrderlineGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderOrderlinePostCreated

type PurchaseOrderOrderlinePostCreated struct {
	Payload *models.ResponseWrapperPurchaseOrderline
}

PurchaseOrderOrderlinePostCreated handles this case with default header values.

successfully created

func NewPurchaseOrderOrderlinePostCreated

func NewPurchaseOrderOrderlinePostCreated() *PurchaseOrderOrderlinePostCreated

NewPurchaseOrderOrderlinePostCreated creates a PurchaseOrderOrderlinePostCreated with default headers values

func (*PurchaseOrderOrderlinePostCreated) Error

func (*PurchaseOrderOrderlinePostCreated) GetPayload

type PurchaseOrderOrderlinePostParams

type PurchaseOrderOrderlinePostParams struct {

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

	*/
	Body *models.PurchaseOrderline

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

PurchaseOrderOrderlinePostParams contains all the parameters to send to the API endpoint for the purchase order orderline post operation typically these are written to a http.Request

func NewPurchaseOrderOrderlinePostParams

func NewPurchaseOrderOrderlinePostParams() *PurchaseOrderOrderlinePostParams

NewPurchaseOrderOrderlinePostParams creates a new PurchaseOrderOrderlinePostParams object with the default values initialized.

func NewPurchaseOrderOrderlinePostParamsWithContext

func NewPurchaseOrderOrderlinePostParamsWithContext(ctx context.Context) *PurchaseOrderOrderlinePostParams

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

func NewPurchaseOrderOrderlinePostParamsWithHTTPClient

func NewPurchaseOrderOrderlinePostParamsWithHTTPClient(client *http.Client) *PurchaseOrderOrderlinePostParams

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

func NewPurchaseOrderOrderlinePostParamsWithTimeout

func NewPurchaseOrderOrderlinePostParamsWithTimeout(timeout time.Duration) *PurchaseOrderOrderlinePostParams

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

func (*PurchaseOrderOrderlinePostParams) SetBody

SetBody adds the body to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) SetContext

SetContext adds the context to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) WithBody

WithBody adds the body to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) WithContext

WithContext adds the context to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) WithTimeout

WithTimeout adds the timeout to the purchase order orderline post params

func (*PurchaseOrderOrderlinePostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderOrderlinePostReader

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

PurchaseOrderOrderlinePostReader is a Reader for the PurchaseOrderOrderlinePost structure.

func (*PurchaseOrderOrderlinePostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PurchaseOrderOrderlinePutOK

type PurchaseOrderOrderlinePutOK struct {
	Payload *models.ResponseWrapperPurchaseOrderline
}

PurchaseOrderOrderlinePutOK handles this case with default header values.

successful operation

func NewPurchaseOrderOrderlinePutOK

func NewPurchaseOrderOrderlinePutOK() *PurchaseOrderOrderlinePutOK

NewPurchaseOrderOrderlinePutOK creates a PurchaseOrderOrderlinePutOK with default headers values

func (*PurchaseOrderOrderlinePutOK) Error

func (*PurchaseOrderOrderlinePutOK) GetPayload

type PurchaseOrderOrderlinePutParams

type PurchaseOrderOrderlinePutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.PurchaseOrderline
	/*ID
	  Element ID

	*/
	ID int32

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

PurchaseOrderOrderlinePutParams contains all the parameters to send to the API endpoint for the purchase order orderline put operation typically these are written to a http.Request

func NewPurchaseOrderOrderlinePutParams

func NewPurchaseOrderOrderlinePutParams() *PurchaseOrderOrderlinePutParams

NewPurchaseOrderOrderlinePutParams creates a new PurchaseOrderOrderlinePutParams object with the default values initialized.

func NewPurchaseOrderOrderlinePutParamsWithContext

func NewPurchaseOrderOrderlinePutParamsWithContext(ctx context.Context) *PurchaseOrderOrderlinePutParams

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

func NewPurchaseOrderOrderlinePutParamsWithHTTPClient

func NewPurchaseOrderOrderlinePutParamsWithHTTPClient(client *http.Client) *PurchaseOrderOrderlinePutParams

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

func NewPurchaseOrderOrderlinePutParamsWithTimeout

func NewPurchaseOrderOrderlinePutParamsWithTimeout(timeout time.Duration) *PurchaseOrderOrderlinePutParams

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

func (*PurchaseOrderOrderlinePutParams) SetBody

SetBody adds the body to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) SetContext

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

SetContext adds the context to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) SetID

SetID adds the id to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) SetTimeout

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

SetTimeout adds the timeout to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) WithBody

WithBody adds the body to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) WithContext

WithContext adds the context to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) WithID

WithID adds the id to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) WithTimeout

WithTimeout adds the timeout to the purchase order orderline put params

func (*PurchaseOrderOrderlinePutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PurchaseOrderOrderlinePutReader

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

PurchaseOrderOrderlinePutReader is a Reader for the PurchaseOrderOrderlinePut structure.

func (*PurchaseOrderOrderlinePutReader) ReadResponse

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