category

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

WithContext adds the context to the customer category get params

func (*CustomerCategoryGetParams) WithFields

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

WithID adds the id to the customer category get params

func (*CustomerCategoryGetParams) WithTimeout

WithTimeout adds the timeout to the customer category get params

func (*CustomerCategoryGetParams) WriteToRequest

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 (*CustomerCategoryPostCreated) GetPayload

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

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

WithBody adds the body to the customer category post params

func (*CustomerCategoryPostParams) WithContext

WithContext adds the context to the customer category post params

func (*CustomerCategoryPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer category post params

func (*CustomerCategoryPostParams) WithTimeout

WithTimeout adds the timeout to the customer category post params

func (*CustomerCategoryPostParams) WriteToRequest

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

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

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

WithBody adds the body to the customer category put params

func (*CustomerCategoryPutParams) WithContext

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

WithID adds the id to the customer category put params

func (*CustomerCategoryPutParams) WithTimeout

WithTimeout adds the timeout to the customer category put params

func (*CustomerCategoryPutParams) WriteToRequest

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

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

WithContext adds the context to the customer category search params

func (*CustomerCategorySearchParams) WithCount

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

WithFields adds the fields to the customer category search params

func (*CustomerCategorySearchParams) WithFrom

WithFrom adds the from to the customer category search params

func (*CustomerCategorySearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer category search params

func (*CustomerCategorySearchParams) WithID

WithID adds the id to the customer category search params

func (*CustomerCategorySearchParams) WithName

WithName adds the name to the customer category search params

func (*CustomerCategorySearchParams) WithNumber

WithNumber adds the number to the customer category search params

func (*CustomerCategorySearchParams) WithSorting

WithSorting adds the sorting to the customer category search params

func (*CustomerCategorySearchParams) WithTimeout

WithTimeout adds the timeout to the customer category search params

func (*CustomerCategorySearchParams) WithType

WithType adds the typeVar to the customer category search params

func (*CustomerCategorySearchParams) WriteToRequest

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

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

WithContext adds the context to the project category get params

func (*ProjectCategoryGetParams) WithFields

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

WithID adds the id to the project category get params

func (*ProjectCategoryGetParams) WithTimeout

WithTimeout adds the timeout to the project category get params

func (*ProjectCategoryGetParams) WriteToRequest

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 (*ProjectCategoryPostCreated) GetPayload

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

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

WithBody adds the body to the project category post params

func (*ProjectCategoryPostParams) WithContext

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

WithTimeout adds the timeout to the project category post params

func (*ProjectCategoryPostParams) WriteToRequest

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

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

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

WithBody adds the body to the project category put params

func (*ProjectCategoryPutParams) WithContext

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

WithID adds the id to the project category put params

func (*ProjectCategoryPutParams) WithTimeout

WithTimeout adds the timeout to the project category put params

func (*ProjectCategoryPutParams) WriteToRequest

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

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

WithContext adds the context to the project category search params

func (*ProjectCategorySearchParams) WithCount

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

WithFields adds the fields to the project category search params

func (*ProjectCategorySearchParams) WithFrom

WithFrom adds the from to the project category search params

func (*ProjectCategorySearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project category search params

func (*ProjectCategorySearchParams) WithID

WithID adds the id to the project category search params

func (*ProjectCategorySearchParams) WithName

WithName adds the name to the project category search params

func (*ProjectCategorySearchParams) WithNumber

WithNumber adds the number to the project category search params

func (*ProjectCategorySearchParams) WithSorting

WithSorting adds the sorting to the project category search params

func (*ProjectCategorySearchParams) WithTimeout

WithTimeout adds the timeout to the project category search params

func (*ProjectCategorySearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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