Documentation ¶
Index ¶
- type Client
- func (a *Client) GetContractConidInfo(params *GetContractConidInfoParams) (*GetContractConidInfoOK, error)
- func (a *Client) GetTrsrvFutures(params *GetTrsrvFuturesParams) (*GetTrsrvFuturesOK, error)
- func (a *Client) PostSecdefSearch(params *PostSecdefSearchParams) (*PostSecdefSearchOK, error)
- func (a *Client) PostTrsrvSecdef(params *PostTrsrvSecdefParams) (*PostTrsrvSecdefOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetContractConidInfoOK
- type GetContractConidInfoParams
- func NewGetContractConidInfoParams() *GetContractConidInfoParams
- func NewGetContractConidInfoParamsWithContext(ctx context.Context) *GetContractConidInfoParams
- func NewGetContractConidInfoParamsWithHTTPClient(client *http.Client) *GetContractConidInfoParams
- func NewGetContractConidInfoParamsWithTimeout(timeout time.Duration) *GetContractConidInfoParams
- func (o *GetContractConidInfoParams) SetConid(conid string)
- func (o *GetContractConidInfoParams) SetContext(ctx context.Context)
- func (o *GetContractConidInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetContractConidInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetContractConidInfoParams) WithConid(conid string) *GetContractConidInfoParams
- func (o *GetContractConidInfoParams) WithContext(ctx context.Context) *GetContractConidInfoParams
- func (o *GetContractConidInfoParams) WithHTTPClient(client *http.Client) *GetContractConidInfoParams
- func (o *GetContractConidInfoParams) WithTimeout(timeout time.Duration) *GetContractConidInfoParams
- func (o *GetContractConidInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContractConidInfoReader
- type GetTrsrvFuturesInternalServerError
- type GetTrsrvFuturesInternalServerErrorBody
- type GetTrsrvFuturesOK
- type GetTrsrvFuturesOKBody
- type GetTrsrvFuturesParams
- func NewGetTrsrvFuturesParams() *GetTrsrvFuturesParams
- func NewGetTrsrvFuturesParamsWithContext(ctx context.Context) *GetTrsrvFuturesParams
- func NewGetTrsrvFuturesParamsWithHTTPClient(client *http.Client) *GetTrsrvFuturesParams
- func NewGetTrsrvFuturesParamsWithTimeout(timeout time.Duration) *GetTrsrvFuturesParams
- func (o *GetTrsrvFuturesParams) SetContext(ctx context.Context)
- func (o *GetTrsrvFuturesParams) SetHTTPClient(client *http.Client)
- func (o *GetTrsrvFuturesParams) SetSymbols(symbols string)
- func (o *GetTrsrvFuturesParams) SetTimeout(timeout time.Duration)
- func (o *GetTrsrvFuturesParams) WithContext(ctx context.Context) *GetTrsrvFuturesParams
- func (o *GetTrsrvFuturesParams) WithHTTPClient(client *http.Client) *GetTrsrvFuturesParams
- func (o *GetTrsrvFuturesParams) WithSymbols(symbols string) *GetTrsrvFuturesParams
- func (o *GetTrsrvFuturesParams) WithTimeout(timeout time.Duration) *GetTrsrvFuturesParams
- func (o *GetTrsrvFuturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTrsrvFuturesReader
- type PostSecdefSearchBody
- type PostSecdefSearchInternalServerError
- type PostSecdefSearchInternalServerErrorBody
- type PostSecdefSearchOK
- type PostSecdefSearchOKBodyItems0
- type PostSecdefSearchParams
- func NewPostSecdefSearchParams() *PostSecdefSearchParams
- func NewPostSecdefSearchParamsWithContext(ctx context.Context) *PostSecdefSearchParams
- func NewPostSecdefSearchParamsWithHTTPClient(client *http.Client) *PostSecdefSearchParams
- func NewPostSecdefSearchParamsWithTimeout(timeout time.Duration) *PostSecdefSearchParams
- func (o *PostSecdefSearchParams) SetContext(ctx context.Context)
- func (o *PostSecdefSearchParams) SetHTTPClient(client *http.Client)
- func (o *PostSecdefSearchParams) SetSymbol(symbol PostSecdefSearchBody)
- func (o *PostSecdefSearchParams) SetTimeout(timeout time.Duration)
- func (o *PostSecdefSearchParams) WithContext(ctx context.Context) *PostSecdefSearchParams
- func (o *PostSecdefSearchParams) WithHTTPClient(client *http.Client) *PostSecdefSearchParams
- func (o *PostSecdefSearchParams) WithSymbol(symbol PostSecdefSearchBody) *PostSecdefSearchParams
- func (o *PostSecdefSearchParams) WithTimeout(timeout time.Duration) *PostSecdefSearchParams
- func (o *PostSecdefSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostSecdefSearchReader
- type PostTrsrvSecdefBody
- type PostTrsrvSecdefOK
- type PostTrsrvSecdefParams
- func NewPostTrsrvSecdefParams() *PostTrsrvSecdefParams
- func NewPostTrsrvSecdefParamsWithContext(ctx context.Context) *PostTrsrvSecdefParams
- func NewPostTrsrvSecdefParamsWithHTTPClient(client *http.Client) *PostTrsrvSecdefParams
- func NewPostTrsrvSecdefParamsWithTimeout(timeout time.Duration) *PostTrsrvSecdefParams
- func (o *PostTrsrvSecdefParams) SetBody(body PostTrsrvSecdefBody)
- func (o *PostTrsrvSecdefParams) SetContext(ctx context.Context)
- func (o *PostTrsrvSecdefParams) SetHTTPClient(client *http.Client)
- func (o *PostTrsrvSecdefParams) SetTimeout(timeout time.Duration)
- func (o *PostTrsrvSecdefParams) WithBody(body PostTrsrvSecdefBody) *PostTrsrvSecdefParams
- func (o *PostTrsrvSecdefParams) WithContext(ctx context.Context) *PostTrsrvSecdefParams
- func (o *PostTrsrvSecdefParams) WithHTTPClient(client *http.Client) *PostTrsrvSecdefParams
- func (o *PostTrsrvSecdefParams) WithTimeout(timeout time.Duration) *PostTrsrvSecdefParams
- func (o *PostTrsrvSecdefParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostTrsrvSecdefReader
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 contract API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new contract API client.
func (*Client) GetContractConidInfo ¶
func (a *Client) GetContractConidInfo(params *GetContractConidInfoParams) (*GetContractConidInfoOK, error)
GetContractConidInfo contracts info get contract details, you can use this to prefill your order before you submit an order
func (*Client) GetTrsrvFutures ¶
func (a *Client) GetTrsrvFutures(params *GetTrsrvFuturesParams) (*GetTrsrvFuturesOK, error)
GetTrsrvFutures securities futures by symbol Returns a list of non-expired future contracts for given symbol(s)
func (*Client) PostSecdefSearch ¶
func (a *Client) PostSecdefSearch(params *PostSecdefSearchParams) (*PostSecdefSearchOK, error)
PostSecdefSearch searches by symbol or name
func (*Client) PostTrsrvSecdef ¶
func (a *Client) PostTrsrvSecdef(params *PostTrsrvSecdefParams) (*PostTrsrvSecdefOK, error)
PostTrsrvSecdef secdefs by conid
Returns a list of security definitions for the given conids
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetContractConidInfoOK ¶
GetContractConidInfoOK handles this case with default header values.
returns an object
func NewGetContractConidInfoOK ¶
func NewGetContractConidInfoOK() *GetContractConidInfoOK
NewGetContractConidInfoOK creates a GetContractConidInfoOK with default headers values
func (*GetContractConidInfoOK) Error ¶
func (o *GetContractConidInfoOK) Error() string
func (*GetContractConidInfoOK) GetPayload ¶
func (o *GetContractConidInfoOK) GetPayload() *models.Contract
type GetContractConidInfoParams ¶
type GetContractConidInfoParams struct { /*Conid contract id */ Conid string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetContractConidInfoParams contains all the parameters to send to the API endpoint for the get iserver contract conid info operation typically these are written to a http.Request
func NewGetContractConidInfoParams ¶
func NewGetContractConidInfoParams() *GetContractConidInfoParams
NewGetContractConidInfoParams creates a new GetContractConidInfoParams object with the default values initialized.
func NewGetContractConidInfoParamsWithContext ¶
func NewGetContractConidInfoParamsWithContext(ctx context.Context) *GetContractConidInfoParams
NewGetContractConidInfoParamsWithContext creates a new GetContractConidInfoParams object with the default values initialized, and the ability to set a context for a request
func NewGetContractConidInfoParamsWithHTTPClient ¶
func NewGetContractConidInfoParamsWithHTTPClient(client *http.Client) *GetContractConidInfoParams
NewGetContractConidInfoParamsWithHTTPClient creates a new GetContractConidInfoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetContractConidInfoParamsWithTimeout ¶
func NewGetContractConidInfoParamsWithTimeout(timeout time.Duration) *GetContractConidInfoParams
NewGetContractConidInfoParamsWithTimeout creates a new GetContractConidInfoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetContractConidInfoParams) SetConid ¶
func (o *GetContractConidInfoParams) SetConid(conid string)
SetConid adds the conid to the get iserver contract conid info params
func (*GetContractConidInfoParams) SetContext ¶
func (o *GetContractConidInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get iserver contract conid info params
func (*GetContractConidInfoParams) SetHTTPClient ¶
func (o *GetContractConidInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iserver contract conid info params
func (*GetContractConidInfoParams) SetTimeout ¶
func (o *GetContractConidInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iserver contract conid info params
func (*GetContractConidInfoParams) WithConid ¶
func (o *GetContractConidInfoParams) WithConid(conid string) *GetContractConidInfoParams
WithConid adds the conid to the get iserver contract conid info params
func (*GetContractConidInfoParams) WithContext ¶
func (o *GetContractConidInfoParams) WithContext(ctx context.Context) *GetContractConidInfoParams
WithContext adds the context to the get iserver contract conid info params
func (*GetContractConidInfoParams) WithHTTPClient ¶
func (o *GetContractConidInfoParams) WithHTTPClient(client *http.Client) *GetContractConidInfoParams
WithHTTPClient adds the HTTPClient to the get iserver contract conid info params
func (*GetContractConidInfoParams) WithTimeout ¶
func (o *GetContractConidInfoParams) WithTimeout(timeout time.Duration) *GetContractConidInfoParams
WithTimeout adds the timeout to the get iserver contract conid info params
func (*GetContractConidInfoParams) WriteToRequest ¶
func (o *GetContractConidInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContractConidInfoReader ¶
type GetContractConidInfoReader struct {
// contains filtered or unexported fields
}
GetContractConidInfoReader is a Reader for the GetContractConidInfo structure.
func (*GetContractConidInfoReader) ReadResponse ¶
func (o *GetContractConidInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTrsrvFuturesInternalServerError ¶
type GetTrsrvFuturesInternalServerError struct {
Payload *GetTrsrvFuturesInternalServerErrorBody
}
GetTrsrvFuturesInternalServerError handles this case with default header values.
error while processing the request
func NewGetTrsrvFuturesInternalServerError ¶
func NewGetTrsrvFuturesInternalServerError() *GetTrsrvFuturesInternalServerError
NewGetTrsrvFuturesInternalServerError creates a GetTrsrvFuturesInternalServerError with default headers values
func (*GetTrsrvFuturesInternalServerError) Error ¶
func (o *GetTrsrvFuturesInternalServerError) Error() string
func (*GetTrsrvFuturesInternalServerError) GetPayload ¶
func (o *GetTrsrvFuturesInternalServerError) GetPayload() *GetTrsrvFuturesInternalServerErrorBody
type GetTrsrvFuturesInternalServerErrorBody ¶
type GetTrsrvFuturesInternalServerErrorBody struct { // error Error string `json:"error,omitempty"` }
GetTrsrvFuturesInternalServerErrorBody get trsrv futures internal server error body swagger:model GetTrsrvFuturesInternalServerErrorBody
func (*GetTrsrvFuturesInternalServerErrorBody) MarshalBinary ¶
func (o *GetTrsrvFuturesInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTrsrvFuturesInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetTrsrvFuturesInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTrsrvFuturesOK ¶
type GetTrsrvFuturesOK struct {
Payload *GetTrsrvFuturesOKBody
}
GetTrsrvFuturesOK handles this case with default header values.
returns an object with symbol and and array of its future contracts
func NewGetTrsrvFuturesOK ¶
func NewGetTrsrvFuturesOK() *GetTrsrvFuturesOK
NewGetTrsrvFuturesOK creates a GetTrsrvFuturesOK with default headers values
func (*GetTrsrvFuturesOK) Error ¶
func (o *GetTrsrvFuturesOK) Error() string
func (*GetTrsrvFuturesOK) GetPayload ¶
func (o *GetTrsrvFuturesOK) GetPayload() *GetTrsrvFuturesOKBody
type GetTrsrvFuturesOKBody ¶
GetTrsrvFuturesOKBody get trsrv futures o k body swagger:model GetTrsrvFuturesOKBody
func (*GetTrsrvFuturesOKBody) MarshalBinary ¶
func (o *GetTrsrvFuturesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTrsrvFuturesOKBody) UnmarshalBinary ¶
func (o *GetTrsrvFuturesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTrsrvFuturesParams ¶
type GetTrsrvFuturesParams struct { /*Symbols list of case-sensitive symbols separated by comma */ Symbols string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTrsrvFuturesParams contains all the parameters to send to the API endpoint for the get trsrv futures operation typically these are written to a http.Request
func NewGetTrsrvFuturesParams ¶
func NewGetTrsrvFuturesParams() *GetTrsrvFuturesParams
NewGetTrsrvFuturesParams creates a new GetTrsrvFuturesParams object with the default values initialized.
func NewGetTrsrvFuturesParamsWithContext ¶
func NewGetTrsrvFuturesParamsWithContext(ctx context.Context) *GetTrsrvFuturesParams
NewGetTrsrvFuturesParamsWithContext creates a new GetTrsrvFuturesParams object with the default values initialized, and the ability to set a context for a request
func NewGetTrsrvFuturesParamsWithHTTPClient ¶
func NewGetTrsrvFuturesParamsWithHTTPClient(client *http.Client) *GetTrsrvFuturesParams
NewGetTrsrvFuturesParamsWithHTTPClient creates a new GetTrsrvFuturesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTrsrvFuturesParamsWithTimeout ¶
func NewGetTrsrvFuturesParamsWithTimeout(timeout time.Duration) *GetTrsrvFuturesParams
NewGetTrsrvFuturesParamsWithTimeout creates a new GetTrsrvFuturesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTrsrvFuturesParams) SetContext ¶
func (o *GetTrsrvFuturesParams) SetContext(ctx context.Context)
SetContext adds the context to the get trsrv futures params
func (*GetTrsrvFuturesParams) SetHTTPClient ¶
func (o *GetTrsrvFuturesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get trsrv futures params
func (*GetTrsrvFuturesParams) SetSymbols ¶
func (o *GetTrsrvFuturesParams) SetSymbols(symbols string)
SetSymbols adds the symbols to the get trsrv futures params
func (*GetTrsrvFuturesParams) SetTimeout ¶
func (o *GetTrsrvFuturesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get trsrv futures params
func (*GetTrsrvFuturesParams) WithContext ¶
func (o *GetTrsrvFuturesParams) WithContext(ctx context.Context) *GetTrsrvFuturesParams
WithContext adds the context to the get trsrv futures params
func (*GetTrsrvFuturesParams) WithHTTPClient ¶
func (o *GetTrsrvFuturesParams) WithHTTPClient(client *http.Client) *GetTrsrvFuturesParams
WithHTTPClient adds the HTTPClient to the get trsrv futures params
func (*GetTrsrvFuturesParams) WithSymbols ¶
func (o *GetTrsrvFuturesParams) WithSymbols(symbols string) *GetTrsrvFuturesParams
WithSymbols adds the symbols to the get trsrv futures params
func (*GetTrsrvFuturesParams) WithTimeout ¶
func (o *GetTrsrvFuturesParams) WithTimeout(timeout time.Duration) *GetTrsrvFuturesParams
WithTimeout adds the timeout to the get trsrv futures params
func (*GetTrsrvFuturesParams) WriteToRequest ¶
func (o *GetTrsrvFuturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTrsrvFuturesReader ¶
type GetTrsrvFuturesReader struct {
// contains filtered or unexported fields
}
GetTrsrvFuturesReader is a Reader for the GetTrsrvFutures structure.
func (*GetTrsrvFuturesReader) ReadResponse ¶
func (o *GetTrsrvFuturesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostSecdefSearchBody ¶
type PostSecdefSearchBody struct { // should be true if the search is to be performed by name. false by default. Name bool `json:"name,omitempty"` // If search is done by name, only the assets provided in this field will be returned. Currently, only STK is supported. SecType string `json:"secType,omitempty"` // symbol or name to be searched // Required: true Symbol *string `json:"symbol"` }
PostSecdefSearchBody post iserver secdef search body swagger:model PostSecdefSearchBody
func (*PostSecdefSearchBody) MarshalBinary ¶
func (o *PostSecdefSearchBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostSecdefSearchBody) UnmarshalBinary ¶
func (o *PostSecdefSearchBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostSecdefSearchInternalServerError ¶
type PostSecdefSearchInternalServerError struct {
Payload *PostSecdefSearchInternalServerErrorBody
}
PostSecdefSearchInternalServerError handles this case with default header values. error while processing the request
func NewPostSecdefSearchInternalServerError ¶
func NewPostSecdefSearchInternalServerError() *PostSecdefSearchInternalServerError
NewPostSecdefSearchInternalServerError creates a PostSecdefSearchInternalServerError with default headers values
func (*PostSecdefSearchInternalServerError) Error ¶
func (o *PostSecdefSearchInternalServerError) Error() string
func (*PostSecdefSearchInternalServerError) GetPayload ¶
func (o *PostSecdefSearchInternalServerError) GetPayload() *PostSecdefSearchInternalServerErrorBody
type PostSecdefSearchInternalServerErrorBody ¶
type PostSecdefSearchInternalServerErrorBody struct { // error Error string `json:"error,omitempty"` }
PostSecdefSearchInternalServerErrorBody post iserver secdef search internal server error body swagger:model PostSecdefSearchInternalServerErrorBody
func (*PostSecdefSearchInternalServerErrorBody) MarshalBinary ¶
func (o *PostSecdefSearchInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostSecdefSearchInternalServerErrorBody) UnmarshalBinary ¶
func (o *PostSecdefSearchInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostSecdefSearchOK ¶
type PostSecdefSearchOK struct {
Payload []*PostSecdefSearchOKBodyItems0
}
PostSecdefSearchOK handles this case with default header values.
returns an array of results
func NewPostSecdefSearchOK ¶
func NewPostSecdefSearchOK() *PostSecdefSearchOK
NewPostSecdefSearchOK creates a PostSecdefSearchOK with default headers values
func (*PostSecdefSearchOK) Error ¶
func (o *PostSecdefSearchOK) Error() string
func (*PostSecdefSearchOK) GetPayload ¶
func (o *PostSecdefSearchOK) GetPayload() []*PostSecdefSearchOKBodyItems0
type PostSecdefSearchOKBodyItems0 ¶
type PostSecdefSearchOKBodyItems0 struct { // company header CompanyHeader string `json:"companyHeader,omitempty"` // company name CompanyName string `json:"companyName,omitempty"` // conid Conid int64 `json:"conid,omitempty"` // description Description string `json:"description,omitempty"` // opt Opt string `json:"opt,omitempty"` // sections Sections []interface{} `json:"sections"` // symbol Symbol string `json:"symbol,omitempty"` // war War string `json:"war,omitempty"` }
PostSecdefSearchOKBodyItems0 post iserver secdef search o k body items0 swagger:model PostSecdefSearchOKBodyItems0
func (*PostSecdefSearchOKBodyItems0) MarshalBinary ¶
func (o *PostSecdefSearchOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostSecdefSearchOKBodyItems0) UnmarshalBinary ¶
func (o *PostSecdefSearchOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostSecdefSearchParams ¶
type PostSecdefSearchParams struct { /*Symbol: symbol or name to be searched */ Symbol PostSecdefSearchBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostSecdefSearchParams contains all the parameters to send to the API endpoint for the post iserver secdef search operation typically these are written to a http.Request
func NewPostSecdefSearchParams ¶
func NewPostSecdefSearchParams() *PostSecdefSearchParams
NewPostSecdefSearchParams creates a new PostSecdefSearchParams object with the default values initialized.
func NewPostSecdefSearchParamsWithContext ¶
func NewPostSecdefSearchParamsWithContext(ctx context.Context) *PostSecdefSearchParams
NewPostSecdefSearchParamsWithContext creates a new PostSecdefSearchParams object with the default values initialized, and the ability to set a context for a request
func NewPostSecdefSearchParamsWithHTTPClient ¶
func NewPostSecdefSearchParamsWithHTTPClient(client *http.Client) *PostSecdefSearchParams
NewPostSecdefSearchParamsWithHTTPClient creates a new PostSecdefSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostSecdefSearchParamsWithTimeout ¶
func NewPostSecdefSearchParamsWithTimeout(timeout time.Duration) *PostSecdefSearchParams
NewPostSecdefSearchParamsWithTimeout creates a new PostSecdefSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostSecdefSearchParams) SetContext ¶
func (o *PostSecdefSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the post iserver secdef search params
func (*PostSecdefSearchParams) SetHTTPClient ¶
func (o *PostSecdefSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post iserver secdef search params
func (*PostSecdefSearchParams) SetSymbol ¶
func (o *PostSecdefSearchParams) SetSymbol(symbol PostSecdefSearchBody)
SetSymbol adds the symbol to the post iserver secdef search params
func (*PostSecdefSearchParams) SetTimeout ¶
func (o *PostSecdefSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post iserver secdef search params
func (*PostSecdefSearchParams) WithContext ¶
func (o *PostSecdefSearchParams) WithContext(ctx context.Context) *PostSecdefSearchParams
WithContext adds the context to the post iserver secdef search params
func (*PostSecdefSearchParams) WithHTTPClient ¶
func (o *PostSecdefSearchParams) WithHTTPClient(client *http.Client) *PostSecdefSearchParams
WithHTTPClient adds the HTTPClient to the post iserver secdef search params
func (*PostSecdefSearchParams) WithSymbol ¶
func (o *PostSecdefSearchParams) WithSymbol(symbol PostSecdefSearchBody) *PostSecdefSearchParams
WithSymbol adds the symbol to the post iserver secdef search params
func (*PostSecdefSearchParams) WithTimeout ¶
func (o *PostSecdefSearchParams) WithTimeout(timeout time.Duration) *PostSecdefSearchParams
WithTimeout adds the timeout to the post iserver secdef search params
func (*PostSecdefSearchParams) WriteToRequest ¶
func (o *PostSecdefSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSecdefSearchReader ¶
type PostSecdefSearchReader struct {
// contains filtered or unexported fields
}
PostSecdefSearchReader is a Reader for the PostSecdefSearch structure.
func (*PostSecdefSearchReader) ReadResponse ¶
func (o *PostSecdefSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostTrsrvSecdefBody ¶
type PostTrsrvSecdefBody struct { // conids Conids []int64 `json:"conids"` }
PostTrsrvSecdefBody post trsrv secdef body swagger:model PostTrsrvSecdefBody
func (*PostTrsrvSecdefBody) MarshalBinary ¶
func (o *PostTrsrvSecdefBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostTrsrvSecdefBody) UnmarshalBinary ¶
func (o *PostTrsrvSecdefBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostTrsrvSecdefOK ¶
PostTrsrvSecdefOK handles this case with default header values.
returns an array of secdef info
func NewPostTrsrvSecdefOK ¶
func NewPostTrsrvSecdefOK() *PostTrsrvSecdefOK
NewPostTrsrvSecdefOK creates a PostTrsrvSecdefOK with default headers values
func (*PostTrsrvSecdefOK) Error ¶
func (o *PostTrsrvSecdefOK) Error() string
func (*PostTrsrvSecdefOK) GetPayload ¶
func (o *PostTrsrvSecdefOK) GetPayload() models.Secdef
type PostTrsrvSecdefParams ¶
type PostTrsrvSecdefParams struct { /*Body request body */ Body PostTrsrvSecdefBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostTrsrvSecdefParams contains all the parameters to send to the API endpoint for the post trsrv secdef operation typically these are written to a http.Request
func NewPostTrsrvSecdefParams ¶
func NewPostTrsrvSecdefParams() *PostTrsrvSecdefParams
NewPostTrsrvSecdefParams creates a new PostTrsrvSecdefParams object with the default values initialized.
func NewPostTrsrvSecdefParamsWithContext ¶
func NewPostTrsrvSecdefParamsWithContext(ctx context.Context) *PostTrsrvSecdefParams
NewPostTrsrvSecdefParamsWithContext creates a new PostTrsrvSecdefParams object with the default values initialized, and the ability to set a context for a request
func NewPostTrsrvSecdefParamsWithHTTPClient ¶
func NewPostTrsrvSecdefParamsWithHTTPClient(client *http.Client) *PostTrsrvSecdefParams
NewPostTrsrvSecdefParamsWithHTTPClient creates a new PostTrsrvSecdefParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostTrsrvSecdefParamsWithTimeout ¶
func NewPostTrsrvSecdefParamsWithTimeout(timeout time.Duration) *PostTrsrvSecdefParams
NewPostTrsrvSecdefParamsWithTimeout creates a new PostTrsrvSecdefParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostTrsrvSecdefParams) SetBody ¶
func (o *PostTrsrvSecdefParams) SetBody(body PostTrsrvSecdefBody)
SetBody adds the body to the post trsrv secdef params
func (*PostTrsrvSecdefParams) SetContext ¶
func (o *PostTrsrvSecdefParams) SetContext(ctx context.Context)
SetContext adds the context to the post trsrv secdef params
func (*PostTrsrvSecdefParams) SetHTTPClient ¶
func (o *PostTrsrvSecdefParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post trsrv secdef params
func (*PostTrsrvSecdefParams) SetTimeout ¶
func (o *PostTrsrvSecdefParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post trsrv secdef params
func (*PostTrsrvSecdefParams) WithBody ¶
func (o *PostTrsrvSecdefParams) WithBody(body PostTrsrvSecdefBody) *PostTrsrvSecdefParams
WithBody adds the body to the post trsrv secdef params
func (*PostTrsrvSecdefParams) WithContext ¶
func (o *PostTrsrvSecdefParams) WithContext(ctx context.Context) *PostTrsrvSecdefParams
WithContext adds the context to the post trsrv secdef params
func (*PostTrsrvSecdefParams) WithHTTPClient ¶
func (o *PostTrsrvSecdefParams) WithHTTPClient(client *http.Client) *PostTrsrvSecdefParams
WithHTTPClient adds the HTTPClient to the post trsrv secdef params
func (*PostTrsrvSecdefParams) WithTimeout ¶
func (o *PostTrsrvSecdefParams) WithTimeout(timeout time.Duration) *PostTrsrvSecdefParams
WithTimeout adds the timeout to the post trsrv secdef params
func (*PostTrsrvSecdefParams) WriteToRequest ¶
func (o *PostTrsrvSecdefParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostTrsrvSecdefReader ¶
type PostTrsrvSecdefReader struct {
// contains filtered or unexported fields
}
PostTrsrvSecdefReader is a Reader for the PostTrsrvSecdef structure.
func (*PostTrsrvSecdefReader) ReadResponse ¶
func (o *PostTrsrvSecdefReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- contract_client.go
- get_iserver_contract_conid_info_parameters.go
- get_iserver_contract_conid_info_responses.go
- get_trsrv_futures_parameters.go
- get_trsrv_futures_responses.go
- post_iserver_secdef_search_responses.go
- post_secdef_search_parameters.go
- post_trsrv_secdef_parameters.go
- post_trsrv_secdef_responses.go