RerankerResponse Model
RerankerResponse Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| RerankerId | string | Unique identifier of the reranker | |
| DisplayName | string | User-facing name of the reranker | |
| Description | Pointer to NullableString | Description of the reranker | [optional] |
| ProviderType | ProviderType | ||
| EndpointUrl | string | API endpoint URL | |
| ApiPath | string | API path for reranking request | |
| ModelIdentifier | string | Model identifier | |
| SupportedModalities | Pointer to []Modality | Supported content modalities | [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 | string | Owner ID of the reranker | |
| CreatedAt | int64 | Creation timestamp (milliseconds since epoch) | |
| UpdatedAt | int64 | Last update timestamp (milliseconds since epoch) | |
| CreatedById | string | ID of the user who created the reranker | |
| UpdatedById | string | ID of the user who last updated the reranker |
Methods
NewRerankerResponse
func NewRerankerResponse(rerankerId string, displayName string, providerType ProviderType, endpointUrl string, apiPath string, modelIdentifier string, ownerId string, createdAt int64, updatedAt int64, createdById string, updatedById string, ) *RerankerResponse
NewRerankerResponse instantiates a new RerankerResponse 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
NewRerankerResponseWithDefaults
func NewRerankerResponseWithDefaults() *RerankerResponse
NewRerankerResponseWithDefaults instantiates a new RerankerResponse 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
GetRerankerId
func (o *RerankerResponse) GetRerankerId() string
GetRerankerId returns the RerankerId field if non-nil, zero value otherwise.
GetRerankerIdOk
func (o *RerankerResponse) GetRerankerIdOk() (*string, bool)
GetRerankerIdOk returns a tuple with the RerankerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRerankerId
func (o *RerankerResponse) SetRerankerId(v string)
SetRerankerId sets RerankerId field to given value.
GetDisplayName
func (o *RerankerResponse) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *RerankerResponse) 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 *RerankerResponse) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
GetDescription
func (o *RerankerResponse) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *RerankerResponse) 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 *RerankerResponse) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *RerankerResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
SetDescriptionNil
func (o *RerankerResponse) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
UnsetDescription
func (o *RerankerResponse) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
GetProviderType
func (o *RerankerResponse) GetProviderType() ProviderType
GetProviderType returns the ProviderType field if non-nil, zero value otherwise.
GetProviderTypeOk
func (o *RerankerResponse) 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 *RerankerResponse) SetProviderType(v ProviderType)
SetProviderType sets ProviderType field to given value.
GetEndpointUrl
func (o *RerankerResponse) GetEndpointUrl() string
GetEndpointUrl returns the EndpointUrl field if non-nil, zero value otherwise.
GetEndpointUrlOk
func (o *RerankerResponse) 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 *RerankerResponse) SetEndpointUrl(v string)
SetEndpointUrl sets EndpointUrl field to given value.
GetApiPath
func (o *RerankerResponse) GetApiPath() string
GetApiPath returns the ApiPath field if non-nil, zero value otherwise.
GetApiPathOk
func (o *RerankerResponse) 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 *RerankerResponse) SetApiPath(v string)
SetApiPath sets ApiPath field to given value.
GetModelIdentifier
func (o *RerankerResponse) GetModelIdentifier() string
GetModelIdentifier returns the ModelIdentifier field if non-nil, zero value otherwise.
GetModelIdentifierOk
func (o *RerankerResponse) 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 *RerankerResponse) SetModelIdentifier(v string)
SetModelIdentifier sets ModelIdentifier field to given value.
GetSupportedModalities
func (o *RerankerResponse) GetSupportedModalities() []Modality
GetSupportedModalities returns the SupportedModalities field if non-nil, zero value otherwise.
GetSupportedModalitiesOk
func (o *RerankerResponse) 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 *RerankerResponse) SetSupportedModalities(v []Modality)
SetSupportedModalities sets SupportedModalities field to given value.
HasSupportedModalities
func (o *RerankerResponse) HasSupportedModalities() bool
HasSupportedModalities returns a boolean if a field has been set.
SetSupportedModalitiesNil
func (o *RerankerResponse) SetSupportedModalitiesNil(b bool)
SetSupportedModalitiesNil sets the value for SupportedModalities to be an explicit nil
UnsetSupportedModalities
func (o *RerankerResponse) UnsetSupportedModalities()
UnsetSupportedModalities ensures that no value is present for SupportedModalities, not even an explicit nil
GetLabels
func (o *RerankerResponse) GetLabels() map[string]string
GetLabels returns the Labels field if non-nil, zero value otherwise.
GetLabelsOk
func (o *RerankerResponse) 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 *RerankerResponse) SetLabels(v map[string]string)
SetLabels sets Labels field to given value.
HasLabels
func (o *RerankerResponse) HasLabels() bool
HasLabels returns a boolean if a field has been set.
SetLabelsNil
func (o *RerankerResponse) SetLabelsNil(b bool)
SetLabelsNil sets the value for Labels to be an explicit nil
UnsetLabels
func (o *RerankerResponse) UnsetLabels()
UnsetLabels ensures that no value is present for Labels, not even an explicit nil
GetVersion
func (o *RerankerResponse) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
GetVersionOk
func (o *RerankerResponse) 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 *RerankerResponse) SetVersion(v string)
SetVersion sets Version field to given value.
HasVersion
func (o *RerankerResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
SetVersionNil
func (o *RerankerResponse) SetVersionNil(b bool)
SetVersionNil sets the value for Version to be an explicit nil
UnsetVersion
func (o *RerankerResponse) UnsetVersion()
UnsetVersion ensures that no value is present for Version, not even an explicit nil
GetMonitoringEndpoint
func (o *RerankerResponse) GetMonitoringEndpoint() string
GetMonitoringEndpoint returns the MonitoringEndpoint field if non-nil, zero value otherwise.
GetMonitoringEndpointOk
func (o *RerankerResponse) 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 *RerankerResponse) SetMonitoringEndpoint(v string)
SetMonitoringEndpoint sets MonitoringEndpoint field to given value.
HasMonitoringEndpoint
func (o *RerankerResponse) HasMonitoringEndpoint() bool
HasMonitoringEndpoint returns a boolean if a field has been set.
SetMonitoringEndpointNil
func (o *RerankerResponse) SetMonitoringEndpointNil(b bool)
SetMonitoringEndpointNil sets the value for MonitoringEndpoint to be an explicit nil
UnsetMonitoringEndpoint
func (o *RerankerResponse) UnsetMonitoringEndpoint()
UnsetMonitoringEndpoint ensures that no value is present for MonitoringEndpoint, not even an explicit nil
GetOwnerId
func (o *RerankerResponse) GetOwnerId() string
GetOwnerId returns the OwnerId field if non-nil, zero value otherwise.
GetOwnerIdOk
func (o *RerankerResponse) 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 *RerankerResponse) SetOwnerId(v string)
SetOwnerId sets OwnerId field to given value.
GetCreatedAt
func (o *RerankerResponse) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *RerankerResponse) 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 *RerankerResponse) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
GetUpdatedAt
func (o *RerankerResponse) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *RerankerResponse) 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 *RerankerResponse) SetUpdatedAt(v int64)
SetUpdatedAt sets UpdatedAt field to given value.
GetCreatedById
func (o *RerankerResponse) GetCreatedById() string
GetCreatedById returns the CreatedById field if non-nil, zero value otherwise.
GetCreatedByIdOk
func (o *RerankerResponse) 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 *RerankerResponse) SetCreatedById(v string)
SetCreatedById sets CreatedById field to given value.
GetUpdatedById
func (o *RerankerResponse) GetUpdatedById() string
GetUpdatedById returns the UpdatedById field if non-nil, zero value otherwise.
GetUpdatedByIdOk
func (o *RerankerResponse) 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 *RerankerResponse) SetUpdatedById(v string)
SetUpdatedById sets UpdatedById field to given value.