/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. *--------------------------------------------------------------------------------------------*/ package com.github.copilot.sdk.json; import java.util.Map; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; /** * Represents a permission request from the AI assistant. *
* When the assistant needs permission to perform certain actions, this object
* contains the details of the request, including the kind of permission and any
* associated tool call.
*
* @see PermissionHandler
* @since 1.0.0
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PermissionRequest {
@JsonProperty("kind")
private String kind;
@JsonProperty("toolCallId")
private String toolCallId;
private Map