public static final class PartStudiosUpdateFeaturesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
PartStudiosUpdateFeaturesResponse |
call(OnshapeDocument document) |
Calls updateFeatures method, Update parameters of existing features in the feature list for a part studio.
|
PartStudiosUpdateFeaturesResponse |
call(String did,
String wid,
String eid) |
Calls updateFeatures method, Update parameters of existing features in the feature list for a part studio.
|
Map[] |
features() |
Get A list of features containing updates to apply
|
PartStudiosUpdateFeaturesRequest.Builder |
features(Map[] value) |
Set A list of features containing updates to apply
|
Boolean |
rejectMicroversionSkew() |
Get If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.
|
PartStudiosUpdateFeaturesRequest.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
|
PartStudiosUpdateFeaturesRequest.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
|
PartStudiosUpdateFeaturesRequest.Builder |
sourceMicroversion(String value) |
Set The document microversion from which the features were extracted
|
Boolean |
updateSuppressionAttributes() |
Get If true, suppression attributes of the feature (suppress, suppressionState) will be updated
|
PartStudiosUpdateFeaturesRequest.Builder |
updateSuppressionAttributes(Boolean value) |
Set If true, suppression attributes of the feature (suppress, suppressionState) will be updated
|
public final Boolean updateSuppressionAttributes()
public final PartStudiosUpdateFeaturesRequest.Builder updateSuppressionAttributes(Boolean value)
value - If true, suppression attributes of the feature (suppress, suppressionState) will be updatedpublic final Map[] features()
public final PartStudiosUpdateFeaturesRequest.Builder features(Map[] value)
value - A list of features containing updates to applypublic final String serializationVersion()
public final PartStudiosUpdateFeaturesRequest.Builder serializationVersion(String value)
value - The version of the serialization protocol for featurespublic final String sourceMicroversion()
public final PartStudiosUpdateFeaturesRequest.Builder sourceMicroversion(String value)
value - The document microversion from which the features were extractedpublic final Boolean rejectMicroversionSkew()
public final PartStudiosUpdateFeaturesRequest.Builder rejectMicroversionSkew(Boolean value)
value - If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.public final PartStudiosUpdateFeaturesResponse call(String did, String wid, String eid) throws OnshapeException
did - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final PartStudiosUpdateFeaturesResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.