Record Class HealingReport.ProviderMetadata
java.lang.Object
java.lang.Record
com.shaft.heal.model.HealingReport.ProviderMetadata
- Record Components:
enabled- whether reranking was requestedprovider- provider identifiermodel- model or configuration identifierstatus- provider statusfallbackReason- deterministic fallback reasonprocessingLocation- explicitly configured processing locationendpointClass- local, on-prem, remote, or noneredactionSummary- safe redaction summary
- Enclosing class:
HealingReport
-
Constructor Summary
ConstructorsConstructorDescriptionProviderMetadata(boolean enabled, String provider, String model, String status, String fallbackReason) Creates backward-compatible provider metadata.ProviderMetadata(boolean enabled, String provider, String model, String status, String fallbackReason, String processingLocation, String endpointClass, String redactionSummary) Creates safe provider metadata. -
Method Summary
Modifier and TypeMethodDescriptiondisabled()booleanenabled()Returns the value of theenabledrecord component.Returns the value of theendpointClassrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefallbackReasonrecord component.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.Returns the value of theprocessingLocationrecord component.provider()Returns the value of theproviderrecord component.Returns the value of theredactionSummaryrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProviderMetadata
-
ProviderMetadata
-
-
Method Details
-
disabled
- Returns:
- disabled provider metadata
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
enabled
-
provider
-
model
-
status
-
fallbackReason
Returns the value of thefallbackReasonrecord component.- Returns:
- the value of the
fallbackReasonrecord component
-
processingLocation
Returns the value of theprocessingLocationrecord component.- Returns:
- the value of the
processingLocationrecord component
-
endpointClass
Returns the value of theendpointClassrecord component.- Returns:
- the value of the
endpointClassrecord component
-
redactionSummary
Returns the value of theredactionSummaryrecord component.- Returns:
- the value of the
redactionSummaryrecord component
-