Record Class ModelsListResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ModelsListResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ModelsListResult(List<Model> models, AutoTierMetadata auto, List<ImageToolModel> imageModels)
extends Record
List of Copilot models available to the resolved user, including capabilities and billing metadata.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelsListResult(List<Model> models, AutoTierMetadata auto, List<ImageToolModel> imageModels) Creates an instance of aModelsListResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionauto()Returns the value of theautorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimageModelsrecord component.models()Returns the value of themodelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelsListResult
public ModelsListResult(List<Model> models, AutoTierMetadata auto, List<ImageToolModel> imageModels) Creates an instance of aModelsListResultrecord class.- Parameters:
models- the value for themodelsrecord componentauto- the value for theautorecord componentimageModels- the value for theimageModelsrecord 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
-
auto
Returns the value of theautorecord component.- Returns:
- the value of the
autorecord component
-
imageModels
Returns the value of theimageModelsrecord component.- Returns:
- the value of the
imageModelsrecord component
-