UpdateRerankerRequest
UpdateRerankerRequest documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ValidateLabelStrategy | Pointer to map[string]interface | [optional] | |
| DisplayName | Pointer to NullableString | User-facing name of the reranker | [optional] |
| Description | Pointer to NullableString | Description of the reranker | [optional] |
| EndpointUrl | Pointer to NullableString | API endpoint URL | [optional] |
| ApiPath | Pointer to NullableString | API path for reranking request | [optional] |
| ModelIdentifier | Pointer to NullableString | Model identifier | [optional] |
| SupportedModalities | Pointer to []Modality | Supported content modalities | [optional] |
| Credentials | Pointer to EndpointAuthentication | [optional] | |
| ReplaceLabels | Pointer to map[string]string | Replace all existing labels with these (mutually exclusive with mergeLabels) | [optional] |
| MergeLabels | Pointer to map[string]string | Merge these labels with existing ones (mutually exclusive with replaceLabels) | [optional] |
| Version | Pointer to NullableString | Version information | [optional] |
| MonitoringEndpoint | Pointer to NullableString | Monitoring endpoint URL | [optional] |
Methods
NewUpdateRerankerRequest
func NewUpdateRerankerRequest() *UpdateRerankerRequest
NewUpdateRerankerRequest instantiates a new UpdateRerankerRequest 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
NewUpdateRerankerRequestWithDefaults
func NewUpdateRerankerRequestWithDefaults() *UpdateRerankerRequest
NewUpdateRerankerRequestWithDefaults instantiates a new UpdateRerankerRequest 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 *UpdateRerankerRequest) GetValidateLabelStrategy() map[string]interface{}
GetValidateLabelStrategy returns the ValidateLabelStrategy field if non-nil, zero value otherwise.
GetValidateLabelStrategyOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetValidateLabelStrategy(v map[string]interface{})
SetValidateLabelStrategy sets ValidateLabelStrategy field to given value.
HasValidateLabelStrategy
func (o *UpdateRerankerRequest) HasValidateLabelStrategy() bool
HasValidateLabelStrategy returns a boolean if a field has been set.
GetDisplayName
func (o *UpdateRerankerRequest) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
HasDisplayName
func (o *UpdateRerankerRequest) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
SetDisplayNameNil
func (o *UpdateRerankerRequest) SetDisplayNameNil(b bool)
SetDisplayNameNil sets the value for DisplayName to be an explicit nil
UnsetDisplayName
func (o *UpdateRerankerRequest) UnsetDisplayName()
UnsetDisplayName ensures that no value is present for DisplayName, not even an explicit nil
GetDescription
func (o *UpdateRerankerRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *UpdateRerankerRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
SetDescriptionNil
func (o *UpdateRerankerRequest) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
UnsetDescription
func (o *UpdateRerankerRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
GetEndpointUrl
func (o *UpdateRerankerRequest) GetEndpointUrl() string
GetEndpointUrl returns the EndpointUrl field if non-nil, zero value otherwise.
GetEndpointUrlOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetEndpointUrl(v string)
SetEndpointUrl sets EndpointUrl field to given value.
HasEndpointUrl
func (o *UpdateRerankerRequest) HasEndpointUrl() bool
HasEndpointUrl returns a boolean if a field has been set.
SetEndpointUrlNil
func (o *UpdateRerankerRequest) SetEndpointUrlNil(b bool)
SetEndpointUrlNil sets the value for EndpointUrl to be an explicit nil
UnsetEndpointUrl
func (o *UpdateRerankerRequest) UnsetEndpointUrl()
UnsetEndpointUrl ensures that no value is present for EndpointUrl, not even an explicit nil
GetApiPath
func (o *UpdateRerankerRequest) GetApiPath() string
GetApiPath returns the ApiPath field if non-nil, zero value otherwise.
GetApiPathOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetApiPath(v string)
SetApiPath sets ApiPath field to given value.
HasApiPath
func (o *UpdateRerankerRequest) HasApiPath() bool
HasApiPath returns a boolean if a field has been set.
SetApiPathNil
func (o *UpdateRerankerRequest) SetApiPathNil(b bool)
SetApiPathNil sets the value for ApiPath to be an explicit nil
UnsetApiPath
func (o *UpdateRerankerRequest) UnsetApiPath()
UnsetApiPath ensures that no value is present for ApiPath, not even an explicit nil
GetModelIdentifier
func (o *UpdateRerankerRequest) GetModelIdentifier() string
GetModelIdentifier returns the ModelIdentifier field if non-nil, zero value otherwise.
GetModelIdentifierOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetModelIdentifier(v string)
SetModelIdentifier sets ModelIdentifier field to given value.
HasModelIdentifier
func (o *UpdateRerankerRequest) HasModelIdentifier() bool
HasModelIdentifier returns a boolean if a field has been set.
SetModelIdentifierNil
func (o *UpdateRerankerRequest) SetModelIdentifierNil(b bool)
SetModelIdentifierNil sets the value for ModelIdentifier to be an explicit nil
UnsetModelIdentifier
func (o *UpdateRerankerRequest) UnsetModelIdentifier()
UnsetModelIdentifier ensures that no value is present for ModelIdentifier, not even an explicit nil
GetSupportedModalities
func (o *UpdateRerankerRequest) GetSupportedModalities() []Modality
GetSupportedModalities returns the SupportedModalities field if non-nil, zero value otherwise.
GetSupportedModalitiesOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetSupportedModalities(v []Modality)
SetSupportedModalities sets SupportedModalities field to given value.
HasSupportedModalities
func (o *UpdateRerankerRequest) HasSupportedModalities() bool
HasSupportedModalities returns a boolean if a field has been set.
SetSupportedModalitiesNil
func (o *UpdateRerankerRequest) SetSupportedModalitiesNil(b bool)
SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil
UnsetSupportedModalities
func (o *UpdateRerankerRequest) UnsetSupportedModalities()
UnsetSupportedModalities ensures that no value is present for SupportedModalities, not even an explicit nil
GetCredentials
func (o *UpdateRerankerRequest) GetCredentials() EndpointAuthentication
GetCredentials returns the Credentials field if non-nil, zero value otherwise.
GetCredentialsOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetCredentials(v EndpointAuthentication)
SetCredentials sets Credentials field to given value.
HasCredentials
func (o *UpdateRerankerRequest) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
GetReplaceLabels
func (o *UpdateRerankerRequest) GetReplaceLabels() map[string]string
GetReplaceLabels returns the ReplaceLabels field if non-nil, zero value otherwise.
GetReplaceLabelsOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetReplaceLabels(v map[string]string)
SetReplaceLabels sets ReplaceLabels field to given value.
HasReplaceLabels
func (o *UpdateRerankerRequest) HasReplaceLabels() bool
HasReplaceLabels returns a boolean if a field has been set.
SetReplaceLabelsNil
func (o *UpdateRerankerRequest) SetReplaceLabelsNil(b bool)
SetReplaceLabelsNil sets the value for ReplaceLabels to be an explicit nil
UnsetReplaceLabels
func (o *UpdateRerankerRequest) UnsetReplaceLabels()
UnsetReplaceLabels ensures that no value is present for ReplaceLabels, not even an explicit nil
GetMergeLabels
func (o *UpdateRerankerRequest) GetMergeLabels() map[string]string
GetMergeLabels returns the MergeLabels field if non-nil, zero value otherwise.
GetMergeLabelsOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetMergeLabels(v map[string]string)
SetMergeLabels sets MergeLabels field to given value.
HasMergeLabels
func (o *UpdateRerankerRequest) HasMergeLabels() bool
HasMergeLabels returns a boolean if a field has been set.
SetMergeLabelsNil
func (o *UpdateRerankerRequest) SetMergeLabelsNil(b bool)
SetMergeLabelsNil sets the value for MergeLabels to be an explicit nil
UnsetMergeLabels
func (o *UpdateRerankerRequest) UnsetMergeLabels()
UnsetMergeLabels ensures that no value is present for MergeLabels, not even an explicit nil
GetVersion
func (o *UpdateRerankerRequest) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
GetVersionOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetVersion(v string)
SetVersion sets Version field to given value.
HasVersion
func (o *UpdateRerankerRequest) HasVersion() bool
HasVersion returns a boolean if a field has been set.
SetVersionNil
func (o *UpdateRerankerRequest) SetVersionNil(b bool)
SetVersionNil sets the value for Version to be an explicit nil
UnsetVersion
func (o *UpdateRerankerRequest) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
GetMonitoringEndpoint
func (o *UpdateRerankerRequest) GetMonitoringEndpoint() string
GetMonitoringEndpoint returns the MonitoringEndpoint field if non-nil, zero value otherwise.
GetMonitoringEndpointOk
func (o *UpdateRerankerRequest) 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 *UpdateRerankerRequest) SetMonitoringEndpoint(v string)
SetMonitoringEndpoint sets MonitoringEndpoint field to given value.
HasMonitoringEndpoint
func (o *UpdateRerankerRequest) HasMonitoringEndpoint() bool
HasMonitoringEndpoint returns a boolean if a field has been set.
SetMonitoringEndpointNil
func (o *UpdateRerankerRequest) SetMonitoringEndpointNil(b bool)
SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil
UnsetMonitoringEndpoint
func (o *UpdateRerankerRequest) UnsetMonitoringEndpoint()
UnsetMonitoringEndpoint ensures that no value is present for MonitoringEndpoint, not even an explicit nil