Documentation ¶
Index ¶
- type Client
- func (a *Client) CustomerCategoryGet(params *CustomerCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryGetOK, error)
- func (a *Client) CustomerCategoryPost(params *CustomerCategoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryPostCreated, error)
- func (a *Client) CustomerCategoryPut(params *CustomerCategoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryPutOK, error)
- func (a *Client) CustomerCategorySearch(params *CustomerCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategorySearchOK, error)
- func (a *Client) ProjectCategoryGet(params *ProjectCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryGetOK, error)
- func (a *Client) ProjectCategoryPost(params *ProjectCategoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryPostCreated, error)
- func (a *Client) ProjectCategoryPut(params *ProjectCategoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryPutOK, error)
- func (a *Client) ProjectCategorySearch(params *ProjectCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategorySearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CustomerCategoryGetOK
- type CustomerCategoryGetParams
- func NewCustomerCategoryGetParams() *CustomerCategoryGetParams
- func NewCustomerCategoryGetParamsWithContext(ctx context.Context) *CustomerCategoryGetParams
- func NewCustomerCategoryGetParamsWithHTTPClient(client *http.Client) *CustomerCategoryGetParams
- func NewCustomerCategoryGetParamsWithTimeout(timeout time.Duration) *CustomerCategoryGetParams
- func (o *CustomerCategoryGetParams) SetContext(ctx context.Context)
- func (o *CustomerCategoryGetParams) SetFields(fields *string)
- func (o *CustomerCategoryGetParams) SetHTTPClient(client *http.Client)
- func (o *CustomerCategoryGetParams) SetID(id int32)
- func (o *CustomerCategoryGetParams) SetTimeout(timeout time.Duration)
- func (o *CustomerCategoryGetParams) WithContext(ctx context.Context) *CustomerCategoryGetParams
- func (o *CustomerCategoryGetParams) WithFields(fields *string) *CustomerCategoryGetParams
- func (o *CustomerCategoryGetParams) WithHTTPClient(client *http.Client) *CustomerCategoryGetParams
- func (o *CustomerCategoryGetParams) WithID(id int32) *CustomerCategoryGetParams
- func (o *CustomerCategoryGetParams) WithTimeout(timeout time.Duration) *CustomerCategoryGetParams
- func (o *CustomerCategoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerCategoryGetReader
- type CustomerCategoryPostCreated
- type CustomerCategoryPostParams
- func NewCustomerCategoryPostParams() *CustomerCategoryPostParams
- func NewCustomerCategoryPostParamsWithContext(ctx context.Context) *CustomerCategoryPostParams
- func NewCustomerCategoryPostParamsWithHTTPClient(client *http.Client) *CustomerCategoryPostParams
- func NewCustomerCategoryPostParamsWithTimeout(timeout time.Duration) *CustomerCategoryPostParams
- func (o *CustomerCategoryPostParams) SetBody(body *models.CustomerCategory)
- func (o *CustomerCategoryPostParams) SetContext(ctx context.Context)
- func (o *CustomerCategoryPostParams) SetHTTPClient(client *http.Client)
- func (o *CustomerCategoryPostParams) SetTimeout(timeout time.Duration)
- func (o *CustomerCategoryPostParams) WithBody(body *models.CustomerCategory) *CustomerCategoryPostParams
- func (o *CustomerCategoryPostParams) WithContext(ctx context.Context) *CustomerCategoryPostParams
- func (o *CustomerCategoryPostParams) WithHTTPClient(client *http.Client) *CustomerCategoryPostParams
- func (o *CustomerCategoryPostParams) WithTimeout(timeout time.Duration) *CustomerCategoryPostParams
- func (o *CustomerCategoryPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerCategoryPostReader
- type CustomerCategoryPutOK
- type CustomerCategoryPutParams
- func NewCustomerCategoryPutParams() *CustomerCategoryPutParams
- func NewCustomerCategoryPutParamsWithContext(ctx context.Context) *CustomerCategoryPutParams
- func NewCustomerCategoryPutParamsWithHTTPClient(client *http.Client) *CustomerCategoryPutParams
- func NewCustomerCategoryPutParamsWithTimeout(timeout time.Duration) *CustomerCategoryPutParams
- func (o *CustomerCategoryPutParams) SetBody(body *models.CustomerCategory)
- func (o *CustomerCategoryPutParams) SetContext(ctx context.Context)
- func (o *CustomerCategoryPutParams) SetHTTPClient(client *http.Client)
- func (o *CustomerCategoryPutParams) SetID(id int32)
- func (o *CustomerCategoryPutParams) SetTimeout(timeout time.Duration)
- func (o *CustomerCategoryPutParams) WithBody(body *models.CustomerCategory) *CustomerCategoryPutParams
- func (o *CustomerCategoryPutParams) WithContext(ctx context.Context) *CustomerCategoryPutParams
- func (o *CustomerCategoryPutParams) WithHTTPClient(client *http.Client) *CustomerCategoryPutParams
- func (o *CustomerCategoryPutParams) WithID(id int32) *CustomerCategoryPutParams
- func (o *CustomerCategoryPutParams) WithTimeout(timeout time.Duration) *CustomerCategoryPutParams
- func (o *CustomerCategoryPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerCategoryPutReader
- type CustomerCategorySearchOK
- type CustomerCategorySearchParams
- func NewCustomerCategorySearchParams() *CustomerCategorySearchParams
- func NewCustomerCategorySearchParamsWithContext(ctx context.Context) *CustomerCategorySearchParams
- func NewCustomerCategorySearchParamsWithHTTPClient(client *http.Client) *CustomerCategorySearchParams
- func NewCustomerCategorySearchParamsWithTimeout(timeout time.Duration) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) SetContext(ctx context.Context)
- func (o *CustomerCategorySearchParams) SetCount(count *int64)
- func (o *CustomerCategorySearchParams) SetDescription(description *string)
- func (o *CustomerCategorySearchParams) SetFields(fields *string)
- func (o *CustomerCategorySearchParams) SetFrom(from *int64)
- func (o *CustomerCategorySearchParams) SetHTTPClient(client *http.Client)
- func (o *CustomerCategorySearchParams) SetID(id *string)
- func (o *CustomerCategorySearchParams) SetName(name *string)
- func (o *CustomerCategorySearchParams) SetNumber(number *string)
- func (o *CustomerCategorySearchParams) SetSorting(sorting *string)
- func (o *CustomerCategorySearchParams) SetTimeout(timeout time.Duration)
- func (o *CustomerCategorySearchParams) SetType(typeVar *string)
- func (o *CustomerCategorySearchParams) WithContext(ctx context.Context) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithCount(count *int64) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithDescription(description *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithFields(fields *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithFrom(from *int64) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithHTTPClient(client *http.Client) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithID(id *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithName(name *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithNumber(number *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithSorting(sorting *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithTimeout(timeout time.Duration) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WithType(typeVar *string) *CustomerCategorySearchParams
- func (o *CustomerCategorySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerCategorySearchReader
- type ProjectCategoryGetOK
- type ProjectCategoryGetParams
- func NewProjectCategoryGetParams() *ProjectCategoryGetParams
- func NewProjectCategoryGetParamsWithContext(ctx context.Context) *ProjectCategoryGetParams
- func NewProjectCategoryGetParamsWithHTTPClient(client *http.Client) *ProjectCategoryGetParams
- func NewProjectCategoryGetParamsWithTimeout(timeout time.Duration) *ProjectCategoryGetParams
- func (o *ProjectCategoryGetParams) SetContext(ctx context.Context)
- func (o *ProjectCategoryGetParams) SetFields(fields *string)
- func (o *ProjectCategoryGetParams) SetHTTPClient(client *http.Client)
- func (o *ProjectCategoryGetParams) SetID(id int32)
- func (o *ProjectCategoryGetParams) SetTimeout(timeout time.Duration)
- func (o *ProjectCategoryGetParams) WithContext(ctx context.Context) *ProjectCategoryGetParams
- func (o *ProjectCategoryGetParams) WithFields(fields *string) *ProjectCategoryGetParams
- func (o *ProjectCategoryGetParams) WithHTTPClient(client *http.Client) *ProjectCategoryGetParams
- func (o *ProjectCategoryGetParams) WithID(id int32) *ProjectCategoryGetParams
- func (o *ProjectCategoryGetParams) WithTimeout(timeout time.Duration) *ProjectCategoryGetParams
- func (o *ProjectCategoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectCategoryGetReader
- type ProjectCategoryPostCreated
- type ProjectCategoryPostParams
- func NewProjectCategoryPostParams() *ProjectCategoryPostParams
- func NewProjectCategoryPostParamsWithContext(ctx context.Context) *ProjectCategoryPostParams
- func NewProjectCategoryPostParamsWithHTTPClient(client *http.Client) *ProjectCategoryPostParams
- func NewProjectCategoryPostParamsWithTimeout(timeout time.Duration) *ProjectCategoryPostParams
- func (o *ProjectCategoryPostParams) SetBody(body *models.ProjectCategory)
- func (o *ProjectCategoryPostParams) SetContext(ctx context.Context)
- func (o *ProjectCategoryPostParams) SetHTTPClient(client *http.Client)
- func (o *ProjectCategoryPostParams) SetTimeout(timeout time.Duration)
- func (o *ProjectCategoryPostParams) WithBody(body *models.ProjectCategory) *ProjectCategoryPostParams
- func (o *ProjectCategoryPostParams) WithContext(ctx context.Context) *ProjectCategoryPostParams
- func (o *ProjectCategoryPostParams) WithHTTPClient(client *http.Client) *ProjectCategoryPostParams
- func (o *ProjectCategoryPostParams) WithTimeout(timeout time.Duration) *ProjectCategoryPostParams
- func (o *ProjectCategoryPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectCategoryPostReader
- type ProjectCategoryPutOK
- type ProjectCategoryPutParams
- func NewProjectCategoryPutParams() *ProjectCategoryPutParams
- func NewProjectCategoryPutParamsWithContext(ctx context.Context) *ProjectCategoryPutParams
- func NewProjectCategoryPutParamsWithHTTPClient(client *http.Client) *ProjectCategoryPutParams
- func NewProjectCategoryPutParamsWithTimeout(timeout time.Duration) *ProjectCategoryPutParams
- func (o *ProjectCategoryPutParams) SetBody(body *models.ProjectCategory)
- func (o *ProjectCategoryPutParams) SetContext(ctx context.Context)
- func (o *ProjectCategoryPutParams) SetHTTPClient(client *http.Client)
- func (o *ProjectCategoryPutParams) SetID(id int32)
- func (o *ProjectCategoryPutParams) SetTimeout(timeout time.Duration)
- func (o *ProjectCategoryPutParams) WithBody(body *models.ProjectCategory) *ProjectCategoryPutParams
- func (o *ProjectCategoryPutParams) WithContext(ctx context.Context) *ProjectCategoryPutParams
- func (o *ProjectCategoryPutParams) WithHTTPClient(client *http.Client) *ProjectCategoryPutParams
- func (o *ProjectCategoryPutParams) WithID(id int32) *ProjectCategoryPutParams
- func (o *ProjectCategoryPutParams) WithTimeout(timeout time.Duration) *ProjectCategoryPutParams
- func (o *ProjectCategoryPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectCategoryPutReader
- type ProjectCategorySearchOK
- type ProjectCategorySearchParams
- func NewProjectCategorySearchParams() *ProjectCategorySearchParams
- func NewProjectCategorySearchParamsWithContext(ctx context.Context) *ProjectCategorySearchParams
- func NewProjectCategorySearchParamsWithHTTPClient(client *http.Client) *ProjectCategorySearchParams
- func NewProjectCategorySearchParamsWithTimeout(timeout time.Duration) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) SetContext(ctx context.Context)
- func (o *ProjectCategorySearchParams) SetCount(count *int64)
- func (o *ProjectCategorySearchParams) SetDescription(description *string)
- func (o *ProjectCategorySearchParams) SetFields(fields *string)
- func (o *ProjectCategorySearchParams) SetFrom(from *int64)
- func (o *ProjectCategorySearchParams) SetHTTPClient(client *http.Client)
- func (o *ProjectCategorySearchParams) SetID(id *string)
- func (o *ProjectCategorySearchParams) SetName(name *string)
- func (o *ProjectCategorySearchParams) SetNumber(number *string)
- func (o *ProjectCategorySearchParams) SetSorting(sorting *string)
- func (o *ProjectCategorySearchParams) SetTimeout(timeout time.Duration)
- func (o *ProjectCategorySearchParams) WithContext(ctx context.Context) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithCount(count *int64) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithDescription(description *string) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithFields(fields *string) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithFrom(from *int64) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithHTTPClient(client *http.Client) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithID(id *string) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithName(name *string) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithNumber(number *string) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithSorting(sorting *string) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WithTimeout(timeout time.Duration) *ProjectCategorySearchParams
- func (o *ProjectCategorySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectCategorySearchReader
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 category API
func (*Client) CustomerCategoryGet ¶
func (a *Client) CustomerCategoryGet(params *CustomerCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryGetOK, error)
CustomerCategoryGet finds customer supplier category by ID
func (*Client) CustomerCategoryPost ¶
func (a *Client) CustomerCategoryPost(params *CustomerCategoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryPostCreated, error)
CustomerCategoryPost adds new customer supplier category
func (*Client) CustomerCategoryPut ¶
func (a *Client) CustomerCategoryPut(params *CustomerCategoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryPutOK, error)
CustomerCategoryPut updates customer supplier category
func (*Client) CustomerCategorySearch ¶
func (a *Client) CustomerCategorySearch(params *CustomerCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategorySearchOK, error)
CustomerCategorySearch finds customer supplier categories corresponding with sent data
func (*Client) ProjectCategoryGet ¶
func (a *Client) ProjectCategoryGet(params *ProjectCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryGetOK, error)
ProjectCategoryGet finds project category by ID
func (*Client) ProjectCategoryPost ¶
func (a *Client) ProjectCategoryPost(params *ProjectCategoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryPostCreated, error)
ProjectCategoryPost adds new project category
func (*Client) ProjectCategoryPut ¶
func (a *Client) ProjectCategoryPut(params *ProjectCategoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryPutOK, error)
ProjectCategoryPut updates project category
func (*Client) ProjectCategorySearch ¶
func (a *Client) ProjectCategorySearch(params *ProjectCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategorySearchOK, error)
ProjectCategorySearch finds project categories corresponding with sent data
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CustomerCategoryGet(params *CustomerCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryGetOK, error) CustomerCategoryPost(params *CustomerCategoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryPostCreated, error) CustomerCategoryPut(params *CustomerCategoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategoryPutOK, error) CustomerCategorySearch(params *CustomerCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*CustomerCategorySearchOK, error) ProjectCategoryGet(params *ProjectCategoryGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryGetOK, error) ProjectCategoryPost(params *ProjectCategoryPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryPostCreated, error) ProjectCategoryPut(params *ProjectCategoryPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategoryPutOK, error) ProjectCategorySearch(params *ProjectCategorySearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectCategorySearchOK, 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 category API client.
type CustomerCategoryGetOK ¶
type CustomerCategoryGetOK struct {
Payload *models.ResponseWrapperCustomerCategory
}
CustomerCategoryGetOK handles this case with default header values.
successful operation
func NewCustomerCategoryGetOK ¶
func NewCustomerCategoryGetOK() *CustomerCategoryGetOK
NewCustomerCategoryGetOK creates a CustomerCategoryGetOK with default headers values
func (*CustomerCategoryGetOK) Error ¶
func (o *CustomerCategoryGetOK) Error() string
func (*CustomerCategoryGetOK) GetPayload ¶
func (o *CustomerCategoryGetOK) GetPayload() *models.ResponseWrapperCustomerCategory
type CustomerCategoryGetParams ¶
type CustomerCategoryGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerCategoryGetParams contains all the parameters to send to the API endpoint for the customer category get operation typically these are written to a http.Request
func NewCustomerCategoryGetParams ¶
func NewCustomerCategoryGetParams() *CustomerCategoryGetParams
NewCustomerCategoryGetParams creates a new CustomerCategoryGetParams object with the default values initialized.
func NewCustomerCategoryGetParamsWithContext ¶
func NewCustomerCategoryGetParamsWithContext(ctx context.Context) *CustomerCategoryGetParams
NewCustomerCategoryGetParamsWithContext creates a new CustomerCategoryGetParams object with the default values initialized, and the ability to set a context for a request
func NewCustomerCategoryGetParamsWithHTTPClient ¶
func NewCustomerCategoryGetParamsWithHTTPClient(client *http.Client) *CustomerCategoryGetParams
NewCustomerCategoryGetParamsWithHTTPClient creates a new CustomerCategoryGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomerCategoryGetParamsWithTimeout ¶
func NewCustomerCategoryGetParamsWithTimeout(timeout time.Duration) *CustomerCategoryGetParams
NewCustomerCategoryGetParamsWithTimeout creates a new CustomerCategoryGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomerCategoryGetParams) SetContext ¶
func (o *CustomerCategoryGetParams) SetContext(ctx context.Context)
SetContext adds the context to the customer category get params
func (*CustomerCategoryGetParams) SetFields ¶
func (o *CustomerCategoryGetParams) SetFields(fields *string)
SetFields adds the fields to the customer category get params
func (*CustomerCategoryGetParams) SetHTTPClient ¶
func (o *CustomerCategoryGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer category get params
func (*CustomerCategoryGetParams) SetID ¶
func (o *CustomerCategoryGetParams) SetID(id int32)
SetID adds the id to the customer category get params
func (*CustomerCategoryGetParams) SetTimeout ¶
func (o *CustomerCategoryGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer category get params
func (*CustomerCategoryGetParams) WithContext ¶
func (o *CustomerCategoryGetParams) WithContext(ctx context.Context) *CustomerCategoryGetParams
WithContext adds the context to the customer category get params
func (*CustomerCategoryGetParams) WithFields ¶
func (o *CustomerCategoryGetParams) WithFields(fields *string) *CustomerCategoryGetParams
WithFields adds the fields to the customer category get params
func (*CustomerCategoryGetParams) WithHTTPClient ¶
func (o *CustomerCategoryGetParams) WithHTTPClient(client *http.Client) *CustomerCategoryGetParams
WithHTTPClient adds the HTTPClient to the customer category get params
func (*CustomerCategoryGetParams) WithID ¶
func (o *CustomerCategoryGetParams) WithID(id int32) *CustomerCategoryGetParams
WithID adds the id to the customer category get params
func (*CustomerCategoryGetParams) WithTimeout ¶
func (o *CustomerCategoryGetParams) WithTimeout(timeout time.Duration) *CustomerCategoryGetParams
WithTimeout adds the timeout to the customer category get params
func (*CustomerCategoryGetParams) WriteToRequest ¶
func (o *CustomerCategoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerCategoryGetReader ¶
type CustomerCategoryGetReader struct {
// contains filtered or unexported fields
}
CustomerCategoryGetReader is a Reader for the CustomerCategoryGet structure.
func (*CustomerCategoryGetReader) ReadResponse ¶
func (o *CustomerCategoryGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerCategoryPostCreated ¶
type CustomerCategoryPostCreated struct {
Payload *models.ResponseWrapperCustomerCategory
}
CustomerCategoryPostCreated handles this case with default header values.
successfully created
func NewCustomerCategoryPostCreated ¶
func NewCustomerCategoryPostCreated() *CustomerCategoryPostCreated
NewCustomerCategoryPostCreated creates a CustomerCategoryPostCreated with default headers values
func (*CustomerCategoryPostCreated) Error ¶
func (o *CustomerCategoryPostCreated) Error() string
func (*CustomerCategoryPostCreated) GetPayload ¶
func (o *CustomerCategoryPostCreated) GetPayload() *models.ResponseWrapperCustomerCategory
type CustomerCategoryPostParams ¶
type CustomerCategoryPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.CustomerCategory Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerCategoryPostParams contains all the parameters to send to the API endpoint for the customer category post operation typically these are written to a http.Request
func NewCustomerCategoryPostParams ¶
func NewCustomerCategoryPostParams() *CustomerCategoryPostParams
NewCustomerCategoryPostParams creates a new CustomerCategoryPostParams object with the default values initialized.
func NewCustomerCategoryPostParamsWithContext ¶
func NewCustomerCategoryPostParamsWithContext(ctx context.Context) *CustomerCategoryPostParams
NewCustomerCategoryPostParamsWithContext creates a new CustomerCategoryPostParams object with the default values initialized, and the ability to set a context for a request
func NewCustomerCategoryPostParamsWithHTTPClient ¶
func NewCustomerCategoryPostParamsWithHTTPClient(client *http.Client) *CustomerCategoryPostParams
NewCustomerCategoryPostParamsWithHTTPClient creates a new CustomerCategoryPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomerCategoryPostParamsWithTimeout ¶
func NewCustomerCategoryPostParamsWithTimeout(timeout time.Duration) *CustomerCategoryPostParams
NewCustomerCategoryPostParamsWithTimeout creates a new CustomerCategoryPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomerCategoryPostParams) SetBody ¶
func (o *CustomerCategoryPostParams) SetBody(body *models.CustomerCategory)
SetBody adds the body to the customer category post params
func (*CustomerCategoryPostParams) SetContext ¶
func (o *CustomerCategoryPostParams) SetContext(ctx context.Context)
SetContext adds the context to the customer category post params
func (*CustomerCategoryPostParams) SetHTTPClient ¶
func (o *CustomerCategoryPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer category post params
func (*CustomerCategoryPostParams) SetTimeout ¶
func (o *CustomerCategoryPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer category post params
func (*CustomerCategoryPostParams) WithBody ¶
func (o *CustomerCategoryPostParams) WithBody(body *models.CustomerCategory) *CustomerCategoryPostParams
WithBody adds the body to the customer category post params
func (*CustomerCategoryPostParams) WithContext ¶
func (o *CustomerCategoryPostParams) WithContext(ctx context.Context) *CustomerCategoryPostParams
WithContext adds the context to the customer category post params
func (*CustomerCategoryPostParams) WithHTTPClient ¶
func (o *CustomerCategoryPostParams) WithHTTPClient(client *http.Client) *CustomerCategoryPostParams
WithHTTPClient adds the HTTPClient to the customer category post params
func (*CustomerCategoryPostParams) WithTimeout ¶
func (o *CustomerCategoryPostParams) WithTimeout(timeout time.Duration) *CustomerCategoryPostParams
WithTimeout adds the timeout to the customer category post params
func (*CustomerCategoryPostParams) WriteToRequest ¶
func (o *CustomerCategoryPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerCategoryPostReader ¶
type CustomerCategoryPostReader struct {
// contains filtered or unexported fields
}
CustomerCategoryPostReader is a Reader for the CustomerCategoryPost structure.
func (*CustomerCategoryPostReader) ReadResponse ¶
func (o *CustomerCategoryPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerCategoryPutOK ¶
type CustomerCategoryPutOK struct {
Payload *models.ResponseWrapperCustomerCategory
}
CustomerCategoryPutOK handles this case with default header values.
successful operation
func NewCustomerCategoryPutOK ¶
func NewCustomerCategoryPutOK() *CustomerCategoryPutOK
NewCustomerCategoryPutOK creates a CustomerCategoryPutOK with default headers values
func (*CustomerCategoryPutOK) Error ¶
func (o *CustomerCategoryPutOK) Error() string
func (*CustomerCategoryPutOK) GetPayload ¶
func (o *CustomerCategoryPutOK) GetPayload() *models.ResponseWrapperCustomerCategory
type CustomerCategoryPutParams ¶
type CustomerCategoryPutParams struct { /*Body Partial object describing what should be updated */ Body *models.CustomerCategory /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerCategoryPutParams contains all the parameters to send to the API endpoint for the customer category put operation typically these are written to a http.Request
func NewCustomerCategoryPutParams ¶
func NewCustomerCategoryPutParams() *CustomerCategoryPutParams
NewCustomerCategoryPutParams creates a new CustomerCategoryPutParams object with the default values initialized.
func NewCustomerCategoryPutParamsWithContext ¶
func NewCustomerCategoryPutParamsWithContext(ctx context.Context) *CustomerCategoryPutParams
NewCustomerCategoryPutParamsWithContext creates a new CustomerCategoryPutParams object with the default values initialized, and the ability to set a context for a request
func NewCustomerCategoryPutParamsWithHTTPClient ¶
func NewCustomerCategoryPutParamsWithHTTPClient(client *http.Client) *CustomerCategoryPutParams
NewCustomerCategoryPutParamsWithHTTPClient creates a new CustomerCategoryPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomerCategoryPutParamsWithTimeout ¶
func NewCustomerCategoryPutParamsWithTimeout(timeout time.Duration) *CustomerCategoryPutParams
NewCustomerCategoryPutParamsWithTimeout creates a new CustomerCategoryPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomerCategoryPutParams) SetBody ¶
func (o *CustomerCategoryPutParams) SetBody(body *models.CustomerCategory)
SetBody adds the body to the customer category put params
func (*CustomerCategoryPutParams) SetContext ¶
func (o *CustomerCategoryPutParams) SetContext(ctx context.Context)
SetContext adds the context to the customer category put params
func (*CustomerCategoryPutParams) SetHTTPClient ¶
func (o *CustomerCategoryPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer category put params
func (*CustomerCategoryPutParams) SetID ¶
func (o *CustomerCategoryPutParams) SetID(id int32)
SetID adds the id to the customer category put params
func (*CustomerCategoryPutParams) SetTimeout ¶
func (o *CustomerCategoryPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer category put params
func (*CustomerCategoryPutParams) WithBody ¶
func (o *CustomerCategoryPutParams) WithBody(body *models.CustomerCategory) *CustomerCategoryPutParams
WithBody adds the body to the customer category put params
func (*CustomerCategoryPutParams) WithContext ¶
func (o *CustomerCategoryPutParams) WithContext(ctx context.Context) *CustomerCategoryPutParams
WithContext adds the context to the customer category put params
func (*CustomerCategoryPutParams) WithHTTPClient ¶
func (o *CustomerCategoryPutParams) WithHTTPClient(client *http.Client) *CustomerCategoryPutParams
WithHTTPClient adds the HTTPClient to the customer category put params
func (*CustomerCategoryPutParams) WithID ¶
func (o *CustomerCategoryPutParams) WithID(id int32) *CustomerCategoryPutParams
WithID adds the id to the customer category put params
func (*CustomerCategoryPutParams) WithTimeout ¶
func (o *CustomerCategoryPutParams) WithTimeout(timeout time.Duration) *CustomerCategoryPutParams
WithTimeout adds the timeout to the customer category put params
func (*CustomerCategoryPutParams) WriteToRequest ¶
func (o *CustomerCategoryPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerCategoryPutReader ¶
type CustomerCategoryPutReader struct {
// contains filtered or unexported fields
}
CustomerCategoryPutReader is a Reader for the CustomerCategoryPut structure.
func (*CustomerCategoryPutReader) ReadResponse ¶
func (o *CustomerCategoryPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CustomerCategorySearchOK ¶
type CustomerCategorySearchOK struct {
Payload *models.ListResponseCustomerCategory
}
CustomerCategorySearchOK handles this case with default header values.
successful operation
func NewCustomerCategorySearchOK ¶
func NewCustomerCategorySearchOK() *CustomerCategorySearchOK
NewCustomerCategorySearchOK creates a CustomerCategorySearchOK with default headers values
func (*CustomerCategorySearchOK) Error ¶
func (o *CustomerCategorySearchOK) Error() string
func (*CustomerCategorySearchOK) GetPayload ¶
func (o *CustomerCategorySearchOK) GetPayload() *models.ListResponseCustomerCategory
type CustomerCategorySearchParams ¶
type CustomerCategorySearchParams struct { /*Count Number of elements to return */ Count *int64 /*Description Containing */ Description *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*Name Containing */ Name *string /*Number Equals */ Number *string /*Sorting Sorting pattern */ Sorting *string /*Type List of IDs */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CustomerCategorySearchParams contains all the parameters to send to the API endpoint for the customer category search operation typically these are written to a http.Request
func NewCustomerCategorySearchParams ¶
func NewCustomerCategorySearchParams() *CustomerCategorySearchParams
NewCustomerCategorySearchParams creates a new CustomerCategorySearchParams object with the default values initialized.
func NewCustomerCategorySearchParamsWithContext ¶
func NewCustomerCategorySearchParamsWithContext(ctx context.Context) *CustomerCategorySearchParams
NewCustomerCategorySearchParamsWithContext creates a new CustomerCategorySearchParams object with the default values initialized, and the ability to set a context for a request
func NewCustomerCategorySearchParamsWithHTTPClient ¶
func NewCustomerCategorySearchParamsWithHTTPClient(client *http.Client) *CustomerCategorySearchParams
NewCustomerCategorySearchParamsWithHTTPClient creates a new CustomerCategorySearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCustomerCategorySearchParamsWithTimeout ¶
func NewCustomerCategorySearchParamsWithTimeout(timeout time.Duration) *CustomerCategorySearchParams
NewCustomerCategorySearchParamsWithTimeout creates a new CustomerCategorySearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*CustomerCategorySearchParams) SetContext ¶
func (o *CustomerCategorySearchParams) SetContext(ctx context.Context)
SetContext adds the context to the customer category search params
func (*CustomerCategorySearchParams) SetCount ¶
func (o *CustomerCategorySearchParams) SetCount(count *int64)
SetCount adds the count to the customer category search params
func (*CustomerCategorySearchParams) SetDescription ¶
func (o *CustomerCategorySearchParams) SetDescription(description *string)
SetDescription adds the description to the customer category search params
func (*CustomerCategorySearchParams) SetFields ¶
func (o *CustomerCategorySearchParams) SetFields(fields *string)
SetFields adds the fields to the customer category search params
func (*CustomerCategorySearchParams) SetFrom ¶
func (o *CustomerCategorySearchParams) SetFrom(from *int64)
SetFrom adds the from to the customer category search params
func (*CustomerCategorySearchParams) SetHTTPClient ¶
func (o *CustomerCategorySearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the customer category search params
func (*CustomerCategorySearchParams) SetID ¶
func (o *CustomerCategorySearchParams) SetID(id *string)
SetID adds the id to the customer category search params
func (*CustomerCategorySearchParams) SetName ¶
func (o *CustomerCategorySearchParams) SetName(name *string)
SetName adds the name to the customer category search params
func (*CustomerCategorySearchParams) SetNumber ¶
func (o *CustomerCategorySearchParams) SetNumber(number *string)
SetNumber adds the number to the customer category search params
func (*CustomerCategorySearchParams) SetSorting ¶
func (o *CustomerCategorySearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the customer category search params
func (*CustomerCategorySearchParams) SetTimeout ¶
func (o *CustomerCategorySearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the customer category search params
func (*CustomerCategorySearchParams) SetType ¶
func (o *CustomerCategorySearchParams) SetType(typeVar *string)
SetType adds the type to the customer category search params
func (*CustomerCategorySearchParams) WithContext ¶
func (o *CustomerCategorySearchParams) WithContext(ctx context.Context) *CustomerCategorySearchParams
WithContext adds the context to the customer category search params
func (*CustomerCategorySearchParams) WithCount ¶
func (o *CustomerCategorySearchParams) WithCount(count *int64) *CustomerCategorySearchParams
WithCount adds the count to the customer category search params
func (*CustomerCategorySearchParams) WithDescription ¶
func (o *CustomerCategorySearchParams) WithDescription(description *string) *CustomerCategorySearchParams
WithDescription adds the description to the customer category search params
func (*CustomerCategorySearchParams) WithFields ¶
func (o *CustomerCategorySearchParams) WithFields(fields *string) *CustomerCategorySearchParams
WithFields adds the fields to the customer category search params
func (*CustomerCategorySearchParams) WithFrom ¶
func (o *CustomerCategorySearchParams) WithFrom(from *int64) *CustomerCategorySearchParams
WithFrom adds the from to the customer category search params
func (*CustomerCategorySearchParams) WithHTTPClient ¶
func (o *CustomerCategorySearchParams) WithHTTPClient(client *http.Client) *CustomerCategorySearchParams
WithHTTPClient adds the HTTPClient to the customer category search params
func (*CustomerCategorySearchParams) WithID ¶
func (o *CustomerCategorySearchParams) WithID(id *string) *CustomerCategorySearchParams
WithID adds the id to the customer category search params
func (*CustomerCategorySearchParams) WithName ¶
func (o *CustomerCategorySearchParams) WithName(name *string) *CustomerCategorySearchParams
WithName adds the name to the customer category search params
func (*CustomerCategorySearchParams) WithNumber ¶
func (o *CustomerCategorySearchParams) WithNumber(number *string) *CustomerCategorySearchParams
WithNumber adds the number to the customer category search params
func (*CustomerCategorySearchParams) WithSorting ¶
func (o *CustomerCategorySearchParams) WithSorting(sorting *string) *CustomerCategorySearchParams
WithSorting adds the sorting to the customer category search params
func (*CustomerCategorySearchParams) WithTimeout ¶
func (o *CustomerCategorySearchParams) WithTimeout(timeout time.Duration) *CustomerCategorySearchParams
WithTimeout adds the timeout to the customer category search params
func (*CustomerCategorySearchParams) WithType ¶
func (o *CustomerCategorySearchParams) WithType(typeVar *string) *CustomerCategorySearchParams
WithType adds the typeVar to the customer category search params
func (*CustomerCategorySearchParams) WriteToRequest ¶
func (o *CustomerCategorySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CustomerCategorySearchReader ¶
type CustomerCategorySearchReader struct {
// contains filtered or unexported fields
}
CustomerCategorySearchReader is a Reader for the CustomerCategorySearch structure.
func (*CustomerCategorySearchReader) ReadResponse ¶
func (o *CustomerCategorySearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectCategoryGetOK ¶
type ProjectCategoryGetOK struct {
Payload *models.ResponseWrapperProjectCategory
}
ProjectCategoryGetOK handles this case with default header values.
successful operation
func NewProjectCategoryGetOK ¶
func NewProjectCategoryGetOK() *ProjectCategoryGetOK
NewProjectCategoryGetOK creates a ProjectCategoryGetOK with default headers values
func (*ProjectCategoryGetOK) Error ¶
func (o *ProjectCategoryGetOK) Error() string
func (*ProjectCategoryGetOK) GetPayload ¶
func (o *ProjectCategoryGetOK) GetPayload() *models.ResponseWrapperProjectCategory
type ProjectCategoryGetParams ¶
type ProjectCategoryGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectCategoryGetParams contains all the parameters to send to the API endpoint for the project category get operation typically these are written to a http.Request
func NewProjectCategoryGetParams ¶
func NewProjectCategoryGetParams() *ProjectCategoryGetParams
NewProjectCategoryGetParams creates a new ProjectCategoryGetParams object with the default values initialized.
func NewProjectCategoryGetParamsWithContext ¶
func NewProjectCategoryGetParamsWithContext(ctx context.Context) *ProjectCategoryGetParams
NewProjectCategoryGetParamsWithContext creates a new ProjectCategoryGetParams object with the default values initialized, and the ability to set a context for a request
func NewProjectCategoryGetParamsWithHTTPClient ¶
func NewProjectCategoryGetParamsWithHTTPClient(client *http.Client) *ProjectCategoryGetParams
NewProjectCategoryGetParamsWithHTTPClient creates a new ProjectCategoryGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProjectCategoryGetParamsWithTimeout ¶
func NewProjectCategoryGetParamsWithTimeout(timeout time.Duration) *ProjectCategoryGetParams
NewProjectCategoryGetParamsWithTimeout creates a new ProjectCategoryGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProjectCategoryGetParams) SetContext ¶
func (o *ProjectCategoryGetParams) SetContext(ctx context.Context)
SetContext adds the context to the project category get params
func (*ProjectCategoryGetParams) SetFields ¶
func (o *ProjectCategoryGetParams) SetFields(fields *string)
SetFields adds the fields to the project category get params
func (*ProjectCategoryGetParams) SetHTTPClient ¶
func (o *ProjectCategoryGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project category get params
func (*ProjectCategoryGetParams) SetID ¶
func (o *ProjectCategoryGetParams) SetID(id int32)
SetID adds the id to the project category get params
func (*ProjectCategoryGetParams) SetTimeout ¶
func (o *ProjectCategoryGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project category get params
func (*ProjectCategoryGetParams) WithContext ¶
func (o *ProjectCategoryGetParams) WithContext(ctx context.Context) *ProjectCategoryGetParams
WithContext adds the context to the project category get params
func (*ProjectCategoryGetParams) WithFields ¶
func (o *ProjectCategoryGetParams) WithFields(fields *string) *ProjectCategoryGetParams
WithFields adds the fields to the project category get params
func (*ProjectCategoryGetParams) WithHTTPClient ¶
func (o *ProjectCategoryGetParams) WithHTTPClient(client *http.Client) *ProjectCategoryGetParams
WithHTTPClient adds the HTTPClient to the project category get params
func (*ProjectCategoryGetParams) WithID ¶
func (o *ProjectCategoryGetParams) WithID(id int32) *ProjectCategoryGetParams
WithID adds the id to the project category get params
func (*ProjectCategoryGetParams) WithTimeout ¶
func (o *ProjectCategoryGetParams) WithTimeout(timeout time.Duration) *ProjectCategoryGetParams
WithTimeout adds the timeout to the project category get params
func (*ProjectCategoryGetParams) WriteToRequest ¶
func (o *ProjectCategoryGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectCategoryGetReader ¶
type ProjectCategoryGetReader struct {
// contains filtered or unexported fields
}
ProjectCategoryGetReader is a Reader for the ProjectCategoryGet structure.
func (*ProjectCategoryGetReader) ReadResponse ¶
func (o *ProjectCategoryGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectCategoryPostCreated ¶
type ProjectCategoryPostCreated struct {
Payload *models.ResponseWrapperProjectCategory
}
ProjectCategoryPostCreated handles this case with default header values.
successfully created
func NewProjectCategoryPostCreated ¶
func NewProjectCategoryPostCreated() *ProjectCategoryPostCreated
NewProjectCategoryPostCreated creates a ProjectCategoryPostCreated with default headers values
func (*ProjectCategoryPostCreated) Error ¶
func (o *ProjectCategoryPostCreated) Error() string
func (*ProjectCategoryPostCreated) GetPayload ¶
func (o *ProjectCategoryPostCreated) GetPayload() *models.ResponseWrapperProjectCategory
type ProjectCategoryPostParams ¶
type ProjectCategoryPostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.ProjectCategory Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectCategoryPostParams contains all the parameters to send to the API endpoint for the project category post operation typically these are written to a http.Request
func NewProjectCategoryPostParams ¶
func NewProjectCategoryPostParams() *ProjectCategoryPostParams
NewProjectCategoryPostParams creates a new ProjectCategoryPostParams object with the default values initialized.
func NewProjectCategoryPostParamsWithContext ¶
func NewProjectCategoryPostParamsWithContext(ctx context.Context) *ProjectCategoryPostParams
NewProjectCategoryPostParamsWithContext creates a new ProjectCategoryPostParams object with the default values initialized, and the ability to set a context for a request
func NewProjectCategoryPostParamsWithHTTPClient ¶
func NewProjectCategoryPostParamsWithHTTPClient(client *http.Client) *ProjectCategoryPostParams
NewProjectCategoryPostParamsWithHTTPClient creates a new ProjectCategoryPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProjectCategoryPostParamsWithTimeout ¶
func NewProjectCategoryPostParamsWithTimeout(timeout time.Duration) *ProjectCategoryPostParams
NewProjectCategoryPostParamsWithTimeout creates a new ProjectCategoryPostParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProjectCategoryPostParams) SetBody ¶
func (o *ProjectCategoryPostParams) SetBody(body *models.ProjectCategory)
SetBody adds the body to the project category post params
func (*ProjectCategoryPostParams) SetContext ¶
func (o *ProjectCategoryPostParams) SetContext(ctx context.Context)
SetContext adds the context to the project category post params
func (*ProjectCategoryPostParams) SetHTTPClient ¶
func (o *ProjectCategoryPostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project category post params
func (*ProjectCategoryPostParams) SetTimeout ¶
func (o *ProjectCategoryPostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project category post params
func (*ProjectCategoryPostParams) WithBody ¶
func (o *ProjectCategoryPostParams) WithBody(body *models.ProjectCategory) *ProjectCategoryPostParams
WithBody adds the body to the project category post params
func (*ProjectCategoryPostParams) WithContext ¶
func (o *ProjectCategoryPostParams) WithContext(ctx context.Context) *ProjectCategoryPostParams
WithContext adds the context to the project category post params
func (*ProjectCategoryPostParams) WithHTTPClient ¶
func (o *ProjectCategoryPostParams) WithHTTPClient(client *http.Client) *ProjectCategoryPostParams
WithHTTPClient adds the HTTPClient to the project category post params
func (*ProjectCategoryPostParams) WithTimeout ¶
func (o *ProjectCategoryPostParams) WithTimeout(timeout time.Duration) *ProjectCategoryPostParams
WithTimeout adds the timeout to the project category post params
func (*ProjectCategoryPostParams) WriteToRequest ¶
func (o *ProjectCategoryPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectCategoryPostReader ¶
type ProjectCategoryPostReader struct {
// contains filtered or unexported fields
}
ProjectCategoryPostReader is a Reader for the ProjectCategoryPost structure.
func (*ProjectCategoryPostReader) ReadResponse ¶
func (o *ProjectCategoryPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectCategoryPutOK ¶
type ProjectCategoryPutOK struct {
Payload *models.ResponseWrapperProjectCategory
}
ProjectCategoryPutOK handles this case with default header values.
successful operation
func NewProjectCategoryPutOK ¶
func NewProjectCategoryPutOK() *ProjectCategoryPutOK
NewProjectCategoryPutOK creates a ProjectCategoryPutOK with default headers values
func (*ProjectCategoryPutOK) Error ¶
func (o *ProjectCategoryPutOK) Error() string
func (*ProjectCategoryPutOK) GetPayload ¶
func (o *ProjectCategoryPutOK) GetPayload() *models.ResponseWrapperProjectCategory
type ProjectCategoryPutParams ¶
type ProjectCategoryPutParams struct { /*Body Partial object describing what should be updated */ Body *models.ProjectCategory /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectCategoryPutParams contains all the parameters to send to the API endpoint for the project category put operation typically these are written to a http.Request
func NewProjectCategoryPutParams ¶
func NewProjectCategoryPutParams() *ProjectCategoryPutParams
NewProjectCategoryPutParams creates a new ProjectCategoryPutParams object with the default values initialized.
func NewProjectCategoryPutParamsWithContext ¶
func NewProjectCategoryPutParamsWithContext(ctx context.Context) *ProjectCategoryPutParams
NewProjectCategoryPutParamsWithContext creates a new ProjectCategoryPutParams object with the default values initialized, and the ability to set a context for a request
func NewProjectCategoryPutParamsWithHTTPClient ¶
func NewProjectCategoryPutParamsWithHTTPClient(client *http.Client) *ProjectCategoryPutParams
NewProjectCategoryPutParamsWithHTTPClient creates a new ProjectCategoryPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProjectCategoryPutParamsWithTimeout ¶
func NewProjectCategoryPutParamsWithTimeout(timeout time.Duration) *ProjectCategoryPutParams
NewProjectCategoryPutParamsWithTimeout creates a new ProjectCategoryPutParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProjectCategoryPutParams) SetBody ¶
func (o *ProjectCategoryPutParams) SetBody(body *models.ProjectCategory)
SetBody adds the body to the project category put params
func (*ProjectCategoryPutParams) SetContext ¶
func (o *ProjectCategoryPutParams) SetContext(ctx context.Context)
SetContext adds the context to the project category put params
func (*ProjectCategoryPutParams) SetHTTPClient ¶
func (o *ProjectCategoryPutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project category put params
func (*ProjectCategoryPutParams) SetID ¶
func (o *ProjectCategoryPutParams) SetID(id int32)
SetID adds the id to the project category put params
func (*ProjectCategoryPutParams) SetTimeout ¶
func (o *ProjectCategoryPutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project category put params
func (*ProjectCategoryPutParams) WithBody ¶
func (o *ProjectCategoryPutParams) WithBody(body *models.ProjectCategory) *ProjectCategoryPutParams
WithBody adds the body to the project category put params
func (*ProjectCategoryPutParams) WithContext ¶
func (o *ProjectCategoryPutParams) WithContext(ctx context.Context) *ProjectCategoryPutParams
WithContext adds the context to the project category put params
func (*ProjectCategoryPutParams) WithHTTPClient ¶
func (o *ProjectCategoryPutParams) WithHTTPClient(client *http.Client) *ProjectCategoryPutParams
WithHTTPClient adds the HTTPClient to the project category put params
func (*ProjectCategoryPutParams) WithID ¶
func (o *ProjectCategoryPutParams) WithID(id int32) *ProjectCategoryPutParams
WithID adds the id to the project category put params
func (*ProjectCategoryPutParams) WithTimeout ¶
func (o *ProjectCategoryPutParams) WithTimeout(timeout time.Duration) *ProjectCategoryPutParams
WithTimeout adds the timeout to the project category put params
func (*ProjectCategoryPutParams) WriteToRequest ¶
func (o *ProjectCategoryPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectCategoryPutReader ¶
type ProjectCategoryPutReader struct {
// contains filtered or unexported fields
}
ProjectCategoryPutReader is a Reader for the ProjectCategoryPut structure.
func (*ProjectCategoryPutReader) ReadResponse ¶
func (o *ProjectCategoryPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectCategorySearchOK ¶
type ProjectCategorySearchOK struct {
Payload *models.ListResponseProjectCategory
}
ProjectCategorySearchOK handles this case with default header values.
successful operation
func NewProjectCategorySearchOK ¶
func NewProjectCategorySearchOK() *ProjectCategorySearchOK
NewProjectCategorySearchOK creates a ProjectCategorySearchOK with default headers values
func (*ProjectCategorySearchOK) Error ¶
func (o *ProjectCategorySearchOK) Error() string
func (*ProjectCategorySearchOK) GetPayload ¶
func (o *ProjectCategorySearchOK) GetPayload() *models.ListResponseProjectCategory
type ProjectCategorySearchParams ¶
type ProjectCategorySearchParams struct { /*Count Number of elements to return */ Count *int64 /*Description Containing */ Description *string /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*ID List of IDs */ ID *string /*Name Containing */ Name *string /*Number Equals */ Number *string /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectCategorySearchParams contains all the parameters to send to the API endpoint for the project category search operation typically these are written to a http.Request
func NewProjectCategorySearchParams ¶
func NewProjectCategorySearchParams() *ProjectCategorySearchParams
NewProjectCategorySearchParams creates a new ProjectCategorySearchParams object with the default values initialized.
func NewProjectCategorySearchParamsWithContext ¶
func NewProjectCategorySearchParamsWithContext(ctx context.Context) *ProjectCategorySearchParams
NewProjectCategorySearchParamsWithContext creates a new ProjectCategorySearchParams object with the default values initialized, and the ability to set a context for a request
func NewProjectCategorySearchParamsWithHTTPClient ¶
func NewProjectCategorySearchParamsWithHTTPClient(client *http.Client) *ProjectCategorySearchParams
NewProjectCategorySearchParamsWithHTTPClient creates a new ProjectCategorySearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewProjectCategorySearchParamsWithTimeout ¶
func NewProjectCategorySearchParamsWithTimeout(timeout time.Duration) *ProjectCategorySearchParams
NewProjectCategorySearchParamsWithTimeout creates a new ProjectCategorySearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*ProjectCategorySearchParams) SetContext ¶
func (o *ProjectCategorySearchParams) SetContext(ctx context.Context)
SetContext adds the context to the project category search params
func (*ProjectCategorySearchParams) SetCount ¶
func (o *ProjectCategorySearchParams) SetCount(count *int64)
SetCount adds the count to the project category search params
func (*ProjectCategorySearchParams) SetDescription ¶
func (o *ProjectCategorySearchParams) SetDescription(description *string)
SetDescription adds the description to the project category search params
func (*ProjectCategorySearchParams) SetFields ¶
func (o *ProjectCategorySearchParams) SetFields(fields *string)
SetFields adds the fields to the project category search params
func (*ProjectCategorySearchParams) SetFrom ¶
func (o *ProjectCategorySearchParams) SetFrom(from *int64)
SetFrom adds the from to the project category search params
func (*ProjectCategorySearchParams) SetHTTPClient ¶
func (o *ProjectCategorySearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project category search params
func (*ProjectCategorySearchParams) SetID ¶
func (o *ProjectCategorySearchParams) SetID(id *string)
SetID adds the id to the project category search params
func (*ProjectCategorySearchParams) SetName ¶
func (o *ProjectCategorySearchParams) SetName(name *string)
SetName adds the name to the project category search params
func (*ProjectCategorySearchParams) SetNumber ¶
func (o *ProjectCategorySearchParams) SetNumber(number *string)
SetNumber adds the number to the project category search params
func (*ProjectCategorySearchParams) SetSorting ¶
func (o *ProjectCategorySearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the project category search params
func (*ProjectCategorySearchParams) SetTimeout ¶
func (o *ProjectCategorySearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project category search params
func (*ProjectCategorySearchParams) WithContext ¶
func (o *ProjectCategorySearchParams) WithContext(ctx context.Context) *ProjectCategorySearchParams
WithContext adds the context to the project category search params
func (*ProjectCategorySearchParams) WithCount ¶
func (o *ProjectCategorySearchParams) WithCount(count *int64) *ProjectCategorySearchParams
WithCount adds the count to the project category search params
func (*ProjectCategorySearchParams) WithDescription ¶
func (o *ProjectCategorySearchParams) WithDescription(description *string) *ProjectCategorySearchParams
WithDescription adds the description to the project category search params
func (*ProjectCategorySearchParams) WithFields ¶
func (o *ProjectCategorySearchParams) WithFields(fields *string) *ProjectCategorySearchParams
WithFields adds the fields to the project category search params
func (*ProjectCategorySearchParams) WithFrom ¶
func (o *ProjectCategorySearchParams) WithFrom(from *int64) *ProjectCategorySearchParams
WithFrom adds the from to the project category search params
func (*ProjectCategorySearchParams) WithHTTPClient ¶
func (o *ProjectCategorySearchParams) WithHTTPClient(client *http.Client) *ProjectCategorySearchParams
WithHTTPClient adds the HTTPClient to the project category search params
func (*ProjectCategorySearchParams) WithID ¶
func (o *ProjectCategorySearchParams) WithID(id *string) *ProjectCategorySearchParams
WithID adds the id to the project category search params
func (*ProjectCategorySearchParams) WithName ¶
func (o *ProjectCategorySearchParams) WithName(name *string) *ProjectCategorySearchParams
WithName adds the name to the project category search params
func (*ProjectCategorySearchParams) WithNumber ¶
func (o *ProjectCategorySearchParams) WithNumber(number *string) *ProjectCategorySearchParams
WithNumber adds the number to the project category search params
func (*ProjectCategorySearchParams) WithSorting ¶
func (o *ProjectCategorySearchParams) WithSorting(sorting *string) *ProjectCategorySearchParams
WithSorting adds the sorting to the project category search params
func (*ProjectCategorySearchParams) WithTimeout ¶
func (o *ProjectCategorySearchParams) WithTimeout(timeout time.Duration) *ProjectCategorySearchParams
WithTimeout adds the timeout to the project category search params
func (*ProjectCategorySearchParams) WriteToRequest ¶
func (o *ProjectCategorySearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectCategorySearchReader ¶
type ProjectCategorySearchReader struct {
// contains filtered or unexported fields
}
ProjectCategorySearchReader is a Reader for the ProjectCategorySearch structure.
func (*ProjectCategorySearchReader) ReadResponse ¶
func (o *ProjectCategorySearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- category_client.go
- customer_category_get_parameters.go
- customer_category_get_responses.go
- customer_category_post_parameters.go
- customer_category_post_responses.go
- customer_category_put_parameters.go
- customer_category_put_responses.go
- customer_category_search_parameters.go
- customer_category_search_responses.go
- project_category_get_parameters.go
- project_category_get_responses.go
- project_category_post_parameters.go
- project_category_post_responses.go
- project_category_put_parameters.go
- project_category_put_responses.go
- project_category_search_parameters.go
- project_category_search_responses.go