Enum Class UserMessageDelivery

java.lang.Object
java.lang.Enum<UserMessageDelivery>
com.github.copilot.generated.UserMessageDelivery
All Implemented Interfaces:
Serializable, Comparable<UserMessageDelivery>, Constable

@Generated("copilot-sdk-codegen") public enum UserMessageDelivery extends Enum<UserMessageDelivery>
How this user message was delivered to the agentic loop, relative to whether the loop was already running. This is the timing axis only; the message's origin (human vs. system/command/schedule/skill/etc.) is carried separately by `source`. A system-injected message has a delivery too — e.g. a background-task notification waking an idle agent is `idle`, the same mechanism as a human starting a fresh turn.
Since:
1.0.0
  • Enum Constant Details

  • Method Details

    • values

      public static UserMessageDelivery[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserMessageDelivery valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • fromValue

      public static UserMessageDelivery fromValue(String value)