account

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for account API

func (*Client) LedgerAccountDelete

func (a *Client) LedgerAccountDelete(params *LedgerAccountDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

LedgerAccountDelete bs e t a delete account

func (*Client) LedgerAccountGet

func (a *Client) LedgerAccountGet(params *LedgerAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountGetOK, error)

LedgerAccountGet gets account by ID

func (*Client) LedgerAccountListDeleteByIds

func (a *Client) LedgerAccountListDeleteByIds(params *LedgerAccountListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

LedgerAccountListDeleteByIds bs e t a delete multiple accounts

func (*Client) LedgerAccountListPostList

LedgerAccountListPostList bs e t a create several accounts

func (*Client) LedgerAccountListPutList

func (a *Client) LedgerAccountListPutList(params *LedgerAccountListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountListPutListOK, error)

LedgerAccountListPutList bs e t a update multiple accounts

func (*Client) LedgerAccountPost

func (a *Client) LedgerAccountPost(params *LedgerAccountPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountPostCreated, error)

LedgerAccountPost bs e t a create a new account

func (*Client) LedgerAccountPut

func (a *Client) LedgerAccountPut(params *LedgerAccountPutParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountPutOK, error)

LedgerAccountPut bs e t a update account

func (*Client) LedgerAccountSearch

func (a *Client) LedgerAccountSearch(params *LedgerAccountSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountSearchOK, error)

LedgerAccountSearch finds accounts 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 {
	LedgerAccountListDeleteByIds(params *LedgerAccountListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	LedgerAccountListPostList(params *LedgerAccountListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountListPostListCreated, error)

	LedgerAccountListPutList(params *LedgerAccountListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountListPutListOK, error)

	LedgerAccountDelete(params *LedgerAccountDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	LedgerAccountGet(params *LedgerAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountGetOK, error)

	LedgerAccountPost(params *LedgerAccountPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountPostCreated, error)

	LedgerAccountPut(params *LedgerAccountPutParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountPutOK, error)

	LedgerAccountSearch(params *LedgerAccountSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountSearchOK, 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 account API client.

type LedgerAccountDeleteDefault

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

LedgerAccountDeleteDefault handles this case with default header values.

successful operation

func NewLedgerAccountDeleteDefault

func NewLedgerAccountDeleteDefault(code int) *LedgerAccountDeleteDefault

NewLedgerAccountDeleteDefault creates a LedgerAccountDeleteDefault with default headers values

func (*LedgerAccountDeleteDefault) Code

func (o *LedgerAccountDeleteDefault) Code() int

Code gets the status code for the ledger account delete default response

func (*LedgerAccountDeleteDefault) Error

type LedgerAccountDeleteParams

type LedgerAccountDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

LedgerAccountDeleteParams contains all the parameters to send to the API endpoint for the ledger account delete operation typically these are written to a http.Request

func NewLedgerAccountDeleteParams

func NewLedgerAccountDeleteParams() *LedgerAccountDeleteParams

NewLedgerAccountDeleteParams creates a new LedgerAccountDeleteParams object with the default values initialized.

func NewLedgerAccountDeleteParamsWithContext

func NewLedgerAccountDeleteParamsWithContext(ctx context.Context) *LedgerAccountDeleteParams

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

func NewLedgerAccountDeleteParamsWithHTTPClient

func NewLedgerAccountDeleteParamsWithHTTPClient(client *http.Client) *LedgerAccountDeleteParams

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

func NewLedgerAccountDeleteParamsWithTimeout

func NewLedgerAccountDeleteParamsWithTimeout(timeout time.Duration) *LedgerAccountDeleteParams

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

func (*LedgerAccountDeleteParams) SetContext

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

SetContext adds the context to the ledger account delete params

func (*LedgerAccountDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account delete params

func (*LedgerAccountDeleteParams) SetID

func (o *LedgerAccountDeleteParams) SetID(id int32)

SetID adds the id to the ledger account delete params

func (*LedgerAccountDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account delete params

func (*LedgerAccountDeleteParams) WithContext

WithContext adds the context to the ledger account delete params

func (*LedgerAccountDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ledger account delete params

func (*LedgerAccountDeleteParams) WithID

WithID adds the id to the ledger account delete params

func (*LedgerAccountDeleteParams) WithTimeout

WithTimeout adds the timeout to the ledger account delete params

func (*LedgerAccountDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountDeleteReader

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

LedgerAccountDeleteReader is a Reader for the LedgerAccountDelete structure.

func (*LedgerAccountDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountGetOK

type LedgerAccountGetOK struct {
	Payload *models.ResponseWrapperAccount
}

LedgerAccountGetOK handles this case with default header values.

successful operation

func NewLedgerAccountGetOK

func NewLedgerAccountGetOK() *LedgerAccountGetOK

NewLedgerAccountGetOK creates a LedgerAccountGetOK with default headers values

func (*LedgerAccountGetOK) Error

func (o *LedgerAccountGetOK) Error() string

func (*LedgerAccountGetOK) GetPayload

type LedgerAccountGetParams

type LedgerAccountGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

LedgerAccountGetParams contains all the parameters to send to the API endpoint for the ledger account get operation typically these are written to a http.Request

func NewLedgerAccountGetParams

func NewLedgerAccountGetParams() *LedgerAccountGetParams

NewLedgerAccountGetParams creates a new LedgerAccountGetParams object with the default values initialized.

func NewLedgerAccountGetParamsWithContext

func NewLedgerAccountGetParamsWithContext(ctx context.Context) *LedgerAccountGetParams

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

func NewLedgerAccountGetParamsWithHTTPClient

func NewLedgerAccountGetParamsWithHTTPClient(client *http.Client) *LedgerAccountGetParams

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

func NewLedgerAccountGetParamsWithTimeout

func NewLedgerAccountGetParamsWithTimeout(timeout time.Duration) *LedgerAccountGetParams

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

func (*LedgerAccountGetParams) SetContext

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

SetContext adds the context to the ledger account get params

func (*LedgerAccountGetParams) SetFields

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

SetFields adds the fields to the ledger account get params

func (*LedgerAccountGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account get params

func (*LedgerAccountGetParams) SetID

func (o *LedgerAccountGetParams) SetID(id int32)

SetID adds the id to the ledger account get params

func (*LedgerAccountGetParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account get params

func (*LedgerAccountGetParams) WithContext

WithContext adds the context to the ledger account get params

func (*LedgerAccountGetParams) WithFields

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

WithFields adds the fields to the ledger account get params

func (*LedgerAccountGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ledger account get params

func (*LedgerAccountGetParams) WithID

WithID adds the id to the ledger account get params

func (*LedgerAccountGetParams) WithTimeout

WithTimeout adds the timeout to the ledger account get params

func (*LedgerAccountGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountGetReader

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

LedgerAccountGetReader is a Reader for the LedgerAccountGet structure.

func (*LedgerAccountGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountListDeleteByIdsDefault

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

LedgerAccountListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewLedgerAccountListDeleteByIdsDefault

func NewLedgerAccountListDeleteByIdsDefault(code int) *LedgerAccountListDeleteByIdsDefault

NewLedgerAccountListDeleteByIdsDefault creates a LedgerAccountListDeleteByIdsDefault with default headers values

func (*LedgerAccountListDeleteByIdsDefault) Code

Code gets the status code for the ledger account list delete by ids default response

func (*LedgerAccountListDeleteByIdsDefault) Error

type LedgerAccountListDeleteByIdsParams

type LedgerAccountListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

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

LedgerAccountListDeleteByIdsParams contains all the parameters to send to the API endpoint for the ledger account list delete by ids operation typically these are written to a http.Request

func NewLedgerAccountListDeleteByIdsParams

func NewLedgerAccountListDeleteByIdsParams() *LedgerAccountListDeleteByIdsParams

NewLedgerAccountListDeleteByIdsParams creates a new LedgerAccountListDeleteByIdsParams object with the default values initialized.

func NewLedgerAccountListDeleteByIdsParamsWithContext

func NewLedgerAccountListDeleteByIdsParamsWithContext(ctx context.Context) *LedgerAccountListDeleteByIdsParams

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

func NewLedgerAccountListDeleteByIdsParamsWithHTTPClient

func NewLedgerAccountListDeleteByIdsParamsWithHTTPClient(client *http.Client) *LedgerAccountListDeleteByIdsParams

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

func NewLedgerAccountListDeleteByIdsParamsWithTimeout

func NewLedgerAccountListDeleteByIdsParamsWithTimeout(timeout time.Duration) *LedgerAccountListDeleteByIdsParams

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

func (*LedgerAccountListDeleteByIdsParams) SetContext

SetContext adds the context to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) SetIds

SetIds adds the ids to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) WithContext

WithContext adds the context to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) WithIds

WithIds adds the ids to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) WithTimeout

WithTimeout adds the timeout to the ledger account list delete by ids params

func (*LedgerAccountListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountListDeleteByIdsReader

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

LedgerAccountListDeleteByIdsReader is a Reader for the LedgerAccountListDeleteByIds structure.

func (*LedgerAccountListDeleteByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountListPostListCreated

type LedgerAccountListPostListCreated struct {
	Payload *models.ListResponseAccount
}

LedgerAccountListPostListCreated handles this case with default header values.

successfully created

func NewLedgerAccountListPostListCreated

func NewLedgerAccountListPostListCreated() *LedgerAccountListPostListCreated

NewLedgerAccountListPostListCreated creates a LedgerAccountListPostListCreated with default headers values

func (*LedgerAccountListPostListCreated) Error

func (*LedgerAccountListPostListCreated) GetPayload

type LedgerAccountListPostListParams

type LedgerAccountListPostListParams struct {

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

	*/
	Body []*models.Account

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

LedgerAccountListPostListParams contains all the parameters to send to the API endpoint for the ledger account list post list operation typically these are written to a http.Request

func NewLedgerAccountListPostListParams

func NewLedgerAccountListPostListParams() *LedgerAccountListPostListParams

NewLedgerAccountListPostListParams creates a new LedgerAccountListPostListParams object with the default values initialized.

func NewLedgerAccountListPostListParamsWithContext

func NewLedgerAccountListPostListParamsWithContext(ctx context.Context) *LedgerAccountListPostListParams

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

func NewLedgerAccountListPostListParamsWithHTTPClient

func NewLedgerAccountListPostListParamsWithHTTPClient(client *http.Client) *LedgerAccountListPostListParams

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

func NewLedgerAccountListPostListParamsWithTimeout

func NewLedgerAccountListPostListParamsWithTimeout(timeout time.Duration) *LedgerAccountListPostListParams

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

func (*LedgerAccountListPostListParams) SetBody

func (o *LedgerAccountListPostListParams) SetBody(body []*models.Account)

SetBody adds the body to the ledger account list post list params

func (*LedgerAccountListPostListParams) SetContext

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

SetContext adds the context to the ledger account list post list params

func (*LedgerAccountListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account list post list params

func (*LedgerAccountListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account list post list params

func (*LedgerAccountListPostListParams) WithBody

WithBody adds the body to the ledger account list post list params

func (*LedgerAccountListPostListParams) WithContext

WithContext adds the context to the ledger account list post list params

func (*LedgerAccountListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger account list post list params

func (*LedgerAccountListPostListParams) WithTimeout

WithTimeout adds the timeout to the ledger account list post list params

func (*LedgerAccountListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountListPostListReader

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

LedgerAccountListPostListReader is a Reader for the LedgerAccountListPostList structure.

func (*LedgerAccountListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountListPutListOK

type LedgerAccountListPutListOK struct {
	Payload *models.ListResponseAccount
}

LedgerAccountListPutListOK handles this case with default header values.

successful operation

func NewLedgerAccountListPutListOK

func NewLedgerAccountListPutListOK() *LedgerAccountListPutListOK

NewLedgerAccountListPutListOK creates a LedgerAccountListPutListOK with default headers values

func (*LedgerAccountListPutListOK) Error

func (*LedgerAccountListPutListOK) GetPayload

type LedgerAccountListPutListParams

type LedgerAccountListPutListParams struct {

	/*Body
	  JSON representing updates to object. Should have ID and version set.

	*/
	Body []*models.Account

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

LedgerAccountListPutListParams contains all the parameters to send to the API endpoint for the ledger account list put list operation typically these are written to a http.Request

func NewLedgerAccountListPutListParams

func NewLedgerAccountListPutListParams() *LedgerAccountListPutListParams

NewLedgerAccountListPutListParams creates a new LedgerAccountListPutListParams object with the default values initialized.

func NewLedgerAccountListPutListParamsWithContext

func NewLedgerAccountListPutListParamsWithContext(ctx context.Context) *LedgerAccountListPutListParams

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

func NewLedgerAccountListPutListParamsWithHTTPClient

func NewLedgerAccountListPutListParamsWithHTTPClient(client *http.Client) *LedgerAccountListPutListParams

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

func NewLedgerAccountListPutListParamsWithTimeout

func NewLedgerAccountListPutListParamsWithTimeout(timeout time.Duration) *LedgerAccountListPutListParams

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

func (*LedgerAccountListPutListParams) SetBody

func (o *LedgerAccountListPutListParams) SetBody(body []*models.Account)

SetBody adds the body to the ledger account list put list params

func (*LedgerAccountListPutListParams) SetContext

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

SetContext adds the context to the ledger account list put list params

func (*LedgerAccountListPutListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account list put list params

func (*LedgerAccountListPutListParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account list put list params

func (*LedgerAccountListPutListParams) WithBody

WithBody adds the body to the ledger account list put list params

func (*LedgerAccountListPutListParams) WithContext

WithContext adds the context to the ledger account list put list params

func (*LedgerAccountListPutListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger account list put list params

func (*LedgerAccountListPutListParams) WithTimeout

WithTimeout adds the timeout to the ledger account list put list params

func (*LedgerAccountListPutListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountListPutListReader

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

LedgerAccountListPutListReader is a Reader for the LedgerAccountListPutList structure.

func (*LedgerAccountListPutListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountPostCreated

type LedgerAccountPostCreated struct {
	Payload *models.ResponseWrapperAccount
}

LedgerAccountPostCreated handles this case with default header values.

successfully created

func NewLedgerAccountPostCreated

func NewLedgerAccountPostCreated() *LedgerAccountPostCreated

NewLedgerAccountPostCreated creates a LedgerAccountPostCreated with default headers values

func (*LedgerAccountPostCreated) Error

func (o *LedgerAccountPostCreated) Error() string

func (*LedgerAccountPostCreated) GetPayload

type LedgerAccountPostParams

type LedgerAccountPostParams struct {

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

	*/
	Body *models.Account

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

LedgerAccountPostParams contains all the parameters to send to the API endpoint for the ledger account post operation typically these are written to a http.Request

func NewLedgerAccountPostParams

func NewLedgerAccountPostParams() *LedgerAccountPostParams

NewLedgerAccountPostParams creates a new LedgerAccountPostParams object with the default values initialized.

func NewLedgerAccountPostParamsWithContext

func NewLedgerAccountPostParamsWithContext(ctx context.Context) *LedgerAccountPostParams

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

func NewLedgerAccountPostParamsWithHTTPClient

func NewLedgerAccountPostParamsWithHTTPClient(client *http.Client) *LedgerAccountPostParams

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

func NewLedgerAccountPostParamsWithTimeout

func NewLedgerAccountPostParamsWithTimeout(timeout time.Duration) *LedgerAccountPostParams

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

func (*LedgerAccountPostParams) SetBody

func (o *LedgerAccountPostParams) SetBody(body *models.Account)

SetBody adds the body to the ledger account post params

func (*LedgerAccountPostParams) SetContext

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

SetContext adds the context to the ledger account post params

func (*LedgerAccountPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account post params

func (*LedgerAccountPostParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account post params

func (*LedgerAccountPostParams) WithBody

WithBody adds the body to the ledger account post params

func (*LedgerAccountPostParams) WithContext

WithContext adds the context to the ledger account post params

func (*LedgerAccountPostParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ledger account post params

func (*LedgerAccountPostParams) WithTimeout

WithTimeout adds the timeout to the ledger account post params

func (*LedgerAccountPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountPostReader

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

LedgerAccountPostReader is a Reader for the LedgerAccountPost structure.

func (*LedgerAccountPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountPutOK

type LedgerAccountPutOK struct {
	Payload *models.ResponseWrapperAccount
}

LedgerAccountPutOK handles this case with default header values.

successful operation

func NewLedgerAccountPutOK

func NewLedgerAccountPutOK() *LedgerAccountPutOK

NewLedgerAccountPutOK creates a LedgerAccountPutOK with default headers values

func (*LedgerAccountPutOK) Error

func (o *LedgerAccountPutOK) Error() string

func (*LedgerAccountPutOK) GetPayload

type LedgerAccountPutParams

type LedgerAccountPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.Account
	/*ID
	  Element ID

	*/
	ID int32

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

LedgerAccountPutParams contains all the parameters to send to the API endpoint for the ledger account put operation typically these are written to a http.Request

func NewLedgerAccountPutParams

func NewLedgerAccountPutParams() *LedgerAccountPutParams

NewLedgerAccountPutParams creates a new LedgerAccountPutParams object with the default values initialized.

func NewLedgerAccountPutParamsWithContext

func NewLedgerAccountPutParamsWithContext(ctx context.Context) *LedgerAccountPutParams

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

func NewLedgerAccountPutParamsWithHTTPClient

func NewLedgerAccountPutParamsWithHTTPClient(client *http.Client) *LedgerAccountPutParams

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

func NewLedgerAccountPutParamsWithTimeout

func NewLedgerAccountPutParamsWithTimeout(timeout time.Duration) *LedgerAccountPutParams

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

func (*LedgerAccountPutParams) SetBody

func (o *LedgerAccountPutParams) SetBody(body *models.Account)

SetBody adds the body to the ledger account put params

func (*LedgerAccountPutParams) SetContext

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

SetContext adds the context to the ledger account put params

func (*LedgerAccountPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account put params

func (*LedgerAccountPutParams) SetID

func (o *LedgerAccountPutParams) SetID(id int32)

SetID adds the id to the ledger account put params

func (*LedgerAccountPutParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account put params

func (*LedgerAccountPutParams) WithBody

WithBody adds the body to the ledger account put params

func (*LedgerAccountPutParams) WithContext

WithContext adds the context to the ledger account put params

func (*LedgerAccountPutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ledger account put params

func (*LedgerAccountPutParams) WithID

WithID adds the id to the ledger account put params

func (*LedgerAccountPutParams) WithTimeout

WithTimeout adds the timeout to the ledger account put params

func (*LedgerAccountPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountPutReader

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

LedgerAccountPutReader is a Reader for the LedgerAccountPut structure.

func (*LedgerAccountPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerAccountSearchOK

type LedgerAccountSearchOK struct {
	Payload *models.ListResponseAccount
}

LedgerAccountSearchOK handles this case with default header values.

successful operation

func NewLedgerAccountSearchOK

func NewLedgerAccountSearchOK() *LedgerAccountSearchOK

NewLedgerAccountSearchOK creates a LedgerAccountSearchOK with default headers values

func (*LedgerAccountSearchOK) Error

func (o *LedgerAccountSearchOK) Error() string

func (*LedgerAccountSearchOK) GetPayload

type LedgerAccountSearchParams

type LedgerAccountSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*IsApplicableForSupplierInvoice
	  Equals

	*/
	IsApplicableForSupplierInvoice *bool
	/*IsBankAccount
	  Equals

	*/
	IsBankAccount *bool
	/*IsInactive
	  Equals

	*/
	IsInactive *bool
	/*Number
	  List of IDs

	*/
	Number *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

LedgerAccountSearchParams contains all the parameters to send to the API endpoint for the ledger account search operation typically these are written to a http.Request

func NewLedgerAccountSearchParams

func NewLedgerAccountSearchParams() *LedgerAccountSearchParams

NewLedgerAccountSearchParams creates a new LedgerAccountSearchParams object with the default values initialized.

func NewLedgerAccountSearchParamsWithContext

func NewLedgerAccountSearchParamsWithContext(ctx context.Context) *LedgerAccountSearchParams

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

func NewLedgerAccountSearchParamsWithHTTPClient

func NewLedgerAccountSearchParamsWithHTTPClient(client *http.Client) *LedgerAccountSearchParams

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

func NewLedgerAccountSearchParamsWithTimeout

func NewLedgerAccountSearchParamsWithTimeout(timeout time.Duration) *LedgerAccountSearchParams

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

func (*LedgerAccountSearchParams) SetContext

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

SetContext adds the context to the ledger account search params

func (*LedgerAccountSearchParams) SetCount

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

SetCount adds the count to the ledger account search params

func (*LedgerAccountSearchParams) SetFields

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

SetFields adds the fields to the ledger account search params

func (*LedgerAccountSearchParams) SetFrom

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

SetFrom adds the from to the ledger account search params

func (*LedgerAccountSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger account search params

func (*LedgerAccountSearchParams) SetID

func (o *LedgerAccountSearchParams) SetID(id *string)

SetID adds the id to the ledger account search params

func (*LedgerAccountSearchParams) SetIsApplicableForSupplierInvoice

func (o *LedgerAccountSearchParams) SetIsApplicableForSupplierInvoice(isApplicableForSupplierInvoice *bool)

SetIsApplicableForSupplierInvoice adds the isApplicableForSupplierInvoice to the ledger account search params

func (*LedgerAccountSearchParams) SetIsBankAccount

func (o *LedgerAccountSearchParams) SetIsBankAccount(isBankAccount *bool)

SetIsBankAccount adds the isBankAccount to the ledger account search params

func (*LedgerAccountSearchParams) SetIsInactive

func (o *LedgerAccountSearchParams) SetIsInactive(isInactive *bool)

SetIsInactive adds the isInactive to the ledger account search params

func (*LedgerAccountSearchParams) SetNumber

func (o *LedgerAccountSearchParams) SetNumber(number *string)

SetNumber adds the number to the ledger account search params

func (*LedgerAccountSearchParams) SetSorting

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

SetSorting adds the sorting to the ledger account search params

func (*LedgerAccountSearchParams) SetTimeout

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

SetTimeout adds the timeout to the ledger account search params

func (*LedgerAccountSearchParams) WithContext

WithContext adds the context to the ledger account search params

func (*LedgerAccountSearchParams) WithCount

WithCount adds the count to the ledger account search params

func (*LedgerAccountSearchParams) WithFields

WithFields adds the fields to the ledger account search params

func (*LedgerAccountSearchParams) WithFrom

WithFrom adds the from to the ledger account search params

func (*LedgerAccountSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ledger account search params

func (*LedgerAccountSearchParams) WithID

WithID adds the id to the ledger account search params

func (*LedgerAccountSearchParams) WithIsApplicableForSupplierInvoice

func (o *LedgerAccountSearchParams) WithIsApplicableForSupplierInvoice(isApplicableForSupplierInvoice *bool) *LedgerAccountSearchParams

WithIsApplicableForSupplierInvoice adds the isApplicableForSupplierInvoice to the ledger account search params

func (*LedgerAccountSearchParams) WithIsBankAccount

func (o *LedgerAccountSearchParams) WithIsBankAccount(isBankAccount *bool) *LedgerAccountSearchParams

WithIsBankAccount adds the isBankAccount to the ledger account search params

func (*LedgerAccountSearchParams) WithIsInactive

func (o *LedgerAccountSearchParams) WithIsInactive(isInactive *bool) *LedgerAccountSearchParams

WithIsInactive adds the isInactive to the ledger account search params

func (*LedgerAccountSearchParams) WithNumber

WithNumber adds the number to the ledger account search params

func (*LedgerAccountSearchParams) WithSorting

WithSorting adds the sorting to the ledger account search params

func (*LedgerAccountSearchParams) WithTimeout

WithTimeout adds the timeout to the ledger account search params

func (*LedgerAccountSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerAccountSearchReader

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

LedgerAccountSearchReader is a Reader for the LedgerAccountSearch structure.

func (*LedgerAccountSearchReader) ReadResponse

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