GoodMem
ReferenceClient SDKsGo SDKRequests

RerankerCreationRequest

RerankerCreationRequest documentation for Go SDK

Properties

NameTypeDescriptionNotes
ValidatePointer to map[string]interface[optional]
DisplayNamestringUser-facing name of the reranker
DescriptionPointer to NullableStringDescription of the reranker[optional]
ProviderTypeProviderType
EndpointUrlstringAPI endpoint URL
ApiPathPointer to NullableStringAPI path for reranking request (defaults to /rerank if not provided)[optional]
ModelIdentifierstringModel identifier
SupportedModalitiesPointer to []ModalitySupported content modalities (defaults to TEXT if not provided)[optional]
CredentialsPointer to EndpointAuthentication[optional]
LabelsPointer to map[string]stringUser-defined labels for categorization[optional]
VersionPointer to NullableStringVersion information[optional]
MonitoringEndpointPointer to NullableStringMonitoring endpoint URL[optional]
OwnerIdPointer to NullableStringOptional owner ID. If not provided, derived from the authentication context. Requires CREATE_RERANKER_ANY permission if specified.[optional]

Methods

NewRerankerCreationRequest

func NewRerankerCreationRequest(displayName string, providerType ProviderType, endpointUrl string, modelIdentifier string, ) *RerankerCreationRequest

NewRerankerCreationRequest instantiates a new RerankerCreationRequest 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

NewRerankerCreationRequestWithDefaults

func NewRerankerCreationRequestWithDefaults() *RerankerCreationRequest

NewRerankerCreationRequestWithDefaults instantiates a new RerankerCreationRequest 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 *RerankerCreationRequest) GetValidate() map[string]interface{}

GetValidate returns the Validate field if non-nil, zero value otherwise.

GetValidateOk

func (o *RerankerCreationRequest) 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 *RerankerCreationRequest) SetValidate(v map[string]interface{})

SetValidate sets Validate field to given value.

HasValidate

func (o *RerankerCreationRequest) HasValidate() bool

HasValidate returns a boolean if a field has been set.

GetDisplayName

func (o *RerankerCreationRequest) GetDisplayName() string

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

GetDisplayNameOk

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

SetDisplayName sets DisplayName field to given value.

GetDescription

func (o *RerankerCreationRequest) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *RerankerCreationRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *RerankerCreationRequest) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *RerankerCreationRequest) UnsetDescription()

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

GetProviderType

func (o *RerankerCreationRequest) GetProviderType() ProviderType

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

GetProviderTypeOk

func (o *RerankerCreationRequest) 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 *RerankerCreationRequest) SetProviderType(v ProviderType)

SetProviderType sets ProviderType field to given value.

GetEndpointUrl

func (o *RerankerCreationRequest) GetEndpointUrl() string

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

GetEndpointUrlOk

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

SetEndpointUrl sets EndpointUrl field to given value.

GetApiPath

func (o *RerankerCreationRequest) GetApiPath() string

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

GetApiPathOk

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

SetApiPath sets ApiPath field to given value.

HasApiPath

func (o *RerankerCreationRequest) HasApiPath() bool

HasApiPath returns a boolean if a field has been set.

SetApiPathNil

func (o *RerankerCreationRequest) SetApiPathNil(b bool)

SetApiPathNil sets the value for ApiPath to be an explicit nil

UnsetApiPath

func (o *RerankerCreationRequest) UnsetApiPath()

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

GetModelIdentifier

func (o *RerankerCreationRequest) GetModelIdentifier() string

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

GetModelIdentifierOk

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

SetModelIdentifier sets ModelIdentifier field to given value.

GetSupportedModalities

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

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

GetSupportedModalitiesOk

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

SetSupportedModalities sets SupportedModalities field to given value.

HasSupportedModalities

func (o *RerankerCreationRequest) HasSupportedModalities() bool

HasSupportedModalities returns a boolean if a field has been set.

SetSupportedModalitiesNil

func (o *RerankerCreationRequest) SetSupportedModalitiesNil(b bool)

SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil

UnsetSupportedModalities

func (o *RerankerCreationRequest) UnsetSupportedModalities()

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

GetCredentials

func (o *RerankerCreationRequest) GetCredentials() EndpointAuthentication

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

GetCredentialsOk

func (o *RerankerCreationRequest) 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 *RerankerCreationRequest) SetCredentials(v EndpointAuthentication)

SetCredentials sets Credentials field to given value.

HasCredentials

func (o *RerankerCreationRequest) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

GetLabels

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

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

GetLabelsOk

func (o *RerankerCreationRequest) 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 *RerankerCreationRequest) SetLabels(v map[string]string)

SetLabels sets Labels field to given value.

HasLabels

func (o *RerankerCreationRequest) HasLabels() bool

HasLabels returns a boolean if a field has been set.

SetLabelsNil

func (o *RerankerCreationRequest) SetLabelsNil(b bool)

SetLabelsNil sets the value for Labels to be an explicit nil

UnsetLabels

func (o *RerankerCreationRequest) UnsetLabels()

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

GetVersion

func (o *RerankerCreationRequest) GetVersion() string

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

GetVersionOk

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

SetVersion sets Version field to given value.

HasVersion

func (o *RerankerCreationRequest) HasVersion() bool

HasVersion returns a boolean if a field has been set.

SetVersionNil

func (o *RerankerCreationRequest) SetVersionNil(b bool)

SetVersionNil sets the value for Version to be an explicit nil

UnsetVersion

func (o *RerankerCreationRequest) UnsetVersion()

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

GetMonitoringEndpoint

func (o *RerankerCreationRequest) GetMonitoringEndpoint() string

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

GetMonitoringEndpointOk

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

SetMonitoringEndpoint sets MonitoringEndpoint field to given value.

HasMonitoringEndpoint

func (o *RerankerCreationRequest) HasMonitoringEndpoint() bool

HasMonitoringEndpoint returns a boolean if a field has been set.

SetMonitoringEndpointNil

func (o *RerankerCreationRequest) SetMonitoringEndpointNil(b bool)

SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil

UnsetMonitoringEndpoint

func (o *RerankerCreationRequest) UnsetMonitoringEndpoint()

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

GetOwnerId

func (o *RerankerCreationRequest) GetOwnerId() string

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

GetOwnerIdOk

func (o *RerankerCreationRequest) 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 *RerankerCreationRequest) SetOwnerId(v string)

SetOwnerId sets OwnerId field to given value.

HasOwnerId

func (o *RerankerCreationRequest) HasOwnerId() bool

HasOwnerId returns a boolean if a field has been set.

SetOwnerIdNil

func (o *RerankerCreationRequest) SetOwnerIdNil(b bool)

SetOwnerIdNil sets the value for OwnerId to be an explicit nil

UnsetOwnerId

func (o *RerankerCreationRequest) UnsetOwnerId()

UnsetOwnerId ensures that no value is present for OwnerId, not even an explicit nil

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