public static final class PartStudiosUpdateFeatureRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosUpdateFeatureResponse |
call(OnshapeDocument document,
String fid) |
Calls updateFeature method, Update an existing feature in the feature list for a part studio.
|
PartStudiosUpdateFeatureResponse |
call(String fid,
String did,
String wid,
String eid) |
Calls updateFeature method, Update an existing feature in the feature list for a part studio.
|
PartStudiosUpdateFeatureRequestFeature |
feature() |
Get The feature to add
|
PartStudiosUpdateFeatureRequest.Builder |
feature(PartStudiosUpdateFeatureRequestFeature 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.
|
PartStudiosUpdateFeatureRequest.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
|
PartStudiosUpdateFeatureRequest.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
|
PartStudiosUpdateFeatureRequest.Builder |
sourceMicroversion(String value) |
Set The document microversion from which the features were extracted
|
public final PartStudiosUpdateFeatureRequestFeature feature()
public final PartStudiosUpdateFeatureRequest.Builder feature(PartStudiosUpdateFeatureRequestFeature value)
value - The feature to addpublic final String serializationVersion()
public final PartStudiosUpdateFeatureRequest.Builder serializationVersion(String value)
value - The version of the serialization protocol for featurespublic final String sourceMicroversion()
public final PartStudiosUpdateFeatureRequest.Builder sourceMicroversion(String value)
value - The document microversion from which the features were extractedpublic final Boolean rejectMicroversionSkew()
public final PartStudiosUpdateFeatureRequest.Builder rejectMicroversionSkew(Boolean value)
value - If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.public final PartStudiosUpdateFeatureResponse 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 PartStudiosUpdateFeatureResponse 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.