public static final class FoldersShareFolderRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
FoldersShareFolderResponse |
call(String fid) |
Calls shareFolder method, Share folder with one or more entities, which may be users, companies, teams or applications.
|
FoldersShareFolderRequestEntries[] |
entries() |
Get List of target entities to share with.
|
FoldersShareFolderRequest.Builder |
entries(FoldersShareFolderRequestEntries[] value) |
Set List of target entities to share with.
|
String |
folderId() |
Get The ID of the folder to be shared.
|
FoldersShareFolderRequest.Builder |
folderId(String value) |
Set The ID of the folder to be shared.
|
String |
message() |
Get An optional message to include in the share email.
|
FoldersShareFolderRequest.Builder |
message(String value) |
Set An optional message to include in the share email.
|
String[] |
permissionSet() |
Get The permissions to grant to the entities.
|
FoldersShareFolderRequest.Builder |
permissionSet(String[] value) |
Set The permissions to grant to the entities.
|
Boolean |
update() |
Get If true, indicates that the request is intended to be an update of existing share permissions for the entities in the entries list.
|
FoldersShareFolderRequest.Builder |
update(Boolean value) |
Set If true, indicates that the request is intended to be an update of existing share permissions for the entities in the entries list.
|
public final String folderId()
public final FoldersShareFolderRequest.Builder folderId(String value)
value - The ID of the folder to be shared. Must match the folder ID specified in the URL.public final FoldersShareFolderRequestEntries[] entries()
public final FoldersShareFolderRequest.Builder entries(FoldersShareFolderRequestEntries[] value)
value - List of target entities to share with. Must not be empty.public final String[] permissionSet()
public final FoldersShareFolderRequest.Builder permissionSet(String[] value)
value - The permissions to grant to the entities. Must not be empty. The valid permissions are READ, WRITE, DELETE, RESHARE, COMMENT, LINK, COPY, OWNER. It is an error for a permission set to be specified that is identical to the current permissions for an entity in the entries list.public final Boolean update()
public final FoldersShareFolderRequest.Builder update(Boolean value)
value - If true, indicates that the request is intended to be an update of existing share permissions for the entities in the entries list.public final String message()
public final FoldersShareFolderRequest.Builder message(String value)
value - An optional message to include in the share email. This message has a maximum allowed size.public final FoldersShareFolderResponse call(String fid) throws OnshapeException
fid - Folder IDOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.