Record Class SessionModelSwitchToParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelSwitchToParams
@Generated("copilot-sdk-codegen")
public record SessionModelSwitchToParams(String sessionId, String modelId, String reasoningEffort, ReasoningSummary reasoningSummary, ModelCapabilitiesOverride modelCapabilities, ContextTier contextTier)
extends Record
Target model identifier and optional reasoning effort, summary, capability overrides, and context tier.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModelSwitchToParams(String sessionId, String modelId, String reasoningEffort, ReasoningSummary reasoningSummary, ModelCapabilitiesOverride modelCapabilities, ContextTier contextTier) Creates an instance of aSessionModelSwitchToParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontextTierrecord 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 themodelCapabilitiesrecord component.modelId()Returns the value of themodelIdrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of thereasoningSummaryrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionModelSwitchToParams
public SessionModelSwitchToParams(String sessionId, String modelId, String reasoningEffort, ReasoningSummary reasoningSummary, ModelCapabilitiesOverride modelCapabilities, ContextTier contextTier) Creates an instance of aSessionModelSwitchToParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmodelId- the value for themodelIdrecord componentreasoningEffort- the value for thereasoningEffortrecord componentreasoningSummary- the value for thereasoningSummaryrecord componentmodelCapabilities- the value for themodelCapabilitiesrecord componentcontextTier- the value for thecontextTierrecord 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
-
modelId
Returns the value of themodelIdrecord component.- Returns:
- the value of the
modelIdrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
reasoningSummary
Returns the value of thereasoningSummaryrecord component.- Returns:
- the value of the
reasoningSummaryrecord component
-
modelCapabilities
Returns the value of themodelCapabilitiesrecord component.- Returns:
- the value of the
modelCapabilitiesrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord component
-