Record Class SessionModelSwitchAutoTierParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelSwitchAutoTierParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionModelSwitchAutoTierParams(String sessionId, AutoTier autoTier, ModelChangeSource source)
extends Record
An Auto preference request for the session. This updates Auto configuration only; it does not change the selected model to `auto`.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModelSwitchAutoTierParams(String sessionId, AutoTier autoTier, ModelChangeSource source) Creates an instance of aSessionModelSwitchAutoTierParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionautoTier()Returns the value of theautoTierrecord 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 thesessionIdrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionModelSwitchAutoTierParams
public SessionModelSwitchAutoTierParams(String sessionId, AutoTier autoTier, ModelChangeSource source) Creates an instance of aSessionModelSwitchAutoTierParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentautoTier- the value for theautoTierrecord componentsource- the value for thesourcerecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
autoTier
Returns the value of theautoTierrecord component.- Returns:
- the value of the
autoTierrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-