Record Class SessionModelSwitchToParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelSwitchToParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionModelSwitchToParams(String sessionId, String modelId, AutoTier autoTier, String reasoningEffort, ReasoningSummary reasoningSummary, Verbosity verbosity, ModelCapabilitiesOverride modelCapabilities, ContextTier contextTier, ModelChangeSource source, Boolean deferIfModelChangeQueued, String compactionDecision, Boolean runCompactionPreflight, String repoScope, String modelChangeScope, Boolean requireAvailable, ModelPickerPersistenceRequest pickerPersistence)
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, AutoTier autoTier, String reasoningEffort, ReasoningSummary reasoningSummary, Verbosity verbosity, ModelCapabilitiesOverride modelCapabilities, ContextTier contextTier, ModelChangeSource source, Boolean deferIfModelChangeQueued, String compactionDecision, Boolean runCompactionPreflight, String repoScope, String modelChangeScope, Boolean requireAvailable, ModelPickerPersistenceRequest pickerPersistence) Creates an instance of aSessionModelSwitchToParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionautoTier()Returns the value of theautoTierrecord component.Returns the value of thecompactionDecisionrecord component.Returns the value of thecontextTierrecord component.Returns the value of thedeferIfModelChangeQueuedrecord 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.Returns the value of themodelChangeScoperecord component.modelId()Returns the value of themodelIdrecord component.Returns the value of thepickerPersistencerecord component.Returns the value of thereasoningEffortrecord component.Returns the value of thereasoningSummaryrecord component.Returns the value of therepoScoperecord component.Returns the value of therequireAvailablerecord component.Returns the value of therunCompactionPreflightrecord component.Returns the value of thesessionIdrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverbosityrecord component.
-
Constructor Details
-
SessionModelSwitchToParams
public SessionModelSwitchToParams(String sessionId, String modelId, AutoTier autoTier, String reasoningEffort, ReasoningSummary reasoningSummary, Verbosity verbosity, ModelCapabilitiesOverride modelCapabilities, ContextTier contextTier, ModelChangeSource source, Boolean deferIfModelChangeQueued, String compactionDecision, Boolean runCompactionPreflight, String repoScope, String modelChangeScope, Boolean requireAvailable, ModelPickerPersistenceRequest pickerPersistence) Creates an instance of aSessionModelSwitchToParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentmodelId- the value for themodelIdrecord componentautoTier- the value for theautoTierrecord componentreasoningEffort- the value for thereasoningEffortrecord componentreasoningSummary- the value for thereasoningSummaryrecord componentverbosity- the value for theverbosityrecord componentmodelCapabilities- the value for themodelCapabilitiesrecord componentcontextTier- the value for thecontextTierrecord componentsource- the value for thesourcerecord componentdeferIfModelChangeQueued- the value for thedeferIfModelChangeQueuedrecord componentcompactionDecision- the value for thecompactionDecisionrecord componentrunCompactionPreflight- the value for therunCompactionPreflightrecord componentrepoScope- the value for therepoScoperecord componentmodelChangeScope- the value for themodelChangeScoperecord componentrequireAvailable- the value for therequireAvailablerecord componentpickerPersistence- the value for thepickerPersistencerecord 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
-
autoTier
Returns the value of theautoTierrecord component.- Returns:
- the value of the
autoTierrecord 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
-
verbosity
Returns the value of theverbosityrecord component.- Returns:
- the value of the
verbosityrecord 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
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
deferIfModelChangeQueued
Returns the value of thedeferIfModelChangeQueuedrecord component.- Returns:
- the value of the
deferIfModelChangeQueuedrecord component
-
compactionDecision
Returns the value of thecompactionDecisionrecord component.- Returns:
- the value of the
compactionDecisionrecord component
-
runCompactionPreflight
Returns the value of therunCompactionPreflightrecord component.- Returns:
- the value of the
runCompactionPreflightrecord component
-
repoScope
Returns the value of therepoScoperecord component.- Returns:
- the value of the
repoScoperecord component
-
modelChangeScope
Returns the value of themodelChangeScoperecord component.- Returns:
- the value of the
modelChangeScoperecord component
-
requireAvailable
Returns the value of therequireAvailablerecord component.- Returns:
- the value of the
requireAvailablerecord component
-
pickerPersistence
Returns the value of thepickerPersistencerecord component.- Returns:
- the value of the
pickerPersistencerecord component
-