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

    Constructors
    Constructor
    Description
    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 a CatalogEntry record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the currency record component.
    boolean
    Returns the value of the documents record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the grade record component.
    final int
    Returns a hash code value for this object.
    id()
    Returns the value of the id record component.
    Returns the value of the inputPricePerMillion record component.
    Returns the value of the kind record component.
    Returns the value of the maxConcurrent record component.
    Returns the value of the note record component.
    Returns the value of the outputModalities record component.
    Returns the value of the outputPricePerMillion record component.
    boolean
    Returns the value of the permitted record component.
    Returns the value of the provider record component.
    boolean
    Returns the value of the seat record component.
    Returns the value of the status record component.
    final String
    Returns a string representation of this record class.
    tpm()
    Returns the value of the tpm record component.
    boolean
    Returns the value of the unverified record component.
    boolean
    Returns the value of the vision record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a CatalogEntry record class.
      Parameters:
      id - the value for the id record component
      grade - the value for the grade record component
      provider - the value for the provider record component
      kind - the value for the kind record component
      seat - the value for the seat record component
      permitted - the value for the permitted record component
      status - the value for the status record component
      vision - the value for the vision record component
      documents - the value for the documents record component
      outputModalities - the value for the outputModalities record component
      inputPricePerMillion - the value for the inputPricePerMillion record component
      outputPricePerMillion - the value for the outputPricePerMillion record component
      currency - the value for the currency record component
      tpm - the value for the tpm record component
      maxConcurrent - the value for the maxConcurrent record component
      unverified - the value for the unverified record component
      note - the value for the note record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • grade

      public Grade grade()
      Returns the value of the grade record component.
      Returns:
      the value of the grade record component
    • provider

      public String provider()
      Returns the value of the provider record component.
      Returns:
      the value of the provider record component
    • kind

      public ModelKind kind()
      Returns the value of the kind record component.
      Returns:
      the value of the kind record component
    • seat

      public boolean seat()
      Returns the value of the seat record component.
      Returns:
      the value of the seat record component
    • permitted

      public boolean permitted()
      Returns the value of the permitted record component.
      Returns:
      the value of the permitted record component
    • status

      public ModelStatus status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • vision

      public boolean vision()
      Returns the value of the vision record component.
      Returns:
      the value of the vision record component
    • documents

      public boolean documents()
      Returns the value of the documents record component.
      Returns:
      the value of the documents record component
    • outputModalities

      public List<String> outputModalities()
      Returns the value of the outputModalities record component.
      Returns:
      the value of the outputModalities record component
    • inputPricePerMillion

      public Double inputPricePerMillion()
      Returns the value of the inputPricePerMillion record component.
      Returns:
      the value of the inputPricePerMillion record component
    • outputPricePerMillion

      public Double outputPricePerMillion()
      Returns the value of the outputPricePerMillion record component.
      Returns:
      the value of the outputPricePerMillion record component
    • currency

      public String currency()
      Returns the value of the currency record component.
      Returns:
      the value of the currency record component
    • tpm

      public Integer tpm()
      Returns the value of the tpm record component.
      Returns:
      the value of the tpm record component
    • maxConcurrent

      public Integer maxConcurrent()
      Returns the value of the maxConcurrent record component.
      Returns:
      the value of the maxConcurrent record component
    • unverified

      public boolean unverified()
      Returns the value of the unverified record component.
      Returns:
      the value of the unverified record component
    • note

      public String note()
      Returns the value of the note record component.
      Returns:
      the value of the note record component