Class SessionNameApi
java.lang.Object
com.github.copilot.generated.rpc.SessionNameApi
API methods for the
name namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionget()Gets the session's friendly name.set(SessionNameSetParams params) Sets the session's friendly name.setAuto(SessionNameSetAutoParams params) Persists an auto-generated session summary as the session's name when no user-set name exists.
-
Method Details
-
get
Gets the session's friendly name.- Since:
- 1.0.0
-
set
Sets the session's friendly name.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
setAuto
@CopilotExperimental public CompletableFuture<SessionNameSetAutoResult> setAuto(SessionNameSetAutoParams params) Persists an auto-generated session summary as the session's name when no user-set name exists.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-