AbstractReply
AbstractReply documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Text | string | Generated abstractive reply text | |
| RelevanceScore | float64 | Relevance score for this reply (0.0 to 1.0) | |
| ResultSetId | Pointer to NullableString | Optional result set ID linking this abstract to a specific result set | [optional] |
Methods
NewAbstractReply
func NewAbstractReply(text string, relevanceScore float64, ) *AbstractReply
NewAbstractReply instantiates a new AbstractReply 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
NewAbstractReplyWithDefaults
func NewAbstractReplyWithDefaults() *AbstractReply
NewAbstractReplyWithDefaults instantiates a new AbstractReply 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
GetText
func (o *AbstractReply) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
GetTextOk
func (o *AbstractReply) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetText
func (o *AbstractReply) SetText(v string)
SetText sets Text field to given value.
GetRelevanceScore
func (o *AbstractReply) GetRelevanceScore() float64
GetRelevanceScore returns the RelevanceScore field if non-nil, zero value otherwise.
GetRelevanceScoreOk
func (o *AbstractReply) GetRelevanceScoreOk() (*float64, bool)
GetRelevanceScoreOk returns a tuple with the RelevanceScore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRelevanceScore
func (o *AbstractReply) SetRelevanceScore(v float64)
SetRelevanceScore sets RelevanceScore field to given value.
GetResultSetId
func (o *AbstractReply) GetResultSetId() string
GetResultSetId returns the ResultSetId field if non-nil, zero value otherwise.
GetResultSetIdOk
func (o *AbstractReply) GetResultSetIdOk() (*string, bool)
GetResultSetIdOk returns a tuple with the ResultSetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetResultSetId
func (o *AbstractReply) SetResultSetId(v string)
SetResultSetId sets ResultSetId field to given value.
HasResultSetId
func (o *AbstractReply) HasResultSetId() bool
HasResultSetId returns a boolean if a field has been set.
SetResultSetIdNil
func (o *AbstractReply) SetResultSetIdNil(b bool)
SetResultSetIdNil sets the value for ResultSetId to be an explicit nil
UnsetResultSetId
func (o *AbstractReply) UnsetResultSetId()
UnsetResultSetId ensures that no value is present for ResultSetId, not even an explicit nil