public static final class DocumentsUnShareRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
DocumentsUnShareResponse |
call(OnshapeDocument document) |
Calls unShare method, Remove share permissions from document
|
DocumentsUnShareResponse |
call(String eid,
String did) |
Calls unShare method, Remove share permissions from document
|
Number |
entryType() |
Get The type of entity referenced by eid.
|
DocumentsUnShareRequest.Builder |
entryType(Number value) |
Set The type of entity referenced by eid.
|
public final Number entryType()
public final DocumentsUnShareRequest.Builder entryType(Number value)
value - The type of entity referenced by eid. Valid values are 0=User, 1=Company, 2=Team, 4=Application.public final DocumentsUnShareResponse call(String eid, String did) throws OnshapeException
eid - Entry ID of the share entry to be deleteddid - Document IDOnshapeException - On HTTP or serialization errorpublic final DocumentsUnShareResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.