Record Class ModelsGetBuiltInCatalogResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ModelsGetBuiltInCatalogResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ModelsGetBuiltInCatalogResult(List<BuiltInModelCatalogEntry> models)
extends Record
The running runtime's complete catalog of well-known built-in model IDs, including supported models and additional IDs with built-in metadata.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aModelsGetBuiltInCatalogResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.models()Returns the value of themodelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelsGetBuiltInCatalogResult
Creates an instance of aModelsGetBuiltInCatalogResultrecord class.- Parameters:
models- the value for themodelsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
models
Returns the value of themodelsrecord component.- Returns:
- the value of the
modelsrecord component
-