public static final class AssembliesUpdateFeatureRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AssembliesUpdateFeatureResponse |
call(OnshapeDocument document,
String fid) |
Calls updateFeature method, Update an existing feature in the feature list for an assembly
|
AssembliesUpdateFeatureResponse |
call(String fid,
String did,
String wid,
String eid) |
Calls updateFeature method, Update an existing feature in the feature list for an assembly
|
AssembliesUpdateFeatureRequestFeature |
feature() |
Get The feature to add
|
AssembliesUpdateFeatureRequest.Builder |
feature(AssembliesUpdateFeatureRequestFeature 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.
|
AssembliesUpdateFeatureRequest.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
|
AssembliesUpdateFeatureRequest.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
|
AssembliesUpdateFeatureRequest.Builder |
sourceMicroversion(String value) |
Set The document microversion from which the features were extracted
|
public final AssembliesUpdateFeatureRequestFeature feature()
public final AssembliesUpdateFeatureRequest.Builder feature(AssembliesUpdateFeatureRequestFeature value)
value - The feature to addpublic final String serializationVersion()
public final AssembliesUpdateFeatureRequest.Builder serializationVersion(String value)
value - The version of the serialization protocol for featurespublic final String sourceMicroversion()
public final AssembliesUpdateFeatureRequest.Builder sourceMicroversion(String value)
value - The document microversion from which the features were extractedpublic final Boolean rejectMicroversionSkew()
public final AssembliesUpdateFeatureRequest.Builder rejectMicroversionSkew(Boolean value)
value - If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.public final AssembliesUpdateFeatureResponse call(String fid, String did, String wid, String eid) throws OnshapeException
fid - The id of the feature being updated. This id should be URL encoded and must match the featureId found in the serialized structuredid - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AssembliesUpdateFeatureResponse call(OnshapeDocument document, String fid) throws OnshapeException
document - Document object from Onshape URL.fid - The id of the feature being updated. This id should be URL encoded and must match the featureId found in the serialized structureOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.