Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAccountAccountIDOrderOrigCustomerOrderID(params *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOK, error)
- func (a *Client) GetAccountOrders(params *GetAccountOrdersParams) (*GetAccountOrdersOK, error)
- func (a *Client) PostAccountAccountIDOrder(params *PostAccountAccountIDOrderParams) (*PostAccountAccountIDOrderOK, error)
- func (a *Client) PostAccountAccountIDOrderOrigCustomerOrderID(params *PostAccountAccountIDOrderOrigCustomerOrderIDParams) (*PostAccountAccountIDOrderOrigCustomerOrderIDOK, error)
- func (a *Client) PostAccountAccountIDOrderWhatif(params *PostAccountAccountIDOrderWhatifParams) (*PostAccountAccountIDOrderWhatifOK, error)
- func (a *Client) PostAccountAccountIDOrders(params *PostAccountAccountIDOrdersParams) (*PostAccountAccountIDOrdersOK, error)
- func (a *Client) PostReplyReplyid(params *PostReplyReplyidParams) (*PostReplyReplyidOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteAccountAccountIDOrderOrigCustomerOrderIDOK
- type DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) Validate(formats strfmt.Registry) error
- type DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParams() *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext(ctx context.Context) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient(client *http.Client) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout(timeout time.Duration) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetAccountID(accountID string)
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext(ctx context.Context)
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetOrigCustomerOrderID(origCustomerOrderID string)
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID(accountID string) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext(ctx context.Context) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient(client *http.Client) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID(origCustomerOrderID string) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout(timeout time.Duration) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAccountAccountIDOrderOrigCustomerOrderIDReader
- type GetAccountOrdersOK
- type GetAccountOrdersOKBody
- type GetAccountOrdersParams
- func NewGetAccountOrdersParams() *GetAccountOrdersParams
- func NewGetAccountOrdersParamsWithContext(ctx context.Context) *GetAccountOrdersParams
- func NewGetAccountOrdersParamsWithHTTPClient(client *http.Client) *GetAccountOrdersParams
- func NewGetAccountOrdersParamsWithTimeout(timeout time.Duration) *GetAccountOrdersParams
- func (o *GetAccountOrdersParams) SetContext(ctx context.Context)
- func (o *GetAccountOrdersParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountOrdersParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountOrdersParams) WithContext(ctx context.Context) *GetAccountOrdersParams
- func (o *GetAccountOrdersParams) WithHTTPClient(client *http.Client) *GetAccountOrdersParams
- func (o *GetAccountOrdersParams) WithTimeout(timeout time.Duration) *GetAccountOrdersParams
- func (o *GetAccountOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountOrdersReader
- type PostAccountAccountIDOrderOK
- type PostAccountAccountIDOrderOKBodyItems0
- type PostAccountAccountIDOrderOrigCustomerOrderIDOK
- type PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) Validate(formats strfmt.Registry) error
- type PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewPostAccountAccountIDOrderOrigCustomerOrderIDParams() *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext(ctx context.Context) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetAccountID(accountID string)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetBody(body *models.ModifyOrder)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext(ctx context.Context)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient(client *http.Client)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetOrigCustomerOrderID(origCustomerOrderID string)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetTimeout(timeout time.Duration)
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID(accountID string) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithBody(body *models.ModifyOrder) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext(ctx context.Context) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID(origCustomerOrderID string) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
- func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccountAccountIDOrderOrigCustomerOrderIDReader
- type PostAccountAccountIDOrderParams
- func NewPostAccountAccountIDOrderParams() *PostAccountAccountIDOrderParams
- func NewPostAccountAccountIDOrderParamsWithContext(ctx context.Context) *PostAccountAccountIDOrderParams
- func NewPostAccountAccountIDOrderParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrderParams
- func NewPostAccountAccountIDOrderParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrderParams
- func (o *PostAccountAccountIDOrderParams) SetAccountID(accountID string)
- func (o *PostAccountAccountIDOrderParams) SetBody(body *models.OrderRequest)
- func (o *PostAccountAccountIDOrderParams) SetContext(ctx context.Context)
- func (o *PostAccountAccountIDOrderParams) SetHTTPClient(client *http.Client)
- func (o *PostAccountAccountIDOrderParams) SetTimeout(timeout time.Duration)
- func (o *PostAccountAccountIDOrderParams) WithAccountID(accountID string) *PostAccountAccountIDOrderParams
- func (o *PostAccountAccountIDOrderParams) WithBody(body *models.OrderRequest) *PostAccountAccountIDOrderParams
- func (o *PostAccountAccountIDOrderParams) WithContext(ctx context.Context) *PostAccountAccountIDOrderParams
- func (o *PostAccountAccountIDOrderParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrderParams
- func (o *PostAccountAccountIDOrderParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrderParams
- func (o *PostAccountAccountIDOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccountAccountIDOrderReader
- type PostAccountAccountIDOrderWhatifOK
- type PostAccountAccountIDOrderWhatifOKBody
- type PostAccountAccountIDOrderWhatifOKBodyAmount
- type PostAccountAccountIDOrderWhatifOKBodyEquity
- type PostAccountAccountIDOrderWhatifOKBodyInitial
- type PostAccountAccountIDOrderWhatifOKBodyMaintenance
- type PostAccountAccountIDOrderWhatifParams
- func NewPostAccountAccountIDOrderWhatifParams() *PostAccountAccountIDOrderWhatifParams
- func NewPostAccountAccountIDOrderWhatifParamsWithContext(ctx context.Context) *PostAccountAccountIDOrderWhatifParams
- func NewPostAccountAccountIDOrderWhatifParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrderWhatifParams
- func NewPostAccountAccountIDOrderWhatifParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrderWhatifParams
- func (o *PostAccountAccountIDOrderWhatifParams) SetAccountID(accountID string)
- func (o *PostAccountAccountIDOrderWhatifParams) SetBody(body *models.OrderRequest)
- func (o *PostAccountAccountIDOrderWhatifParams) SetContext(ctx context.Context)
- func (o *PostAccountAccountIDOrderWhatifParams) SetHTTPClient(client *http.Client)
- func (o *PostAccountAccountIDOrderWhatifParams) SetTimeout(timeout time.Duration)
- func (o *PostAccountAccountIDOrderWhatifParams) WithAccountID(accountID string) *PostAccountAccountIDOrderWhatifParams
- func (o *PostAccountAccountIDOrderWhatifParams) WithBody(body *models.OrderRequest) *PostAccountAccountIDOrderWhatifParams
- func (o *PostAccountAccountIDOrderWhatifParams) WithContext(ctx context.Context) *PostAccountAccountIDOrderWhatifParams
- func (o *PostAccountAccountIDOrderWhatifParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrderWhatifParams
- func (o *PostAccountAccountIDOrderWhatifParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrderWhatifParams
- func (o *PostAccountAccountIDOrderWhatifParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccountAccountIDOrderWhatifReader
- type PostAccountAccountIDOrdersBody
- type PostAccountAccountIDOrdersOK
- type PostAccountAccountIDOrdersOKBodyItems0
- type PostAccountAccountIDOrdersParams
- func NewPostAccountAccountIDOrdersParams() *PostAccountAccountIDOrdersParams
- func NewPostAccountAccountIDOrdersParamsWithContext(ctx context.Context) *PostAccountAccountIDOrdersParams
- func NewPostAccountAccountIDOrdersParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrdersParams
- func NewPostAccountAccountIDOrdersParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrdersParams
- func (o *PostAccountAccountIDOrdersParams) SetAccountID(accountID string)
- func (o *PostAccountAccountIDOrdersParams) SetBody(body PostAccountAccountIDOrdersBody)
- func (o *PostAccountAccountIDOrdersParams) SetContext(ctx context.Context)
- func (o *PostAccountAccountIDOrdersParams) SetHTTPClient(client *http.Client)
- func (o *PostAccountAccountIDOrdersParams) SetTimeout(timeout time.Duration)
- func (o *PostAccountAccountIDOrdersParams) WithAccountID(accountID string) *PostAccountAccountIDOrdersParams
- func (o *PostAccountAccountIDOrdersParams) WithBody(body PostAccountAccountIDOrdersBody) *PostAccountAccountIDOrdersParams
- func (o *PostAccountAccountIDOrdersParams) WithContext(ctx context.Context) *PostAccountAccountIDOrdersParams
- func (o *PostAccountAccountIDOrdersParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrdersParams
- func (o *PostAccountAccountIDOrdersParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrdersParams
- func (o *PostAccountAccountIDOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAccountAccountIDOrdersReader
- type PostReplyReplyidBadRequest
- type PostReplyReplyidBadRequestBody
- type PostReplyReplyidBody
- type PostReplyReplyidOK
- type PostReplyReplyidOKBodyItems0
- type PostReplyReplyidParams
- func NewPostReplyReplyidParams() *PostReplyReplyidParams
- func NewPostReplyReplyidParamsWithContext(ctx context.Context) *PostReplyReplyidParams
- func NewPostReplyReplyidParamsWithHTTPClient(client *http.Client) *PostReplyReplyidParams
- func NewPostReplyReplyidParamsWithTimeout(timeout time.Duration) *PostReplyReplyidParams
- func (o *PostReplyReplyidParams) SetBody(body PostReplyReplyidBody)
- func (o *PostReplyReplyidParams) SetContext(ctx context.Context)
- func (o *PostReplyReplyidParams) SetHTTPClient(client *http.Client)
- func (o *PostReplyReplyidParams) SetReplyid(replyid string)
- func (o *PostReplyReplyidParams) SetTimeout(timeout time.Duration)
- func (o *PostReplyReplyidParams) WithBody(body PostReplyReplyidBody) *PostReplyReplyidParams
- func (o *PostReplyReplyidParams) WithContext(ctx context.Context) *PostReplyReplyidParams
- func (o *PostReplyReplyidParams) WithHTTPClient(client *http.Client) *PostReplyReplyidParams
- func (o *PostReplyReplyidParams) WithReplyid(replyid string) *PostReplyReplyidParams
- func (o *PostReplyReplyidParams) WithTimeout(timeout time.Duration) *PostReplyReplyidParams
- func (o *PostReplyReplyidParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostReplyReplyidReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for order API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new order API client.
func (*Client) DeleteAccountAccountIDOrderOrigCustomerOrderID ¶
func (a *Client) DeleteAccountAccountIDOrderOrigCustomerOrderID(params *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOK, error)
DeleteAccountAccountIDOrderOrigCustomerOrderID deletes order
func (*Client) GetAccountOrders ¶
func (a *Client) GetAccountOrders(params *GetAccountOrdersParams) (*GetAccountOrdersOK, error)
GetAccountOrders lives orders
The end-point is meant to be used in polling mode, e.g. requesting every x seconds. The response will contain two objects, one is notification, the other is orders. Orders is the list of orders (cancelled, filled, submitted) with activity in the current day. Notifications contains information about execute orders as they happen, see status field.
func (*Client) PostAccountAccountIDOrder ¶
func (a *Client) PostAccountAccountIDOrder(params *PostAccountAccountIDOrderParams) (*PostAccountAccountIDOrderOK, error)
PostAccountAccountIDOrder places order
Please note here, sometimes this end-point alone can't make sure you submit the order successfully, you could receive some questions in the response, you have to to answer them in order to submit the order successfully. You can use "/iserver/reply/{replyid}" end-point to answer questions
func (*Client) PostAccountAccountIDOrderOrigCustomerOrderID ¶
func (a *Client) PostAccountAccountIDOrderOrigCustomerOrderID(params *PostAccountAccountIDOrderOrigCustomerOrderIDParams) (*PostAccountAccountIDOrderOrigCustomerOrderIDOK, error)
PostAccountAccountIDOrderOrigCustomerOrderID modifies order
Modifies an open order. The /iserver/accounts endpoint must first be called.
func (*Client) PostAccountAccountIDOrderWhatif ¶
func (a *Client) PostAccountAccountIDOrderWhatif(params *PostAccountAccountIDOrderWhatifParams) (*PostAccountAccountIDOrderWhatifOK, error)
PostAccountAccountIDOrderWhatif previews order
This end-point allows you to preview order without actually submitting the order and you can get commission information in the response.
func (*Client) PostAccountAccountIDOrders ¶
func (a *Client) PostAccountAccountIDOrders(params *PostAccountAccountIDOrdersParams) (*PostAccountAccountIDOrdersOK, error)
PostAccountAccountIDOrders places orders support bracket orders
You can pass a list of orders here
func (*Client) PostReplyReplyid ¶
func (a *Client) PostReplyReplyid(params *PostReplyReplyidParams) (*PostReplyReplyidOK, error)
PostReplyReplyid places order reply
Reply to questions when placing orders and submit orders
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteAccountAccountIDOrderOrigCustomerOrderIDOK ¶
type DeleteAccountAccountIDOrderOrigCustomerOrderIDOK struct {
Payload []*DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
}
DeleteAccountAccountIDOrderOrigCustomerOrderIDOK handles this case with default header values.
returns an array
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDOK ¶
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDOK() *DeleteAccountAccountIDOrderOrigCustomerOrderIDOK
NewDeleteAccountAccountIDOrderOrigCustomerOrderIDOK creates a DeleteAccountAccountIDOrderOrigCustomerOrderIDOK with default headers values
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOK) Error ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOK) Error() string
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOK) GetPayload ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOK) GetPayload() []*DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
type DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0 ¶
type DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0 struct { // local order id LocalOrderID string `json:"local_order_id,omitempty"` // order id OrderID string `json:"order_id,omitempty"` // order status OrderStatus string `json:"order_status,omitempty"` }
DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0 delete iserver account account ID order orig customer order ID o k body items0 swagger:model DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) MarshalBinary ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteAccountAccountIDOrderOrigCustomerOrderIDParams ¶
type DeleteAccountAccountIDOrderOrigCustomerOrderIDParams struct { /*AccountID account id */ AccountID string /*OrigCustomerOrderID Customer OrderId */ OrigCustomerOrderID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAccountAccountIDOrderOrigCustomerOrderIDParams contains all the parameters to send to the API endpoint for the delete iserver account account ID order orig customer order ID operation typically these are written to a http.Request
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParams ¶
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParams() *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParams creates a new DeleteAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized.
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext ¶
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext(ctx context.Context) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext creates a new DeleteAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient ¶
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient(client *http.Client) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient creates a new DeleteAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout ¶
func NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout(timeout time.Duration) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
NewDeleteAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout creates a new DeleteAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetAccountID ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetOrigCustomerOrderID ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetOrigCustomerOrderID(origCustomerOrderID string)
SetOrigCustomerOrderID adds the origCustomerOrderId to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetTimeout ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID(accountID string) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
WithAccountID adds the accountID to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext(ctx context.Context) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
WithContext adds the context to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient(client *http.Client) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
WithHTTPClient adds the HTTPClient to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID(origCustomerOrderID string) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
WithOrigCustomerOrderID adds the origCustomerOrderID to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout(timeout time.Duration) *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams
WithTimeout adds the timeout to the delete iserver account account ID order orig customer order ID params
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAccountAccountIDOrderOrigCustomerOrderIDReader ¶
type DeleteAccountAccountIDOrderOrigCustomerOrderIDReader struct {
// contains filtered or unexported fields
}
DeleteAccountAccountIDOrderOrigCustomerOrderIDReader is a Reader for the DeleteAccountAccountIDOrderOrigCustomerOrderID structure.
func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDReader) ReadResponse ¶
func (o *DeleteAccountAccountIDOrderOrigCustomerOrderIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountOrdersOK ¶
type GetAccountOrdersOK struct {
Payload *GetAccountOrdersOKBody
}
GetAccountOrdersOK handles this case with default header values.
An object contains two arrays
func NewGetAccountOrdersOK ¶
func NewGetAccountOrdersOK() *GetAccountOrdersOK
NewGetAccountOrdersOK creates a GetAccountOrdersOK with default headers values
func (*GetAccountOrdersOK) Error ¶
func (o *GetAccountOrdersOK) Error() string
func (*GetAccountOrdersOK) GetPayload ¶
func (o *GetAccountOrdersOK) GetPayload() *GetAccountOrdersOKBody
type GetAccountOrdersOKBody ¶
type GetAccountOrdersOKBody struct { // notifications Notifications []interface{} `json:"notifications"` // orders Orders []*models.Order `json:"orders"` }
GetAccountOrdersOKBody get iserver account orders o k body swagger:model GetAccountOrdersOKBody
func (*GetAccountOrdersOKBody) MarshalBinary ¶
func (o *GetAccountOrdersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountOrdersOKBody) UnmarshalBinary ¶
func (o *GetAccountOrdersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountOrdersParams ¶
type GetAccountOrdersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountOrdersParams contains all the parameters to send to the API endpoint for the get iserver account orders operation typically these are written to a http.Request
func NewGetAccountOrdersParams ¶
func NewGetAccountOrdersParams() *GetAccountOrdersParams
NewGetAccountOrdersParams creates a new GetAccountOrdersParams object with the default values initialized.
func NewGetAccountOrdersParamsWithContext ¶
func NewGetAccountOrdersParamsWithContext(ctx context.Context) *GetAccountOrdersParams
NewGetAccountOrdersParamsWithContext creates a new GetAccountOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewGetAccountOrdersParamsWithHTTPClient ¶
func NewGetAccountOrdersParamsWithHTTPClient(client *http.Client) *GetAccountOrdersParams
NewGetAccountOrdersParamsWithHTTPClient creates a new GetAccountOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAccountOrdersParamsWithTimeout ¶
func NewGetAccountOrdersParamsWithTimeout(timeout time.Duration) *GetAccountOrdersParams
NewGetAccountOrdersParamsWithTimeout creates a new GetAccountOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAccountOrdersParams) SetContext ¶
func (o *GetAccountOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the get iserver account orders params
func (*GetAccountOrdersParams) SetHTTPClient ¶
func (o *GetAccountOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iserver account orders params
func (*GetAccountOrdersParams) SetTimeout ¶
func (o *GetAccountOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iserver account orders params
func (*GetAccountOrdersParams) WithContext ¶
func (o *GetAccountOrdersParams) WithContext(ctx context.Context) *GetAccountOrdersParams
WithContext adds the context to the get iserver account orders params
func (*GetAccountOrdersParams) WithHTTPClient ¶
func (o *GetAccountOrdersParams) WithHTTPClient(client *http.Client) *GetAccountOrdersParams
WithHTTPClient adds the HTTPClient to the get iserver account orders params
func (*GetAccountOrdersParams) WithTimeout ¶
func (o *GetAccountOrdersParams) WithTimeout(timeout time.Duration) *GetAccountOrdersParams
WithTimeout adds the timeout to the get iserver account orders params
func (*GetAccountOrdersParams) WriteToRequest ¶
func (o *GetAccountOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountOrdersReader ¶
type GetAccountOrdersReader struct {
// contains filtered or unexported fields
}
GetAccountOrdersReader is a Reader for the GetAccountOrders structure.
func (*GetAccountOrdersReader) ReadResponse ¶
func (o *GetAccountOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccountAccountIDOrderOK ¶
type PostAccountAccountIDOrderOK struct {
Payload []*PostAccountAccountIDOrderOKBodyItems0
}
PostAccountAccountIDOrderOK handles this case with default header values.
returns an array
func NewPostAccountAccountIDOrderOK ¶
func NewPostAccountAccountIDOrderOK() *PostAccountAccountIDOrderOK
NewPostAccountAccountIDOrderOK creates a PostAccountAccountIDOrderOK with default headers values
func (*PostAccountAccountIDOrderOK) Error ¶
func (o *PostAccountAccountIDOrderOK) Error() string
func (*PostAccountAccountIDOrderOK) GetPayload ¶
func (o *PostAccountAccountIDOrderOK) GetPayload() []*PostAccountAccountIDOrderOKBodyItems0
type PostAccountAccountIDOrderOKBodyItems0 ¶
type PostAccountAccountIDOrderOKBodyItems0 struct { // id ID string `json:"id,omitempty"` // Please note here, if the message is a question, you have to reply to question in order to submit // the order successfully. See more in the "/iserver/reply/{replyid}" end-point. // Message []string `json:"message"` }
PostAccountAccountIDOrderOKBodyItems0 post iserver account account ID order o k body items0 swagger:model PostAccountAccountIDOrderOKBodyItems0
func (*PostAccountAccountIDOrderOKBodyItems0) MarshalBinary ¶
func (o *PostAccountAccountIDOrderOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderOKBodyItems0) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderOrigCustomerOrderIDOK ¶
type PostAccountAccountIDOrderOrigCustomerOrderIDOK struct {
Payload []*PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
}
PostAccountAccountIDOrderOrigCustomerOrderIDOK handles this case with default header values.
returns an array
func NewPostAccountAccountIDOrderOrigCustomerOrderIDOK ¶
func NewPostAccountAccountIDOrderOrigCustomerOrderIDOK() *PostAccountAccountIDOrderOrigCustomerOrderIDOK
NewPostAccountAccountIDOrderOrigCustomerOrderIDOK creates a PostAccountAccountIDOrderOrigCustomerOrderIDOK with default headers values
func (*PostAccountAccountIDOrderOrigCustomerOrderIDOK) Error ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOK) Error() string
func (*PostAccountAccountIDOrderOrigCustomerOrderIDOK) GetPayload ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOK) GetPayload() []*PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
type PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0 ¶
type PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0 struct { // local order id LocalOrderID string `json:"local_order_id,omitempty"` // order id OrderID string `json:"order_id,omitempty"` // order status OrderStatus string `json:"order_status,omitempty"` }
PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0 post iserver account account ID order orig customer order ID o k body items0 swagger:model PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0
func (*PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) MarshalBinary ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderOrigCustomerOrderIDParams ¶
type PostAccountAccountIDOrderOrigCustomerOrderIDParams struct { /*AccountID account id */ AccountID string /*Body modify-order request */ Body *models.ModifyOrder /*OrigCustomerOrderID Customer OrderId */ OrigCustomerOrderID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccountAccountIDOrderOrigCustomerOrderIDParams contains all the parameters to send to the API endpoint for the post iserver account account ID order orig customer order ID operation typically these are written to a http.Request
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParams ¶
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParams() *PostAccountAccountIDOrderOrigCustomerOrderIDParams
NewPostAccountAccountIDOrderOrigCustomerOrderIDParams creates a new PostAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized.
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext ¶
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext(ctx context.Context) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithContext creates a new PostAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized, and the ability to set a context for a request
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient ¶
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithHTTPClient creates a new PostAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout ¶
func NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
NewPostAccountAccountIDOrderOrigCustomerOrderIDParamsWithTimeout creates a new PostAccountAccountIDOrderOrigCustomerOrderIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetAccountID ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetBody ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetBody(body *models.ModifyOrder)
SetBody adds the body to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext(ctx context.Context)
SetContext adds the context to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetOrigCustomerOrderID ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetOrigCustomerOrderID(origCustomerOrderID string)
SetOrigCustomerOrderID adds the origCustomerOrderId to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetTimeout ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID(accountID string) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
WithAccountID adds the accountID to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithBody ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithBody(body *models.ModifyOrder) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
WithBody adds the body to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext(ctx context.Context) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
WithContext adds the context to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
WithHTTPClient adds the HTTPClient to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID(origCustomerOrderID string) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
WithOrigCustomerOrderID adds the origCustomerOrderID to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrderOrigCustomerOrderIDParams
WithTimeout adds the timeout to the post iserver account account ID order orig customer order ID params
func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccountAccountIDOrderOrigCustomerOrderIDReader ¶
type PostAccountAccountIDOrderOrigCustomerOrderIDReader struct {
// contains filtered or unexported fields
}
PostAccountAccountIDOrderOrigCustomerOrderIDReader is a Reader for the PostAccountAccountIDOrderOrigCustomerOrderID structure.
func (*PostAccountAccountIDOrderOrigCustomerOrderIDReader) ReadResponse ¶
func (o *PostAccountAccountIDOrderOrigCustomerOrderIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccountAccountIDOrderParams ¶
type PostAccountAccountIDOrderParams struct { /*AccountID account id */ AccountID string /*Body order request info */ Body *models.OrderRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccountAccountIDOrderParams contains all the parameters to send to the API endpoint for the post iserver account account ID order operation typically these are written to a http.Request
func NewPostAccountAccountIDOrderParams ¶
func NewPostAccountAccountIDOrderParams() *PostAccountAccountIDOrderParams
NewPostAccountAccountIDOrderParams creates a new PostAccountAccountIDOrderParams object with the default values initialized.
func NewPostAccountAccountIDOrderParamsWithContext ¶
func NewPostAccountAccountIDOrderParamsWithContext(ctx context.Context) *PostAccountAccountIDOrderParams
NewPostAccountAccountIDOrderParamsWithContext creates a new PostAccountAccountIDOrderParams object with the default values initialized, and the ability to set a context for a request
func NewPostAccountAccountIDOrderParamsWithHTTPClient ¶
func NewPostAccountAccountIDOrderParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrderParams
NewPostAccountAccountIDOrderParamsWithHTTPClient creates a new PostAccountAccountIDOrderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAccountAccountIDOrderParamsWithTimeout ¶
func NewPostAccountAccountIDOrderParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrderParams
NewPostAccountAccountIDOrderParamsWithTimeout creates a new PostAccountAccountIDOrderParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAccountAccountIDOrderParams) SetAccountID ¶
func (o *PostAccountAccountIDOrderParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) SetBody ¶
func (o *PostAccountAccountIDOrderParams) SetBody(body *models.OrderRequest)
SetBody adds the body to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) SetContext ¶
func (o *PostAccountAccountIDOrderParams) SetContext(ctx context.Context)
SetContext adds the context to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) SetHTTPClient ¶
func (o *PostAccountAccountIDOrderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) SetTimeout ¶
func (o *PostAccountAccountIDOrderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) WithAccountID ¶
func (o *PostAccountAccountIDOrderParams) WithAccountID(accountID string) *PostAccountAccountIDOrderParams
WithAccountID adds the accountID to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) WithBody ¶
func (o *PostAccountAccountIDOrderParams) WithBody(body *models.OrderRequest) *PostAccountAccountIDOrderParams
WithBody adds the body to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) WithContext ¶
func (o *PostAccountAccountIDOrderParams) WithContext(ctx context.Context) *PostAccountAccountIDOrderParams
WithContext adds the context to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) WithHTTPClient ¶
func (o *PostAccountAccountIDOrderParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrderParams
WithHTTPClient adds the HTTPClient to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) WithTimeout ¶
func (o *PostAccountAccountIDOrderParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrderParams
WithTimeout adds the timeout to the post iserver account account ID order params
func (*PostAccountAccountIDOrderParams) WriteToRequest ¶
func (o *PostAccountAccountIDOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccountAccountIDOrderReader ¶
type PostAccountAccountIDOrderReader struct {
// contains filtered or unexported fields
}
PostAccountAccountIDOrderReader is a Reader for the PostAccountAccountIDOrder structure.
func (*PostAccountAccountIDOrderReader) ReadResponse ¶
func (o *PostAccountAccountIDOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccountAccountIDOrderWhatifOK ¶
type PostAccountAccountIDOrderWhatifOK struct {
Payload *PostAccountAccountIDOrderWhatifOKBody
}
PostAccountAccountIDOrderWhatifOK handles this case with default header values.
returns an object
func NewPostAccountAccountIDOrderWhatifOK ¶
func NewPostAccountAccountIDOrderWhatifOK() *PostAccountAccountIDOrderWhatifOK
NewPostAccountAccountIDOrderWhatifOK creates a PostAccountAccountIDOrderWhatifOK with default headers values
func (*PostAccountAccountIDOrderWhatifOK) Error ¶
func (o *PostAccountAccountIDOrderWhatifOK) Error() string
func (*PostAccountAccountIDOrderWhatifOK) GetPayload ¶
func (o *PostAccountAccountIDOrderWhatifOK) GetPayload() *PostAccountAccountIDOrderWhatifOKBody
type PostAccountAccountIDOrderWhatifOKBody ¶
type PostAccountAccountIDOrderWhatifOKBody struct { // amount Amount *PostAccountAccountIDOrderWhatifOKBodyAmount `json:"amount,omitempty"` // equity Equity *PostAccountAccountIDOrderWhatifOKBodyEquity `json:"equity,omitempty"` // error Error string `json:"error,omitempty"` // initial Initial *PostAccountAccountIDOrderWhatifOKBodyInitial `json:"initial,omitempty"` // maintenance Maintenance *PostAccountAccountIDOrderWhatifOKBodyMaintenance `json:"maintenance,omitempty"` // warn Warn string `json:"warn,omitempty"` }
PostAccountAccountIDOrderWhatifOKBody post iserver account account ID order whatif o k body swagger:model PostAccountAccountIDOrderWhatifOKBody
func (*PostAccountAccountIDOrderWhatifOKBody) MarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderWhatifOKBody) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderWhatifOKBodyAmount ¶
type PostAccountAccountIDOrderWhatifOKBodyAmount struct { // for example 23,000 USD Amount string `json:"amount,omitempty"` // for example 1.1 ... 1.2 USD Commission string `json:"commission,omitempty"` // total Total string `json:"total,omitempty"` }
PostAccountAccountIDOrderWhatifOKBodyAmount post iserver account account ID order whatif o k body amount swagger:model PostAccountAccountIDOrderWhatifOKBodyAmount
func (*PostAccountAccountIDOrderWhatifOKBodyAmount) MarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyAmount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderWhatifOKBodyAmount) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyAmount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderWhatifOKBodyEquity ¶
type PostAccountAccountIDOrderWhatifOKBodyEquity struct { // after After string `json:"after,omitempty"` // change Change string `json:"change,omitempty"` // current Current string `json:"current,omitempty"` }
PostAccountAccountIDOrderWhatifOKBodyEquity post iserver account account ID order whatif o k body equity swagger:model PostAccountAccountIDOrderWhatifOKBodyEquity
func (*PostAccountAccountIDOrderWhatifOKBodyEquity) MarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyEquity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderWhatifOKBodyEquity) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyEquity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderWhatifOKBodyInitial ¶
type PostAccountAccountIDOrderWhatifOKBodyInitial struct { // after After string `json:"after,omitempty"` // change Change string `json:"change,omitempty"` // current Current string `json:"current,omitempty"` }
PostAccountAccountIDOrderWhatifOKBodyInitial post iserver account account ID order whatif o k body initial swagger:model PostAccountAccountIDOrderWhatifOKBodyInitial
func (*PostAccountAccountIDOrderWhatifOKBodyInitial) MarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyInitial) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderWhatifOKBodyInitial) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyInitial) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderWhatifOKBodyMaintenance ¶
type PostAccountAccountIDOrderWhatifOKBodyMaintenance struct { // after After string `json:"after,omitempty"` // change Change string `json:"change,omitempty"` // current Current string `json:"current,omitempty"` }
PostAccountAccountIDOrderWhatifOKBodyMaintenance post iserver account account ID order whatif o k body maintenance swagger:model PostAccountAccountIDOrderWhatifOKBodyMaintenance
func (*PostAccountAccountIDOrderWhatifOKBodyMaintenance) MarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyMaintenance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrderWhatifOKBodyMaintenance) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrderWhatifOKBodyMaintenance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrderWhatifParams ¶
type PostAccountAccountIDOrderWhatifParams struct { /*AccountID account id */ AccountID string /*Body order info */ Body *models.OrderRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccountAccountIDOrderWhatifParams contains all the parameters to send to the API endpoint for the post iserver account account ID order whatif operation typically these are written to a http.Request
func NewPostAccountAccountIDOrderWhatifParams ¶
func NewPostAccountAccountIDOrderWhatifParams() *PostAccountAccountIDOrderWhatifParams
NewPostAccountAccountIDOrderWhatifParams creates a new PostAccountAccountIDOrderWhatifParams object with the default values initialized.
func NewPostAccountAccountIDOrderWhatifParamsWithContext ¶
func NewPostAccountAccountIDOrderWhatifParamsWithContext(ctx context.Context) *PostAccountAccountIDOrderWhatifParams
NewPostAccountAccountIDOrderWhatifParamsWithContext creates a new PostAccountAccountIDOrderWhatifParams object with the default values initialized, and the ability to set a context for a request
func NewPostAccountAccountIDOrderWhatifParamsWithHTTPClient ¶
func NewPostAccountAccountIDOrderWhatifParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrderWhatifParams
NewPostAccountAccountIDOrderWhatifParamsWithHTTPClient creates a new PostAccountAccountIDOrderWhatifParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAccountAccountIDOrderWhatifParamsWithTimeout ¶
func NewPostAccountAccountIDOrderWhatifParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrderWhatifParams
NewPostAccountAccountIDOrderWhatifParamsWithTimeout creates a new PostAccountAccountIDOrderWhatifParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAccountAccountIDOrderWhatifParams) SetAccountID ¶
func (o *PostAccountAccountIDOrderWhatifParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) SetBody ¶
func (o *PostAccountAccountIDOrderWhatifParams) SetBody(body *models.OrderRequest)
SetBody adds the body to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) SetContext ¶
func (o *PostAccountAccountIDOrderWhatifParams) SetContext(ctx context.Context)
SetContext adds the context to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) SetHTTPClient ¶
func (o *PostAccountAccountIDOrderWhatifParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) SetTimeout ¶
func (o *PostAccountAccountIDOrderWhatifParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) WithAccountID ¶
func (o *PostAccountAccountIDOrderWhatifParams) WithAccountID(accountID string) *PostAccountAccountIDOrderWhatifParams
WithAccountID adds the accountID to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) WithBody ¶
func (o *PostAccountAccountIDOrderWhatifParams) WithBody(body *models.OrderRequest) *PostAccountAccountIDOrderWhatifParams
WithBody adds the body to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) WithContext ¶
func (o *PostAccountAccountIDOrderWhatifParams) WithContext(ctx context.Context) *PostAccountAccountIDOrderWhatifParams
WithContext adds the context to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) WithHTTPClient ¶
func (o *PostAccountAccountIDOrderWhatifParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrderWhatifParams
WithHTTPClient adds the HTTPClient to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) WithTimeout ¶
func (o *PostAccountAccountIDOrderWhatifParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrderWhatifParams
WithTimeout adds the timeout to the post iserver account account ID order whatif params
func (*PostAccountAccountIDOrderWhatifParams) WriteToRequest ¶
func (o *PostAccountAccountIDOrderWhatifParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccountAccountIDOrderWhatifReader ¶
type PostAccountAccountIDOrderWhatifReader struct {
// contains filtered or unexported fields
}
PostAccountAccountIDOrderWhatifReader is a Reader for the PostAccountAccountIDOrderWhatif structure.
func (*PostAccountAccountIDOrderWhatifReader) ReadResponse ¶
func (o *PostAccountAccountIDOrderWhatifReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAccountAccountIDOrdersBody ¶
type PostAccountAccountIDOrdersBody struct { // Notes for bracket orders: 1. Children orders will not have its own "cOID", so please donot pass "cOID" // parameter in child order.Instead, they will have a "parentId" which must be equal to "cOID" of parent. // 2. When you cancel a parent order, it will cancel all bracket orders, when you cancel one child order, // it will also cancel its sibling order. // Orders []*models.OrderRequest `json:"orders"` }
PostAccountAccountIDOrdersBody post iserver account account ID orders body swagger:model PostAccountAccountIDOrdersBody
func (*PostAccountAccountIDOrdersBody) MarshalBinary ¶
func (o *PostAccountAccountIDOrdersBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrdersBody) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrdersBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrdersOK ¶
type PostAccountAccountIDOrdersOK struct {
Payload []*PostAccountAccountIDOrdersOKBodyItems0
}
PostAccountAccountIDOrdersOK handles this case with default header values.
returns an array
func NewPostAccountAccountIDOrdersOK ¶
func NewPostAccountAccountIDOrdersOK() *PostAccountAccountIDOrdersOK
NewPostAccountAccountIDOrdersOK creates a PostAccountAccountIDOrdersOK with default headers values
func (*PostAccountAccountIDOrdersOK) Error ¶
func (o *PostAccountAccountIDOrdersOK) Error() string
func (*PostAccountAccountIDOrdersOK) GetPayload ¶
func (o *PostAccountAccountIDOrdersOK) GetPayload() []*PostAccountAccountIDOrdersOKBodyItems0
type PostAccountAccountIDOrdersOKBodyItems0 ¶
type PostAccountAccountIDOrdersOKBodyItems0 struct { // id ID string `json:"id,omitempty"` // Please note here, if the message is a question, you have to reply to question in order to submit // the order successfully. See more in the "/iserver/reply/{replyid}" end-point. // Message []string `json:"message"` }
PostAccountAccountIDOrdersOKBodyItems0 post iserver account account ID orders o k body items0 swagger:model PostAccountAccountIDOrdersOKBodyItems0
func (*PostAccountAccountIDOrdersOKBodyItems0) MarshalBinary ¶
func (o *PostAccountAccountIDOrdersOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAccountAccountIDOrdersOKBodyItems0) UnmarshalBinary ¶
func (o *PostAccountAccountIDOrdersOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAccountAccountIDOrdersParams ¶
type PostAccountAccountIDOrdersParams struct { /*AccountID account id */ AccountID string /*Body order request info */ Body PostAccountAccountIDOrdersBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAccountAccountIDOrdersParams contains all the parameters to send to the API endpoint for the post iserver account account ID orders operation typically these are written to a http.Request
func NewPostAccountAccountIDOrdersParams ¶
func NewPostAccountAccountIDOrdersParams() *PostAccountAccountIDOrdersParams
NewPostAccountAccountIDOrdersParams creates a new PostAccountAccountIDOrdersParams object with the default values initialized.
func NewPostAccountAccountIDOrdersParamsWithContext ¶
func NewPostAccountAccountIDOrdersParamsWithContext(ctx context.Context) *PostAccountAccountIDOrdersParams
NewPostAccountAccountIDOrdersParamsWithContext creates a new PostAccountAccountIDOrdersParams object with the default values initialized, and the ability to set a context for a request
func NewPostAccountAccountIDOrdersParamsWithHTTPClient ¶
func NewPostAccountAccountIDOrdersParamsWithHTTPClient(client *http.Client) *PostAccountAccountIDOrdersParams
NewPostAccountAccountIDOrdersParamsWithHTTPClient creates a new PostAccountAccountIDOrdersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostAccountAccountIDOrdersParamsWithTimeout ¶
func NewPostAccountAccountIDOrdersParamsWithTimeout(timeout time.Duration) *PostAccountAccountIDOrdersParams
NewPostAccountAccountIDOrdersParamsWithTimeout creates a new PostAccountAccountIDOrdersParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostAccountAccountIDOrdersParams) SetAccountID ¶
func (o *PostAccountAccountIDOrdersParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) SetBody ¶
func (o *PostAccountAccountIDOrdersParams) SetBody(body PostAccountAccountIDOrdersBody)
SetBody adds the body to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) SetContext ¶
func (o *PostAccountAccountIDOrdersParams) SetContext(ctx context.Context)
SetContext adds the context to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) SetHTTPClient ¶
func (o *PostAccountAccountIDOrdersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) SetTimeout ¶
func (o *PostAccountAccountIDOrdersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) WithAccountID ¶
func (o *PostAccountAccountIDOrdersParams) WithAccountID(accountID string) *PostAccountAccountIDOrdersParams
WithAccountID adds the accountID to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) WithBody ¶
func (o *PostAccountAccountIDOrdersParams) WithBody(body PostAccountAccountIDOrdersBody) *PostAccountAccountIDOrdersParams
WithBody adds the body to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) WithContext ¶
func (o *PostAccountAccountIDOrdersParams) WithContext(ctx context.Context) *PostAccountAccountIDOrdersParams
WithContext adds the context to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) WithHTTPClient ¶
func (o *PostAccountAccountIDOrdersParams) WithHTTPClient(client *http.Client) *PostAccountAccountIDOrdersParams
WithHTTPClient adds the HTTPClient to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) WithTimeout ¶
func (o *PostAccountAccountIDOrdersParams) WithTimeout(timeout time.Duration) *PostAccountAccountIDOrdersParams
WithTimeout adds the timeout to the post iserver account account ID orders params
func (*PostAccountAccountIDOrdersParams) WriteToRequest ¶
func (o *PostAccountAccountIDOrdersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAccountAccountIDOrdersReader ¶
type PostAccountAccountIDOrdersReader struct {
// contains filtered or unexported fields
}
PostAccountAccountIDOrdersReader is a Reader for the PostAccountAccountIDOrders structure.
func (*PostAccountAccountIDOrdersReader) ReadResponse ¶
func (o *PostAccountAccountIDOrdersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostReplyReplyidBadRequest ¶
type PostReplyReplyidBadRequest struct {
Payload *PostReplyReplyidBadRequestBody
}
PostReplyReplyidBadRequest handles this case with default header values.
When you send "confirmed-false" in the request, you will receive this
func NewPostReplyReplyidBadRequest ¶
func NewPostReplyReplyidBadRequest() *PostReplyReplyidBadRequest
NewPostReplyReplyidBadRequest creates a PostReplyReplyidBadRequest with default headers values
func (*PostReplyReplyidBadRequest) Error ¶
func (o *PostReplyReplyidBadRequest) Error() string
func (*PostReplyReplyidBadRequest) GetPayload ¶
func (o *PostReplyReplyidBadRequest) GetPayload() *PostReplyReplyidBadRequestBody
type PostReplyReplyidBadRequestBody ¶
type PostReplyReplyidBadRequestBody struct { // for example-order not confirmed Error string `json:"error,omitempty"` // status code StatusCode int64 `json:"statusCode,omitempty"` }
PostReplyReplyidBadRequestBody post iserver reply replyid bad request body swagger:model PostReplyReplyidBadRequestBody
func (*PostReplyReplyidBadRequestBody) MarshalBinary ¶
func (o *PostReplyReplyidBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostReplyReplyidBadRequestBody) UnmarshalBinary ¶
func (o *PostReplyReplyidBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostReplyReplyidBody ¶
type PostReplyReplyidBody struct { // answer to question, true means yes, false means no Confirmed bool `json:"confirmed,omitempty"` }
PostReplyReplyidBody post iserver reply replyid body swagger:model PostReplyReplyidBody
func (*PostReplyReplyidBody) MarshalBinary ¶
func (o *PostReplyReplyidBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostReplyReplyidBody) UnmarshalBinary ¶
func (o *PostReplyReplyidBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostReplyReplyidOK ¶
type PostReplyReplyidOK struct {
Payload []*PostReplyReplyidOKBodyItems0
}
PostReplyReplyidOK handles this case with default header values.
Order is submitted successfully, returns an array contains one object
func NewPostReplyReplyidOK ¶
func NewPostReplyReplyidOK() *PostReplyReplyidOK
NewPostReplyReplyidOK creates a PostReplyReplyidOK with default headers values
func (*PostReplyReplyidOK) Error ¶
func (o *PostReplyReplyidOK) Error() string
func (*PostReplyReplyidOK) GetPayload ¶
func (o *PostReplyReplyidOK) GetPayload() []*PostReplyReplyidOKBodyItems0
type PostReplyReplyidOKBodyItems0 ¶
type PostReplyReplyidOKBodyItems0 struct { // local order id LocalOrderID string `json:"local_order_id,omitempty"` // order id OrderID string `json:"order_id,omitempty"` // order status OrderStatus string `json:"order_status,omitempty"` }
PostReplyReplyidOKBodyItems0 post iserver reply replyid o k body items0 swagger:model PostReplyReplyidOKBodyItems0
func (*PostReplyReplyidOKBodyItems0) MarshalBinary ¶
func (o *PostReplyReplyidOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostReplyReplyidOKBodyItems0) UnmarshalBinary ¶
func (o *PostReplyReplyidOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostReplyReplyidParams ¶
type PostReplyReplyidParams struct { /*Body Answer to question */ Body PostReplyReplyidBody /*Replyid Please use the "id" from the response of "Place Order" end-point */ Replyid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostReplyReplyidParams contains all the parameters to send to the API endpoint for the post iserver reply replyid operation typically these are written to a http.Request
func NewPostReplyReplyidParams ¶
func NewPostReplyReplyidParams() *PostReplyReplyidParams
NewPostReplyReplyidParams creates a new PostReplyReplyidParams object with the default values initialized.
func NewPostReplyReplyidParamsWithContext ¶
func NewPostReplyReplyidParamsWithContext(ctx context.Context) *PostReplyReplyidParams
NewPostReplyReplyidParamsWithContext creates a new PostReplyReplyidParams object with the default values initialized, and the ability to set a context for a request
func NewPostReplyReplyidParamsWithHTTPClient ¶
func NewPostReplyReplyidParamsWithHTTPClient(client *http.Client) *PostReplyReplyidParams
NewPostReplyReplyidParamsWithHTTPClient creates a new PostReplyReplyidParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostReplyReplyidParamsWithTimeout ¶
func NewPostReplyReplyidParamsWithTimeout(timeout time.Duration) *PostReplyReplyidParams
NewPostReplyReplyidParamsWithTimeout creates a new PostReplyReplyidParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostReplyReplyidParams) SetBody ¶
func (o *PostReplyReplyidParams) SetBody(body PostReplyReplyidBody)
SetBody adds the body to the post iserver reply replyid params
func (*PostReplyReplyidParams) SetContext ¶
func (o *PostReplyReplyidParams) SetContext(ctx context.Context)
SetContext adds the context to the post iserver reply replyid params
func (*PostReplyReplyidParams) SetHTTPClient ¶
func (o *PostReplyReplyidParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post iserver reply replyid params
func (*PostReplyReplyidParams) SetReplyid ¶
func (o *PostReplyReplyidParams) SetReplyid(replyid string)
SetReplyid adds the replyid to the post iserver reply replyid params
func (*PostReplyReplyidParams) SetTimeout ¶
func (o *PostReplyReplyidParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post iserver reply replyid params
func (*PostReplyReplyidParams) WithBody ¶
func (o *PostReplyReplyidParams) WithBody(body PostReplyReplyidBody) *PostReplyReplyidParams
WithBody adds the body to the post iserver reply replyid params
func (*PostReplyReplyidParams) WithContext ¶
func (o *PostReplyReplyidParams) WithContext(ctx context.Context) *PostReplyReplyidParams
WithContext adds the context to the post iserver reply replyid params
func (*PostReplyReplyidParams) WithHTTPClient ¶
func (o *PostReplyReplyidParams) WithHTTPClient(client *http.Client) *PostReplyReplyidParams
WithHTTPClient adds the HTTPClient to the post iserver reply replyid params
func (*PostReplyReplyidParams) WithReplyid ¶
func (o *PostReplyReplyidParams) WithReplyid(replyid string) *PostReplyReplyidParams
WithReplyid adds the replyid to the post iserver reply replyid params
func (*PostReplyReplyidParams) WithTimeout ¶
func (o *PostReplyReplyidParams) WithTimeout(timeout time.Duration) *PostReplyReplyidParams
WithTimeout adds the timeout to the post iserver reply replyid params
func (*PostReplyReplyidParams) WriteToRequest ¶
func (o *PostReplyReplyidParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostReplyReplyidReader ¶
type PostReplyReplyidReader struct {
// contains filtered or unexported fields
}
PostReplyReplyidReader is a Reader for the PostReplyReplyid structure.
func (*PostReplyReplyidReader) ReadResponse ¶
func (o *PostReplyReplyidReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_iserver_account_account_id_order_orig_customer_order_id_parameters.go
- delete_iserver_account_account_id_order_orig_customer_order_id_responses.go
- get_iserver_account_orders_parameters.go
- get_iserver_account_orders_responses.go
- order_client.go
- post_iserver_account_account_id_order_orig_customer_order_id_parameters.go
- post_iserver_account_account_id_order_orig_customer_order_id_responses.go
- post_iserver_account_account_id_order_parameters.go
- post_iserver_account_account_id_order_responses.go
- post_iserver_account_account_id_order_whatif_parameters.go
- post_iserver_account_account_id_order_whatif_responses.go
- post_iserver_account_account_id_orders_parameters.go
- post_iserver_account_account_id_orders_responses.go
- post_iserver_reply_replyid_parameters.go
- post_iserver_reply_replyid_responses.go