SpaceKey Model
SpaceKey Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| SpaceId | string | The unique identifier for the space to search. | |
| EmbedderWeights | Pointer to []EmbedderWeight | Optional per-embedder weight overrides for this space. If not specified, database defaults are used. | [optional] |
| Filter | Pointer to NullableString | Optional filter expression that must evaluate to true for memories in this space. | [optional] |
Methods
NewSpaceKey
func NewSpaceKey(spaceId string, ) *SpaceKey
NewSpaceKey instantiates a new SpaceKey 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
NewSpaceKeyWithDefaults
func NewSpaceKeyWithDefaults() *SpaceKey
NewSpaceKeyWithDefaults instantiates a new SpaceKey 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
GetSpaceId
func (o *SpaceKey) GetSpaceId() string
GetSpaceId returns the SpaceId field if non-nil, zero value otherwise.
GetSpaceIdOk
func (o *SpaceKey) GetSpaceIdOk() (*string, bool)
GetSpaceIdOk returns a tuple with the SpaceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSpaceId
func (o *SpaceKey) SetSpaceId(v string)
SetSpaceId sets SpaceId field to given value.
GetEmbedderWeights
func (o *SpaceKey) GetEmbedderWeights() []EmbedderWeight
GetEmbedderWeights returns the EmbedderWeights field if non-nil, zero value otherwise.
GetEmbedderWeightsOk
func (o *SpaceKey) GetEmbedderWeightsOk() (*[]EmbedderWeight, bool)
GetEmbedderWeightsOk returns a tuple with the EmbedderWeights field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEmbedderWeights
func (o *SpaceKey) SetEmbedderWeights(v []EmbedderWeight)
SetEmbedderWeights sets EmbedderWeights field to given value.
HasEmbedderWeights
func (o *SpaceKey) HasEmbedderWeights() bool
HasEmbedderWeights returns a boolean if a field has been set.
SetEmbedderWeightsNil
func (o *SpaceKey) SetEmbedderWeightsNil(b bool)
SetEmbedderWeightsNil sets the value for EmbedderWeights to be an explicit nil
UnsetEmbedderWeights
func (o *SpaceKey) UnsetEmbedderWeights()
UnsetEmbedderWeights ensures that no value is present for EmbedderWeights, not even an explicit nil
GetFilter
func (o *SpaceKey) GetFilter() string
GetFilter returns the Filter field if non-nil, zero value otherwise.
GetFilterOk
func (o *SpaceKey) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFilter
func (o *SpaceKey) SetFilter(v string)
SetFilter sets Filter field to given value.
HasFilter
func (o *SpaceKey) HasFilter() bool
HasFilter returns a boolean if a field has been set.
SetFilterNil
func (o *SpaceKey) SetFilterNil(b bool)
SetFilterNil sets the value for Filter to be an explicit nil
UnsetFilter
func (o *SpaceKey) UnsetFilter()
UnsetFilter ensures that no value is present for Filter, not even an explicit nil