GoodMem
ReferenceClient SDKsGo SDKRequests

UpdateEmbedderRequest

UpdateEmbedderRequest documentation for Go SDK

Properties

NameTypeDescriptionNotes
ValidateLabelStrategyPointer to map[string]interface[optional]
DisplayNamePointer to NullableStringUser-facing name of the embedder[optional]
DescriptionPointer to NullableStringDescription of the embedder[optional]
EndpointUrlPointer to NullableStringAPI endpoint URL[optional]
ApiPathPointer to NullableStringAPI path for embeddings request[optional]
ModelIdentifierPointer to NullableStringModel identifier[optional]
DimensionalityPointer to NullableInt32Output vector dimensions[optional]
MaxSequenceLengthPointer to NullableInt32Maximum input sequence length[optional]
SupportedModalitiesPointer to []ModalitySupported content modalities[optional]
CredentialsPointer to EndpointAuthentication[optional]
ReplaceLabelsPointer to map[string]stringReplace all existing labels with these (mutually exclusive with mergeLabels)[optional]
MergeLabelsPointer to map[string]stringMerge these labels with existing ones (mutually exclusive with replaceLabels)[optional]
VersionPointer to NullableStringVersion information[optional]
MonitoringEndpointPointer to NullableStringMonitoring endpoint URL[optional]

Methods

NewUpdateEmbedderRequest

func NewUpdateEmbedderRequest() *UpdateEmbedderRequest

NewUpdateEmbedderRequest instantiates a new UpdateEmbedderRequest 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

NewUpdateEmbedderRequestWithDefaults

func NewUpdateEmbedderRequestWithDefaults() *UpdateEmbedderRequest

NewUpdateEmbedderRequestWithDefaults instantiates a new UpdateEmbedderRequest 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

GetValidateLabelStrategy

func (o *UpdateEmbedderRequest) GetValidateLabelStrategy() map[string]interface{}

GetValidateLabelStrategy returns the ValidateLabelStrategy field if non-nil, zero value otherwise.

GetValidateLabelStrategyOk

func (o *UpdateEmbedderRequest) GetValidateLabelStrategyOk() (*map[string]interface{}, bool)

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

SetValidateLabelStrategy

func (o *UpdateEmbedderRequest) SetValidateLabelStrategy(v map[string]interface{})

SetValidateLabelStrategy sets ValidateLabelStrategy field to given value.

HasValidateLabelStrategy

func (o *UpdateEmbedderRequest) HasValidateLabelStrategy() bool

HasValidateLabelStrategy returns a boolean if a field has been set.

GetDisplayName

func (o *UpdateEmbedderRequest) GetDisplayName() string

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

GetDisplayNameOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *UpdateEmbedderRequest) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

SetDisplayNameNil

func (o *UpdateEmbedderRequest) SetDisplayNameNil(b bool)

SetDisplayNameNil sets the value for DisplayName to be an explicit nil

UnsetDisplayName

func (o *UpdateEmbedderRequest) UnsetDisplayName()

UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil

GetDescription

func (o *UpdateEmbedderRequest) GetDescription() string

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

GetDescriptionOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UpdateEmbedderRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *UpdateEmbedderRequest) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *UpdateEmbedderRequest) UnsetDescription()

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

GetEndpointUrl

func (o *UpdateEmbedderRequest) GetEndpointUrl() string

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

GetEndpointUrlOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetEndpointUrl(v string)

SetEndpointUrl sets EndpointUrl field to given value.

HasEndpointUrl

func (o *UpdateEmbedderRequest) HasEndpointUrl() bool

HasEndpointUrl returns a boolean if a field has been set.

SetEndpointUrlNil

func (o *UpdateEmbedderRequest) SetEndpointUrlNil(b bool)

SetEndpointUrlNil sets the value for EndpointUrl to be an explicit nil

UnsetEndpointUrl

func (o *UpdateEmbedderRequest) UnsetEndpointUrl()

UnsetEndpointUrl ensures that no value is present for EndpointUrl, not even an explicit nil

GetApiPath

func (o *UpdateEmbedderRequest) GetApiPath() string

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

GetApiPathOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetApiPath(v string)

SetApiPath sets ApiPath field to given value.

HasApiPath

func (o *UpdateEmbedderRequest) HasApiPath() bool

HasApiPath returns a boolean if a field has been set.

SetApiPathNil

func (o *UpdateEmbedderRequest) SetApiPathNil(b bool)

SetApiPathNil sets the value for ApiPath to be an explicit nil

UnsetApiPath

func (o *UpdateEmbedderRequest) UnsetApiPath()

UnsetApiPath ensures that no value is present for ApiPath, not even an explicit nil

GetModelIdentifier

func (o *UpdateEmbedderRequest) GetModelIdentifier() string

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

GetModelIdentifierOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetModelIdentifier(v string)

SetModelIdentifier sets ModelIdentifier field to given value.

HasModelIdentifier

func (o *UpdateEmbedderRequest) HasModelIdentifier() bool

HasModelIdentifier returns a boolean if a field has been set.

SetModelIdentifierNil

func (o *UpdateEmbedderRequest) SetModelIdentifierNil(b bool)

SetModelIdentifierNil sets the value for ModelIdentifier to be an explicit nil

UnsetModelIdentifier

func (o *UpdateEmbedderRequest) UnsetModelIdentifier()

UnsetModelIdentifier ensures that no value is present for ModelIdentifier, not even an explicit nil

GetDimensionality

func (o *UpdateEmbedderRequest) GetDimensionality() int32

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

GetDimensionalityOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetDimensionality(v int32)

SetDimensionality sets Dimensionality field to given value.

HasDimensionality

func (o *UpdateEmbedderRequest) HasDimensionality() bool

HasDimensionality returns a boolean if a field has been set.

SetDimensionalityNil

func (o *UpdateEmbedderRequest) SetDimensionalityNil(b bool)

SetDimensionalityNil sets the value for Dimensionality to be an explicit nil

UnsetDimensionality

func (o *UpdateEmbedderRequest) UnsetDimensionality()

UnsetDimensionality ensures that no value is present for Dimensionality, not even an explicit nil

GetMaxSequenceLength

func (o *UpdateEmbedderRequest) GetMaxSequenceLength() int32

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

GetMaxSequenceLengthOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetMaxSequenceLength(v int32)

SetMaxSequenceLength sets MaxSequenceLength field to given value.

HasMaxSequenceLength

func (o *UpdateEmbedderRequest) HasMaxSequenceLength() bool

HasMaxSequenceLength returns a boolean if a field has been set.

SetMaxSequenceLengthNil

func (o *UpdateEmbedderRequest) SetMaxSequenceLengthNil(b bool)

SetMaxSequenceLengthNil sets the value for MaxSequenceLength to be an explicit nil

UnsetMaxSequenceLength

func (o *UpdateEmbedderRequest) UnsetMaxSequenceLength()

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

GetSupportedModalities

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

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

GetSupportedModalitiesOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetSupportedModalities(v []Modality)

SetSupportedModalities sets SupportedModalities field to given value.

HasSupportedModalities

func (o *UpdateEmbedderRequest) HasSupportedModalities() bool

HasSupportedModalities returns a boolean if a field has been set.

SetSupportedModalitiesNil

func (o *UpdateEmbedderRequest) SetSupportedModalitiesNil(b bool)

SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil

UnsetSupportedModalities

func (o *UpdateEmbedderRequest) UnsetSupportedModalities()

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

GetCredentials

func (o *UpdateEmbedderRequest) GetCredentials() EndpointAuthentication

GetCredentials returns the Credentials field if non-nil, zero value otherwise.

GetCredentialsOk

func (o *UpdateEmbedderRequest) GetCredentialsOk() (*EndpointAuthentication, bool)

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

SetCredentials

func (o *UpdateEmbedderRequest) SetCredentials(v EndpointAuthentication)

SetCredentials sets Credentials field to given value.

HasCredentials

func (o *UpdateEmbedderRequest) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

GetReplaceLabels

func (o *UpdateEmbedderRequest) GetReplaceLabels() map[string]string

GetReplaceLabels returns the ReplaceLabels field if non-nil, zero value otherwise.

GetReplaceLabelsOk

func (o *UpdateEmbedderRequest) GetReplaceLabelsOk() (*map[string]string, bool)

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

SetReplaceLabels

func (o *UpdateEmbedderRequest) SetReplaceLabels(v map[string]string)

SetReplaceLabels sets ReplaceLabels field to given value.

HasReplaceLabels

func (o *UpdateEmbedderRequest) HasReplaceLabels() bool

HasReplaceLabels returns a boolean if a field has been set.

SetReplaceLabelsNil

func (o *UpdateEmbedderRequest) SetReplaceLabelsNil(b bool)

SetReplaceLabelsNil sets the value for ReplaceLabels to be an explicit nil

UnsetReplaceLabels

func (o *UpdateEmbedderRequest) UnsetReplaceLabels()

UnsetReplaceLabels ensures that no value is present for ReplaceLabels, not even an explicit nil

GetMergeLabels

func (o *UpdateEmbedderRequest) GetMergeLabels() map[string]string

GetMergeLabels returns the MergeLabels field if non-nil, zero value otherwise.

GetMergeLabelsOk

func (o *UpdateEmbedderRequest) GetMergeLabelsOk() (*map[string]string, bool)

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

SetMergeLabels

func (o *UpdateEmbedderRequest) SetMergeLabels(v map[string]string)

SetMergeLabels sets MergeLabels field to given value.

HasMergeLabels

func (o *UpdateEmbedderRequest) HasMergeLabels() bool

HasMergeLabels returns a boolean if a field has been set.

SetMergeLabelsNil

func (o *UpdateEmbedderRequest) SetMergeLabelsNil(b bool)

SetMergeLabelsNil sets the value for MergeLabels to be an explicit nil

UnsetMergeLabels

func (o *UpdateEmbedderRequest) UnsetMergeLabels()

UnsetMergeLabels ensures that no value is present for MergeLabels, not even an explicit nil

GetVersion

func (o *UpdateEmbedderRequest) GetVersion() string

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

GetVersionOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *UpdateEmbedderRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

SetVersionNil

func (o *UpdateEmbedderRequest) SetVersionNil(b bool)

SetVersionNil sets the value for Version to be an explicit nil

UnsetVersion

func (o *UpdateEmbedderRequest) UnsetVersion()

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

GetMonitoringEndpoint

func (o *UpdateEmbedderRequest) GetMonitoringEndpoint() string

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

GetMonitoringEndpointOk

func (o *UpdateEmbedderRequest) 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 *UpdateEmbedderRequest) SetMonitoringEndpoint(v string)

SetMonitoringEndpoint sets MonitoringEndpoint field to given value.

HasMonitoringEndpoint

func (o *UpdateEmbedderRequest) HasMonitoringEndpoint() bool

HasMonitoringEndpoint returns a boolean if a field has been set.

SetMonitoringEndpointNil

func (o *UpdateEmbedderRequest) SetMonitoringEndpointNil(b bool)

SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil

UnsetMonitoringEndpoint

func (o *UpdateEmbedderRequest) UnsetMonitoringEndpoint()

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

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