order

package
v0.0.0-...-b0d199b Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOK) GetPayload

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

MarshalBinary interface implementation

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) Validate

Validate validates this delete iserver account account ID order orig customer order ID o k body items0

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

SetAccountID adds the accountId to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext

SetContext adds the context to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient

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

SetTimeout adds the timeout to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID

WithAccountID adds the accountID to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext

WithContext adds the context to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID

WithOrigCustomerOrderID adds the origCustomerOrderID to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout

WithTimeout adds the timeout to the delete iserver account account ID order orig customer order ID params

func (*DeleteAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest

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

func (*GetAccountOrdersOKBody) Validate

func (o *GetAccountOrdersOKBody) Validate(formats strfmt.Registry) error

Validate validates this get iserver account orders o k body

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

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

WithTimeout adds the timeout to the get iserver account orders params

func (*GetAccountOrdersParams) WriteToRequest

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 (*PostAccountAccountIDOrderOK) GetPayload

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

func (*PostAccountAccountIDOrderOKBodyItems0) Validate

Validate validates this post iserver account account ID order o k body items0

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 (*PostAccountAccountIDOrderOrigCustomerOrderIDOK) GetPayload

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

MarshalBinary interface implementation

func (*PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PostAccountAccountIDOrderOrigCustomerOrderIDOKBodyItems0) Validate

Validate validates this post iserver account account ID order orig customer order ID o k body items0

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

SetAccountID adds the accountId to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetBody

SetBody adds the body to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetContext

SetContext adds the context to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) SetHTTPClient

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

SetTimeout adds the timeout to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithAccountID

WithAccountID adds the accountID to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithBody

WithBody adds the body to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithContext

WithContext adds the context to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithOrigCustomerOrderID

WithOrigCustomerOrderID adds the origCustomerOrderID to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WithTimeout

WithTimeout adds the timeout to the post iserver account account ID order orig customer order ID params

func (*PostAccountAccountIDOrderOrigCustomerOrderIDParams) WriteToRequest

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

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

WithAccountID adds the accountID to the post iserver account account ID order params

func (*PostAccountAccountIDOrderParams) WithBody

WithBody adds the body to the post iserver account account ID order params

func (*PostAccountAccountIDOrderParams) WithContext

WithContext adds the context to the post iserver account account ID order params

func (*PostAccountAccountIDOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post iserver account account ID order params

func (*PostAccountAccountIDOrderParams) WithTimeout

WithTimeout adds the timeout to the post iserver account account ID order params

func (*PostAccountAccountIDOrderParams) WriteToRequest

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 (*PostAccountAccountIDOrderWhatifOK) GetPayload

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

func (*PostAccountAccountIDOrderWhatifOKBody) Validate

Validate validates this post iserver account account ID order whatif o k body

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

func (*PostAccountAccountIDOrderWhatifOKBodyAmount) Validate

Validate validates this post iserver account account ID order whatif o k body amount

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

func (*PostAccountAccountIDOrderWhatifOKBodyEquity) Validate

Validate validates this post iserver account account ID order whatif o k body equity

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

MarshalBinary interface implementation

func (*PostAccountAccountIDOrderWhatifOKBodyInitial) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PostAccountAccountIDOrderWhatifOKBodyInitial) Validate

Validate validates this post iserver account account ID order whatif o k body initial

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

MarshalBinary interface implementation

func (*PostAccountAccountIDOrderWhatifOKBodyMaintenance) UnmarshalBinary

UnmarshalBinary interface implementation

func (*PostAccountAccountIDOrderWhatifOKBodyMaintenance) Validate

Validate validates this post iserver account account ID order whatif o k body maintenance

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

SetBody adds the body to the post iserver account account ID order whatif params

func (*PostAccountAccountIDOrderWhatifParams) SetContext

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

WithAccountID adds the accountID to the post iserver account account ID order whatif params

func (*PostAccountAccountIDOrderWhatifParams) WithBody

WithBody adds the body to the post iserver account account ID order whatif params

func (*PostAccountAccountIDOrderWhatifParams) WithContext

WithContext adds the context to the post iserver account account ID order whatif params

func (*PostAccountAccountIDOrderWhatifParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post iserver account account ID order whatif params

func (*PostAccountAccountIDOrderWhatifParams) WithTimeout

WithTimeout adds the timeout to the post iserver account account ID order whatif params

func (*PostAccountAccountIDOrderWhatifParams) WriteToRequest

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

func (*PostAccountAccountIDOrdersBody) Validate

func (o *PostAccountAccountIDOrdersBody) Validate(formats strfmt.Registry) error

Validate validates this post iserver account account ID orders body

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 (*PostAccountAccountIDOrdersOK) GetPayload

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

func (*PostAccountAccountIDOrdersOKBodyItems0) Validate

Validate validates this post iserver account account ID orders o k body items0

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

SetBody adds the body to the post iserver account account ID orders params

func (*PostAccountAccountIDOrdersParams) SetContext

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

WithAccountID adds the accountID to the post iserver account account ID orders params

func (*PostAccountAccountIDOrdersParams) WithBody

WithBody adds the body to the post iserver account account ID orders params

func (*PostAccountAccountIDOrdersParams) WithContext

WithContext adds the context to the post iserver account account ID orders params

func (*PostAccountAccountIDOrdersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post iserver account account ID orders params

func (*PostAccountAccountIDOrdersParams) WithTimeout

WithTimeout adds the timeout to the post iserver account account ID orders params

func (*PostAccountAccountIDOrdersParams) WriteToRequest

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 (*PostReplyReplyidBadRequest) GetPayload

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

func (*PostReplyReplyidBadRequestBody) Validate

func (o *PostReplyReplyidBadRequestBody) Validate(formats strfmt.Registry) error

Validate validates this post iserver reply replyid bad request body

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

func (*PostReplyReplyidBody) Validate

func (o *PostReplyReplyidBody) Validate(formats strfmt.Registry) error

Validate validates this post iserver reply replyid body

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

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

func (*PostReplyReplyidOKBodyItems0) Validate

func (o *PostReplyReplyidOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this post iserver reply replyid o k body items0

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

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

WithBody adds the body to the post iserver reply replyid params

func (*PostReplyReplyidParams) WithContext

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

WithTimeout adds the timeout to the post iserver reply replyid params

func (*PostReplyReplyidParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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