GoodMem
ReferenceClient SDKsGo SDKModels

SpaceEmbedder Model

SpaceEmbedder Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
SpaceIdstringThe unique identifier for the space.
EmbedderIdstringThe unique identifier for the embedder.
DefaultRetrievalWeightfloat64The default weight for this embedder during retrieval operations.
CreatedAtint64Timestamp when this association was created (milliseconds since epoch).
UpdatedAtint64Timestamp when this association was last updated (milliseconds since epoch).
CreatedByIdstringThe ID of the user who created this association.
UpdatedByIdstringThe ID of the user who last updated this association.

Methods

NewSpaceEmbedder

func NewSpaceEmbedder(spaceId string, embedderId string, defaultRetrievalWeight float64, createdAt int64, updatedAt int64, createdById string, updatedById string, ) *SpaceEmbedder

NewSpaceEmbedder instantiates a new SpaceEmbedder 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

NewSpaceEmbedderWithDefaults

func NewSpaceEmbedderWithDefaults() *SpaceEmbedder

NewSpaceEmbedderWithDefaults instantiates a new SpaceEmbedder 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 *SpaceEmbedder) GetSpaceId() string

GetSpaceId returns the SpaceId field if non-nil, zero value otherwise.

GetSpaceIdOk

func (o *SpaceEmbedder) 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 *SpaceEmbedder) SetSpaceId(v string)

SetSpaceId sets SpaceId field to given value.

GetEmbedderId

func (o *SpaceEmbedder) GetEmbedderId() string

GetEmbedderId returns the EmbedderId field if non-nil, zero value otherwise.

GetEmbedderIdOk

func (o *SpaceEmbedder) 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 *SpaceEmbedder) SetEmbedderId(v string)

SetEmbedderId sets EmbedderId field to given value.

GetDefaultRetrievalWeight

func (o *SpaceEmbedder) GetDefaultRetrievalWeight() float64

GetDefaultRetrievalWeight returns the DefaultRetrievalWeight field if non-nil, zero value otherwise.

GetDefaultRetrievalWeightOk

func (o *SpaceEmbedder) GetDefaultRetrievalWeightOk() (*float64, bool)

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

SetDefaultRetrievalWeight

func (o *SpaceEmbedder) SetDefaultRetrievalWeight(v float64)

SetDefaultRetrievalWeight sets DefaultRetrievalWeight field to given value.

GetCreatedAt

func (o *SpaceEmbedder) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *SpaceEmbedder) GetCreatedAtOk() (*int64, bool)

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

SetCreatedAt

func (o *SpaceEmbedder) SetCreatedAt(v int64)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *SpaceEmbedder) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *SpaceEmbedder) GetUpdatedAtOk() (*int64, bool)

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

SetUpdatedAt

func (o *SpaceEmbedder) SetUpdatedAt(v int64)

SetUpdatedAt sets UpdatedAt field to given value.

GetCreatedById

func (o *SpaceEmbedder) GetCreatedById() string

GetCreatedById returns the CreatedById field if non-nil, zero value otherwise.

GetCreatedByIdOk

func (o *SpaceEmbedder) GetCreatedByIdOk() (*string, bool)

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

SetCreatedById

func (o *SpaceEmbedder) SetCreatedById(v string)

SetCreatedById sets CreatedById field to given value.

GetUpdatedById

func (o *SpaceEmbedder) GetUpdatedById() string

GetUpdatedById returns the UpdatedById field if non-nil, zero value otherwise.

GetUpdatedByIdOk

func (o *SpaceEmbedder) GetUpdatedByIdOk() (*string, bool)

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

SetUpdatedById

func (o *SpaceEmbedder) SetUpdatedById(v string)

SetUpdatedById sets UpdatedById field to given value.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK