public static final class PartStudiosUpdateRollbackRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosUpdateRollbackResponse |
call(OnshapeDocument document) |
Calls updateRollback method, Move the rollback bar in the feature list for a part studio.
|
PartStudiosUpdateRollbackResponse |
call(String did,
String wid,
String eid) |
Calls updateRollback method, Move the rollback bar in the feature list for a part studio.
|
Boolean |
rejectMicroversionSkew() |
Get If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.
|
PartStudiosUpdateRollbackRequest.Builder |
rejectMicroversionSkew(Boolean value) |
Set If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.
|
Number |
rollbackIndex() |
Get The index at which the rollback index should be placed.
|
PartStudiosUpdateRollbackRequest.Builder |
rollbackIndex(Number value) |
Set The index at which the rollback index should be placed.
|
String |
serializationVersion() |
Get The version of the serialization protocol for features
|
PartStudiosUpdateRollbackRequest.Builder |
serializationVersion(String value) |
Set The version of the serialization protocol for features
|
String |
sourceMicroversion() |
Get The document microversion from which the features were extracted
|
PartStudiosUpdateRollbackRequest.Builder |
sourceMicroversion(String value) |
Set The document microversion from which the features were extracted
|
public final Number rollbackIndex()
public final PartStudiosUpdateRollbackRequest.Builder rollbackIndex(Number value)
value - The index at which the rollback index should be placed. Features with entry index (0-based) higher than or equal to this value are rolled back. The value -1 is treated as an alias for "end of feature list". Otherwise the value must be in the range 0 to the number of entries in the feature listpublic final String serializationVersion()
public final PartStudiosUpdateRollbackRequest.Builder serializationVersion(String value)
value - The version of the serialization protocol for featurespublic final String sourceMicroversion()
public final PartStudiosUpdateRollbackRequest.Builder sourceMicroversion(String value)
value - The document microversion from which the features were extractedpublic final Boolean rejectMicroversionSkew()
public final PartStudiosUpdateRollbackRequest.Builder rejectMicroversionSkew(Boolean value)
value - If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.public final PartStudiosUpdateRollbackResponse call(String did, String wid, String eid) throws OnshapeException
did - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final PartStudiosUpdateRollbackResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.