GoodMem
ReferenceClient SDKsGo SDKModels

EmbedderResponse Model

EmbedderResponse Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
EmbedderIdstringUnique identifier of the embedder
DisplayNamestringUser-facing name of the embedder
DescriptionPointer to NullableStringDescription of the embedder[optional]
ProviderTypeProviderType
EndpointUrlstringAPI endpoint URL
ApiPathstringAPI path for embeddings request
ModelIdentifierstringModel identifier
Dimensionalityint32Output vector dimensions
DistributionTypeDistributionType
MaxSequenceLengthPointer to NullableInt32Maximum input sequence length[optional]
SupportedModalitiesPointer to []ModalitySupported content modalities[optional]
LabelsPointer to map[string]stringUser-defined labels for categorization[optional]
VersionPointer to NullableStringVersion information[optional]
MonitoringEndpointPointer to NullableStringMonitoring endpoint URL[optional]
OwnerIdstringOwner ID of the embedder
CreatedAtint64Creation timestamp (milliseconds since epoch)
UpdatedAtint64Last update timestamp (milliseconds since epoch)
CreatedByIdstringID of the user who created the embedder
UpdatedByIdstringID of the user who last updated the embedder

Methods

NewEmbedderResponse

func NewEmbedderResponse(embedderId string, displayName string, providerType ProviderType, endpointUrl string, apiPath string, modelIdentifier string, dimensionality int32, distributionType DistributionType, ownerId string, createdAt int64, updatedAt int64, createdById string, updatedById string, ) *EmbedderResponse

NewEmbedderResponse instantiates a new EmbedderResponse 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

NewEmbedderResponseWithDefaults

func NewEmbedderResponseWithDefaults() *EmbedderResponse

NewEmbedderResponseWithDefaults instantiates a new EmbedderResponse 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 *EmbedderResponse) GetEmbedderId() string

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

GetEmbedderIdOk

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

SetEmbedderId sets EmbedderId field to given value.

GetDisplayName

func (o *EmbedderResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *EmbedderResponse) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *EmbedderResponse) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

GetDescription

func (o *EmbedderResponse) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *EmbedderResponse) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *EmbedderResponse) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *EmbedderResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *EmbedderResponse) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *EmbedderResponse) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetProviderType

func (o *EmbedderResponse) GetProviderType() ProviderType

GetProviderType returns the ProviderType field if non-nil, zero value otherwise.

GetProviderTypeOk

func (o *EmbedderResponse) GetProviderTypeOk() (*ProviderType, bool)

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

SetProviderType

func (o *EmbedderResponse) SetProviderType(v ProviderType)

SetProviderType sets ProviderType field to given value.

GetEndpointUrl

func (o *EmbedderResponse) GetEndpointUrl() string

GetEndpointUrl returns the EndpointUrl field if non-nil, zero value otherwise.

GetEndpointUrlOk

func (o *EmbedderResponse) GetEndpointUrlOk() (*string, bool)

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

SetEndpointUrl

func (o *EmbedderResponse) SetEndpointUrl(v string)

SetEndpointUrl sets EndpointUrl field to given value.

GetApiPath

func (o *EmbedderResponse) GetApiPath() string

GetApiPath returns the ApiPath field if non-nil, zero value otherwise.

GetApiPathOk

func (o *EmbedderResponse) GetApiPathOk() (*string, bool)

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

SetApiPath

func (o *EmbedderResponse) SetApiPath(v string)

SetApiPath sets ApiPath field to given value.

GetModelIdentifier

func (o *EmbedderResponse) GetModelIdentifier() string

GetModelIdentifier returns the ModelIdentifier field if non-nil, zero value otherwise.

GetModelIdentifierOk

func (o *EmbedderResponse) GetModelIdentifierOk() (*string, bool)

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

SetModelIdentifier

func (o *EmbedderResponse) SetModelIdentifier(v string)

SetModelIdentifier sets ModelIdentifier field to given value.

GetDimensionality

func (o *EmbedderResponse) GetDimensionality() int32

GetDimensionality returns the Dimensionality field if non-nil, zero value otherwise.

GetDimensionalityOk

func (o *EmbedderResponse) GetDimensionalityOk() (*int32, bool)

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

SetDimensionality

func (o *EmbedderResponse) SetDimensionality(v int32)

SetDimensionality sets Dimensionality field to given value.

GetDistributionType

func (o *EmbedderResponse) GetDistributionType() DistributionType

GetDistributionType returns the DistributionType field if non-nil, zero value otherwise.

GetDistributionTypeOk

func (o *EmbedderResponse) GetDistributionTypeOk() (*DistributionType, bool)

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

SetDistributionType

func (o *EmbedderResponse) SetDistributionType(v DistributionType)

SetDistributionType sets DistributionType field to given value.

GetMaxSequenceLength

func (o *EmbedderResponse) GetMaxSequenceLength() int32

GetMaxSequenceLength returns the MaxSequenceLength field if non-nil, zero value otherwise.

GetMaxSequenceLengthOk

func (o *EmbedderResponse) GetMaxSequenceLengthOk() (*int32, bool)

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

SetMaxSequenceLength

func (o *EmbedderResponse) SetMaxSequenceLength(v int32)

SetMaxSequenceLength sets MaxSequenceLength field to given value.

HasMaxSequenceLength

func (o *EmbedderResponse) HasMaxSequenceLength() bool

HasMaxSequenceLength returns a boolean if a field has been set.

SetMaxSequenceLengthNil

func (o *EmbedderResponse) SetMaxSequenceLengthNil(b bool)

SetMaxSequenceLengthNil sets the value for MaxSequenceLength to be an explicit nil

UnsetMaxSequenceLength

func (o *EmbedderResponse) UnsetMaxSequenceLength()

UnsetMaxSequenceLength ensures that no value is present for MaxSequenceLength, not even an explicit nil

GetSupportedModalities

func (o *EmbedderResponse) GetSupportedModalities() []Modality

GetSupportedModalities returns the SupportedModalities field if non-nil, zero value otherwise.

GetSupportedModalitiesOk

func (o *EmbedderResponse) GetSupportedModalitiesOk() (*[]Modality, bool)

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

SetSupportedModalities

func (o *EmbedderResponse) SetSupportedModalities(v []Modality)

SetSupportedModalities sets SupportedModalities field to given value.

HasSupportedModalities

func (o *EmbedderResponse) HasSupportedModalities() bool

HasSupportedModalities returns a boolean if a field has been set.

SetSupportedModalitiesNil

func (o *EmbedderResponse) SetSupportedModalitiesNil(b bool)

SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil

UnsetSupportedModalities

func (o *EmbedderResponse) UnsetSupportedModalities()

UnsetSupportedModalities ensures that no value is present for SupportedModalities, not even an explicit nil

GetLabels

func (o *EmbedderResponse) GetLabels() map[string]string

GetLabels returns the Labels field if non-nil, zero value otherwise.

GetLabelsOk

func (o *EmbedderResponse) GetLabelsOk() (*map[string]string, bool)

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

SetLabels

func (o *EmbedderResponse) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

HasLabels

func (o *EmbedderResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

SetLabelsNil

func (o *EmbedderResponse) SetLabelsNil(b bool)

SetLabelsNil sets the value for Labels to be an explicit nil

UnsetLabels

func (o *EmbedderResponse) UnsetLabels()

UnsetLabels ensures that no value is present for Labels, not even an explicit nil

GetVersion

func (o *EmbedderResponse) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *EmbedderResponse) GetVersionOk() (*string, bool)

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

SetVersion

func (o *EmbedderResponse) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *EmbedderResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

SetVersionNil

func (o *EmbedderResponse) SetVersionNil(b bool)

SetVersionNil sets the value for Version to be an explicit nil

UnsetVersion

func (o *EmbedderResponse) UnsetVersion()

UnsetVersion ensures that no value is present for Version, not even an explicit nil

GetMonitoringEndpoint

func (o *EmbedderResponse) GetMonitoringEndpoint() string

GetMonitoringEndpoint returns the MonitoringEndpoint field if non-nil, zero value otherwise.

GetMonitoringEndpointOk

func (o *EmbedderResponse) GetMonitoringEndpointOk() (*string, bool)

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

SetMonitoringEndpoint

func (o *EmbedderResponse) SetMonitoringEndpoint(v string)

SetMonitoringEndpoint sets MonitoringEndpoint field to given value.

HasMonitoringEndpoint

func (o *EmbedderResponse) HasMonitoringEndpoint() bool

HasMonitoringEndpoint returns a boolean if a field has been set.

SetMonitoringEndpointNil

func (o *EmbedderResponse) SetMonitoringEndpointNil(b bool)

SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil

UnsetMonitoringEndpoint

func (o *EmbedderResponse) UnsetMonitoringEndpoint()

UnsetMonitoringEndpoint ensures that no value is present for MonitoringEndpoint, not even an explicit nil

GetOwnerId

func (o *EmbedderResponse) GetOwnerId() string

GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.

GetOwnerIdOk

func (o *EmbedderResponse) GetOwnerIdOk() (*string, bool)

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

SetOwnerId

func (o *EmbedderResponse) SetOwnerId(v string)

SetOwnerId sets OwnerId field to given value.

GetCreatedAt

func (o *EmbedderResponse) GetCreatedAt() int64

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

GetCreatedAtOk

func (o *EmbedderResponse) 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 *EmbedderResponse) SetCreatedAt(v int64)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *EmbedderResponse) GetUpdatedAt() int64

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

GetUpdatedAtOk

func (o *EmbedderResponse) 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 *EmbedderResponse) SetUpdatedAt(v int64)

SetUpdatedAt sets UpdatedAt field to given value.

GetCreatedById

func (o *EmbedderResponse) GetCreatedById() string

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

GetCreatedByIdOk

func (o *EmbedderResponse) 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 *EmbedderResponse) SetCreatedById(v string)

SetCreatedById sets CreatedById field to given value.

GetUpdatedById

func (o *EmbedderResponse) GetUpdatedById() string

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

GetUpdatedByIdOk

func (o *EmbedderResponse) 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 *EmbedderResponse) SetUpdatedById(v string)

SetUpdatedById sets UpdatedById field to given value.

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