Class SessionPermissionsFolderTrustApi
java.lang.Object
com.github.copilot.generated.rpc.SessionPermissionsFolderTrustApi
@Generated("copilot-sdk-codegen")
public final class SessionPermissionsFolderTrustApi
extends Object
API methods for the
permissions.folderTrust namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionAdds a folder to the user's trusted folders list.Reports whether a folder is trusted according to the user's folder trust state.
-
Method Details
-
isTrusted
@CopilotExperimental public CompletableFuture<SessionPermissionsFolderTrustIsTrustedResult> isTrusted(SessionPermissionsFolderTrustIsTrustedParams params) Reports whether a folder is trusted according to the user's folder trust state.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
addTrusted
@CopilotExperimental public CompletableFuture<SessionPermissionsFolderTrustAddTrustedResult> addTrusted(SessionPermissionsFolderTrustAddTrustedParams params) Adds a folder to the user's trusted folders list.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-