Class SessionContextClearedEvent
java.lang.Object
com.github.copilot.generated.SessionEvent
com.github.copilot.generated.SessionContextClearedEvent
@Generated("copilot-sdk-codegen")
public final class SessionContextClearedEvent
extends SessionEvent
Session event "session.context_cleared". Context-cleared details emitted when the host clears the conversation (the session.history.clearContext RPC / Session.clearContextMessages)
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordData payload forSessionContextClearedEvent. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SessionEvent
getAgentId, getEphemeral, getId, getParentId, getTimestamp, setAgentId, setEphemeral, setId, setParentId, setTimestamp
-
Constructor Details
-
SessionContextClearedEvent
public SessionContextClearedEvent()
-
-
Method Details
-
getType
Description copied from class:SessionEventReturns the event-type discriminator string (e.g.,"session.idle").- Specified by:
getTypein classSessionEvent- Returns:
- the event type
-
getData
-
setData
-