voucher_approval_list_element

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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 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 (*VoucherApprovalListElementGetOK) GetPayload

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

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

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

WithContext adds the context to the voucher approval list element get params

func (*VoucherApprovalListElementGetParams) WithFields

WithFields adds the fields to the voucher approval list element get params

func (*VoucherApprovalListElementGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the voucher approval list element get params

func (*VoucherApprovalListElementGetParams) WithID

WithID adds the id to the voucher approval list element get params

func (*VoucherApprovalListElementGetParams) WithTimeout

WithTimeout adds the timeout to the voucher approval list element get params

func (*VoucherApprovalListElementGetParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL