fx_api

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 14 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 {
	Defaults client.Defaults
	// contains filtered or unexported fields
}

Client for fx api API

func New

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

New creates a new fx api API client.

func (*Client) CreateDeal

func (c *Client) CreateDeal() *CreateDealRequest

Client.CreateDeal creates a new CreateDealRequest object with the default values initialized.

func (*Client) CreateDealSubmission

func (c *Client) CreateDealSubmission() *CreateDealSubmissionRequest

Client.CreateDealSubmission creates a new CreateDealSubmissionRequest object with the default values initialized.

func (*Client) GetDeal

func (c *Client) GetDeal() *GetDealRequest

Client.GetDeal creates a new GetDealRequest object with the default values initialized.

func (*Client) GetDealSubmission

func (c *Client) GetDealSubmission() *GetDealSubmissionRequest

Client.GetDealSubmission creates a new GetDealSubmissionRequest object with the default values initialized.

func (*Client) ListDeals

func (c *Client) ListDeals() *ListDealsRequest

Client.ListDeals creates a new ListDealsRequest object with the default values initialized.

func (*Client) ListRates

func (c *Client) ListRates() *ListRatesRequest

Client.ListRates creates a new ListRatesRequest object with the default values initialized.

func (*Client) ModifyDealSubmission

func (c *Client) ModifyDealSubmission() *ModifyDealSubmissionRequest

Client.ModifyDealSubmission creates a new ModifyDealSubmissionRequest object with the default values initialized.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type CreateDealBadGateway

type CreateDealBadGateway struct {

	// isStream: false
	*models.APIError
}

CreateDealBadGateway handles this case with default header values.

Bad Gateway

func NewCreateDealBadGateway

func NewCreateDealBadGateway() *CreateDealBadGateway

NewCreateDealBadGateway creates a CreateDealBadGateway with default headers values

func (*CreateDealBadGateway) Error

func (o *CreateDealBadGateway) Error() string

type CreateDealBadRequest

type CreateDealBadRequest struct {

	// isStream: false
	*models.APIError
}

CreateDealBadRequest handles this case with default header values.

Bad Request

func NewCreateDealBadRequest

func NewCreateDealBadRequest() *CreateDealBadRequest

NewCreateDealBadRequest creates a CreateDealBadRequest with default headers values

func (*CreateDealBadRequest) Error

func (o *CreateDealBadRequest) Error() string

type CreateDealConflict

type CreateDealConflict struct {

	// isStream: false
	*models.APIError
}

CreateDealConflict handles this case with default header values.

Conflict

func NewCreateDealConflict

func NewCreateDealConflict() *CreateDealConflict

NewCreateDealConflict creates a CreateDealConflict with default headers values

func (*CreateDealConflict) Error

func (o *CreateDealConflict) Error() string

type CreateDealCreated

type CreateDealCreated struct {

	// isStream: false
	*models.FXDealResponse
}

CreateDealCreated handles this case with default header values.

creation response

func NewCreateDealCreated

func NewCreateDealCreated() *CreateDealCreated

NewCreateDealCreated creates a CreateDealCreated with default headers values

func (*CreateDealCreated) Error

func (o *CreateDealCreated) Error() string

type CreateDealDefault

type CreateDealDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

CreateDealDefault handles this case with default header values.

Unexpected Error

func NewCreateDealDefault

func NewCreateDealDefault(code int) *CreateDealDefault

NewCreateDealDefault creates a CreateDealDefault with default headers values

func (*CreateDealDefault) Code

func (o *CreateDealDefault) Code() int

Code gets the status code for the create deal default response

func (*CreateDealDefault) Error

func (o *CreateDealDefault) Error() string

type CreateDealForbidden

type CreateDealForbidden struct {

	// isStream: false
	*models.APIError
}

CreateDealForbidden handles this case with default header values.

Action Forbidden

func NewCreateDealForbidden

func NewCreateDealForbidden() *CreateDealForbidden

NewCreateDealForbidden creates a CreateDealForbidden with default headers values

func (*CreateDealForbidden) Error

func (o *CreateDealForbidden) Error() string

type CreateDealReader

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

CreateDealReader is a Reader for the CreateDeal structure.

func (*CreateDealReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDealRequest

type CreateDealRequest struct {
	*models.FXDealCreation

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

func (*CreateDealRequest) Do

create deal API

func (*CreateDealRequest) FromJson

func (o *CreateDealRequest) FromJson(j string) *CreateDealRequest

func (*CreateDealRequest) MustDo

func (a *CreateDealRequest) MustDo() *CreateDealCreated

func (*CreateDealRequest) WithContext

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

//////////////// WithContext adds the context to the create deal Request

func (*CreateDealRequest) WithCreationRequest

func (o *CreateDealRequest) WithCreationRequest(creationRequest models.FXDealCreation) *CreateDealRequest

func (*CreateDealRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create deal Request

func (*CreateDealRequest) WithoutCreationRequest

func (o *CreateDealRequest) WithoutCreationRequest() *CreateDealRequest

func (*CreateDealRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type CreateDealSubmissionBadGateway

type CreateDealSubmissionBadGateway struct {

	// isStream: false
	*models.APIError
}

CreateDealSubmissionBadGateway handles this case with default header values.

Bad Gateway

func NewCreateDealSubmissionBadGateway

func NewCreateDealSubmissionBadGateway() *CreateDealSubmissionBadGateway

NewCreateDealSubmissionBadGateway creates a CreateDealSubmissionBadGateway with default headers values

func (*CreateDealSubmissionBadGateway) Error

type CreateDealSubmissionBadRequest

type CreateDealSubmissionBadRequest struct {

	// isStream: false
	*models.APIError
}

CreateDealSubmissionBadRequest handles this case with default header values.

Bad Request

func NewCreateDealSubmissionBadRequest

func NewCreateDealSubmissionBadRequest() *CreateDealSubmissionBadRequest

NewCreateDealSubmissionBadRequest creates a CreateDealSubmissionBadRequest with default headers values

func (*CreateDealSubmissionBadRequest) Error

type CreateDealSubmissionConflict

type CreateDealSubmissionConflict struct {

	// isStream: false
	*models.APIError
}

CreateDealSubmissionConflict handles this case with default header values.

Conflict

func NewCreateDealSubmissionConflict

func NewCreateDealSubmissionConflict() *CreateDealSubmissionConflict

NewCreateDealSubmissionConflict creates a CreateDealSubmissionConflict with default headers values

func (*CreateDealSubmissionConflict) Error

type CreateDealSubmissionCreated

type CreateDealSubmissionCreated struct {

	// isStream: false
	*models.FXDealSubmissionResponse
}

CreateDealSubmissionCreated handles this case with default header values.

creation response

func NewCreateDealSubmissionCreated

func NewCreateDealSubmissionCreated() *CreateDealSubmissionCreated

NewCreateDealSubmissionCreated creates a CreateDealSubmissionCreated with default headers values

func (*CreateDealSubmissionCreated) Error

type CreateDealSubmissionDefault

type CreateDealSubmissionDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

CreateDealSubmissionDefault handles this case with default header values.

Unexpected Error

func NewCreateDealSubmissionDefault

func NewCreateDealSubmissionDefault(code int) *CreateDealSubmissionDefault

NewCreateDealSubmissionDefault creates a CreateDealSubmissionDefault with default headers values

func (*CreateDealSubmissionDefault) Code

func (o *CreateDealSubmissionDefault) Code() int

Code gets the status code for the create deal submission default response

func (*CreateDealSubmissionDefault) Error

type CreateDealSubmissionForbidden

type CreateDealSubmissionForbidden struct {

	// isStream: false
	*models.APIError
}

CreateDealSubmissionForbidden handles this case with default header values.

Action Forbidden

func NewCreateDealSubmissionForbidden

func NewCreateDealSubmissionForbidden() *CreateDealSubmissionForbidden

NewCreateDealSubmissionForbidden creates a CreateDealSubmissionForbidden with default headers values

func (*CreateDealSubmissionForbidden) Error

type CreateDealSubmissionNotFound

type CreateDealSubmissionNotFound struct {

	// isStream: false
	*models.APIError
}

CreateDealSubmissionNotFound handles this case with default header values.

Not Found

func NewCreateDealSubmissionNotFound

func NewCreateDealSubmissionNotFound() *CreateDealSubmissionNotFound

NewCreateDealSubmissionNotFound creates a CreateDealSubmissionNotFound with default headers values

func (*CreateDealSubmissionNotFound) Error

type CreateDealSubmissionReader

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

CreateDealSubmissionReader is a Reader for the CreateDealSubmission structure.

func (*CreateDealSubmissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDealSubmissionRequest

type CreateDealSubmissionRequest struct {
	*models.FXDealSubmissionCreation

	FxDealID string

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

func (*CreateDealSubmissionRequest) Do

create deal submission API

func (*CreateDealSubmissionRequest) FromJson

func (*CreateDealSubmissionRequest) MustDo

func (*CreateDealSubmissionRequest) WithContext

//////////////// WithContext adds the context to the create deal submission Request

func (*CreateDealSubmissionRequest) WithCreationRequest

func (*CreateDealSubmissionRequest) WithFxDealID

func (*CreateDealSubmissionRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create deal submission Request

func (*CreateDealSubmissionRequest) WithoutCreationRequest

func (o *CreateDealSubmissionRequest) WithoutCreationRequest() *CreateDealSubmissionRequest

func (*CreateDealSubmissionRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type GetDealBadGateway

type GetDealBadGateway struct {

	// isStream: false
	*models.APIError
}

GetDealBadGateway handles this case with default header values.

Bad Gateway

func NewGetDealBadGateway

func NewGetDealBadGateway() *GetDealBadGateway

NewGetDealBadGateway creates a GetDealBadGateway with default headers values

func (*GetDealBadGateway) Error

func (o *GetDealBadGateway) Error() string

type GetDealBadRequest

type GetDealBadRequest struct {

	// isStream: false
	*models.APIError
}

GetDealBadRequest handles this case with default header values.

Bad Request

func NewGetDealBadRequest

func NewGetDealBadRequest() *GetDealBadRequest

NewGetDealBadRequest creates a GetDealBadRequest with default headers values

func (*GetDealBadRequest) Error

func (o *GetDealBadRequest) Error() string

type GetDealDefault

type GetDealDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

GetDealDefault handles this case with default header values.

Unexpected Error

func NewGetDealDefault

func NewGetDealDefault(code int) *GetDealDefault

NewGetDealDefault creates a GetDealDefault with default headers values

func (*GetDealDefault) Code

func (o *GetDealDefault) Code() int

Code gets the status code for the get deal default response

func (*GetDealDefault) Error

func (o *GetDealDefault) Error() string

type GetDealForbidden

type GetDealForbidden struct {

	// isStream: false
	*models.APIError
}

GetDealForbidden handles this case with default header values.

Action Forbidden

func NewGetDealForbidden

func NewGetDealForbidden() *GetDealForbidden

NewGetDealForbidden creates a GetDealForbidden with default headers values

func (*GetDealForbidden) Error

func (o *GetDealForbidden) Error() string

type GetDealNotFound

type GetDealNotFound struct {

	// isStream: false
	*models.APIError
}

GetDealNotFound handles this case with default header values.

Not Found

func NewGetDealNotFound

func NewGetDealNotFound() *GetDealNotFound

NewGetDealNotFound creates a GetDealNotFound with default headers values

func (*GetDealNotFound) Error

func (o *GetDealNotFound) Error() string

type GetDealOK

type GetDealOK struct {

	// isStream: false
	*models.FXDealResponse
}

GetDealOK handles this case with default header values.

fx deal response

func NewGetDealOK

func NewGetDealOK() *GetDealOK

NewGetDealOK creates a GetDealOK with default headers values

func (*GetDealOK) Error

func (o *GetDealOK) Error() string

type GetDealReader

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

GetDealReader is a Reader for the GetDeal structure.

func (*GetDealReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDealRequest

type GetDealRequest struct {
	FxDealID strfmt.UUID

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

func (*GetDealRequest) Do

func (a *GetDealRequest) Do() (*GetDealOK, error)

get deal API

func (*GetDealRequest) FromJson

func (o *GetDealRequest) FromJson(j string) *GetDealRequest

func (*GetDealRequest) MustDo

func (a *GetDealRequest) MustDo() *GetDealOK

func (*GetDealRequest) WithContext

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

//////////////// WithContext adds the context to the get deal Request

func (*GetDealRequest) WithFxDealID

func (o *GetDealRequest) WithFxDealID(fxDealID strfmt.UUID) *GetDealRequest

func (*GetDealRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deal Request

func (*GetDealRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type GetDealSubmissionBadGateway

type GetDealSubmissionBadGateway struct {

	// isStream: false
	*models.APIError
}

GetDealSubmissionBadGateway handles this case with default header values.

Bad Gateway

func NewGetDealSubmissionBadGateway

func NewGetDealSubmissionBadGateway() *GetDealSubmissionBadGateway

NewGetDealSubmissionBadGateway creates a GetDealSubmissionBadGateway with default headers values

func (*GetDealSubmissionBadGateway) Error

type GetDealSubmissionBadRequest

type GetDealSubmissionBadRequest struct {

	// isStream: false
	*models.APIError
}

GetDealSubmissionBadRequest handles this case with default header values.

Bad Request

func NewGetDealSubmissionBadRequest

func NewGetDealSubmissionBadRequest() *GetDealSubmissionBadRequest

NewGetDealSubmissionBadRequest creates a GetDealSubmissionBadRequest with default headers values

func (*GetDealSubmissionBadRequest) Error

type GetDealSubmissionDefault

type GetDealSubmissionDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

GetDealSubmissionDefault handles this case with default header values.

Unexpected Error

func NewGetDealSubmissionDefault

func NewGetDealSubmissionDefault(code int) *GetDealSubmissionDefault

NewGetDealSubmissionDefault creates a GetDealSubmissionDefault with default headers values

func (*GetDealSubmissionDefault) Code

func (o *GetDealSubmissionDefault) Code() int

Code gets the status code for the get deal submission default response

func (*GetDealSubmissionDefault) Error

func (o *GetDealSubmissionDefault) Error() string

type GetDealSubmissionForbidden

type GetDealSubmissionForbidden struct {

	// isStream: false
	*models.APIError
}

GetDealSubmissionForbidden handles this case with default header values.

Action Forbidden

func NewGetDealSubmissionForbidden

func NewGetDealSubmissionForbidden() *GetDealSubmissionForbidden

NewGetDealSubmissionForbidden creates a GetDealSubmissionForbidden with default headers values

func (*GetDealSubmissionForbidden) Error

type GetDealSubmissionNotFound

type GetDealSubmissionNotFound struct {

	// isStream: false
	*models.APIError
}

GetDealSubmissionNotFound handles this case with default header values.

Not Found

func NewGetDealSubmissionNotFound

func NewGetDealSubmissionNotFound() *GetDealSubmissionNotFound

NewGetDealSubmissionNotFound creates a GetDealSubmissionNotFound with default headers values

func (*GetDealSubmissionNotFound) Error

func (o *GetDealSubmissionNotFound) Error() string

type GetDealSubmissionOK

type GetDealSubmissionOK struct {

	// isStream: false
	*models.FXDealSubmissionResponse
}

GetDealSubmissionOK handles this case with default header values.

fx deal submission response

func NewGetDealSubmissionOK

func NewGetDealSubmissionOK() *GetDealSubmissionOK

NewGetDealSubmissionOK creates a GetDealSubmissionOK with default headers values

func (*GetDealSubmissionOK) Error

func (o *GetDealSubmissionOK) Error() string

type GetDealSubmissionReader

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

GetDealSubmissionReader is a Reader for the GetDealSubmission structure.

func (*GetDealSubmissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDealSubmissionRequest

type GetDealSubmissionRequest struct {
	FxDealID strfmt.UUID

	FxDealSubmissionID strfmt.UUID

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

func (*GetDealSubmissionRequest) Do

get deal submission API

func (*GetDealSubmissionRequest) FromJson

func (*GetDealSubmissionRequest) MustDo

func (*GetDealSubmissionRequest) WithContext

//////////////// WithContext adds the context to the get deal submission Request

func (*GetDealSubmissionRequest) WithFxDealID

func (o *GetDealSubmissionRequest) WithFxDealID(fxDealID strfmt.UUID) *GetDealSubmissionRequest

func (*GetDealSubmissionRequest) WithFxDealSubmissionID

func (o *GetDealSubmissionRequest) WithFxDealSubmissionID(fxDealSubmissionID strfmt.UUID) *GetDealSubmissionRequest

func (*GetDealSubmissionRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deal submission Request

func (*GetDealSubmissionRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

type ListDealsBadGateway

type ListDealsBadGateway struct {

	// isStream: false
	*models.APIError
}

ListDealsBadGateway handles this case with default header values.

Bad Gateway

func NewListDealsBadGateway

func NewListDealsBadGateway() *ListDealsBadGateway

NewListDealsBadGateway creates a ListDealsBadGateway with default headers values

func (*ListDealsBadGateway) Error

func (o *ListDealsBadGateway) Error() string

type ListDealsBadRequest

type ListDealsBadRequest struct {

	// isStream: false
	*models.APIError
}

ListDealsBadRequest handles this case with default header values.

Bad Request

func NewListDealsBadRequest

func NewListDealsBadRequest() *ListDealsBadRequest

NewListDealsBadRequest creates a ListDealsBadRequest with default headers values

func (*ListDealsBadRequest) Error

func (o *ListDealsBadRequest) Error() string

type ListDealsDefault

type ListDealsDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

ListDealsDefault handles this case with default header values.

Unexpected Error

func NewListDealsDefault

func NewListDealsDefault(code int) *ListDealsDefault

NewListDealsDefault creates a ListDealsDefault with default headers values

func (*ListDealsDefault) Code

func (o *ListDealsDefault) Code() int

Code gets the status code for the list deals default response

func (*ListDealsDefault) Error

func (o *ListDealsDefault) Error() string

type ListDealsForbidden

type ListDealsForbidden struct {

	// isStream: false
	*models.APIError
}

ListDealsForbidden handles this case with default header values.

Action Forbidden

func NewListDealsForbidden

func NewListDealsForbidden() *ListDealsForbidden

NewListDealsForbidden creates a ListDealsForbidden with default headers values

func (*ListDealsForbidden) Error

func (o *ListDealsForbidden) Error() string

type ListDealsOK

type ListDealsOK struct {

	// isStream: false
	*models.FXDealsListResponse
}

ListDealsOK handles this case with default header values.

FX Deals response

func NewListDealsOK

func NewListDealsOK() *ListDealsOK

NewListDealsOK creates a ListDealsOK with default headers values

func (*ListDealsOK) Error

func (o *ListDealsOK) Error() string

type ListDealsReader

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

ListDealsReader is a Reader for the ListDeals structure.

func (*ListDealsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListDealsRequest

type ListDealsRequest struct {
	FilterCreatedOnFrom *strfmt.Date

	FilterCreatedOnTo *strfmt.Date

	FilterOrganisationID []strfmt.UUID

	FilterPartyID *strfmt.UUID

	FilterProcessingDateFrom *strfmt.Date

	FilterProcessingDateTo *strfmt.Date

	FilterSourceAmount *string

	FilterSourceCurrency *string

	FilterSubmissionCreatedOnFrom *strfmt.Date

	FilterSubmissionCreatedOnTo *strfmt.Date

	FilterSubmissionReference *string

	FilterSubmissionStatus *string

	FilterTargetAmount *string

	FilterTargetCurrency *string

	FilterType *string

	PageNumber *string

	PageSize *int64

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

func (*ListDealsRequest) Do

func (a *ListDealsRequest) Do() (*ListDealsOK, error)

list deals API

func (*ListDealsRequest) FromJson

func (o *ListDealsRequest) FromJson(j string) *ListDealsRequest

func (*ListDealsRequest) MustDo

func (a *ListDealsRequest) MustDo() *ListDealsOK

func (*ListDealsRequest) WithContext

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

//////////////// WithContext adds the context to the list deals Request

func (*ListDealsRequest) WithFilterCreatedOnFrom

func (o *ListDealsRequest) WithFilterCreatedOnFrom(filterCreatedOnFrom strfmt.Date) *ListDealsRequest

func (*ListDealsRequest) WithFilterCreatedOnTo

func (o *ListDealsRequest) WithFilterCreatedOnTo(filterCreatedOnTo strfmt.Date) *ListDealsRequest

func (*ListDealsRequest) WithFilterOrganisationID

func (o *ListDealsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListDealsRequest

func (*ListDealsRequest) WithFilterPartyID

func (o *ListDealsRequest) WithFilterPartyID(filterPartyID strfmt.UUID) *ListDealsRequest

func (*ListDealsRequest) WithFilterProcessingDateFrom

func (o *ListDealsRequest) WithFilterProcessingDateFrom(filterProcessingDateFrom strfmt.Date) *ListDealsRequest

func (*ListDealsRequest) WithFilterProcessingDateTo

func (o *ListDealsRequest) WithFilterProcessingDateTo(filterProcessingDateTo strfmt.Date) *ListDealsRequest

func (*ListDealsRequest) WithFilterSourceAmount

func (o *ListDealsRequest) WithFilterSourceAmount(filterSourceAmount string) *ListDealsRequest

func (*ListDealsRequest) WithFilterSourceCurrency

func (o *ListDealsRequest) WithFilterSourceCurrency(filterSourceCurrency string) *ListDealsRequest

func (*ListDealsRequest) WithFilterSubmissionCreatedOnFrom

func (o *ListDealsRequest) WithFilterSubmissionCreatedOnFrom(filterSubmissionCreatedOnFrom strfmt.Date) *ListDealsRequest

func (*ListDealsRequest) WithFilterSubmissionCreatedOnTo

func (o *ListDealsRequest) WithFilterSubmissionCreatedOnTo(filterSubmissionCreatedOnTo strfmt.Date) *ListDealsRequest

func (*ListDealsRequest) WithFilterSubmissionReference

func (o *ListDealsRequest) WithFilterSubmissionReference(filterSubmissionReference string) *ListDealsRequest

func (*ListDealsRequest) WithFilterSubmissionStatus

func (o *ListDealsRequest) WithFilterSubmissionStatus(filterSubmissionStatus string) *ListDealsRequest

func (*ListDealsRequest) WithFilterTargetAmount

func (o *ListDealsRequest) WithFilterTargetAmount(filterTargetAmount string) *ListDealsRequest

func (*ListDealsRequest) WithFilterTargetCurrency

func (o *ListDealsRequest) WithFilterTargetCurrency(filterTargetCurrency string) *ListDealsRequest

func (*ListDealsRequest) WithFilterType

func (o *ListDealsRequest) WithFilterType(filterType string) *ListDealsRequest

func (*ListDealsRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list deals Request

func (*ListDealsRequest) WithPageNumber

func (o *ListDealsRequest) WithPageNumber(pageNumber string) *ListDealsRequest

func (*ListDealsRequest) WithPageSize

func (o *ListDealsRequest) WithPageSize(pageSize int64) *ListDealsRequest

func (*ListDealsRequest) WithoutFilterCreatedOnFrom

func (o *ListDealsRequest) WithoutFilterCreatedOnFrom() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterCreatedOnTo

func (o *ListDealsRequest) WithoutFilterCreatedOnTo() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterOrganisationID

func (o *ListDealsRequest) WithoutFilterOrganisationID() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterPartyID

func (o *ListDealsRequest) WithoutFilterPartyID() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterProcessingDateFrom

func (o *ListDealsRequest) WithoutFilterProcessingDateFrom() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterProcessingDateTo

func (o *ListDealsRequest) WithoutFilterProcessingDateTo() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterSourceAmount

func (o *ListDealsRequest) WithoutFilterSourceAmount() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterSourceCurrency

func (o *ListDealsRequest) WithoutFilterSourceCurrency() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterSubmissionCreatedOnFrom

func (o *ListDealsRequest) WithoutFilterSubmissionCreatedOnFrom() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterSubmissionCreatedOnTo

func (o *ListDealsRequest) WithoutFilterSubmissionCreatedOnTo() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterSubmissionReference

func (o *ListDealsRequest) WithoutFilterSubmissionReference() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterSubmissionStatus

func (o *ListDealsRequest) WithoutFilterSubmissionStatus() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterTargetAmount

func (o *ListDealsRequest) WithoutFilterTargetAmount() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterTargetCurrency

func (o *ListDealsRequest) WithoutFilterTargetCurrency() *ListDealsRequest

func (*ListDealsRequest) WithoutFilterType

func (o *ListDealsRequest) WithoutFilterType() *ListDealsRequest

func (*ListDealsRequest) WithoutPageNumber

func (o *ListDealsRequest) WithoutPageNumber() *ListDealsRequest

func (*ListDealsRequest) WithoutPageSize

func (o *ListDealsRequest) WithoutPageSize() *ListDealsRequest

func (*ListDealsRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ListRatesBadGateway

type ListRatesBadGateway struct {

	// isStream: false
	*models.APIError
}

ListRatesBadGateway handles this case with default header values.

Bad Gateway

func NewListRatesBadGateway

func NewListRatesBadGateway() *ListRatesBadGateway

NewListRatesBadGateway creates a ListRatesBadGateway with default headers values

func (*ListRatesBadGateway) Error

func (o *ListRatesBadGateway) Error() string

type ListRatesBadRequest

type ListRatesBadRequest struct {

	// isStream: false
	*models.APIError
}

ListRatesBadRequest handles this case with default header values.

Bad Request

func NewListRatesBadRequest

func NewListRatesBadRequest() *ListRatesBadRequest

NewListRatesBadRequest creates a ListRatesBadRequest with default headers values

func (*ListRatesBadRequest) Error

func (o *ListRatesBadRequest) Error() string

type ListRatesDefault

type ListRatesDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

ListRatesDefault handles this case with default header values.

Unexpected Error

func NewListRatesDefault

func NewListRatesDefault(code int) *ListRatesDefault

NewListRatesDefault creates a ListRatesDefault with default headers values

func (*ListRatesDefault) Code

func (o *ListRatesDefault) Code() int

Code gets the status code for the list rates default response

func (*ListRatesDefault) Error

func (o *ListRatesDefault) Error() string

type ListRatesForbidden

type ListRatesForbidden struct {

	// isStream: false
	*models.APIError
}

ListRatesForbidden handles this case with default header values.

Action Forbidden

func NewListRatesForbidden

func NewListRatesForbidden() *ListRatesForbidden

NewListRatesForbidden creates a ListRatesForbidden with default headers values

func (*ListRatesForbidden) Error

func (o *ListRatesForbidden) Error() string

type ListRatesOK

type ListRatesOK struct {

	// isStream: false
	*models.FXRatesListResponse
}

ListRatesOK handles this case with default header values.

FX rates response

func NewListRatesOK

func NewListRatesOK() *ListRatesOK

NewListRatesOK creates a ListRatesOK with default headers values

func (*ListRatesOK) Error

func (o *ListRatesOK) Error() string

type ListRatesReader

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

ListRatesReader is a Reader for the ListRates structure.

func (*ListRatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRatesRequest

type ListRatesRequest struct {
	FilterPartyID string

	FilterProcessingDate *strfmt.Date

	FilterSourceAmount *string

	FilterSourceCurrency string

	FilterTargetAmount *string

	FilterTargetCurrency string

	FilterType string

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

func (*ListRatesRequest) Do

func (a *ListRatesRequest) Do() (*ListRatesOK, error)

list rates API

func (*ListRatesRequest) FromJson

func (o *ListRatesRequest) FromJson(j string) *ListRatesRequest

func (*ListRatesRequest) MustDo

func (a *ListRatesRequest) MustDo() *ListRatesOK

func (*ListRatesRequest) WithContext

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

//////////////// WithContext adds the context to the list rates Request

func (*ListRatesRequest) WithFilterPartyID

func (o *ListRatesRequest) WithFilterPartyID(filterPartyID string) *ListRatesRequest

func (*ListRatesRequest) WithFilterProcessingDate

func (o *ListRatesRequest) WithFilterProcessingDate(filterProcessingDate strfmt.Date) *ListRatesRequest

func (*ListRatesRequest) WithFilterSourceAmount

func (o *ListRatesRequest) WithFilterSourceAmount(filterSourceAmount string) *ListRatesRequest

func (*ListRatesRequest) WithFilterSourceCurrency

func (o *ListRatesRequest) WithFilterSourceCurrency(filterSourceCurrency string) *ListRatesRequest

func (*ListRatesRequest) WithFilterTargetAmount

func (o *ListRatesRequest) WithFilterTargetAmount(filterTargetAmount string) *ListRatesRequest

func (*ListRatesRequest) WithFilterTargetCurrency

func (o *ListRatesRequest) WithFilterTargetCurrency(filterTargetCurrency string) *ListRatesRequest

func (*ListRatesRequest) WithFilterType

func (o *ListRatesRequest) WithFilterType(filterType string) *ListRatesRequest

func (*ListRatesRequest) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list rates Request

func (*ListRatesRequest) WithoutFilterProcessingDate

func (o *ListRatesRequest) WithoutFilterProcessingDate() *ListRatesRequest

func (*ListRatesRequest) WithoutFilterSourceAmount

func (o *ListRatesRequest) WithoutFilterSourceAmount() *ListRatesRequest

func (*ListRatesRequest) WithoutFilterTargetAmount

func (o *ListRatesRequest) WithoutFilterTargetAmount() *ListRatesRequest

func (*ListRatesRequest) WriteToRequest

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

WriteToRequest writes these Request to a swagger request

type ModifyDealSubmissionBadGateway

type ModifyDealSubmissionBadGateway struct {

	// isStream: false
	*models.APIError
}

ModifyDealSubmissionBadGateway handles this case with default header values.

Bad Gateway

func NewModifyDealSubmissionBadGateway

func NewModifyDealSubmissionBadGateway() *ModifyDealSubmissionBadGateway

NewModifyDealSubmissionBadGateway creates a ModifyDealSubmissionBadGateway with default headers values

func (*ModifyDealSubmissionBadGateway) Error

type ModifyDealSubmissionBadRequest

type ModifyDealSubmissionBadRequest struct {

	// isStream: false
	*models.APIError
}

ModifyDealSubmissionBadRequest handles this case with default header values.

Bad Request

func NewModifyDealSubmissionBadRequest

func NewModifyDealSubmissionBadRequest() *ModifyDealSubmissionBadRequest

NewModifyDealSubmissionBadRequest creates a ModifyDealSubmissionBadRequest with default headers values

func (*ModifyDealSubmissionBadRequest) Error

type ModifyDealSubmissionDefault

type ModifyDealSubmissionDefault struct {

	// isStream: false
	*models.APIError
	// contains filtered or unexported fields
}

ModifyDealSubmissionDefault handles this case with default header values.

Unexpected Error

func NewModifyDealSubmissionDefault

func NewModifyDealSubmissionDefault(code int) *ModifyDealSubmissionDefault

NewModifyDealSubmissionDefault creates a ModifyDealSubmissionDefault with default headers values

func (*ModifyDealSubmissionDefault) Code

func (o *ModifyDealSubmissionDefault) Code() int

Code gets the status code for the modify deal submission default response

func (*ModifyDealSubmissionDefault) Error

type ModifyDealSubmissionForbidden

type ModifyDealSubmissionForbidden struct {

	// isStream: false
	*models.APIError
}

ModifyDealSubmissionForbidden handles this case with default header values.

Action Forbidden

func NewModifyDealSubmissionForbidden

func NewModifyDealSubmissionForbidden() *ModifyDealSubmissionForbidden

NewModifyDealSubmissionForbidden creates a ModifyDealSubmissionForbidden with default headers values

func (*ModifyDealSubmissionForbidden) Error

type ModifyDealSubmissionNotFound

type ModifyDealSubmissionNotFound struct {

	// isStream: false
	*models.APIError
}

ModifyDealSubmissionNotFound handles this case with default header values.

Not Found

func NewModifyDealSubmissionNotFound

func NewModifyDealSubmissionNotFound() *ModifyDealSubmissionNotFound

NewModifyDealSubmissionNotFound creates a ModifyDealSubmissionNotFound with default headers values

func (*ModifyDealSubmissionNotFound) Error

type ModifyDealSubmissionOK

type ModifyDealSubmissionOK struct {

	// isStream: false
	*models.FXDealSubmissionResponse
}

ModifyDealSubmissionOK handles this case with default header values.

creation response

func NewModifyDealSubmissionOK

func NewModifyDealSubmissionOK() *ModifyDealSubmissionOK

NewModifyDealSubmissionOK creates a ModifyDealSubmissionOK with default headers values

func (*ModifyDealSubmissionOK) Error

func (o *ModifyDealSubmissionOK) Error() string

type ModifyDealSubmissionReader

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

ModifyDealSubmissionReader is a Reader for the ModifyDealSubmission structure.

func (*ModifyDealSubmissionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ModifyDealSubmissionRequest

type ModifyDealSubmissionRequest struct {
	FxDealID strfmt.UUID

	FxDealSubmissionID strfmt.UUID

	*models.FxDealSubmissionAmendment

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

func (*ModifyDealSubmissionRequest) Do

modify deal submission API

func (*ModifyDealSubmissionRequest) FromJson

func (*ModifyDealSubmissionRequest) MustDo

func (*ModifyDealSubmissionRequest) WithContext

//////////////// WithContext adds the context to the modify deal submission Request

func (*ModifyDealSubmissionRequest) WithFxDealID

func (*ModifyDealSubmissionRequest) WithFxDealSubmissionID

func (o *ModifyDealSubmissionRequest) WithFxDealSubmissionID(fxDealSubmissionID strfmt.UUID) *ModifyDealSubmissionRequest

func (*ModifyDealSubmissionRequest) WithHTTPClient

WithHTTPClient adds the HTTPClient to the modify deal submission Request

func (*ModifyDealSubmissionRequest) WithPatchBody

func (*ModifyDealSubmissionRequest) WithoutPatchBody

func (*ModifyDealSubmissionRequest) WriteToRequest

WriteToRequest writes these Request to a swagger request

Jump to

Keyboard shortcuts

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