Record Class SessionModelListResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelListResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionModelListResult(List<Object> list, List<SessionModelPriceCategory> modelPriceCategories, Map<String,Object> quotaSnapshots)
extends Record
The list of models available to this session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModelListResult(List<Object> list, List<SessionModelPriceCategory> modelPriceCategories, Map<String, Object> quotaSnapshots) Creates an instance of aSessionModelListResultrecord 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.list()Returns the value of thelistrecord component.Returns the value of themodelPriceCategoriesrecord component.Returns the value of thequotaSnapshotsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionModelListResult
public SessionModelListResult(List<Object> list, List<SessionModelPriceCategory> modelPriceCategories, Map<String, Object> quotaSnapshots) Creates an instance of aSessionModelListResultrecord class.- Parameters:
list- the value for thelistrecord componentmodelPriceCategories- the value for themodelPriceCategoriesrecord componentquotaSnapshots- the value for thequotaSnapshotsrecord 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). -
list
-
modelPriceCategories
Returns the value of themodelPriceCategoriesrecord component.- Returns:
- the value of the
modelPriceCategoriesrecord component
-
quotaSnapshots
-