Package com.github.copilot.sdk.generated
Class UnknownSessionEvent
java.lang.Object
com.github.copilot.sdk.generated.SessionEvent
com.github.copilot.sdk.generated.UnknownSessionEvent
Fallback for event types not yet known to this SDK version.
getType() returns the original type string from the JSON payload,
preserving forward compatibility with event types introduced by newer CLI versions.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.copilot.sdk.generated.SessionEvent
getEphemeral, getId, getParentId, getTimestamp, setEphemeral, setId, setParentId, setTimestamp
-
Constructor Details
-
UnknownSessionEvent
public UnknownSessionEvent()
-
-
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
-