Class UnknownSessionEvent

java.lang.Object
com.github.copilot.sdk.generated.SessionEvent
com.github.copilot.sdk.generated.UnknownSessionEvent

@Generated("copilot-sdk-codegen") public final class UnknownSessionEvent extends SessionEvent
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 Details

    • UnknownSessionEvent

      public UnknownSessionEvent()
  • Method Details

    • getType

      public String getType()
      Description copied from class: SessionEvent
      Returns the event-type discriminator string (e.g., "session.idle").
      Specified by:
      getType in class SessionEvent
      Returns:
      the event type