public static final class AssembliesAddFeatureRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AssembliesAddFeatureResponse |
call(OnshapeDocument document) |
Calls addFeature method, Add a feature to the feature list for an assembly
|
AssembliesAddFeatureResponse |
call(String did,
String wid,
String eid) |
Calls addFeature method, Add a feature to the feature list for an assembly
|
Map |
feature() |
Get The feature to add
|
AssembliesAddFeatureRequest.Builder |
feature(Map value) |
Set The feature to add
|
Boolean |
rejectMicroversionSkew() |
Get If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.
|
AssembliesAddFeatureRequest.Builder |
rejectMicroversionSkew(Boolean value) |
Set If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.
|
String |
serializationVersion() |
Get The version of the serialization protocol for features
|
AssembliesAddFeatureRequest.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
|
AssembliesAddFeatureRequest.Builder |
sourceMicroversion(String value) |
Set The document microversion from which the features were extracted
|
public final Map feature()
public final AssembliesAddFeatureRequest.Builder feature(Map value)
value - The feature to addpublic final String serializationVersion()
public final AssembliesAddFeatureRequest.Builder serializationVersion(String value)
value - The version of the serialization protocol for featurespublic final String sourceMicroversion()
public final AssembliesAddFeatureRequest.Builder sourceMicroversion(String value)
value - The document microversion from which the features were extractedpublic final Boolean rejectMicroversionSkew()
public final AssembliesAddFeatureRequest.Builder rejectMicroversionSkew(Boolean value)
value - If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.public final AssembliesAddFeatureResponse call(String did, String wid, String eid) throws OnshapeException
did - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AssembliesAddFeatureResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.