Record Class SessionModelGetReasoningSummariesParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelGetReasoningSummariesParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionModelGetReasoningSummariesParams(String sessionId, Boolean persistedShowReasoning, Boolean summariesVisible)
extends Record
Host presentation state the reasoning-summaries policy depends on.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModelGetReasoningSummariesParams(Boolean persistedShowReasoning, Boolean summariesVisible) Creates host presentation state; the session-scoped wrapper supplies the session ID.SessionModelGetReasoningSummariesParams(String sessionId, Boolean persistedShowReasoning, Boolean summariesVisible) Creates an instance of aSessionModelGetReasoningSummariesParamsrecord 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.Returns the value of thepersistedShowReasoningrecord component.Returns the value of thesessionIdrecord component.Returns the value of thesummariesVisiblerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionModelGetReasoningSummariesParams
public SessionModelGetReasoningSummariesParams(Boolean persistedShowReasoning, Boolean summariesVisible) Creates host presentation state; the session-scoped wrapper supplies the session ID.- Parameters:
persistedShowReasoning- the persisted visibility setting, or null when unsetsummariesVisible- whether summaries are visible, or null for the default
-
SessionModelGetReasoningSummariesParams
public SessionModelGetReasoningSummariesParams(String sessionId, Boolean persistedShowReasoning, Boolean summariesVisible) Creates an instance of aSessionModelGetReasoningSummariesParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentpersistedShowReasoning- the value for thepersistedShowReasoningrecord componentsummariesVisible- the value for thesummariesVisiblerecord 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
-
persistedShowReasoning
Returns the value of thepersistedShowReasoningrecord component.- Returns:
- the value of the
persistedShowReasoningrecord component
-
summariesVisible
Returns the value of thesummariesVisiblerecord component.- Returns:
- the value of the
summariesVisiblerecord component
-