close_group

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for close group API

func (*Client) LedgerCloseGroupGet

func (a *Client) LedgerCloseGroupGet(params *LedgerCloseGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupGetOK, error)

LedgerCloseGroupGet gets close group by ID

func (*Client) LedgerCloseGroupSearch

func (a *Client) LedgerCloseGroupSearch(params *LedgerCloseGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupSearchOK, error)

LedgerCloseGroupSearch finds close groups 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 {
	LedgerCloseGroupGet(params *LedgerCloseGroupGetParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupGetOK, error)

	LedgerCloseGroupSearch(params *LedgerCloseGroupSearchParams, authInfo runtime.ClientAuthInfoWriter) (*LedgerCloseGroupSearchOK, 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 close group API client.

type LedgerCloseGroupGetOK

type LedgerCloseGroupGetOK struct {
	Payload *models.ResponseWrapperCloseGroup
}

LedgerCloseGroupGetOK handles this case with default header values.

successful operation

func NewLedgerCloseGroupGetOK

func NewLedgerCloseGroupGetOK() *LedgerCloseGroupGetOK

NewLedgerCloseGroupGetOK creates a LedgerCloseGroupGetOK with default headers values

func (*LedgerCloseGroupGetOK) Error

func (o *LedgerCloseGroupGetOK) Error() string

func (*LedgerCloseGroupGetOK) GetPayload

type LedgerCloseGroupGetParams

type LedgerCloseGroupGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

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

func NewLedgerCloseGroupGetParams

func NewLedgerCloseGroupGetParams() *LedgerCloseGroupGetParams

NewLedgerCloseGroupGetParams creates a new LedgerCloseGroupGetParams object with the default values initialized.

func NewLedgerCloseGroupGetParamsWithContext

func NewLedgerCloseGroupGetParamsWithContext(ctx context.Context) *LedgerCloseGroupGetParams

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

func NewLedgerCloseGroupGetParamsWithHTTPClient

func NewLedgerCloseGroupGetParamsWithHTTPClient(client *http.Client) *LedgerCloseGroupGetParams

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

func NewLedgerCloseGroupGetParamsWithTimeout

func NewLedgerCloseGroupGetParamsWithTimeout(timeout time.Duration) *LedgerCloseGroupGetParams

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

func (*LedgerCloseGroupGetParams) SetContext

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

SetContext adds the context to the ledger close group get params

func (*LedgerCloseGroupGetParams) SetFields

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

SetFields adds the fields to the ledger close group get params

func (*LedgerCloseGroupGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger close group get params

func (*LedgerCloseGroupGetParams) SetID

func (o *LedgerCloseGroupGetParams) SetID(id int32)

SetID adds the id to the ledger close group get params

func (*LedgerCloseGroupGetParams) SetTimeout

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

SetTimeout adds the timeout to the ledger close group get params

func (*LedgerCloseGroupGetParams) WithContext

WithContext adds the context to the ledger close group get params

func (*LedgerCloseGroupGetParams) WithFields

WithFields adds the fields to the ledger close group get params

func (*LedgerCloseGroupGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ledger close group get params

func (*LedgerCloseGroupGetParams) WithID

WithID adds the id to the ledger close group get params

func (*LedgerCloseGroupGetParams) WithTimeout

WithTimeout adds the timeout to the ledger close group get params

func (*LedgerCloseGroupGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerCloseGroupGetReader

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

LedgerCloseGroupGetReader is a Reader for the LedgerCloseGroupGet structure.

func (*LedgerCloseGroupGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LedgerCloseGroupSearchOK

type LedgerCloseGroupSearchOK struct {
	Payload *models.ListResponseCloseGroup
}

LedgerCloseGroupSearchOK handles this case with default header values.

successful operation

func NewLedgerCloseGroupSearchOK

func NewLedgerCloseGroupSearchOK() *LedgerCloseGroupSearchOK

NewLedgerCloseGroupSearchOK creates a LedgerCloseGroupSearchOK with default headers values

func (*LedgerCloseGroupSearchOK) Error

func (o *LedgerCloseGroupSearchOK) Error() string

func (*LedgerCloseGroupSearchOK) GetPayload

type LedgerCloseGroupSearchParams

type LedgerCloseGroupSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*DateFrom
	  From and including

	*/
	DateFrom string
	/*DateTo
	  To and excluding

	*/
	DateTo string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string

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

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

func NewLedgerCloseGroupSearchParams

func NewLedgerCloseGroupSearchParams() *LedgerCloseGroupSearchParams

NewLedgerCloseGroupSearchParams creates a new LedgerCloseGroupSearchParams object with the default values initialized.

func NewLedgerCloseGroupSearchParamsWithContext

func NewLedgerCloseGroupSearchParamsWithContext(ctx context.Context) *LedgerCloseGroupSearchParams

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

func NewLedgerCloseGroupSearchParamsWithHTTPClient

func NewLedgerCloseGroupSearchParamsWithHTTPClient(client *http.Client) *LedgerCloseGroupSearchParams

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

func NewLedgerCloseGroupSearchParamsWithTimeout

func NewLedgerCloseGroupSearchParamsWithTimeout(timeout time.Duration) *LedgerCloseGroupSearchParams

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

func (*LedgerCloseGroupSearchParams) SetContext

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

SetContext adds the context to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetCount

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

SetCount adds the count to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetDateFrom

func (o *LedgerCloseGroupSearchParams) SetDateFrom(dateFrom string)

SetDateFrom adds the dateFrom to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetDateTo

func (o *LedgerCloseGroupSearchParams) SetDateTo(dateTo string)

SetDateTo adds the dateTo to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetFields

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

SetFields adds the fields to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetFrom

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

SetFrom adds the from to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetID

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

SetID adds the id to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetSorting

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

SetSorting adds the sorting to the ledger close group search params

func (*LedgerCloseGroupSearchParams) SetTimeout

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

SetTimeout adds the timeout to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithContext

WithContext adds the context to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithCount

WithCount adds the count to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithDateFrom

WithDateFrom adds the dateFrom to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithDateTo

WithDateTo adds the dateTo to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithFields

WithFields adds the fields to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithFrom

WithFrom adds the from to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithID

WithID adds the id to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithSorting

WithSorting adds the sorting to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WithTimeout

WithTimeout adds the timeout to the ledger close group search params

func (*LedgerCloseGroupSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LedgerCloseGroupSearchReader

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

LedgerCloseGroupSearchReader is a Reader for the LedgerCloseGroupSearch structure.

func (*LedgerCloseGroupSearchReader) ReadResponse

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