EmbedderCreationRequest
EmbedderCreationRequest documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Validate | Pointer to map[string]interface | [optional] | |
| DisplayName | string | User-facing name of the embedder | |
| Description | Pointer to NullableString | Description of the embedder | [optional] |
| ProviderType | ProviderType | ||
| EndpointUrl | string | API endpoint URL | |
| ApiPath | Pointer to NullableString | API path for embeddings request (defaults to /embeddings if not provided) | [optional] |
| ModelIdentifier | string | Model identifier | |
| Dimensionality | int32 | Output vector dimensions | |
| DistributionType | DistributionType | ||
| MaxSequenceLength | Pointer to NullableInt32 | Maximum input sequence length | [optional] |
| SupportedModalities | Pointer to []Modality | Supported content modalities (defaults to TEXT if not provided) | [optional] |
| Credentials | Pointer to EndpointAuthentication | [optional] | |
| Labels | Pointer to map[string]string | User-defined labels for categorization | [optional] |
| Version | Pointer to NullableString | Version information | [optional] |
| MonitoringEndpoint | Pointer to NullableString | Monitoring endpoint URL | [optional] |
| OwnerId | Pointer to NullableString | Optional owner ID. If not provided, derived from the authentication context. Requires CREATE_EMBEDDER_ANY permission if specified. | [optional] |
Methods
NewEmbedderCreationRequest
func NewEmbedderCreationRequest(displayName string, providerType ProviderType, endpointUrl string, modelIdentifier string, dimensionality int32, distributionType DistributionType, ) *EmbedderCreationRequest
NewEmbedderCreationRequest instantiates a new EmbedderCreationRequest 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
NewEmbedderCreationRequestWithDefaults
func NewEmbedderCreationRequestWithDefaults() *EmbedderCreationRequest
NewEmbedderCreationRequestWithDefaults instantiates a new EmbedderCreationRequest 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
GetValidate
func (o *EmbedderCreationRequest) GetValidate() map[string]interface{}
GetValidate returns the Validate field if non-nil, zero value otherwise.
GetValidateOk
func (o *EmbedderCreationRequest) GetValidateOk() (*map[string]interface{}, bool)
GetValidateOk returns a tuple with the Validate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValidate
func (o *EmbedderCreationRequest) SetValidate(v map[string]interface{})
SetValidate sets Validate field to given value.
HasValidate
func (o *EmbedderCreationRequest) HasValidate() bool
HasValidate returns a boolean if a field has been set.
GetDisplayName
func (o *EmbedderCreationRequest) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
GetDescription
func (o *EmbedderCreationRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *EmbedderCreationRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
SetDescriptionNil
func (o *EmbedderCreationRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
UnsetDescription
func (o *EmbedderCreationRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
GetProviderType
func (o *EmbedderCreationRequest) GetProviderType() ProviderType
GetProviderType returns the ProviderType field if non-nil, zero value otherwise.
GetProviderTypeOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetProviderType(v ProviderType)
SetProviderType sets ProviderType field to given value.
GetEndpointUrl
func (o *EmbedderCreationRequest) GetEndpointUrl() string
GetEndpointUrl returns the EndpointUrl field if non-nil, zero value otherwise.
GetEndpointUrlOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetEndpointUrl(v string)
SetEndpointUrl sets EndpointUrl field to given value.
GetApiPath
func (o *EmbedderCreationRequest) GetApiPath() string
GetApiPath returns the ApiPath field if non-nil, zero value otherwise.
GetApiPathOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetApiPath(v string)
SetApiPath sets ApiPath field to given value.
HasApiPath
func (o *EmbedderCreationRequest) HasApiPath() bool
HasApiPath returns a boolean if a field has been set.
SetApiPathNil
func (o *EmbedderCreationRequest) SetApiPathNil(b bool)
SetApiPathNil sets the value for ApiPath to be an explicit nil
UnsetApiPath
func (o *EmbedderCreationRequest) UnsetApiPath()
UnsetApiPath ensures that no value is present for ApiPath, not even an explicit nil
GetModelIdentifier
func (o *EmbedderCreationRequest) GetModelIdentifier() string
GetModelIdentifier returns the ModelIdentifier field if non-nil, zero value otherwise.
GetModelIdentifierOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetModelIdentifier(v string)
SetModelIdentifier sets ModelIdentifier field to given value.
GetDimensionality
func (o *EmbedderCreationRequest) GetDimensionality() int32
GetDimensionality returns the Dimensionality field if non-nil, zero value otherwise.
GetDimensionalityOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetDimensionality(v int32)
SetDimensionality sets Dimensionality field to given value.
GetDistributionType
func (o *EmbedderCreationRequest) GetDistributionType() DistributionType
GetDistributionType returns the DistributionType field if non-nil, zero value otherwise.
GetDistributionTypeOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetDistributionType(v DistributionType)
SetDistributionType sets DistributionType field to given value.
GetMaxSequenceLength
func (o *EmbedderCreationRequest) GetMaxSequenceLength() int32
GetMaxSequenceLength returns the MaxSequenceLength field if non-nil, zero value otherwise.
GetMaxSequenceLengthOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetMaxSequenceLength(v int32)
SetMaxSequenceLength sets MaxSequenceLength field to given value.
HasMaxSequenceLength
func (o *EmbedderCreationRequest) HasMaxSequenceLength() bool
HasMaxSequenceLength returns a boolean if a field has been set.
SetMaxSequenceLengthNil
func (o *EmbedderCreationRequest) SetMaxSequenceLengthNil(b bool)
SetMaxSequenceLengthNil sets the value for MaxSequenceLength to be an explicit nil
UnsetMaxSequenceLength
func (o *EmbedderCreationRequest) UnsetMaxSequenceLength()
UnsetMaxSequenceLength ensures that no value is present for MaxSequenceLength, not even an explicit nil
GetSupportedModalities
func (o *EmbedderCreationRequest) GetSupportedModalities() []Modality
GetSupportedModalities returns the SupportedModalities field if non-nil, zero value otherwise.
GetSupportedModalitiesOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetSupportedModalities(v []Modality)
SetSupportedModalities sets SupportedModalities field to given value.
HasSupportedModalities
func (o *EmbedderCreationRequest) HasSupportedModalities() bool
HasSupportedModalities returns a boolean if a field has been set.
SetSupportedModalitiesNil
func (o *EmbedderCreationRequest) SetSupportedModalitiesNil(b bool)
SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil
UnsetSupportedModalities
func (o *EmbedderCreationRequest) UnsetSupportedModalities()
UnsetSupportedModalities ensures that no value is present for SupportedModalities, not even an explicit nil
GetCredentials
func (o *EmbedderCreationRequest) GetCredentials() EndpointAuthentication
GetCredentials returns the Credentials field if non-nil, zero value otherwise.
GetCredentialsOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetCredentials(v EndpointAuthentication)
SetCredentials sets Credentials field to given value.
HasCredentials
func (o *EmbedderCreationRequest) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
GetLabels
func (o *EmbedderCreationRequest) GetLabels() map[string]string
GetLabels returns the Labels field if non-nil, zero value otherwise.
GetLabelsOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetLabels(v map[string]string)
SetLabels sets Labels field to given value.
HasLabels
func (o *EmbedderCreationRequest) HasLabels() bool
HasLabels returns a boolean if a field has been set.
SetLabelsNil
func (o *EmbedderCreationRequest) SetLabelsNil(b bool)
SetLabelsNil sets the value for Labels to be an explicit nil
UnsetLabels
func (o *EmbedderCreationRequest) UnsetLabels()
UnsetLabels ensures that no value is present for Labels, not even an explicit nil
GetVersion
func (o *EmbedderCreationRequest) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
GetVersionOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetVersion(v string)
SetVersion sets Version field to given value.
HasVersion
func (o *EmbedderCreationRequest) HasVersion() bool
HasVersion returns a boolean if a field has been set.
SetVersionNil
func (o *EmbedderCreationRequest) SetVersionNil(b bool)
SetVersionNil sets the value for Version to be an explicit nil
UnsetVersion
func (o *EmbedderCreationRequest) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
GetMonitoringEndpoint
func (o *EmbedderCreationRequest) GetMonitoringEndpoint() string
GetMonitoringEndpoint returns the MonitoringEndpoint field if non-nil, zero value otherwise.
GetMonitoringEndpointOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetMonitoringEndpoint(v string)
SetMonitoringEndpoint sets MonitoringEndpoint field to given value.
HasMonitoringEndpoint
func (o *EmbedderCreationRequest) HasMonitoringEndpoint() bool
HasMonitoringEndpoint returns a boolean if a field has been set.
SetMonitoringEndpointNil
func (o *EmbedderCreationRequest) SetMonitoringEndpointNil(b bool)
SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil
UnsetMonitoringEndpoint
func (o *EmbedderCreationRequest) UnsetMonitoringEndpoint()
UnsetMonitoringEndpoint ensures that no value is present for MonitoringEndpoint, not even an explicit nil
GetOwnerId
func (o *EmbedderCreationRequest) GetOwnerId() string
GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.
GetOwnerIdOk
func (o *EmbedderCreationRequest) 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 *EmbedderCreationRequest) SetOwnerId(v string)
SetOwnerId sets OwnerId field to given value.
HasOwnerId
func (o *EmbedderCreationRequest) HasOwnerId() bool
HasOwnerId returns a boolean if a field has been set.
SetOwnerIdNil
func (o *EmbedderCreationRequest) SetOwnerIdNil(b bool)
SetOwnerIdNil sets the value for OwnerId to be an explicit nil
UnsetOwnerId
func (o *EmbedderCreationRequest) UnsetOwnerId()
UnsetOwnerId ensures that no value is present for OwnerId, not even an explicit nil