Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateDeal() *CreateDealRequest
- func (c *Client) CreateDealSubmission() *CreateDealSubmissionRequest
- func (c *Client) GetDeal() *GetDealRequest
- func (c *Client) GetDealSubmission() *GetDealSubmissionRequest
- func (c *Client) ListDeals() *ListDealsRequest
- func (c *Client) ListRates() *ListRatesRequest
- func (c *Client) ModifyDealSubmission() *ModifyDealSubmissionRequest
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDealBadGateway
- type CreateDealBadRequest
- type CreateDealConflict
- type CreateDealCreated
- type CreateDealDefault
- type CreateDealForbidden
- type CreateDealReader
- type CreateDealRequest
- func (a *CreateDealRequest) Do() (*CreateDealCreated, error)
- func (o *CreateDealRequest) FromJson(j string) *CreateDealRequest
- func (a *CreateDealRequest) MustDo() *CreateDealCreated
- func (o *CreateDealRequest) WithContext(ctx context.Context) *CreateDealRequest
- func (o *CreateDealRequest) WithCreationRequest(creationRequest models.FXDealCreation) *CreateDealRequest
- func (o *CreateDealRequest) WithHTTPClient(client *http.Client) *CreateDealRequest
- func (o *CreateDealRequest) WithoutCreationRequest() *CreateDealRequest
- func (o *CreateDealRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDealSubmissionBadGateway
- type CreateDealSubmissionBadRequest
- type CreateDealSubmissionConflict
- type CreateDealSubmissionCreated
- type CreateDealSubmissionDefault
- type CreateDealSubmissionForbidden
- type CreateDealSubmissionNotFound
- type CreateDealSubmissionReader
- type CreateDealSubmissionRequest
- func (a *CreateDealSubmissionRequest) Do() (*CreateDealSubmissionCreated, error)
- func (o *CreateDealSubmissionRequest) FromJson(j string) *CreateDealSubmissionRequest
- func (a *CreateDealSubmissionRequest) MustDo() *CreateDealSubmissionCreated
- func (o *CreateDealSubmissionRequest) WithContext(ctx context.Context) *CreateDealSubmissionRequest
- func (o *CreateDealSubmissionRequest) WithCreationRequest(creationRequest models.FXDealSubmissionCreation) *CreateDealSubmissionRequest
- func (o *CreateDealSubmissionRequest) WithFxDealID(fxDealID string) *CreateDealSubmissionRequest
- func (o *CreateDealSubmissionRequest) WithHTTPClient(client *http.Client) *CreateDealSubmissionRequest
- func (o *CreateDealSubmissionRequest) WithoutCreationRequest() *CreateDealSubmissionRequest
- func (o *CreateDealSubmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDealBadGateway
- type GetDealBadRequest
- type GetDealDefault
- type GetDealForbidden
- type GetDealNotFound
- type GetDealOK
- type GetDealReader
- type GetDealRequest
- func (a *GetDealRequest) Do() (*GetDealOK, error)
- func (o *GetDealRequest) FromJson(j string) *GetDealRequest
- func (a *GetDealRequest) MustDo() *GetDealOK
- func (o *GetDealRequest) WithContext(ctx context.Context) *GetDealRequest
- func (o *GetDealRequest) WithFxDealID(fxDealID strfmt.UUID) *GetDealRequest
- func (o *GetDealRequest) WithHTTPClient(client *http.Client) *GetDealRequest
- func (o *GetDealRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDealSubmissionBadGateway
- type GetDealSubmissionBadRequest
- type GetDealSubmissionDefault
- type GetDealSubmissionForbidden
- type GetDealSubmissionNotFound
- type GetDealSubmissionOK
- type GetDealSubmissionReader
- type GetDealSubmissionRequest
- func (a *GetDealSubmissionRequest) Do() (*GetDealSubmissionOK, error)
- func (o *GetDealSubmissionRequest) FromJson(j string) *GetDealSubmissionRequest
- func (a *GetDealSubmissionRequest) MustDo() *GetDealSubmissionOK
- func (o *GetDealSubmissionRequest) WithContext(ctx context.Context) *GetDealSubmissionRequest
- func (o *GetDealSubmissionRequest) WithFxDealID(fxDealID strfmt.UUID) *GetDealSubmissionRequest
- func (o *GetDealSubmissionRequest) WithFxDealSubmissionID(fxDealSubmissionID strfmt.UUID) *GetDealSubmissionRequest
- func (o *GetDealSubmissionRequest) WithHTTPClient(client *http.Client) *GetDealSubmissionRequest
- func (o *GetDealSubmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListDealsBadGateway
- type ListDealsBadRequest
- type ListDealsDefault
- type ListDealsForbidden
- type ListDealsOK
- type ListDealsReader
- type ListDealsRequest
- func (a *ListDealsRequest) Do() (*ListDealsOK, error)
- func (o *ListDealsRequest) FromJson(j string) *ListDealsRequest
- func (a *ListDealsRequest) MustDo() *ListDealsOK
- func (o *ListDealsRequest) WithContext(ctx context.Context) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterCreatedOnFrom(filterCreatedOnFrom strfmt.Date) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterCreatedOnTo(filterCreatedOnTo strfmt.Date) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterOrganisationID(filterOrganisationID []strfmt.UUID) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterPartyID(filterPartyID strfmt.UUID) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterProcessingDateFrom(filterProcessingDateFrom strfmt.Date) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterProcessingDateTo(filterProcessingDateTo strfmt.Date) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterSourceAmount(filterSourceAmount string) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterSourceCurrency(filterSourceCurrency string) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterSubmissionCreatedOnFrom(filterSubmissionCreatedOnFrom strfmt.Date) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterSubmissionCreatedOnTo(filterSubmissionCreatedOnTo strfmt.Date) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterSubmissionReference(filterSubmissionReference string) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterSubmissionStatus(filterSubmissionStatus string) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterTargetAmount(filterTargetAmount string) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterTargetCurrency(filterTargetCurrency string) *ListDealsRequest
- func (o *ListDealsRequest) WithFilterType(filterType string) *ListDealsRequest
- func (o *ListDealsRequest) WithHTTPClient(client *http.Client) *ListDealsRequest
- func (o *ListDealsRequest) WithPageNumber(pageNumber string) *ListDealsRequest
- func (o *ListDealsRequest) WithPageSize(pageSize int64) *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterCreatedOnFrom() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterCreatedOnTo() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterOrganisationID() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterPartyID() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterProcessingDateFrom() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterProcessingDateTo() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterSourceAmount() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterSourceCurrency() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterSubmissionCreatedOnFrom() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterSubmissionCreatedOnTo() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterSubmissionReference() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterSubmissionStatus() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterTargetAmount() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterTargetCurrency() *ListDealsRequest
- func (o *ListDealsRequest) WithoutFilterType() *ListDealsRequest
- func (o *ListDealsRequest) WithoutPageNumber() *ListDealsRequest
- func (o *ListDealsRequest) WithoutPageSize() *ListDealsRequest
- func (o *ListDealsRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRatesBadGateway
- type ListRatesBadRequest
- type ListRatesDefault
- type ListRatesForbidden
- type ListRatesOK
- type ListRatesReader
- type ListRatesRequest
- func (a *ListRatesRequest) Do() (*ListRatesOK, error)
- func (o *ListRatesRequest) FromJson(j string) *ListRatesRequest
- func (a *ListRatesRequest) MustDo() *ListRatesOK
- func (o *ListRatesRequest) WithContext(ctx context.Context) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterPartyID(filterPartyID string) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterProcessingDate(filterProcessingDate strfmt.Date) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterSourceAmount(filterSourceAmount string) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterSourceCurrency(filterSourceCurrency string) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterTargetAmount(filterTargetAmount string) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterTargetCurrency(filterTargetCurrency string) *ListRatesRequest
- func (o *ListRatesRequest) WithFilterType(filterType string) *ListRatesRequest
- func (o *ListRatesRequest) WithHTTPClient(client *http.Client) *ListRatesRequest
- func (o *ListRatesRequest) WithoutFilterProcessingDate() *ListRatesRequest
- func (o *ListRatesRequest) WithoutFilterSourceAmount() *ListRatesRequest
- func (o *ListRatesRequest) WithoutFilterTargetAmount() *ListRatesRequest
- func (o *ListRatesRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ModifyDealSubmissionBadGateway
- type ModifyDealSubmissionBadRequest
- type ModifyDealSubmissionDefault
- type ModifyDealSubmissionForbidden
- type ModifyDealSubmissionNotFound
- type ModifyDealSubmissionOK
- type ModifyDealSubmissionReader
- type ModifyDealSubmissionRequest
- func (a *ModifyDealSubmissionRequest) Do() (*ModifyDealSubmissionOK, error)
- func (o *ModifyDealSubmissionRequest) FromJson(j string) *ModifyDealSubmissionRequest
- func (a *ModifyDealSubmissionRequest) MustDo() *ModifyDealSubmissionOK
- func (o *ModifyDealSubmissionRequest) WithContext(ctx context.Context) *ModifyDealSubmissionRequest
- func (o *ModifyDealSubmissionRequest) WithFxDealID(fxDealID strfmt.UUID) *ModifyDealSubmissionRequest
- func (o *ModifyDealSubmissionRequest) WithFxDealSubmissionID(fxDealSubmissionID strfmt.UUID) *ModifyDealSubmissionRequest
- func (o *ModifyDealSubmissionRequest) WithHTTPClient(client *http.Client) *ModifyDealSubmissionRequest
- func (o *ModifyDealSubmissionRequest) WithPatchBody(patchBody models.FxDealSubmissionAmendment) *ModifyDealSubmissionRequest
- func (o *ModifyDealSubmissionRequest) WithoutPatchBody() *ModifyDealSubmissionRequest
- func (o *ModifyDealSubmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (a *CreateDealRequest) Do() (*CreateDealCreated, error)
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 ¶
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 ¶
func (o *CreateDealSubmissionBadGateway) Error() string
type CreateDealSubmissionBadRequest ¶
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 ¶
func (o *CreateDealSubmissionBadRequest) Error() string
type CreateDealSubmissionConflict ¶
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 ¶
func (o *CreateDealSubmissionConflict) Error() string
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 ¶
func (o *CreateDealSubmissionCreated) Error() string
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 ¶
func (o *CreateDealSubmissionDefault) Error() string
type CreateDealSubmissionForbidden ¶
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 ¶
func (o *CreateDealSubmissionForbidden) Error() string
type CreateDealSubmissionNotFound ¶
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 ¶
func (o *CreateDealSubmissionNotFound) Error() string
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 ¶
func (a *CreateDealSubmissionRequest) Do() (*CreateDealSubmissionCreated, error)
create deal submission API
func (*CreateDealSubmissionRequest) FromJson ¶
func (o *CreateDealSubmissionRequest) FromJson(j string) *CreateDealSubmissionRequest
func (*CreateDealSubmissionRequest) MustDo ¶
func (a *CreateDealSubmissionRequest) MustDo() *CreateDealSubmissionCreated
func (*CreateDealSubmissionRequest) WithContext ¶
func (o *CreateDealSubmissionRequest) WithContext(ctx context.Context) *CreateDealSubmissionRequest
//////////////// WithContext adds the context to the create deal submission Request
func (*CreateDealSubmissionRequest) WithCreationRequest ¶
func (o *CreateDealSubmissionRequest) WithCreationRequest(creationRequest models.FXDealSubmissionCreation) *CreateDealSubmissionRequest
func (*CreateDealSubmissionRequest) WithFxDealID ¶
func (o *CreateDealSubmissionRequest) WithFxDealID(fxDealID string) *CreateDealSubmissionRequest
func (*CreateDealSubmissionRequest) WithHTTPClient ¶
func (o *CreateDealSubmissionRequest) WithHTTPClient(client *http.Client) *CreateDealSubmissionRequest
WithHTTPClient adds the HTTPClient to the create deal submission Request
func (*CreateDealSubmissionRequest) WithoutCreationRequest ¶
func (o *CreateDealSubmissionRequest) WithoutCreationRequest() *CreateDealSubmissionRequest
func (*CreateDealSubmissionRequest) WriteToRequest ¶
func (o *CreateDealSubmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type GetDealBadGateway ¶
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 ¶
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 ¶
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 ¶
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
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) 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 ¶
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 ¶
func (o *GetDealSubmissionBadGateway) Error() string
type GetDealSubmissionBadRequest ¶
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 ¶
func (o *GetDealSubmissionBadRequest) Error() string
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 ¶
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 ¶
func (o *GetDealSubmissionForbidden) Error() string
type GetDealSubmissionNotFound ¶
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 ¶
func (a *GetDealSubmissionRequest) Do() (*GetDealSubmissionOK, error)
get deal submission API
func (*GetDealSubmissionRequest) FromJson ¶
func (o *GetDealSubmissionRequest) FromJson(j string) *GetDealSubmissionRequest
func (*GetDealSubmissionRequest) MustDo ¶
func (a *GetDealSubmissionRequest) MustDo() *GetDealSubmissionOK
func (*GetDealSubmissionRequest) WithContext ¶
func (o *GetDealSubmissionRequest) WithContext(ctx context.Context) *GetDealSubmissionRequest
//////////////// 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 ¶
func (o *GetDealSubmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
type ListDealsBadGateway ¶
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 ¶
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 ¶
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) 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 ¶
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 ¶
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 ¶
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) 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 ¶
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 ¶
func (o *ModifyDealSubmissionBadGateway) Error() string
type ModifyDealSubmissionBadRequest ¶
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 ¶
func (o *ModifyDealSubmissionBadRequest) Error() string
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 ¶
func (o *ModifyDealSubmissionDefault) Error() string
type ModifyDealSubmissionForbidden ¶
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 ¶
func (o *ModifyDealSubmissionForbidden) Error() string
type ModifyDealSubmissionNotFound ¶
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 ¶
func (o *ModifyDealSubmissionNotFound) Error() string
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 ¶
func (a *ModifyDealSubmissionRequest) Do() (*ModifyDealSubmissionOK, error)
modify deal submission API
func (*ModifyDealSubmissionRequest) FromJson ¶
func (o *ModifyDealSubmissionRequest) FromJson(j string) *ModifyDealSubmissionRequest
func (*ModifyDealSubmissionRequest) MustDo ¶
func (a *ModifyDealSubmissionRequest) MustDo() *ModifyDealSubmissionOK
func (*ModifyDealSubmissionRequest) WithContext ¶
func (o *ModifyDealSubmissionRequest) WithContext(ctx context.Context) *ModifyDealSubmissionRequest
//////////////// WithContext adds the context to the modify deal submission Request
func (*ModifyDealSubmissionRequest) WithFxDealID ¶
func (o *ModifyDealSubmissionRequest) WithFxDealID(fxDealID strfmt.UUID) *ModifyDealSubmissionRequest
func (*ModifyDealSubmissionRequest) WithFxDealSubmissionID ¶
func (o *ModifyDealSubmissionRequest) WithFxDealSubmissionID(fxDealSubmissionID strfmt.UUID) *ModifyDealSubmissionRequest
func (*ModifyDealSubmissionRequest) WithHTTPClient ¶
func (o *ModifyDealSubmissionRequest) WithHTTPClient(client *http.Client) *ModifyDealSubmissionRequest
WithHTTPClient adds the HTTPClient to the modify deal submission Request
func (*ModifyDealSubmissionRequest) WithPatchBody ¶
func (o *ModifyDealSubmissionRequest) WithPatchBody(patchBody models.FxDealSubmissionAmendment) *ModifyDealSubmissionRequest
func (*ModifyDealSubmissionRequest) WithoutPatchBody ¶
func (o *ModifyDealSubmissionRequest) WithoutPatchBody() *ModifyDealSubmissionRequest
func (*ModifyDealSubmissionRequest) WriteToRequest ¶
func (o *ModifyDealSubmissionRequest) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these Request to a swagger request
Source Files
¶
- create_deal_requests.go
- create_deal_responses.go
- create_deal_submission_requests.go
- create_deal_submission_responses.go
- fx_api_client.go
- get_deal_requests.go
- get_deal_responses.go
- get_deal_submission_requests.go
- get_deal_submission_responses.go
- list_deals_requests.go
- list_deals_responses.go
- list_rates_requests.go
- list_rates_responses.go
- modify_deal_submission_requests.go
- modify_deal_submission_responses.go