Record Class SessionModelChangeEvent.SessionModelChangeEventData
java.lang.Object
java.lang.Record
com.github.copilot.generated.SessionModelChangeEvent.SessionModelChangeEventData
- Enclosing class:
SessionModelChangeEvent
public static record SessionModelChangeEvent.SessionModelChangeEventData(String previousModel, String newModel, String providerId, String previousProviderId, String previousReasoningEffort, String reasoningEffort, String reasoningEffortModel, Boolean reasoningEffortManaged, ReasoningSummary previousReasoningSummary, ReasoningSummary reasoningSummary, Verbosity previousVerbosity, Verbosity verbosity, ContextTier contextTier, Boolean contextTierManaged, String cause, ModelChangeSource source, AutoTier previousAutoTier, AutoTier autoTier, Boolean autoTierManaged)
extends Record
Data payload for
SessionModelChangeEvent.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModelChangeEventData(String previousModel, String newModel, String previousReasoningEffort, String reasoningEffort, String reasoningEffortModel, ReasoningSummary previousReasoningSummary, ReasoningSummary reasoningSummary, Verbosity previousVerbosity, Verbosity verbosity, ContextTier contextTier, String cause, ModelChangeSource source, AutoTier previousAutoTier, AutoTier autoTier) Creates event data with the components it had before later optional fields were added.SessionModelChangeEventData(String previousModel, String newModel, String providerId, String previousProviderId, String previousReasoningEffort, String reasoningEffort, String reasoningEffortModel, Boolean reasoningEffortManaged, ReasoningSummary previousReasoningSummary, ReasoningSummary reasoningSummary, Verbosity previousVerbosity, Verbosity verbosity, ContextTier contextTier, Boolean contextTierManaged, String cause, ModelChangeSource source, AutoTier previousAutoTier, AutoTier autoTier, Boolean autoTierManaged) Creates an instance of aSessionModelChangeEventDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionautoTier()Returns the value of theautoTierrecord component.Returns the value of theautoTierManagedrecord component.cause()Returns the value of thecauserecord component.Returns the value of thecontextTierrecord component.Returns the value of thecontextTierManagedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.newModel()Returns the value of thenewModelrecord component.Returns the value of thepreviousAutoTierrecord component.Returns the value of thepreviousModelrecord component.Returns the value of thepreviousProviderIdrecord component.Returns the value of thepreviousReasoningEffortrecord component.Returns the value of thepreviousReasoningSummaryrecord component.Returns the value of thepreviousVerbosityrecord component.Returns the value of theproviderIdrecord component.Returns the value of thereasoningEffortrecord component.Returns the value of thereasoningEffortManagedrecord component.Returns the value of thereasoningEffortModelrecord component.Returns the value of thereasoningSummaryrecord 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
-
SessionModelChangeEventData
public SessionModelChangeEventData(String previousModel, String newModel, String previousReasoningEffort, String reasoningEffort, String reasoningEffortModel, ReasoningSummary previousReasoningSummary, ReasoningSummary reasoningSummary, Verbosity previousVerbosity, Verbosity verbosity, ContextTier contextTier, String cause, ModelChangeSource source, AutoTier previousAutoTier, AutoTier autoTier) Creates event data with the components it had before later optional fields were added. -
SessionModelChangeEventData
public SessionModelChangeEventData(String previousModel, String newModel, String providerId, String previousProviderId, String previousReasoningEffort, String reasoningEffort, String reasoningEffortModel, Boolean reasoningEffortManaged, ReasoningSummary previousReasoningSummary, ReasoningSummary reasoningSummary, Verbosity previousVerbosity, Verbosity verbosity, ContextTier contextTier, Boolean contextTierManaged, String cause, ModelChangeSource source, AutoTier previousAutoTier, AutoTier autoTier, Boolean autoTierManaged) Creates an instance of aSessionModelChangeEventDatarecord class.- Parameters:
previousModel- the value for thepreviousModelrecord componentnewModel- the value for thenewModelrecord componentproviderId- the value for theproviderIdrecord componentpreviousProviderId- the value for thepreviousProviderIdrecord componentpreviousReasoningEffort- the value for thepreviousReasoningEffortrecord componentreasoningEffort- the value for thereasoningEffortrecord componentreasoningEffortModel- the value for thereasoningEffortModelrecord componentreasoningEffortManaged- the value for thereasoningEffortManagedrecord componentpreviousReasoningSummary- the value for thepreviousReasoningSummaryrecord componentreasoningSummary- the value for thereasoningSummaryrecord componentpreviousVerbosity- the value for thepreviousVerbosityrecord componentverbosity- the value for theverbosityrecord componentcontextTier- the value for thecontextTierrecord componentcontextTierManaged- the value for thecontextTierManagedrecord componentcause- the value for thecauserecord componentsource- the value for thesourcerecord componentpreviousAutoTier- the value for thepreviousAutoTierrecord componentautoTier- the value for theautoTierrecord componentautoTierManaged- the value for theautoTierManagedrecord 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). -
previousModel
Returns the value of thepreviousModelrecord component.- Returns:
- the value of the
previousModelrecord component
-
newModel
Returns the value of thenewModelrecord component.- Returns:
- the value of the
newModelrecord component
-
providerId
Returns the value of theproviderIdrecord component.- Returns:
- the value of the
providerIdrecord component
-
previousProviderId
Returns the value of thepreviousProviderIdrecord component.- Returns:
- the value of the
previousProviderIdrecord component
-
previousReasoningEffort
Returns the value of thepreviousReasoningEffortrecord component.- Returns:
- the value of the
previousReasoningEffortrecord component
-
reasoningEffort
Returns the value of thereasoningEffortrecord component.- Returns:
- the value of the
reasoningEffortrecord component
-
reasoningEffortModel
Returns the value of thereasoningEffortModelrecord component.- Returns:
- the value of the
reasoningEffortModelrecord component
-
reasoningEffortManaged
Returns the value of thereasoningEffortManagedrecord component.- Returns:
- the value of the
reasoningEffortManagedrecord component
-
previousReasoningSummary
Returns the value of thepreviousReasoningSummaryrecord component.- Returns:
- the value of the
previousReasoningSummaryrecord component
-
reasoningSummary
Returns the value of thereasoningSummaryrecord component.- Returns:
- the value of the
reasoningSummaryrecord component
-
previousVerbosity
Returns the value of thepreviousVerbosityrecord component.- Returns:
- the value of the
previousVerbosityrecord component
-
verbosity
Returns the value of theverbosityrecord component.- Returns:
- the value of the
verbosityrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord component
-
contextTierManaged
Returns the value of thecontextTierManagedrecord component.- Returns:
- the value of the
contextTierManagedrecord component
-
cause
Returns the value of thecauserecord component.- Returns:
- the value of the
causerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
previousAutoTier
Returns the value of thepreviousAutoTierrecord component.- Returns:
- the value of the
previousAutoTierrecord component
-
autoTier
Returns the value of theautoTierrecord component.- Returns:
- the value of the
autoTierrecord component
-
autoTierManaged
Returns the value of theautoTierManagedrecord component.- Returns:
- the value of the
autoTierManagedrecord component
-