portfolio_analyst

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: 11 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 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

func (*PostPaPerformanceBody) Validate

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

Validate validates this post pa performance body

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

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

WithBody adds the body to the post pa performance params

func (*PostPaPerformanceParams) WithContext

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

WithTimeout adds the timeout to the post pa performance params

func (*PostPaPerformanceParams) WriteToRequest

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

func (*PostPaSummaryBody) Validate

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

Validate validates this post pa summary body

type PostPaSummaryOK

type PostPaSummaryOK struct {
	Payload *models.Summary
}

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

WithBody adds the body to the post pa summary params

func (*PostPaSummaryParams) WithContext

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.

Jump to

Keyboard shortcuts

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