public static final class DocumentsRestoreFromHistoryRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
DocumentsRestoreFromHistoryResponse |
call(OnshapeDocument document) |
Calls restoreFromHistory method, Restores document to an old version or microversion in its history.
|
DocumentsRestoreFromHistoryResponse |
call(String did,
String wid,
VM vmType,
String vm) |
Calls restoreFromHistory method, Restores document to an old version or microversion in its history.
|
public final DocumentsRestoreFromHistoryResponse call(String did, String wid, VM vmType, String vm) throws OnshapeException
did - The document in which to restorewid - The workspace in which to restorevmType - Type of Version or Microversionvm - The version (v) or microversion (m) to restore fromOnshapeException - On HTTP or serialization errorpublic final DocumentsRestoreFromHistoryResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.