Files
sdk/docs/BooksAskResponse.md

3.9 KiB

BooksAskResponse

Properties

Name Type Description Notes
Answer Pointer to string Answer is one or two sentences answering the question, every number in it taken from Figures. [optional]
Figures Pointer to []BooksFigure Figures are the grounded numbers the answer states, each already formatted. [optional]
Followups Pointer to []string Followups are sharper questions to ask next, chosen from the same intent. [optional]
Sources Pointer to []string Sources name the books reports the figures were computed from — "pnl", "position", "trial". [optional]

Methods

NewBooksAskResponse

func NewBooksAskResponse() *BooksAskResponse

NewBooksAskResponse instantiates a new BooksAskResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewBooksAskResponseWithDefaults

func NewBooksAskResponseWithDefaults() *BooksAskResponse

NewBooksAskResponseWithDefaults instantiates a new BooksAskResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAnswer

func (o *BooksAskResponse) GetAnswer() string

GetAnswer returns the Answer field if non-nil, zero value otherwise.

GetAnswerOk

func (o *BooksAskResponse) GetAnswerOk() (*string, bool)

GetAnswerOk returns a tuple with the Answer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAnswer

func (o *BooksAskResponse) SetAnswer(v string)

SetAnswer sets Answer field to given value.

HasAnswer

func (o *BooksAskResponse) HasAnswer() bool

HasAnswer returns a boolean if a field has been set.

GetFigures

func (o *BooksAskResponse) GetFigures() []BooksFigure

GetFigures returns the Figures field if non-nil, zero value otherwise.

GetFiguresOk

func (o *BooksAskResponse) GetFiguresOk() (*[]BooksFigure, bool)

GetFiguresOk returns a tuple with the Figures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFigures

func (o *BooksAskResponse) SetFigures(v []BooksFigure)

SetFigures sets Figures field to given value.

HasFigures

func (o *BooksAskResponse) HasFigures() bool

HasFigures returns a boolean if a field has been set.

GetFollowups

func (o *BooksAskResponse) GetFollowups() []string

GetFollowups returns the Followups field if non-nil, zero value otherwise.

GetFollowupsOk

func (o *BooksAskResponse) GetFollowupsOk() (*[]string, bool)

GetFollowupsOk returns a tuple with the Followups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFollowups

func (o *BooksAskResponse) SetFollowups(v []string)

SetFollowups sets Followups field to given value.

HasFollowups

func (o *BooksAskResponse) HasFollowups() bool

HasFollowups returns a boolean if a field has been set.

GetSources

func (o *BooksAskResponse) GetSources() []string

GetSources returns the Sources field if non-nil, zero value otherwise.

GetSourcesOk

func (o *BooksAskResponse) GetSourcesOk() (*[]string, bool)

GetSourcesOk returns a tuple with the Sources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSources

func (o *BooksAskResponse) SetSources(v []string)

SetSources sets Sources field to given value.

HasSources

func (o *BooksAskResponse) HasSources() bool

HasSources returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]