expense

package
v0.0.0-...-9e5aecc Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: GPL-2.0 Imports: 12 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 expense API

func (*Client) DeleteAPIExpensesID

func (a *Client) DeleteAPIExpensesID(params *DeleteAPIExpensesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIExpensesIDNoContent, error)

DeleteAPIExpensesID deletes an existing expense record

func (*Client) GetAPIExpenses

func (a *Client) GetAPIExpenses(params *GetAPIExpensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIExpensesOK, error)

GetAPIExpenses returns a collection of expenses

func (*Client) GetAPIExpensesID

func (a *Client) GetAPIExpensesID(params *GetAPIExpensesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIExpensesIDOK, error)

GetAPIExpensesID returns one expense

func (*Client) PatchAPIExpensesID

func (a *Client) PatchAPIExpensesID(params *PatchAPIExpensesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIExpensesIDOK, error)

PatchAPIExpensesID updates an existing expense

Update an existing expense, you can pass all or just a subset of all attributes

func (*Client) PatchAPIExpensesIDDuplicate

func (a *Client) PatchAPIExpensesIDDuplicate(params *PatchAPIExpensesIDDuplicateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIExpensesIDDuplicateOK, error)

PatchAPIExpensesIDDuplicate duplicates an existing expense record

func (*Client) PatchAPIExpensesIDMeta

func (a *Client) PatchAPIExpensesIDMeta(params *PatchAPIExpensesIDMetaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIExpensesIDMetaOK, error)

PatchAPIExpensesIDMeta sets the value of a meta field for an existing expense

func (*Client) PostAPIExpenses

func (a *Client) PostAPIExpenses(params *PostAPIExpensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIExpensesOK, error)

PostAPIExpenses creates a new expense

Creates a new expense and returns it afterwards

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteAPIExpensesID(params *DeleteAPIExpensesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIExpensesIDNoContent, error)

	GetAPIExpenses(params *GetAPIExpensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIExpensesOK, error)

	GetAPIExpensesID(params *GetAPIExpensesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIExpensesIDOK, error)

	PatchAPIExpensesID(params *PatchAPIExpensesIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIExpensesIDOK, error)

	PatchAPIExpensesIDDuplicate(params *PatchAPIExpensesIDDuplicateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIExpensesIDDuplicateOK, error)

	PatchAPIExpensesIDMeta(params *PatchAPIExpensesIDMetaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIExpensesIDMetaOK, error)

	PostAPIExpenses(params *PostAPIExpensesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIExpensesOK, 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 expense API client.

type DeleteAPIExpensesIDNoContent

type DeleteAPIExpensesIDNoContent struct {
}

DeleteAPIExpensesIDNoContent describes a response with status code 204, with default header values.

Delete one expense record

func NewDeleteAPIExpensesIDNoContent

func NewDeleteAPIExpensesIDNoContent() *DeleteAPIExpensesIDNoContent

NewDeleteAPIExpensesIDNoContent creates a DeleteAPIExpensesIDNoContent with default headers values

func (*DeleteAPIExpensesIDNoContent) Error

func (*DeleteAPIExpensesIDNoContent) IsClientError

func (o *DeleteAPIExpensesIDNoContent) IsClientError() bool

IsClientError returns true when this delete Api expenses Id no content response has a 4xx status code

func (*DeleteAPIExpensesIDNoContent) IsCode

func (o *DeleteAPIExpensesIDNoContent) IsCode(code int) bool

IsCode returns true when this delete Api expenses Id no content response a status code equal to that given

func (*DeleteAPIExpensesIDNoContent) IsRedirect

func (o *DeleteAPIExpensesIDNoContent) IsRedirect() bool

IsRedirect returns true when this delete Api expenses Id no content response has a 3xx status code

func (*DeleteAPIExpensesIDNoContent) IsServerError

func (o *DeleteAPIExpensesIDNoContent) IsServerError() bool

IsServerError returns true when this delete Api expenses Id no content response has a 5xx status code

func (*DeleteAPIExpensesIDNoContent) IsSuccess

func (o *DeleteAPIExpensesIDNoContent) IsSuccess() bool

IsSuccess returns true when this delete Api expenses Id no content response has a 2xx status code

func (*DeleteAPIExpensesIDNoContent) String

type DeleteAPIExpensesIDParams

type DeleteAPIExpensesIDParams struct {

	/* ID.

	   Expense record ID to delete
	*/
	ID int64

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

DeleteAPIExpensesIDParams contains all the parameters to send to the API endpoint

for the delete API expenses ID operation.

Typically these are written to a http.Request.

func NewDeleteAPIExpensesIDParams

func NewDeleteAPIExpensesIDParams() *DeleteAPIExpensesIDParams

NewDeleteAPIExpensesIDParams creates a new DeleteAPIExpensesIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteAPIExpensesIDParamsWithContext

func NewDeleteAPIExpensesIDParamsWithContext(ctx context.Context) *DeleteAPIExpensesIDParams

NewDeleteAPIExpensesIDParamsWithContext creates a new DeleteAPIExpensesIDParams object with the ability to set a context for a request.

func NewDeleteAPIExpensesIDParamsWithHTTPClient

func NewDeleteAPIExpensesIDParamsWithHTTPClient(client *http.Client) *DeleteAPIExpensesIDParams

NewDeleteAPIExpensesIDParamsWithHTTPClient creates a new DeleteAPIExpensesIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAPIExpensesIDParamsWithTimeout

func NewDeleteAPIExpensesIDParamsWithTimeout(timeout time.Duration) *DeleteAPIExpensesIDParams

NewDeleteAPIExpensesIDParamsWithTimeout creates a new DeleteAPIExpensesIDParams object with the ability to set a timeout on a request.

func (*DeleteAPIExpensesIDParams) SetContext

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

SetContext adds the context to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) SetDefaults

func (o *DeleteAPIExpensesIDParams) SetDefaults()

SetDefaults hydrates default values in the delete API expenses ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIExpensesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) SetID

func (o *DeleteAPIExpensesIDParams) SetID(id int64)

SetID adds the id to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) WithContext

WithContext adds the context to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) WithDefaults

WithDefaults hydrates default values in the delete API expenses ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteAPIExpensesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) WithID

WithID adds the id to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) WithTimeout

WithTimeout adds the timeout to the delete API expenses ID params

func (*DeleteAPIExpensesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPIExpensesIDReader

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

DeleteAPIExpensesIDReader is a Reader for the DeleteAPIExpensesID structure.

func (*DeleteAPIExpensesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIExpensesIDOK

type GetAPIExpensesIDOK struct {
	Payload *models.ExpenseEntity
}

GetAPIExpensesIDOK describes a response with status code 200, with default header values.

Returns one expense entity

func NewGetAPIExpensesIDOK

func NewGetAPIExpensesIDOK() *GetAPIExpensesIDOK

NewGetAPIExpensesIDOK creates a GetAPIExpensesIDOK with default headers values

func (*GetAPIExpensesIDOK) Error

func (o *GetAPIExpensesIDOK) Error() string

func (*GetAPIExpensesIDOK) GetPayload

func (o *GetAPIExpensesIDOK) GetPayload() *models.ExpenseEntity

func (*GetAPIExpensesIDOK) IsClientError

func (o *GetAPIExpensesIDOK) IsClientError() bool

IsClientError returns true when this get Api expenses Id o k response has a 4xx status code

func (*GetAPIExpensesIDOK) IsCode

func (o *GetAPIExpensesIDOK) IsCode(code int) bool

IsCode returns true when this get Api expenses Id o k response a status code equal to that given

func (*GetAPIExpensesIDOK) IsRedirect

func (o *GetAPIExpensesIDOK) IsRedirect() bool

IsRedirect returns true when this get Api expenses Id o k response has a 3xx status code

func (*GetAPIExpensesIDOK) IsServerError

func (o *GetAPIExpensesIDOK) IsServerError() bool

IsServerError returns true when this get Api expenses Id o k response has a 5xx status code

func (*GetAPIExpensesIDOK) IsSuccess

func (o *GetAPIExpensesIDOK) IsSuccess() bool

IsSuccess returns true when this get Api expenses Id o k response has a 2xx status code

func (*GetAPIExpensesIDOK) String

func (o *GetAPIExpensesIDOK) String() string

type GetAPIExpensesIDParams

type GetAPIExpensesIDParams struct {

	/* ID.

	   Expense ID to fetch
	*/
	ID int64

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

GetAPIExpensesIDParams contains all the parameters to send to the API endpoint

for the get API expenses ID operation.

Typically these are written to a http.Request.

func NewGetAPIExpensesIDParams

func NewGetAPIExpensesIDParams() *GetAPIExpensesIDParams

NewGetAPIExpensesIDParams creates a new GetAPIExpensesIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIExpensesIDParamsWithContext

func NewGetAPIExpensesIDParamsWithContext(ctx context.Context) *GetAPIExpensesIDParams

NewGetAPIExpensesIDParamsWithContext creates a new GetAPIExpensesIDParams object with the ability to set a context for a request.

func NewGetAPIExpensesIDParamsWithHTTPClient

func NewGetAPIExpensesIDParamsWithHTTPClient(client *http.Client) *GetAPIExpensesIDParams

NewGetAPIExpensesIDParamsWithHTTPClient creates a new GetAPIExpensesIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIExpensesIDParamsWithTimeout

func NewGetAPIExpensesIDParamsWithTimeout(timeout time.Duration) *GetAPIExpensesIDParams

NewGetAPIExpensesIDParamsWithTimeout creates a new GetAPIExpensesIDParams object with the ability to set a timeout on a request.

func (*GetAPIExpensesIDParams) SetContext

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

SetContext adds the context to the get API expenses ID params

func (*GetAPIExpensesIDParams) SetDefaults

func (o *GetAPIExpensesIDParams) SetDefaults()

SetDefaults hydrates default values in the get API expenses ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIExpensesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API expenses ID params

func (*GetAPIExpensesIDParams) SetID

func (o *GetAPIExpensesIDParams) SetID(id int64)

SetID adds the id to the get API expenses ID params

func (*GetAPIExpensesIDParams) SetTimeout

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

SetTimeout adds the timeout to the get API expenses ID params

func (*GetAPIExpensesIDParams) WithContext

WithContext adds the context to the get API expenses ID params

func (*GetAPIExpensesIDParams) WithDefaults

WithDefaults hydrates default values in the get API expenses ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIExpensesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API expenses ID params

func (*GetAPIExpensesIDParams) WithID

WithID adds the id to the get API expenses ID params

func (*GetAPIExpensesIDParams) WithTimeout

WithTimeout adds the timeout to the get API expenses ID params

func (*GetAPIExpensesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPIExpensesIDReader

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

GetAPIExpensesIDReader is a Reader for the GetAPIExpensesID structure.

func (*GetAPIExpensesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAPIExpensesOK

type GetAPIExpensesOK struct {
	Payload []*models.ExpenseEntity
}

GetAPIExpensesOK describes a response with status code 200, with default header values.

Returns a collection of expense entities

func NewGetAPIExpensesOK

func NewGetAPIExpensesOK() *GetAPIExpensesOK

NewGetAPIExpensesOK creates a GetAPIExpensesOK with default headers values

func (*GetAPIExpensesOK) Error

func (o *GetAPIExpensesOK) Error() string

func (*GetAPIExpensesOK) GetPayload

func (o *GetAPIExpensesOK) GetPayload() []*models.ExpenseEntity

func (*GetAPIExpensesOK) IsClientError

func (o *GetAPIExpensesOK) IsClientError() bool

IsClientError returns true when this get Api expenses o k response has a 4xx status code

func (*GetAPIExpensesOK) IsCode

func (o *GetAPIExpensesOK) IsCode(code int) bool

IsCode returns true when this get Api expenses o k response a status code equal to that given

func (*GetAPIExpensesOK) IsRedirect

func (o *GetAPIExpensesOK) IsRedirect() bool

IsRedirect returns true when this get Api expenses o k response has a 3xx status code

func (*GetAPIExpensesOK) IsServerError

func (o *GetAPIExpensesOK) IsServerError() bool

IsServerError returns true when this get Api expenses o k response has a 5xx status code

func (*GetAPIExpensesOK) IsSuccess

func (o *GetAPIExpensesOK) IsSuccess() bool

IsSuccess returns true when this get Api expenses o k response has a 2xx status code

func (*GetAPIExpensesOK) String

func (o *GetAPIExpensesOK) String() string

type GetAPIExpensesParams

type GetAPIExpensesParams struct {

	/* Begin.

	   Only records after this date will be included (format: HTML5)

	   Format: DateTime
	*/
	Begin string

	/* End.

	   Only records before this date will be included (format: HTML5)

	   Format: DateTime
	*/
	End string

	/* Exported.

	   Use this flag if you want to filter for export state. Allowed values: 0=not exported, 1=exported (default: all)
	*/
	Exported string

	/* Order.

	   The result order. Allowed values: ASC, DESC (default: DESC)
	*/
	Order string

	/* OrderBy.

	   The field by which results will be ordered. Allowed values: begin, end, duration, total, category, cost, user, customer, project, activity, description, exported, refundable, multiplier (default: begin)
	*/
	OrderBy string

	/* Page.

	   The page to display, renders a 404 if not found (default: 1)
	*/
	Page string

	/* Refundable.

	   Use this flag if you want to filter for refundable expenses. Allowed values: 0=not refundable, 1=refundable (default: all)
	*/
	Refundable string

	/* Size.

	   The amount of entries for each page (default: 50)
	*/
	Size string

	/* Term.

	   Free search term
	*/
	Term string

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

GetAPIExpensesParams contains all the parameters to send to the API endpoint

for the get API expenses operation.

Typically these are written to a http.Request.

func NewGetAPIExpensesParams

func NewGetAPIExpensesParams() *GetAPIExpensesParams

NewGetAPIExpensesParams creates a new GetAPIExpensesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetAPIExpensesParamsWithContext

func NewGetAPIExpensesParamsWithContext(ctx context.Context) *GetAPIExpensesParams

NewGetAPIExpensesParamsWithContext creates a new GetAPIExpensesParams object with the ability to set a context for a request.

func NewGetAPIExpensesParamsWithHTTPClient

func NewGetAPIExpensesParamsWithHTTPClient(client *http.Client) *GetAPIExpensesParams

NewGetAPIExpensesParamsWithHTTPClient creates a new GetAPIExpensesParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIExpensesParamsWithTimeout

func NewGetAPIExpensesParamsWithTimeout(timeout time.Duration) *GetAPIExpensesParams

NewGetAPIExpensesParamsWithTimeout creates a new GetAPIExpensesParams object with the ability to set a timeout on a request.

func (*GetAPIExpensesParams) SetBegin

func (o *GetAPIExpensesParams) SetBegin(begin string)

SetBegin adds the begin to the get API expenses params

func (*GetAPIExpensesParams) SetContext

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

SetContext adds the context to the get API expenses params

func (*GetAPIExpensesParams) SetDefaults

func (o *GetAPIExpensesParams) SetDefaults()

SetDefaults hydrates default values in the get API expenses params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIExpensesParams) SetEnd

func (o *GetAPIExpensesParams) SetEnd(end string)

SetEnd adds the end to the get API expenses params

func (*GetAPIExpensesParams) SetExported

func (o *GetAPIExpensesParams) SetExported(exported string)

SetExported adds the exported to the get API expenses params

func (*GetAPIExpensesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API expenses params

func (*GetAPIExpensesParams) SetOrder

func (o *GetAPIExpensesParams) SetOrder(order string)

SetOrder adds the order to the get API expenses params

func (*GetAPIExpensesParams) SetOrderBy

func (o *GetAPIExpensesParams) SetOrderBy(orderBy string)

SetOrderBy adds the orderBy to the get API expenses params

func (*GetAPIExpensesParams) SetPage

func (o *GetAPIExpensesParams) SetPage(page string)

SetPage adds the page to the get API expenses params

func (*GetAPIExpensesParams) SetRefundable

func (o *GetAPIExpensesParams) SetRefundable(refundable string)

SetRefundable adds the refundable to the get API expenses params

func (*GetAPIExpensesParams) SetSize

func (o *GetAPIExpensesParams) SetSize(size string)

SetSize adds the size to the get API expenses params

func (*GetAPIExpensesParams) SetTerm

func (o *GetAPIExpensesParams) SetTerm(term string)

SetTerm adds the term to the get API expenses params

func (*GetAPIExpensesParams) SetTimeout

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

SetTimeout adds the timeout to the get API expenses params

func (*GetAPIExpensesParams) WithBegin

func (o *GetAPIExpensesParams) WithBegin(begin string) *GetAPIExpensesParams

WithBegin adds the begin to the get API expenses params

func (*GetAPIExpensesParams) WithContext

WithContext adds the context to the get API expenses params

func (*GetAPIExpensesParams) WithDefaults

func (o *GetAPIExpensesParams) WithDefaults() *GetAPIExpensesParams

WithDefaults hydrates default values in the get API expenses params (not the query body).

All values with no default are reset to their zero value.

func (*GetAPIExpensesParams) WithEnd

WithEnd adds the end to the get API expenses params

func (*GetAPIExpensesParams) WithExported

func (o *GetAPIExpensesParams) WithExported(exported string) *GetAPIExpensesParams

WithExported adds the exported to the get API expenses params

func (*GetAPIExpensesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API expenses params

func (*GetAPIExpensesParams) WithOrder

func (o *GetAPIExpensesParams) WithOrder(order string) *GetAPIExpensesParams

WithOrder adds the order to the get API expenses params

func (*GetAPIExpensesParams) WithOrderBy

func (o *GetAPIExpensesParams) WithOrderBy(orderBy string) *GetAPIExpensesParams

WithOrderBy adds the orderBy to the get API expenses params

func (*GetAPIExpensesParams) WithPage

WithPage adds the page to the get API expenses params

func (*GetAPIExpensesParams) WithRefundable

func (o *GetAPIExpensesParams) WithRefundable(refundable string) *GetAPIExpensesParams

WithRefundable adds the refundable to the get API expenses params

func (*GetAPIExpensesParams) WithSize

WithSize adds the size to the get API expenses params

func (*GetAPIExpensesParams) WithTerm

WithTerm adds the term to the get API expenses params

func (*GetAPIExpensesParams) WithTimeout

func (o *GetAPIExpensesParams) WithTimeout(timeout time.Duration) *GetAPIExpensesParams

WithTimeout adds the timeout to the get API expenses params

func (*GetAPIExpensesParams) WriteToRequest

func (o *GetAPIExpensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAPIExpensesReader

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

GetAPIExpensesReader is a Reader for the GetAPIExpenses structure.

func (*GetAPIExpensesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIExpensesIDDuplicateOK

type PatchAPIExpensesIDDuplicateOK struct {
	Payload *models.ExpenseEntity
}

PatchAPIExpensesIDDuplicateOK describes a response with status code 200, with default header values.

Duplicates a expense record, resetting the export state only.

func NewPatchAPIExpensesIDDuplicateOK

func NewPatchAPIExpensesIDDuplicateOK() *PatchAPIExpensesIDDuplicateOK

NewPatchAPIExpensesIDDuplicateOK creates a PatchAPIExpensesIDDuplicateOK with default headers values

func (*PatchAPIExpensesIDDuplicateOK) Error

func (*PatchAPIExpensesIDDuplicateOK) GetPayload

func (*PatchAPIExpensesIDDuplicateOK) IsClientError

func (o *PatchAPIExpensesIDDuplicateOK) IsClientError() bool

IsClientError returns true when this patch Api expenses Id duplicate o k response has a 4xx status code

func (*PatchAPIExpensesIDDuplicateOK) IsCode

func (o *PatchAPIExpensesIDDuplicateOK) IsCode(code int) bool

IsCode returns true when this patch Api expenses Id duplicate o k response a status code equal to that given

func (*PatchAPIExpensesIDDuplicateOK) IsRedirect

func (o *PatchAPIExpensesIDDuplicateOK) IsRedirect() bool

IsRedirect returns true when this patch Api expenses Id duplicate o k response has a 3xx status code

func (*PatchAPIExpensesIDDuplicateOK) IsServerError

func (o *PatchAPIExpensesIDDuplicateOK) IsServerError() bool

IsServerError returns true when this patch Api expenses Id duplicate o k response has a 5xx status code

func (*PatchAPIExpensesIDDuplicateOK) IsSuccess

func (o *PatchAPIExpensesIDDuplicateOK) IsSuccess() bool

IsSuccess returns true when this patch Api expenses Id duplicate o k response has a 2xx status code

func (*PatchAPIExpensesIDDuplicateOK) String

type PatchAPIExpensesIDDuplicateParams

type PatchAPIExpensesIDDuplicateParams struct {

	/* ID.

	   Expense record ID to duplicate
	*/
	ID int64

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

PatchAPIExpensesIDDuplicateParams contains all the parameters to send to the API endpoint

for the patch API expenses ID duplicate operation.

Typically these are written to a http.Request.

func NewPatchAPIExpensesIDDuplicateParams

func NewPatchAPIExpensesIDDuplicateParams() *PatchAPIExpensesIDDuplicateParams

NewPatchAPIExpensesIDDuplicateParams creates a new PatchAPIExpensesIDDuplicateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAPIExpensesIDDuplicateParamsWithContext

func NewPatchAPIExpensesIDDuplicateParamsWithContext(ctx context.Context) *PatchAPIExpensesIDDuplicateParams

NewPatchAPIExpensesIDDuplicateParamsWithContext creates a new PatchAPIExpensesIDDuplicateParams object with the ability to set a context for a request.

func NewPatchAPIExpensesIDDuplicateParamsWithHTTPClient

func NewPatchAPIExpensesIDDuplicateParamsWithHTTPClient(client *http.Client) *PatchAPIExpensesIDDuplicateParams

NewPatchAPIExpensesIDDuplicateParamsWithHTTPClient creates a new PatchAPIExpensesIDDuplicateParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIExpensesIDDuplicateParamsWithTimeout

func NewPatchAPIExpensesIDDuplicateParamsWithTimeout(timeout time.Duration) *PatchAPIExpensesIDDuplicateParams

NewPatchAPIExpensesIDDuplicateParamsWithTimeout creates a new PatchAPIExpensesIDDuplicateParams object with the ability to set a timeout on a request.

func (*PatchAPIExpensesIDDuplicateParams) SetContext

SetContext adds the context to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) SetDefaults

func (o *PatchAPIExpensesIDDuplicateParams) SetDefaults()

SetDefaults hydrates default values in the patch API expenses ID duplicate params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIExpensesIDDuplicateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) SetID

SetID adds the id to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) SetTimeout

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

SetTimeout adds the timeout to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) WithContext

WithContext adds the context to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) WithDefaults

WithDefaults hydrates default values in the patch API expenses ID duplicate params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIExpensesIDDuplicateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) WithID

WithID adds the id to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) WithTimeout

WithTimeout adds the timeout to the patch API expenses ID duplicate params

func (*PatchAPIExpensesIDDuplicateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIExpensesIDDuplicateReader

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

PatchAPIExpensesIDDuplicateReader is a Reader for the PatchAPIExpensesIDDuplicate structure.

func (*PatchAPIExpensesIDDuplicateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIExpensesIDMetaBody

type PatchAPIExpensesIDMetaBody struct {

	// The meta-field name
	// Required: true
	Name *string `json:"name"`

	// The meta-field value
	// Required: true
	Value *string `json:"value"`
}

PatchAPIExpensesIDMetaBody patch API expenses ID meta body swagger:model PatchAPIExpensesIDMetaBody

func (*PatchAPIExpensesIDMetaBody) ContextValidate

func (o *PatchAPIExpensesIDMetaBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this patch API expenses ID meta body based on context it is used

func (*PatchAPIExpensesIDMetaBody) MarshalBinary

func (o *PatchAPIExpensesIDMetaBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchAPIExpensesIDMetaBody) UnmarshalBinary

func (o *PatchAPIExpensesIDMetaBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchAPIExpensesIDMetaBody) Validate

func (o *PatchAPIExpensesIDMetaBody) Validate(formats strfmt.Registry) error

Validate validates this patch API expenses ID meta body

type PatchAPIExpensesIDMetaOK

type PatchAPIExpensesIDMetaOK struct {
	Payload *models.ExpenseEntity
}

PatchAPIExpensesIDMetaOK describes a response with status code 200, with default header values.

Sets the value of an existing/configured meta-field. You cannot create unknown meta-fields, if the given name is not a configured meta-field, this will return an exception.

func NewPatchAPIExpensesIDMetaOK

func NewPatchAPIExpensesIDMetaOK() *PatchAPIExpensesIDMetaOK

NewPatchAPIExpensesIDMetaOK creates a PatchAPIExpensesIDMetaOK with default headers values

func (*PatchAPIExpensesIDMetaOK) Error

func (o *PatchAPIExpensesIDMetaOK) Error() string

func (*PatchAPIExpensesIDMetaOK) GetPayload

func (*PatchAPIExpensesIDMetaOK) IsClientError

func (o *PatchAPIExpensesIDMetaOK) IsClientError() bool

IsClientError returns true when this patch Api expenses Id meta o k response has a 4xx status code

func (*PatchAPIExpensesIDMetaOK) IsCode

func (o *PatchAPIExpensesIDMetaOK) IsCode(code int) bool

IsCode returns true when this patch Api expenses Id meta o k response a status code equal to that given

func (*PatchAPIExpensesIDMetaOK) IsRedirect

func (o *PatchAPIExpensesIDMetaOK) IsRedirect() bool

IsRedirect returns true when this patch Api expenses Id meta o k response has a 3xx status code

func (*PatchAPIExpensesIDMetaOK) IsServerError

func (o *PatchAPIExpensesIDMetaOK) IsServerError() bool

IsServerError returns true when this patch Api expenses Id meta o k response has a 5xx status code

func (*PatchAPIExpensesIDMetaOK) IsSuccess

func (o *PatchAPIExpensesIDMetaOK) IsSuccess() bool

IsSuccess returns true when this patch Api expenses Id meta o k response has a 2xx status code

func (*PatchAPIExpensesIDMetaOK) String

func (o *PatchAPIExpensesIDMetaOK) String() string

type PatchAPIExpensesIDMetaParams

type PatchAPIExpensesIDMetaParams struct {

	// Body.
	Body PatchAPIExpensesIDMetaBody

	/* ID.

	   Expense record ID to set the meta-field value for
	*/
	ID int64

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

PatchAPIExpensesIDMetaParams contains all the parameters to send to the API endpoint

for the patch API expenses ID meta operation.

Typically these are written to a http.Request.

func NewPatchAPIExpensesIDMetaParams

func NewPatchAPIExpensesIDMetaParams() *PatchAPIExpensesIDMetaParams

NewPatchAPIExpensesIDMetaParams creates a new PatchAPIExpensesIDMetaParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAPIExpensesIDMetaParamsWithContext

func NewPatchAPIExpensesIDMetaParamsWithContext(ctx context.Context) *PatchAPIExpensesIDMetaParams

NewPatchAPIExpensesIDMetaParamsWithContext creates a new PatchAPIExpensesIDMetaParams object with the ability to set a context for a request.

func NewPatchAPIExpensesIDMetaParamsWithHTTPClient

func NewPatchAPIExpensesIDMetaParamsWithHTTPClient(client *http.Client) *PatchAPIExpensesIDMetaParams

NewPatchAPIExpensesIDMetaParamsWithHTTPClient creates a new PatchAPIExpensesIDMetaParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIExpensesIDMetaParamsWithTimeout

func NewPatchAPIExpensesIDMetaParamsWithTimeout(timeout time.Duration) *PatchAPIExpensesIDMetaParams

NewPatchAPIExpensesIDMetaParamsWithTimeout creates a new PatchAPIExpensesIDMetaParams object with the ability to set a timeout on a request.

func (*PatchAPIExpensesIDMetaParams) SetBody

SetBody adds the body to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) SetContext

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

SetContext adds the context to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) SetDefaults

func (o *PatchAPIExpensesIDMetaParams) SetDefaults()

SetDefaults hydrates default values in the patch API expenses ID meta params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIExpensesIDMetaParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) SetID

func (o *PatchAPIExpensesIDMetaParams) SetID(id int64)

SetID adds the id to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) SetTimeout

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

SetTimeout adds the timeout to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) WithBody

WithBody adds the body to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) WithContext

WithContext adds the context to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) WithDefaults

WithDefaults hydrates default values in the patch API expenses ID meta params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIExpensesIDMetaParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) WithID

WithID adds the id to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) WithTimeout

WithTimeout adds the timeout to the patch API expenses ID meta params

func (*PatchAPIExpensesIDMetaParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIExpensesIDMetaReader

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

PatchAPIExpensesIDMetaReader is a Reader for the PatchAPIExpensesIDMeta structure.

func (*PatchAPIExpensesIDMetaReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchAPIExpensesIDOK

type PatchAPIExpensesIDOK struct {
	Payload *models.ExpenseEntity
}

PatchAPIExpensesIDOK describes a response with status code 200, with default header values.

Returns the updated expense

func NewPatchAPIExpensesIDOK

func NewPatchAPIExpensesIDOK() *PatchAPIExpensesIDOK

NewPatchAPIExpensesIDOK creates a PatchAPIExpensesIDOK with default headers values

func (*PatchAPIExpensesIDOK) Error

func (o *PatchAPIExpensesIDOK) Error() string

func (*PatchAPIExpensesIDOK) GetPayload

func (o *PatchAPIExpensesIDOK) GetPayload() *models.ExpenseEntity

func (*PatchAPIExpensesIDOK) IsClientError

func (o *PatchAPIExpensesIDOK) IsClientError() bool

IsClientError returns true when this patch Api expenses Id o k response has a 4xx status code

func (*PatchAPIExpensesIDOK) IsCode

func (o *PatchAPIExpensesIDOK) IsCode(code int) bool

IsCode returns true when this patch Api expenses Id o k response a status code equal to that given

func (*PatchAPIExpensesIDOK) IsRedirect

func (o *PatchAPIExpensesIDOK) IsRedirect() bool

IsRedirect returns true when this patch Api expenses Id o k response has a 3xx status code

func (*PatchAPIExpensesIDOK) IsServerError

func (o *PatchAPIExpensesIDOK) IsServerError() bool

IsServerError returns true when this patch Api expenses Id o k response has a 5xx status code

func (*PatchAPIExpensesIDOK) IsSuccess

func (o *PatchAPIExpensesIDOK) IsSuccess() bool

IsSuccess returns true when this patch Api expenses Id o k response has a 2xx status code

func (*PatchAPIExpensesIDOK) String

func (o *PatchAPIExpensesIDOK) String() string

type PatchAPIExpensesIDParams

type PatchAPIExpensesIDParams struct {

	// Body.
	Body *models.ExpenseEditForm

	/* ID.

	   Expense ID to update
	*/
	ID int64

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

PatchAPIExpensesIDParams contains all the parameters to send to the API endpoint

for the patch API expenses ID operation.

Typically these are written to a http.Request.

func NewPatchAPIExpensesIDParams

func NewPatchAPIExpensesIDParams() *PatchAPIExpensesIDParams

NewPatchAPIExpensesIDParams creates a new PatchAPIExpensesIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchAPIExpensesIDParamsWithContext

func NewPatchAPIExpensesIDParamsWithContext(ctx context.Context) *PatchAPIExpensesIDParams

NewPatchAPIExpensesIDParamsWithContext creates a new PatchAPIExpensesIDParams object with the ability to set a context for a request.

func NewPatchAPIExpensesIDParamsWithHTTPClient

func NewPatchAPIExpensesIDParamsWithHTTPClient(client *http.Client) *PatchAPIExpensesIDParams

NewPatchAPIExpensesIDParamsWithHTTPClient creates a new PatchAPIExpensesIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchAPIExpensesIDParamsWithTimeout

func NewPatchAPIExpensesIDParamsWithTimeout(timeout time.Duration) *PatchAPIExpensesIDParams

NewPatchAPIExpensesIDParamsWithTimeout creates a new PatchAPIExpensesIDParams object with the ability to set a timeout on a request.

func (*PatchAPIExpensesIDParams) SetBody

SetBody adds the body to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) SetContext

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

SetContext adds the context to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) SetDefaults

func (o *PatchAPIExpensesIDParams) SetDefaults()

SetDefaults hydrates default values in the patch API expenses ID params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIExpensesIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) SetID

func (o *PatchAPIExpensesIDParams) SetID(id int64)

SetID adds the id to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) WithBody

WithBody adds the body to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) WithContext

WithContext adds the context to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) WithDefaults

WithDefaults hydrates default values in the patch API expenses ID params (not the query body).

All values with no default are reset to their zero value.

func (*PatchAPIExpensesIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) WithID

WithID adds the id to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) WithTimeout

WithTimeout adds the timeout to the patch API expenses ID params

func (*PatchAPIExpensesIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchAPIExpensesIDReader

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

PatchAPIExpensesIDReader is a Reader for the PatchAPIExpensesID structure.

func (*PatchAPIExpensesIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostAPIExpensesOK

type PostAPIExpensesOK struct {
	Payload *models.ExpenseEntity
}

PostAPIExpensesOK describes a response with status code 200, with default header values.

Returns the new created expense

func NewPostAPIExpensesOK

func NewPostAPIExpensesOK() *PostAPIExpensesOK

NewPostAPIExpensesOK creates a PostAPIExpensesOK with default headers values

func (*PostAPIExpensesOK) Error

func (o *PostAPIExpensesOK) Error() string

func (*PostAPIExpensesOK) GetPayload

func (o *PostAPIExpensesOK) GetPayload() *models.ExpenseEntity

func (*PostAPIExpensesOK) IsClientError

func (o *PostAPIExpensesOK) IsClientError() bool

IsClientError returns true when this post Api expenses o k response has a 4xx status code

func (*PostAPIExpensesOK) IsCode

func (o *PostAPIExpensesOK) IsCode(code int) bool

IsCode returns true when this post Api expenses o k response a status code equal to that given

func (*PostAPIExpensesOK) IsRedirect

func (o *PostAPIExpensesOK) IsRedirect() bool

IsRedirect returns true when this post Api expenses o k response has a 3xx status code

func (*PostAPIExpensesOK) IsServerError

func (o *PostAPIExpensesOK) IsServerError() bool

IsServerError returns true when this post Api expenses o k response has a 5xx status code

func (*PostAPIExpensesOK) IsSuccess

func (o *PostAPIExpensesOK) IsSuccess() bool

IsSuccess returns true when this post Api expenses o k response has a 2xx status code

func (*PostAPIExpensesOK) String

func (o *PostAPIExpensesOK) String() string

type PostAPIExpensesParams

type PostAPIExpensesParams struct {

	// Body.
	Body *models.ExpenseEditForm

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

PostAPIExpensesParams contains all the parameters to send to the API endpoint

for the post API expenses operation.

Typically these are written to a http.Request.

func NewPostAPIExpensesParams

func NewPostAPIExpensesParams() *PostAPIExpensesParams

NewPostAPIExpensesParams creates a new PostAPIExpensesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostAPIExpensesParamsWithContext

func NewPostAPIExpensesParamsWithContext(ctx context.Context) *PostAPIExpensesParams

NewPostAPIExpensesParamsWithContext creates a new PostAPIExpensesParams object with the ability to set a context for a request.

func NewPostAPIExpensesParamsWithHTTPClient

func NewPostAPIExpensesParamsWithHTTPClient(client *http.Client) *PostAPIExpensesParams

NewPostAPIExpensesParamsWithHTTPClient creates a new PostAPIExpensesParams object with the ability to set a custom HTTPClient for a request.

func NewPostAPIExpensesParamsWithTimeout

func NewPostAPIExpensesParamsWithTimeout(timeout time.Duration) *PostAPIExpensesParams

NewPostAPIExpensesParamsWithTimeout creates a new PostAPIExpensesParams object with the ability to set a timeout on a request.

func (*PostAPIExpensesParams) SetBody

func (o *PostAPIExpensesParams) SetBody(body *models.ExpenseEditForm)

SetBody adds the body to the post API expenses params

func (*PostAPIExpensesParams) SetContext

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

SetContext adds the context to the post API expenses params

func (*PostAPIExpensesParams) SetDefaults

func (o *PostAPIExpensesParams) SetDefaults()

SetDefaults hydrates default values in the post API expenses params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIExpensesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API expenses params

func (*PostAPIExpensesParams) SetTimeout

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

SetTimeout adds the timeout to the post API expenses params

func (*PostAPIExpensesParams) WithBody

WithBody adds the body to the post API expenses params

func (*PostAPIExpensesParams) WithContext

WithContext adds the context to the post API expenses params

func (*PostAPIExpensesParams) WithDefaults

func (o *PostAPIExpensesParams) WithDefaults() *PostAPIExpensesParams

WithDefaults hydrates default values in the post API expenses params (not the query body).

All values with no default are reset to their zero value.

func (*PostAPIExpensesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post API expenses params

func (*PostAPIExpensesParams) WithTimeout

func (o *PostAPIExpensesParams) WithTimeout(timeout time.Duration) *PostAPIExpensesParams

WithTimeout adds the timeout to the post API expenses params

func (*PostAPIExpensesParams) WriteToRequest

func (o *PostAPIExpensesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostAPIExpensesReader

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

PostAPIExpensesReader is a Reader for the PostAPIExpenses structure.

func (*PostAPIExpensesReader) ReadResponse

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