public static final class DocumentsGetVersionRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
DocumentsGetVersionResponse |
call(OnshapeDocument document,
String vid) |
Calls getVersion method, Get information about a version
|
DocumentsGetVersionResponse |
call(String did,
String vid) |
Calls getVersion method, Get information about a version
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
DocumentsGetVersionRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
public final String linkDocumentId()
public final DocumentsGetVersionRequest.Builder linkDocumentId(String value)
value - Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter.public final DocumentsGetVersionResponse call(String did, String vid) throws OnshapeException
did - Document IDvid - Version IDOnshapeException - On HTTP or serialization errorpublic final DocumentsGetVersionResponse call(OnshapeDocument document, String vid) throws OnshapeException
document - Document object from Onshape URL.vid - Version IDOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.