lenders

package
v0.0.0-...-b714850 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 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 AddLenderProcurationFeeOK

type AddLenderProcurationFeeOK struct {
	Payload models.V1AddLenderProcurationFeeResponse
}

AddLenderProcurationFeeOK handles this case with default header values.

AddLenderProcurationFeeOK add lender procuration fee o k

func NewAddLenderProcurationFeeOK

func NewAddLenderProcurationFeeOK() *AddLenderProcurationFeeOK

NewAddLenderProcurationFeeOK creates a AddLenderProcurationFeeOK with default headers values

func (*AddLenderProcurationFeeOK) Error

func (o *AddLenderProcurationFeeOK) Error() string

type AddLenderProcurationFeeParams

type AddLenderProcurationFeeParams struct {

	/*Body*/
	Body *models.V1AddLenderProcurationFeeRequest
	/*LenderID*/
	LenderID string

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

AddLenderProcurationFeeParams contains all the parameters to send to the API endpoint for the add lender procuration fee operation typically these are written to a http.Request

func NewAddLenderProcurationFeeParams

func NewAddLenderProcurationFeeParams() *AddLenderProcurationFeeParams

NewAddLenderProcurationFeeParams creates a new AddLenderProcurationFeeParams object with the default values initialized.

func NewAddLenderProcurationFeeParamsWithContext

func NewAddLenderProcurationFeeParamsWithContext(ctx context.Context) *AddLenderProcurationFeeParams

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

func NewAddLenderProcurationFeeParamsWithHTTPClient

func NewAddLenderProcurationFeeParamsWithHTTPClient(client *http.Client) *AddLenderProcurationFeeParams

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

func NewAddLenderProcurationFeeParamsWithTimeout

func NewAddLenderProcurationFeeParamsWithTimeout(timeout time.Duration) *AddLenderProcurationFeeParams

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

func (*AddLenderProcurationFeeParams) SetBody

SetBody adds the body to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) SetContext

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

SetContext adds the context to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) SetLenderID

func (o *AddLenderProcurationFeeParams) SetLenderID(lenderID string)

SetLenderID adds the lenderId to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) SetTimeout

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

SetTimeout adds the timeout to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) WithBody

WithBody adds the body to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) WithContext

WithContext adds the context to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) WithLenderID

WithLenderID adds the lenderID to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) WithTimeout

WithTimeout adds the timeout to the add lender procuration fee params

func (*AddLenderProcurationFeeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddLenderProcurationFeeReader

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

AddLenderProcurationFeeReader is a Reader for the AddLenderProcurationFee structure.

func (*AddLenderProcurationFeeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for lenders API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new lenders API client.

func (*Client) AddLenderProcurationFee

func (a *Client) AddLenderProcurationFee(params *AddLenderProcurationFeeParams, authInfo runtime.ClientAuthInfoWriter) (*AddLenderProcurationFeeOK, error)

AddLenderProcurationFee add lender procuration fee API

func (*Client) CreateLender

func (a *Client) CreateLender(params *CreateLenderParams, authInfo runtime.ClientAuthInfoWriter) (*CreateLenderOK, error)

CreateLender create lender API

func (*Client) DeleteLenderProcurationFee

func (a *Client) DeleteLenderProcurationFee(params *DeleteLenderProcurationFeeParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLenderProcurationFeeOK, error)

DeleteLenderProcurationFee delete lender procuration fee API

func (*Client) GetLender

func (a *Client) GetLender(params *GetLenderParams, authInfo runtime.ClientAuthInfoWriter) (*GetLenderOK, error)

GetLender get lender API

func (*Client) QueryLenders

func (a *Client) QueryLenders(params *QueryLendersParams, authInfo runtime.ClientAuthInfoWriter) (*QueryLendersOK, error)

QueryLenders query lenders API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type CreateLenderOK

type CreateLenderOK struct {
	Payload models.V1CreateLenderResponse
}

CreateLenderOK handles this case with default header values.

CreateLenderOK create lender o k

func NewCreateLenderOK

func NewCreateLenderOK() *CreateLenderOK

NewCreateLenderOK creates a CreateLenderOK with default headers values

func (*CreateLenderOK) Error

func (o *CreateLenderOK) Error() string

type CreateLenderParams

type CreateLenderParams struct {

	/*Body*/
	Body *models.V1CreateLenderRequest

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

CreateLenderParams contains all the parameters to send to the API endpoint for the create lender operation typically these are written to a http.Request

func NewCreateLenderParams

func NewCreateLenderParams() *CreateLenderParams

NewCreateLenderParams creates a new CreateLenderParams object with the default values initialized.

func NewCreateLenderParamsWithContext

func NewCreateLenderParamsWithContext(ctx context.Context) *CreateLenderParams

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

func NewCreateLenderParamsWithHTTPClient

func NewCreateLenderParamsWithHTTPClient(client *http.Client) *CreateLenderParams

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

func NewCreateLenderParamsWithTimeout

func NewCreateLenderParamsWithTimeout(timeout time.Duration) *CreateLenderParams

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

func (*CreateLenderParams) SetBody

SetBody adds the body to the create lender params

func (*CreateLenderParams) SetContext

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

SetContext adds the context to the create lender params

func (*CreateLenderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create lender params

func (*CreateLenderParams) SetTimeout

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

SetTimeout adds the timeout to the create lender params

func (*CreateLenderParams) WithBody

WithBody adds the body to the create lender params

func (*CreateLenderParams) WithContext

WithContext adds the context to the create lender params

func (*CreateLenderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create lender params

func (*CreateLenderParams) WithTimeout

func (o *CreateLenderParams) WithTimeout(timeout time.Duration) *CreateLenderParams

WithTimeout adds the timeout to the create lender params

func (*CreateLenderParams) WriteToRequest

func (o *CreateLenderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateLenderReader

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

CreateLenderReader is a Reader for the CreateLender structure.

func (*CreateLenderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLenderProcurationFeeOK

type DeleteLenderProcurationFeeOK struct {
	Payload models.ProtobufEmpty
}

DeleteLenderProcurationFeeOK handles this case with default header values.

DeleteLenderProcurationFeeOK delete lender procuration fee o k

func NewDeleteLenderProcurationFeeOK

func NewDeleteLenderProcurationFeeOK() *DeleteLenderProcurationFeeOK

NewDeleteLenderProcurationFeeOK creates a DeleteLenderProcurationFeeOK with default headers values

func (*DeleteLenderProcurationFeeOK) Error

type DeleteLenderProcurationFeeParams

type DeleteLenderProcurationFeeParams struct {

	/*FeeID*/
	FeeID string
	/*LenderID*/
	LenderID string

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

DeleteLenderProcurationFeeParams contains all the parameters to send to the API endpoint for the delete lender procuration fee operation typically these are written to a http.Request

func NewDeleteLenderProcurationFeeParams

func NewDeleteLenderProcurationFeeParams() *DeleteLenderProcurationFeeParams

NewDeleteLenderProcurationFeeParams creates a new DeleteLenderProcurationFeeParams object with the default values initialized.

func NewDeleteLenderProcurationFeeParamsWithContext

func NewDeleteLenderProcurationFeeParamsWithContext(ctx context.Context) *DeleteLenderProcurationFeeParams

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

func NewDeleteLenderProcurationFeeParamsWithHTTPClient

func NewDeleteLenderProcurationFeeParamsWithHTTPClient(client *http.Client) *DeleteLenderProcurationFeeParams

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

func NewDeleteLenderProcurationFeeParamsWithTimeout

func NewDeleteLenderProcurationFeeParamsWithTimeout(timeout time.Duration) *DeleteLenderProcurationFeeParams

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

func (*DeleteLenderProcurationFeeParams) SetContext

SetContext adds the context to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) SetFeeID

func (o *DeleteLenderProcurationFeeParams) SetFeeID(feeID string)

SetFeeID adds the feeId to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) SetLenderID

func (o *DeleteLenderProcurationFeeParams) SetLenderID(lenderID string)

SetLenderID adds the lenderId to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) SetTimeout

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

SetTimeout adds the timeout to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) WithContext

WithContext adds the context to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) WithFeeID

WithFeeID adds the feeID to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) WithLenderID

WithLenderID adds the lenderID to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) WithTimeout

WithTimeout adds the timeout to the delete lender procuration fee params

func (*DeleteLenderProcurationFeeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLenderProcurationFeeReader

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

DeleteLenderProcurationFeeReader is a Reader for the DeleteLenderProcurationFee structure.

func (*DeleteLenderProcurationFeeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLenderOK

type GetLenderOK struct {
	Payload *models.V1GetLenderResponse
}

GetLenderOK handles this case with default header values.

GetLenderOK get lender o k

func NewGetLenderOK

func NewGetLenderOK() *GetLenderOK

NewGetLenderOK creates a GetLenderOK with default headers values

func (*GetLenderOK) Error

func (o *GetLenderOK) Error() string

type GetLenderParams

type GetLenderParams struct {

	/*LenderID*/
	LenderID string

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

GetLenderParams contains all the parameters to send to the API endpoint for the get lender operation typically these are written to a http.Request

func NewGetLenderParams

func NewGetLenderParams() *GetLenderParams

NewGetLenderParams creates a new GetLenderParams object with the default values initialized.

func NewGetLenderParamsWithContext

func NewGetLenderParamsWithContext(ctx context.Context) *GetLenderParams

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

func NewGetLenderParamsWithHTTPClient

func NewGetLenderParamsWithHTTPClient(client *http.Client) *GetLenderParams

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

func NewGetLenderParamsWithTimeout

func NewGetLenderParamsWithTimeout(timeout time.Duration) *GetLenderParams

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

func (*GetLenderParams) SetContext

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

SetContext adds the context to the get lender params

func (*GetLenderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get lender params

func (*GetLenderParams) SetLenderID

func (o *GetLenderParams) SetLenderID(lenderID string)

SetLenderID adds the lenderId to the get lender params

func (*GetLenderParams) SetTimeout

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

SetTimeout adds the timeout to the get lender params

func (*GetLenderParams) WithContext

func (o *GetLenderParams) WithContext(ctx context.Context) *GetLenderParams

WithContext adds the context to the get lender params

func (*GetLenderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get lender params

func (*GetLenderParams) WithLenderID

func (o *GetLenderParams) WithLenderID(lenderID string) *GetLenderParams

WithLenderID adds the lenderID to the get lender params

func (*GetLenderParams) WithTimeout

func (o *GetLenderParams) WithTimeout(timeout time.Duration) *GetLenderParams

WithTimeout adds the timeout to the get lender params

func (*GetLenderParams) WriteToRequest

func (o *GetLenderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetLenderReader

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

GetLenderReader is a Reader for the GetLender structure.

func (*GetLenderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryLendersOK

type QueryLendersOK struct {
	Payload *models.V1QueryLendersResponse
}

QueryLendersOK handles this case with default header values.

QueryLendersOK query lenders o k

func NewQueryLendersOK

func NewQueryLendersOK() *QueryLendersOK

NewQueryLendersOK creates a QueryLendersOK with default headers values

func (*QueryLendersOK) Error

func (o *QueryLendersOK) Error() string

type QueryLendersParams

type QueryLendersParams struct {

	/*AccountID*/
	AccountID []string
	/*DisplayName*/
	DisplayName *string
	/*LenderID*/
	LenderID []string
	/*OrganisationID*/
	OrganisationID []string

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

QueryLendersParams contains all the parameters to send to the API endpoint for the query lenders operation typically these are written to a http.Request

func NewQueryLendersParams

func NewQueryLendersParams() *QueryLendersParams

NewQueryLendersParams creates a new QueryLendersParams object with the default values initialized.

func NewQueryLendersParamsWithContext

func NewQueryLendersParamsWithContext(ctx context.Context) *QueryLendersParams

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

func NewQueryLendersParamsWithHTTPClient

func NewQueryLendersParamsWithHTTPClient(client *http.Client) *QueryLendersParams

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

func NewQueryLendersParamsWithTimeout

func NewQueryLendersParamsWithTimeout(timeout time.Duration) *QueryLendersParams

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

func (*QueryLendersParams) SetAccountID

func (o *QueryLendersParams) SetAccountID(accountID []string)

SetAccountID adds the accountId to the query lenders params

func (*QueryLendersParams) SetContext

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

SetContext adds the context to the query lenders params

func (*QueryLendersParams) SetDisplayName

func (o *QueryLendersParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the query lenders params

func (*QueryLendersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query lenders params

func (*QueryLendersParams) SetLenderID

func (o *QueryLendersParams) SetLenderID(lenderID []string)

SetLenderID adds the lenderId to the query lenders params

func (*QueryLendersParams) SetOrganisationID

func (o *QueryLendersParams) SetOrganisationID(organisationID []string)

SetOrganisationID adds the organisationId to the query lenders params

func (*QueryLendersParams) SetTimeout

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

SetTimeout adds the timeout to the query lenders params

func (*QueryLendersParams) WithAccountID

func (o *QueryLendersParams) WithAccountID(accountID []string) *QueryLendersParams

WithAccountID adds the accountID to the query lenders params

func (*QueryLendersParams) WithContext

WithContext adds the context to the query lenders params

func (*QueryLendersParams) WithDisplayName

func (o *QueryLendersParams) WithDisplayName(displayName *string) *QueryLendersParams

WithDisplayName adds the displayName to the query lenders params

func (*QueryLendersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query lenders params

func (*QueryLendersParams) WithLenderID

func (o *QueryLendersParams) WithLenderID(lenderID []string) *QueryLendersParams

WithLenderID adds the lenderID to the query lenders params

func (*QueryLendersParams) WithOrganisationID

func (o *QueryLendersParams) WithOrganisationID(organisationID []string) *QueryLendersParams

WithOrganisationID adds the organisationID to the query lenders params

func (*QueryLendersParams) WithTimeout

func (o *QueryLendersParams) WithTimeout(timeout time.Duration) *QueryLendersParams

WithTimeout adds the timeout to the query lenders params

func (*QueryLendersParams) WriteToRequest

func (o *QueryLendersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type QueryLendersReader

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

QueryLendersReader is a Reader for the QueryLenders structure.

func (*QueryLendersReader) ReadResponse

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