Documentation ¶
Index ¶
- type Client
- type PostPaPerformanceBody
- type PostPaPerformanceOK
- type PostPaPerformanceParams
- func NewPostPaPerformanceParams() *PostPaPerformanceParams
- func NewPostPaPerformanceParamsWithContext(ctx context.Context) *PostPaPerformanceParams
- func NewPostPaPerformanceParamsWithHTTPClient(client *http.Client) *PostPaPerformanceParams
- func NewPostPaPerformanceParamsWithTimeout(timeout time.Duration) *PostPaPerformanceParams
- func (o *PostPaPerformanceParams) SetBody(body PostPaPerformanceBody)
- func (o *PostPaPerformanceParams) SetContext(ctx context.Context)
- func (o *PostPaPerformanceParams) SetHTTPClient(client *http.Client)
- func (o *PostPaPerformanceParams) SetTimeout(timeout time.Duration)
- func (o *PostPaPerformanceParams) WithBody(body PostPaPerformanceBody) *PostPaPerformanceParams
- func (o *PostPaPerformanceParams) WithContext(ctx context.Context) *PostPaPerformanceParams
- func (o *PostPaPerformanceParams) WithHTTPClient(client *http.Client) *PostPaPerformanceParams
- func (o *PostPaPerformanceParams) WithTimeout(timeout time.Duration) *PostPaPerformanceParams
- func (o *PostPaPerformanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPaPerformanceReader
- type PostPaSummaryBody
- type PostPaSummaryOK
- type PostPaSummaryParams
- func (o *PostPaSummaryParams) SetBody(body PostPaSummaryBody)
- func (o *PostPaSummaryParams) SetContext(ctx context.Context)
- func (o *PostPaSummaryParams) SetHTTPClient(client *http.Client)
- func (o *PostPaSummaryParams) SetTimeout(timeout time.Duration)
- func (o *PostPaSummaryParams) WithBody(body PostPaSummaryBody) *PostPaSummaryParams
- func (o *PostPaSummaryParams) WithContext(ctx context.Context) *PostPaSummaryParams
- func (o *PostPaSummaryParams) WithHTTPClient(client *http.Client) *PostPaSummaryParams
- func (o *PostPaSummaryParams) WithTimeout(timeout time.Duration) *PostPaSummaryParams
- func (o *PostPaSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostPaSummaryReader
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 portfolio analyst API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new portfolio analyst API client.
func (*Client) PostPaPerformance ¶
func (a *Client) PostPaPerformance(params *PostPaPerformanceParams) (*PostPaPerformanceOK, error)
PostPaPerformance accounts performance
Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.
func (*Client) PostPaSummary ¶
func (a *Client) PostPaSummary(params *PostPaSummaryParams) (*PostPaSummaryOK, error)
PostPaSummary accounts balance s summary
Returns a summary of all account balances for the given accounts, if more than one account is passed, the result is consolidated.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PostPaPerformanceBody ¶
type PostPaPerformanceBody struct { // acct ids AcctIds []string `json:"acctIds"` }
PostPaPerformanceBody post pa performance body swagger:model PostPaPerformanceBody
func (*PostPaPerformanceBody) MarshalBinary ¶
func (o *PostPaPerformanceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPaPerformanceBody) UnmarshalBinary ¶
func (o *PostPaPerformanceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPaPerformanceOK ¶
type PostPaPerformanceOK struct {
Payload *models.Performance
}
PostPaPerformanceOK handles this case with default header values.
returns an object
func NewPostPaPerformanceOK ¶
func NewPostPaPerformanceOK() *PostPaPerformanceOK
NewPostPaPerformanceOK creates a PostPaPerformanceOK with default headers values
func (*PostPaPerformanceOK) Error ¶
func (o *PostPaPerformanceOK) Error() string
func (*PostPaPerformanceOK) GetPayload ¶
func (o *PostPaPerformanceOK) GetPayload() *models.Performance
type PostPaPerformanceParams ¶
type PostPaPerformanceParams struct { /*Body an array of account ids */ Body PostPaPerformanceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPaPerformanceParams contains all the parameters to send to the API endpoint for the post pa performance operation typically these are written to a http.Request
func NewPostPaPerformanceParams ¶
func NewPostPaPerformanceParams() *PostPaPerformanceParams
NewPostPaPerformanceParams creates a new PostPaPerformanceParams object with the default values initialized.
func NewPostPaPerformanceParamsWithContext ¶
func NewPostPaPerformanceParamsWithContext(ctx context.Context) *PostPaPerformanceParams
NewPostPaPerformanceParamsWithContext creates a new PostPaPerformanceParams object with the default values initialized, and the ability to set a context for a request
func NewPostPaPerformanceParamsWithHTTPClient ¶
func NewPostPaPerformanceParamsWithHTTPClient(client *http.Client) *PostPaPerformanceParams
NewPostPaPerformanceParamsWithHTTPClient creates a new PostPaPerformanceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPaPerformanceParamsWithTimeout ¶
func NewPostPaPerformanceParamsWithTimeout(timeout time.Duration) *PostPaPerformanceParams
NewPostPaPerformanceParamsWithTimeout creates a new PostPaPerformanceParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPaPerformanceParams) SetBody ¶
func (o *PostPaPerformanceParams) SetBody(body PostPaPerformanceBody)
SetBody adds the body to the post pa performance params
func (*PostPaPerformanceParams) SetContext ¶
func (o *PostPaPerformanceParams) SetContext(ctx context.Context)
SetContext adds the context to the post pa performance params
func (*PostPaPerformanceParams) SetHTTPClient ¶
func (o *PostPaPerformanceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post pa performance params
func (*PostPaPerformanceParams) SetTimeout ¶
func (o *PostPaPerformanceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post pa performance params
func (*PostPaPerformanceParams) WithBody ¶
func (o *PostPaPerformanceParams) WithBody(body PostPaPerformanceBody) *PostPaPerformanceParams
WithBody adds the body to the post pa performance params
func (*PostPaPerformanceParams) WithContext ¶
func (o *PostPaPerformanceParams) WithContext(ctx context.Context) *PostPaPerformanceParams
WithContext adds the context to the post pa performance params
func (*PostPaPerformanceParams) WithHTTPClient ¶
func (o *PostPaPerformanceParams) WithHTTPClient(client *http.Client) *PostPaPerformanceParams
WithHTTPClient adds the HTTPClient to the post pa performance params
func (*PostPaPerformanceParams) WithTimeout ¶
func (o *PostPaPerformanceParams) WithTimeout(timeout time.Duration) *PostPaPerformanceParams
WithTimeout adds the timeout to the post pa performance params
func (*PostPaPerformanceParams) WriteToRequest ¶
func (o *PostPaPerformanceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPaPerformanceReader ¶
type PostPaPerformanceReader struct {
// contains filtered or unexported fields
}
PostPaPerformanceReader is a Reader for the PostPaPerformance structure.
func (*PostPaPerformanceReader) ReadResponse ¶
func (o *PostPaPerformanceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostPaSummaryBody ¶
type PostPaSummaryBody struct { // acct ids AcctIds []string `json:"acctIds"` }
PostPaSummaryBody post pa summary body swagger:model PostPaSummaryBody
func (*PostPaSummaryBody) MarshalBinary ¶
func (o *PostPaSummaryBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostPaSummaryBody) UnmarshalBinary ¶
func (o *PostPaSummaryBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostPaSummaryOK ¶
PostPaSummaryOK handles this case with default header values.
returns an object
func NewPostPaSummaryOK ¶
func NewPostPaSummaryOK() *PostPaSummaryOK
NewPostPaSummaryOK creates a PostPaSummaryOK with default headers values
func (*PostPaSummaryOK) Error ¶
func (o *PostPaSummaryOK) Error() string
func (*PostPaSummaryOK) GetPayload ¶
func (o *PostPaSummaryOK) GetPayload() *models.Summary
type PostPaSummaryParams ¶
type PostPaSummaryParams struct { /*Body an array of account ids */ Body PostPaSummaryBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostPaSummaryParams contains all the parameters to send to the API endpoint for the post pa summary operation typically these are written to a http.Request
func NewPostPaSummaryParams ¶
func NewPostPaSummaryParams() *PostPaSummaryParams
NewPostPaSummaryParams creates a new PostPaSummaryParams object with the default values initialized.
func NewPostPaSummaryParamsWithContext ¶
func NewPostPaSummaryParamsWithContext(ctx context.Context) *PostPaSummaryParams
NewPostPaSummaryParamsWithContext creates a new PostPaSummaryParams object with the default values initialized, and the ability to set a context for a request
func NewPostPaSummaryParamsWithHTTPClient ¶
func NewPostPaSummaryParamsWithHTTPClient(client *http.Client) *PostPaSummaryParams
NewPostPaSummaryParamsWithHTTPClient creates a new PostPaSummaryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostPaSummaryParamsWithTimeout ¶
func NewPostPaSummaryParamsWithTimeout(timeout time.Duration) *PostPaSummaryParams
NewPostPaSummaryParamsWithTimeout creates a new PostPaSummaryParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostPaSummaryParams) SetBody ¶
func (o *PostPaSummaryParams) SetBody(body PostPaSummaryBody)
SetBody adds the body to the post pa summary params
func (*PostPaSummaryParams) SetContext ¶
func (o *PostPaSummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the post pa summary params
func (*PostPaSummaryParams) SetHTTPClient ¶
func (o *PostPaSummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post pa summary params
func (*PostPaSummaryParams) SetTimeout ¶
func (o *PostPaSummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post pa summary params
func (*PostPaSummaryParams) WithBody ¶
func (o *PostPaSummaryParams) WithBody(body PostPaSummaryBody) *PostPaSummaryParams
WithBody adds the body to the post pa summary params
func (*PostPaSummaryParams) WithContext ¶
func (o *PostPaSummaryParams) WithContext(ctx context.Context) *PostPaSummaryParams
WithContext adds the context to the post pa summary params
func (*PostPaSummaryParams) WithHTTPClient ¶
func (o *PostPaSummaryParams) WithHTTPClient(client *http.Client) *PostPaSummaryParams
WithHTTPClient adds the HTTPClient to the post pa summary params
func (*PostPaSummaryParams) WithTimeout ¶
func (o *PostPaSummaryParams) WithTimeout(timeout time.Duration) *PostPaSummaryParams
WithTimeout adds the timeout to the post pa summary params
func (*PostPaSummaryParams) WriteToRequest ¶
func (o *PostPaSummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostPaSummaryReader ¶
type PostPaSummaryReader struct {
// contains filtered or unexported fields
}
PostPaSummaryReader is a Reader for the PostPaSummary structure.
func (*PostPaSummaryReader) ReadResponse ¶
func (o *PostPaSummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.