Enum Class PermissionCompletedKind

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

@Generated("copilot-sdk-codegen") public enum PermissionCompletedKind extends Enum<PermissionCompletedKind>
The outcome of the permission request
Since:
1.0.0
  • Enum Constant Details

    • APPROVED

      public static final PermissionCompletedKind APPROVED
      The approved variant.
    • APPROVED_FOR_SESSION

      public static final PermissionCompletedKind APPROVED_FOR_SESSION
      The approved-for-session variant.
    • APPROVED_FOR_LOCATION

      public static final PermissionCompletedKind APPROVED_FOR_LOCATION
      The approved-for-location variant.
    • DENIED_BY_RULES

      public static final PermissionCompletedKind DENIED_BY_RULES
      The denied-by-rules variant.
    • DENIED_NO_APPROVAL_RULE_AND_COULD_NOT_REQUEST_FROM_USER

      public static final PermissionCompletedKind DENIED_NO_APPROVAL_RULE_AND_COULD_NOT_REQUEST_FROM_USER
      The denied-no-approval-rule-and-could-not-request-from-user variant.
    • DENIED_INTERACTIVELY_BY_USER

      public static final PermissionCompletedKind DENIED_INTERACTIVELY_BY_USER
      The denied-interactively-by-user variant.
    • DENIED_BY_CONTENT_EXCLUSION_POLICY

      public static final PermissionCompletedKind DENIED_BY_CONTENT_EXCLUSION_POLICY
      The denied-by-content-exclusion-policy variant.
    • DENIED_BY_PERMISSION_REQUEST_HOOK

      public static final PermissionCompletedKind DENIED_BY_PERMISSION_REQUEST_HOOK
      The denied-by-permission-request-hook variant.
  • Method Details

    • values

      public static PermissionCompletedKind[] 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 PermissionCompletedKind 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 PermissionCompletedKind fromValue(String value)