Documentation ¶
Index ¶
- type Client
- type ClientService
- type VoucherApprovalListElementGetOK
- type VoucherApprovalListElementGetParams
- func NewVoucherApprovalListElementGetParams() *VoucherApprovalListElementGetParams
- func NewVoucherApprovalListElementGetParamsWithContext(ctx context.Context) *VoucherApprovalListElementGetParams
- func NewVoucherApprovalListElementGetParamsWithHTTPClient(client *http.Client) *VoucherApprovalListElementGetParams
- func NewVoucherApprovalListElementGetParamsWithTimeout(timeout time.Duration) *VoucherApprovalListElementGetParams
- func (o *VoucherApprovalListElementGetParams) SetContext(ctx context.Context)
- func (o *VoucherApprovalListElementGetParams) SetFields(fields *string)
- func (o *VoucherApprovalListElementGetParams) SetHTTPClient(client *http.Client)
- func (o *VoucherApprovalListElementGetParams) SetID(id int32)
- func (o *VoucherApprovalListElementGetParams) SetTimeout(timeout time.Duration)
- func (o *VoucherApprovalListElementGetParams) WithContext(ctx context.Context) *VoucherApprovalListElementGetParams
- func (o *VoucherApprovalListElementGetParams) WithFields(fields *string) *VoucherApprovalListElementGetParams
- func (o *VoucherApprovalListElementGetParams) WithHTTPClient(client *http.Client) *VoucherApprovalListElementGetParams
- func (o *VoucherApprovalListElementGetParams) WithID(id int32) *VoucherApprovalListElementGetParams
- func (o *VoucherApprovalListElementGetParams) WithTimeout(timeout time.Duration) *VoucherApprovalListElementGetParams
- func (o *VoucherApprovalListElementGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VoucherApprovalListElementGetReader
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 voucher approval list element API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VoucherApprovalListElementGet ¶
func (a *Client) VoucherApprovalListElementGet(params *VoucherApprovalListElementGetParams, authInfo runtime.ClientAuthInfoWriter) (*VoucherApprovalListElementGetOK, error)
VoucherApprovalListElementGet bs e t a get by ID
type ClientService ¶
type ClientService interface { VoucherApprovalListElementGet(params *VoucherApprovalListElementGetParams, authInfo runtime.ClientAuthInfoWriter) (*VoucherApprovalListElementGetOK, 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 voucher approval list element API client.
type VoucherApprovalListElementGetOK ¶
type VoucherApprovalListElementGetOK struct {
Payload *models.ResponseWrapperVoucherApprovalListElement
}
VoucherApprovalListElementGetOK handles this case with default header values.
successful operation
func NewVoucherApprovalListElementGetOK ¶
func NewVoucherApprovalListElementGetOK() *VoucherApprovalListElementGetOK
NewVoucherApprovalListElementGetOK creates a VoucherApprovalListElementGetOK with default headers values
func (*VoucherApprovalListElementGetOK) Error ¶
func (o *VoucherApprovalListElementGetOK) Error() string
func (*VoucherApprovalListElementGetOK) GetPayload ¶
func (o *VoucherApprovalListElementGetOK) GetPayload() *models.ResponseWrapperVoucherApprovalListElement
type VoucherApprovalListElementGetParams ¶
type VoucherApprovalListElementGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VoucherApprovalListElementGetParams contains all the parameters to send to the API endpoint for the voucher approval list element get operation typically these are written to a http.Request
func NewVoucherApprovalListElementGetParams ¶
func NewVoucherApprovalListElementGetParams() *VoucherApprovalListElementGetParams
NewVoucherApprovalListElementGetParams creates a new VoucherApprovalListElementGetParams object with the default values initialized.
func NewVoucherApprovalListElementGetParamsWithContext ¶
func NewVoucherApprovalListElementGetParamsWithContext(ctx context.Context) *VoucherApprovalListElementGetParams
NewVoucherApprovalListElementGetParamsWithContext creates a new VoucherApprovalListElementGetParams object with the default values initialized, and the ability to set a context for a request
func NewVoucherApprovalListElementGetParamsWithHTTPClient ¶
func NewVoucherApprovalListElementGetParamsWithHTTPClient(client *http.Client) *VoucherApprovalListElementGetParams
NewVoucherApprovalListElementGetParamsWithHTTPClient creates a new VoucherApprovalListElementGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewVoucherApprovalListElementGetParamsWithTimeout ¶
func NewVoucherApprovalListElementGetParamsWithTimeout(timeout time.Duration) *VoucherApprovalListElementGetParams
NewVoucherApprovalListElementGetParamsWithTimeout creates a new VoucherApprovalListElementGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*VoucherApprovalListElementGetParams) SetContext ¶
func (o *VoucherApprovalListElementGetParams) SetContext(ctx context.Context)
SetContext adds the context to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) SetFields ¶
func (o *VoucherApprovalListElementGetParams) SetFields(fields *string)
SetFields adds the fields to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) SetHTTPClient ¶
func (o *VoucherApprovalListElementGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) SetID ¶
func (o *VoucherApprovalListElementGetParams) SetID(id int32)
SetID adds the id to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) SetTimeout ¶
func (o *VoucherApprovalListElementGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) WithContext ¶
func (o *VoucherApprovalListElementGetParams) WithContext(ctx context.Context) *VoucherApprovalListElementGetParams
WithContext adds the context to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) WithFields ¶
func (o *VoucherApprovalListElementGetParams) WithFields(fields *string) *VoucherApprovalListElementGetParams
WithFields adds the fields to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) WithHTTPClient ¶
func (o *VoucherApprovalListElementGetParams) WithHTTPClient(client *http.Client) *VoucherApprovalListElementGetParams
WithHTTPClient adds the HTTPClient to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) WithID ¶
func (o *VoucherApprovalListElementGetParams) WithID(id int32) *VoucherApprovalListElementGetParams
WithID adds the id to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) WithTimeout ¶
func (o *VoucherApprovalListElementGetParams) WithTimeout(timeout time.Duration) *VoucherApprovalListElementGetParams
WithTimeout adds the timeout to the voucher approval list element get params
func (*VoucherApprovalListElementGetParams) WriteToRequest ¶
func (o *VoucherApprovalListElementGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VoucherApprovalListElementGetReader ¶
type VoucherApprovalListElementGetReader struct {
// contains filtered or unexported fields
}
VoucherApprovalListElementGetReader is a Reader for the VoucherApprovalListElementGet structure.
func (*VoucherApprovalListElementGetReader) ReadResponse ¶
func (o *VoucherApprovalListElementGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.