Module com.github.copilot.java
Package com.github.copilot.generated.rpc
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 TypeMethodDescriptionFolder path to add to trusted folders.Folder path to check for trust.
-
Method Details
-
isTrusted
public CompletableFuture<SessionPermissionsFolderTrustIsTrustedResult> isTrusted(SessionPermissionsFolderTrustIsTrustedParams params) Folder path to check for trust.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
addTrusted
public CompletableFuture<SessionPermissionsFolderTrustAddTrustedResult> addTrusted(SessionPermissionsFolderTrustAddTrustedParams params) Folder path to add to trusted folders.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-