Documentation
¶
Index ¶
- type Client
- func (a *Client) LedgerAccountDelete(params *LedgerAccountDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) LedgerAccountGet(params *LedgerAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountGetOK, error)
- func (a *Client) LedgerAccountListDeleteByIds(params *LedgerAccountListDeleteByIdsParams, ...) error
- func (a *Client) LedgerAccountListPostList(params *LedgerAccountListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountListPostListCreated, error)
- func (a *Client) LedgerAccountListPutList(params *LedgerAccountListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountListPutListOK, error)
- func (a *Client) LedgerAccountPost(params *LedgerAccountPostParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountPostCreated, error)
- func (a *Client) LedgerAccountPut(params *LedgerAccountPutParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountPutOK, error)
- func (a *Client) LedgerAccountSearch(params *LedgerAccountSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type LedgerAccountDeleteDefault
- type LedgerAccountDeleteParams
- func NewLedgerAccountDeleteParams() *LedgerAccountDeleteParams
- func NewLedgerAccountDeleteParamsWithContext(ctx context.Context) *LedgerAccountDeleteParams
- func NewLedgerAccountDeleteParamsWithHTTPClient(client *http.Client) *LedgerAccountDeleteParams
- func NewLedgerAccountDeleteParamsWithTimeout(timeout time.Duration) *LedgerAccountDeleteParams
- func (o *LedgerAccountDeleteParams) SetContext(ctx context.Context)
- func (o *LedgerAccountDeleteParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountDeleteParams) SetID(id int32)
- func (o *LedgerAccountDeleteParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountDeleteParams) WithContext(ctx context.Context) *LedgerAccountDeleteParams
- func (o *LedgerAccountDeleteParams) WithHTTPClient(client *http.Client) *LedgerAccountDeleteParams
- func (o *LedgerAccountDeleteParams) WithID(id int32) *LedgerAccountDeleteParams
- func (o *LedgerAccountDeleteParams) WithTimeout(timeout time.Duration) *LedgerAccountDeleteParams
- func (o *LedgerAccountDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountDeleteReader
- type LedgerAccountGetOK
- type LedgerAccountGetParams
- func NewLedgerAccountGetParams() *LedgerAccountGetParams
- func NewLedgerAccountGetParamsWithContext(ctx context.Context) *LedgerAccountGetParams
- func NewLedgerAccountGetParamsWithHTTPClient(client *http.Client) *LedgerAccountGetParams
- func NewLedgerAccountGetParamsWithTimeout(timeout time.Duration) *LedgerAccountGetParams
- func (o *LedgerAccountGetParams) SetContext(ctx context.Context)
- func (o *LedgerAccountGetParams) SetFields(fields *string)
- func (o *LedgerAccountGetParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountGetParams) SetID(id int32)
- func (o *LedgerAccountGetParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountGetParams) WithContext(ctx context.Context) *LedgerAccountGetParams
- func (o *LedgerAccountGetParams) WithFields(fields *string) *LedgerAccountGetParams
- func (o *LedgerAccountGetParams) WithHTTPClient(client *http.Client) *LedgerAccountGetParams
- func (o *LedgerAccountGetParams) WithID(id int32) *LedgerAccountGetParams
- func (o *LedgerAccountGetParams) WithTimeout(timeout time.Duration) *LedgerAccountGetParams
- func (o *LedgerAccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountGetReader
- type LedgerAccountListDeleteByIdsDefault
- type LedgerAccountListDeleteByIdsParams
- func NewLedgerAccountListDeleteByIdsParams() *LedgerAccountListDeleteByIdsParams
- func NewLedgerAccountListDeleteByIdsParamsWithContext(ctx context.Context) *LedgerAccountListDeleteByIdsParams
- func NewLedgerAccountListDeleteByIdsParamsWithHTTPClient(client *http.Client) *LedgerAccountListDeleteByIdsParams
- func NewLedgerAccountListDeleteByIdsParamsWithTimeout(timeout time.Duration) *LedgerAccountListDeleteByIdsParams
- func (o *LedgerAccountListDeleteByIdsParams) SetContext(ctx context.Context)
- func (o *LedgerAccountListDeleteByIdsParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountListDeleteByIdsParams) SetIds(ids string)
- func (o *LedgerAccountListDeleteByIdsParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountListDeleteByIdsParams) WithContext(ctx context.Context) *LedgerAccountListDeleteByIdsParams
- func (o *LedgerAccountListDeleteByIdsParams) WithHTTPClient(client *http.Client) *LedgerAccountListDeleteByIdsParams
- func (o *LedgerAccountListDeleteByIdsParams) WithIds(ids string) *LedgerAccountListDeleteByIdsParams
- func (o *LedgerAccountListDeleteByIdsParams) WithTimeout(timeout time.Duration) *LedgerAccountListDeleteByIdsParams
- func (o *LedgerAccountListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountListDeleteByIdsReader
- type LedgerAccountListPostListCreated
- type LedgerAccountListPostListParams
- func NewLedgerAccountListPostListParams() *LedgerAccountListPostListParams
- func NewLedgerAccountListPostListParamsWithContext(ctx context.Context) *LedgerAccountListPostListParams
- func NewLedgerAccountListPostListParamsWithHTTPClient(client *http.Client) *LedgerAccountListPostListParams
- func NewLedgerAccountListPostListParamsWithTimeout(timeout time.Duration) *LedgerAccountListPostListParams
- func (o *LedgerAccountListPostListParams) SetBody(body []*models.Account)
- func (o *LedgerAccountListPostListParams) SetContext(ctx context.Context)
- func (o *LedgerAccountListPostListParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountListPostListParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountListPostListParams) WithBody(body []*models.Account) *LedgerAccountListPostListParams
- func (o *LedgerAccountListPostListParams) WithContext(ctx context.Context) *LedgerAccountListPostListParams
- func (o *LedgerAccountListPostListParams) WithHTTPClient(client *http.Client) *LedgerAccountListPostListParams
- func (o *LedgerAccountListPostListParams) WithTimeout(timeout time.Duration) *LedgerAccountListPostListParams
- func (o *LedgerAccountListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountListPostListReader
- type LedgerAccountListPutListOK
- type LedgerAccountListPutListParams
- func NewLedgerAccountListPutListParams() *LedgerAccountListPutListParams
- func NewLedgerAccountListPutListParamsWithContext(ctx context.Context) *LedgerAccountListPutListParams
- func NewLedgerAccountListPutListParamsWithHTTPClient(client *http.Client) *LedgerAccountListPutListParams
- func NewLedgerAccountListPutListParamsWithTimeout(timeout time.Duration) *LedgerAccountListPutListParams
- func (o *LedgerAccountListPutListParams) SetBody(body []*models.Account)
- func (o *LedgerAccountListPutListParams) SetContext(ctx context.Context)
- func (o *LedgerAccountListPutListParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountListPutListParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountListPutListParams) WithBody(body []*models.Account) *LedgerAccountListPutListParams
- func (o *LedgerAccountListPutListParams) WithContext(ctx context.Context) *LedgerAccountListPutListParams
- func (o *LedgerAccountListPutListParams) WithHTTPClient(client *http.Client) *LedgerAccountListPutListParams
- func (o *LedgerAccountListPutListParams) WithTimeout(timeout time.Duration) *LedgerAccountListPutListParams
- func (o *LedgerAccountListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountListPutListReader
- type LedgerAccountPostCreated
- type LedgerAccountPostParams
- func NewLedgerAccountPostParams() *LedgerAccountPostParams
- func NewLedgerAccountPostParamsWithContext(ctx context.Context) *LedgerAccountPostParams
- func NewLedgerAccountPostParamsWithHTTPClient(client *http.Client) *LedgerAccountPostParams
- func NewLedgerAccountPostParamsWithTimeout(timeout time.Duration) *LedgerAccountPostParams
- func (o *LedgerAccountPostParams) SetBody(body *models.Account)
- func (o *LedgerAccountPostParams) SetContext(ctx context.Context)
- func (o *LedgerAccountPostParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountPostParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountPostParams) WithBody(body *models.Account) *LedgerAccountPostParams
- func (o *LedgerAccountPostParams) WithContext(ctx context.Context) *LedgerAccountPostParams
- func (o *LedgerAccountPostParams) WithHTTPClient(client *http.Client) *LedgerAccountPostParams
- func (o *LedgerAccountPostParams) WithTimeout(timeout time.Duration) *LedgerAccountPostParams
- func (o *LedgerAccountPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountPostReader
- type LedgerAccountPutOK
- type LedgerAccountPutParams
- func NewLedgerAccountPutParams() *LedgerAccountPutParams
- func NewLedgerAccountPutParamsWithContext(ctx context.Context) *LedgerAccountPutParams
- func NewLedgerAccountPutParamsWithHTTPClient(client *http.Client) *LedgerAccountPutParams
- func NewLedgerAccountPutParamsWithTimeout(timeout time.Duration) *LedgerAccountPutParams
- func (o *LedgerAccountPutParams) SetBody(body *models.Account)
- func (o *LedgerAccountPutParams) SetContext(ctx context.Context)
- func (o *LedgerAccountPutParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountPutParams) SetID(id int32)
- func (o *LedgerAccountPutParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountPutParams) WithBody(body *models.Account) *LedgerAccountPutParams
- func (o *LedgerAccountPutParams) WithContext(ctx context.Context) *LedgerAccountPutParams
- func (o *LedgerAccountPutParams) WithHTTPClient(client *http.Client) *LedgerAccountPutParams
- func (o *LedgerAccountPutParams) WithID(id int32) *LedgerAccountPutParams
- func (o *LedgerAccountPutParams) WithTimeout(timeout time.Duration) *LedgerAccountPutParams
- func (o *LedgerAccountPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountPutReader
- type LedgerAccountSearchOK
- type LedgerAccountSearchParams
- func NewLedgerAccountSearchParams() *LedgerAccountSearchParams
- func NewLedgerAccountSearchParamsWithContext(ctx context.Context) *LedgerAccountSearchParams
- func NewLedgerAccountSearchParamsWithHTTPClient(client *http.Client) *LedgerAccountSearchParams
- func NewLedgerAccountSearchParamsWithTimeout(timeout time.Duration) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) SetContext(ctx context.Context)
- func (o *LedgerAccountSearchParams) SetCount(count *int64)
- func (o *LedgerAccountSearchParams) SetFields(fields *string)
- func (o *LedgerAccountSearchParams) SetFrom(from *int64)
- func (o *LedgerAccountSearchParams) SetHTTPClient(client *http.Client)
- func (o *LedgerAccountSearchParams) SetID(id *string)
- func (o *LedgerAccountSearchParams) SetIsApplicableForSupplierInvoice(isApplicableForSupplierInvoice *bool)
- func (o *LedgerAccountSearchParams) SetIsBankAccount(isBankAccount *bool)
- func (o *LedgerAccountSearchParams) SetIsInactive(isInactive *bool)
- func (o *LedgerAccountSearchParams) SetNumber(number *string)
- func (o *LedgerAccountSearchParams) SetSorting(sorting *string)
- func (o *LedgerAccountSearchParams) SetTimeout(timeout time.Duration)
- func (o *LedgerAccountSearchParams) WithContext(ctx context.Context) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithCount(count *int64) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithFields(fields *string) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithFrom(from *int64) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithHTTPClient(client *http.Client) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithID(id *string) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithIsApplicableForSupplierInvoice(isApplicableForSupplierInvoice *bool) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithIsBankAccount(isBankAccount *bool) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithIsInactive(isInactive *bool) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithNumber(number *string) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithSorting(sorting *string) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WithTimeout(timeout time.Duration) *LedgerAccountSearchParams
- func (o *LedgerAccountSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LedgerAccountSearchReader
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 ¶
func (a *Client) LedgerAccountListPostList(params *LedgerAccountListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerAccountListPostListCreated, error)
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 ¶
func (o *LedgerAccountDeleteDefault) Error() string
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 ¶
func (o *LedgerAccountDeleteParams) WithContext(ctx context.Context) *LedgerAccountDeleteParams
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 ¶
func (o *LedgerAccountDeleteParams) WithID(id int32) *LedgerAccountDeleteParams
WithID adds the id to the ledger account delete params
func (*LedgerAccountDeleteParams) WithTimeout ¶
func (o *LedgerAccountDeleteParams) WithTimeout(timeout time.Duration) *LedgerAccountDeleteParams
WithTimeout adds the timeout to the ledger account delete params
func (*LedgerAccountDeleteParams) WriteToRequest ¶
func (o *LedgerAccountDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LedgerAccountGetOK) GetPayload() *models.ResponseWrapperAccount
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 ¶
func (o *LedgerAccountGetParams) WithContext(ctx context.Context) *LedgerAccountGetParams
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 ¶
func (o *LedgerAccountGetParams) WithID(id int32) *LedgerAccountGetParams
WithID adds the id to the ledger account get params
func (*LedgerAccountGetParams) WithTimeout ¶
func (o *LedgerAccountGetParams) WithTimeout(timeout time.Duration) *LedgerAccountGetParams
WithTimeout adds the timeout to the ledger account get params
func (*LedgerAccountGetParams) WriteToRequest ¶
func (o *LedgerAccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LedgerAccountListDeleteByIdsDefault) Code() int
Code gets the status code for the ledger account list delete by ids default response
func (*LedgerAccountListDeleteByIdsDefault) Error ¶
func (o *LedgerAccountListDeleteByIdsDefault) Error() string
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 ¶
func (o *LedgerAccountListDeleteByIdsParams) SetContext(ctx context.Context)
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 ¶
func (o *LedgerAccountListDeleteByIdsParams) SetIds(ids string)
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 ¶
func (o *LedgerAccountListDeleteByIdsParams) WithContext(ctx context.Context) *LedgerAccountListDeleteByIdsParams
WithContext adds the context to the ledger account list delete by ids params
func (*LedgerAccountListDeleteByIdsParams) WithHTTPClient ¶
func (o *LedgerAccountListDeleteByIdsParams) WithHTTPClient(client *http.Client) *LedgerAccountListDeleteByIdsParams
WithHTTPClient adds the HTTPClient to the ledger account list delete by ids params
func (*LedgerAccountListDeleteByIdsParams) WithIds ¶
func (o *LedgerAccountListDeleteByIdsParams) WithIds(ids string) *LedgerAccountListDeleteByIdsParams
WithIds adds the ids to the ledger account list delete by ids params
func (*LedgerAccountListDeleteByIdsParams) WithTimeout ¶
func (o *LedgerAccountListDeleteByIdsParams) WithTimeout(timeout time.Duration) *LedgerAccountListDeleteByIdsParams
WithTimeout adds the timeout to the ledger account list delete by ids params
func (*LedgerAccountListDeleteByIdsParams) WriteToRequest ¶
func (o *LedgerAccountListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LedgerAccountListPostListCreated) Error() string
func (*LedgerAccountListPostListCreated) GetPayload ¶
func (o *LedgerAccountListPostListCreated) GetPayload() *models.ListResponseAccount
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 ¶
func (o *LedgerAccountListPostListParams) WithBody(body []*models.Account) *LedgerAccountListPostListParams
WithBody adds the body to the ledger account list post list params
func (*LedgerAccountListPostListParams) WithContext ¶
func (o *LedgerAccountListPostListParams) WithContext(ctx context.Context) *LedgerAccountListPostListParams
WithContext adds the context to the ledger account list post list params
func (*LedgerAccountListPostListParams) WithHTTPClient ¶
func (o *LedgerAccountListPostListParams) WithHTTPClient(client *http.Client) *LedgerAccountListPostListParams
WithHTTPClient adds the HTTPClient to the ledger account list post list params
func (*LedgerAccountListPostListParams) WithTimeout ¶
func (o *LedgerAccountListPostListParams) WithTimeout(timeout time.Duration) *LedgerAccountListPostListParams
WithTimeout adds the timeout to the ledger account list post list params
func (*LedgerAccountListPostListParams) WriteToRequest ¶
func (o *LedgerAccountListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LedgerAccountListPutListOK) Error() string
func (*LedgerAccountListPutListOK) GetPayload ¶
func (o *LedgerAccountListPutListOK) GetPayload() *models.ListResponseAccount
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 ¶
func (o *LedgerAccountListPutListParams) WithBody(body []*models.Account) *LedgerAccountListPutListParams
WithBody adds the body to the ledger account list put list params
func (*LedgerAccountListPutListParams) WithContext ¶
func (o *LedgerAccountListPutListParams) WithContext(ctx context.Context) *LedgerAccountListPutListParams
WithContext adds the context to the ledger account list put list params
func (*LedgerAccountListPutListParams) WithHTTPClient ¶
func (o *LedgerAccountListPutListParams) WithHTTPClient(client *http.Client) *LedgerAccountListPutListParams
WithHTTPClient adds the HTTPClient to the ledger account list put list params
func (*LedgerAccountListPutListParams) WithTimeout ¶
func (o *LedgerAccountListPutListParams) WithTimeout(timeout time.Duration) *LedgerAccountListPutListParams
WithTimeout adds the timeout to the ledger account list put list params
func (*LedgerAccountListPutListParams) WriteToRequest ¶
func (o *LedgerAccountListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LedgerAccountPostCreated) GetPayload() *models.ResponseWrapperAccount
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 ¶
func (o *LedgerAccountPostParams) WithBody(body *models.Account) *LedgerAccountPostParams
WithBody adds the body to the ledger account post params
func (*LedgerAccountPostParams) WithContext ¶
func (o *LedgerAccountPostParams) WithContext(ctx context.Context) *LedgerAccountPostParams
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 ¶
func (o *LedgerAccountPostParams) WithTimeout(timeout time.Duration) *LedgerAccountPostParams
WithTimeout adds the timeout to the ledger account post params
func (*LedgerAccountPostParams) WriteToRequest ¶
func (o *LedgerAccountPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LedgerAccountPutOK) GetPayload() *models.ResponseWrapperAccount
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 ¶
func (o *LedgerAccountPutParams) WithBody(body *models.Account) *LedgerAccountPutParams
WithBody adds the body to the ledger account put params
func (*LedgerAccountPutParams) WithContext ¶
func (o *LedgerAccountPutParams) WithContext(ctx context.Context) *LedgerAccountPutParams
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 ¶
func (o *LedgerAccountPutParams) WithID(id int32) *LedgerAccountPutParams
WithID adds the id to the ledger account put params
func (*LedgerAccountPutParams) WithTimeout ¶
func (o *LedgerAccountPutParams) WithTimeout(timeout time.Duration) *LedgerAccountPutParams
WithTimeout adds the timeout to the ledger account put params
func (*LedgerAccountPutParams) WriteToRequest ¶
func (o *LedgerAccountPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *LedgerAccountSearchOK) GetPayload() *models.ListResponseAccount
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 ¶
func (o *LedgerAccountSearchParams) WithContext(ctx context.Context) *LedgerAccountSearchParams
WithContext adds the context to the ledger account search params
func (*LedgerAccountSearchParams) WithCount ¶
func (o *LedgerAccountSearchParams) WithCount(count *int64) *LedgerAccountSearchParams
WithCount adds the count to the ledger account search params
func (*LedgerAccountSearchParams) WithFields ¶
func (o *LedgerAccountSearchParams) WithFields(fields *string) *LedgerAccountSearchParams
WithFields adds the fields to the ledger account search params
func (*LedgerAccountSearchParams) WithFrom ¶
func (o *LedgerAccountSearchParams) WithFrom(from *int64) *LedgerAccountSearchParams
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 ¶
func (o *LedgerAccountSearchParams) WithID(id *string) *LedgerAccountSearchParams
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 ¶
func (o *LedgerAccountSearchParams) WithNumber(number *string) *LedgerAccountSearchParams
WithNumber adds the number to the ledger account search params
func (*LedgerAccountSearchParams) WithSorting ¶
func (o *LedgerAccountSearchParams) WithSorting(sorting *string) *LedgerAccountSearchParams
WithSorting adds the sorting to the ledger account search params
func (*LedgerAccountSearchParams) WithTimeout ¶
func (o *LedgerAccountSearchParams) WithTimeout(timeout time.Duration) *LedgerAccountSearchParams
WithTimeout adds the timeout to the ledger account search params
func (*LedgerAccountSearchParams) WriteToRequest ¶
func (o *LedgerAccountSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- account_client.go
- ledger_account_delete_parameters.go
- ledger_account_delete_responses.go
- ledger_account_get_parameters.go
- ledger_account_get_responses.go
- ledger_account_list_delete_by_ids_parameters.go
- ledger_account_list_delete_by_ids_responses.go
- ledger_account_list_post_list_parameters.go
- ledger_account_list_post_list_responses.go
- ledger_account_list_put_list_parameters.go
- ledger_account_list_put_list_responses.go
- ledger_account_post_parameters.go
- ledger_account_post_responses.go
- ledger_account_put_parameters.go
- ledger_account_put_responses.go
- ledger_account_search_parameters.go
- ledger_account_search_responses.go