EmbedderWeight Model
EmbedderWeight Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| EmbedderId | string | The unique identifier for the embedder. | |
| Weight | float64 | The weight to apply to this embedder's results. Can be positive, negative, or zero. |
Methods
NewEmbedderWeight
func NewEmbedderWeight(embedderId string, weight float64, ) *EmbedderWeight
NewEmbedderWeight instantiates a new EmbedderWeight 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
NewEmbedderWeightWithDefaults
func NewEmbedderWeightWithDefaults() *EmbedderWeight
NewEmbedderWeightWithDefaults instantiates a new EmbedderWeight 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
GetEmbedderId
func (o *EmbedderWeight) GetEmbedderId() string
GetEmbedderId returns the EmbedderId field if non-nil, zero value otherwise.
GetEmbedderIdOk
func (o *EmbedderWeight) GetEmbedderIdOk() (*string, bool)
GetEmbedderIdOk returns a tuple with the EmbedderId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEmbedderId
func (o *EmbedderWeight) SetEmbedderId(v string)
SetEmbedderId sets EmbedderId field to given value.
GetWeight
func (o *EmbedderWeight) GetWeight() float64
GetWeight returns the Weight field if non-nil, zero value otherwise.
GetWeightOk
func (o *EmbedderWeight) GetWeightOk() (*float64, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWeight
func (o *EmbedderWeight) SetWeight(v float64)
SetWeight sets Weight field to given value.