Record Class CatalogEntry
java.lang.Object
java.lang.Record
ai.redouble.demo.CatalogEntry
public record CatalogEntry(String id, Grade grade, String provider, ModelKind kind, boolean seat, boolean permitted, ModelStatus status, boolean vision, boolean documents, List<String> outputModalities, Double inputPricePerMillion, Double outputPricePerMillion, String currency, Integer tpm, Integer maxConcurrent, boolean unverified, String note)
extends Record
One catalog entry on the status panel: its id, grade and provider, which client family it
belongs to (an LLM, an embeddings model or a decision model), whether it takes a seat,
whether the compliance envelope permits it, its status, what it accepts beyond text (images,
documents), its output modalities, its per-million prices in the entry's
currency, the bound it declares: a quota window (
tpm) or, for a decision model
served from the deployment's own machine, how many requests its server takes at once
(maxConcurrent), whether its grade and prices are the discovery's inference no
person has confirmed (unverified), and its note, the discovery's own words on where
it came from.- Since:
- 0.1 (2026-09-24)
- Author:
- Andrey Santrosyan
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogEntry(String id, Grade grade, String provider, ModelKind kind, boolean seat, boolean permitted, ModelStatus status, boolean vision, boolean documents, List<String> outputModalities, Double inputPricePerMillion, Double outputPricePerMillion, String currency, Integer tpm, Integer maxConcurrent, boolean unverified, String note) Creates an instance of aCatalogEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncurrency()Returns the value of thecurrencyrecord component.booleanReturns the value of thedocumentsrecord component.final booleanIndicates whether some other object is "equal to" this one.grade()Returns the value of thegraderecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theinputPricePerMillionrecord component.kind()Returns the value of thekindrecord component.Returns the value of themaxConcurrentrecord component.note()Returns the value of thenoterecord component.Returns the value of theoutputModalitiesrecord component.Returns the value of theoutputPricePerMillionrecord component.booleanReturns the value of thepermittedrecord component.provider()Returns the value of theproviderrecord component.booleanseat()Returns the value of theseatrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.tpm()Returns the value of thetpmrecord component.booleanReturns the value of theunverifiedrecord component.booleanvision()Returns the value of thevisionrecord component.
-
Constructor Details
-
CatalogEntry
public CatalogEntry(String id, Grade grade, String provider, ModelKind kind, boolean seat, boolean permitted, ModelStatus status, boolean vision, boolean documents, List<String> outputModalities, Double inputPricePerMillion, Double outputPricePerMillion, String currency, Integer tpm, Integer maxConcurrent, boolean unverified, String note) Creates an instance of aCatalogEntryrecord class.- Parameters:
id- the value for theidrecord componentgrade- the value for thegraderecord componentprovider- the value for theproviderrecord componentkind- the value for thekindrecord componentseat- the value for theseatrecord componentpermitted- the value for thepermittedrecord componentstatus- the value for thestatusrecord componentvision- the value for thevisionrecord componentdocuments- the value for thedocumentsrecord componentoutputModalities- the value for theoutputModalitiesrecord componentinputPricePerMillion- the value for theinputPricePerMillionrecord componentoutputPricePerMillion- the value for theoutputPricePerMillionrecord componentcurrency- the value for thecurrencyrecord componenttpm- the value for thetpmrecord componentmaxConcurrent- the value for themaxConcurrentrecord componentunverified- the value for theunverifiedrecord componentnote- the value for thenoterecord component
-
-
Method Details
-
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. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
grade
Returns the value of thegraderecord component.- Returns:
- the value of the
graderecord component
-
provider
Returns the value of theproviderrecord component.- Returns:
- the value of the
providerrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
seat
public boolean seat()Returns the value of theseatrecord component.- Returns:
- the value of the
seatrecord component
-
permitted
public boolean permitted()Returns the value of thepermittedrecord component.- Returns:
- the value of the
permittedrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
vision
public boolean vision()Returns the value of thevisionrecord component.- Returns:
- the value of the
visionrecord component
-
documents
public boolean documents()Returns the value of thedocumentsrecord component.- Returns:
- the value of the
documentsrecord component
-
outputModalities
-
inputPricePerMillion
Returns the value of theinputPricePerMillionrecord component.- Returns:
- the value of the
inputPricePerMillionrecord component
-
outputPricePerMillion
Returns the value of theoutputPricePerMillionrecord component.- Returns:
- the value of the
outputPricePerMillionrecord component
-
currency
Returns the value of thecurrencyrecord component.- Returns:
- the value of the
currencyrecord component
-
tpm
Returns the value of thetpmrecord component.- Returns:
- the value of the
tpmrecord component
-
maxConcurrent
Returns the value of themaxConcurrentrecord component.- Returns:
- the value of the
maxConcurrentrecord component
-
unverified
public boolean unverified()Returns the value of theunverifiedrecord component.- Returns:
- the value of the
unverifiedrecord component
-
note
Returns the value of thenoterecord component.- Returns:
- the value of the
noterecord component
-