public static final class ElementsUpdateConfigurationRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ElementsUpdateConfigurationResponse |
call(OnshapeDocument document) |
Calls updateConfiguration method, Update the configuration for a part studio or assembly.
|
ElementsUpdateConfigurationResponse |
call(String did,
String wid,
String eid) |
Calls updateConfiguration method, Update the configuration for a part studio or assembly.
|
Map[] |
configurationParameters() |
Get List of configuration parameters, which define the configurability of the Part Studio.
|
ElementsUpdateConfigurationRequest.Builder |
configurationParameters(Map[] value) |
Set List of configuration parameters, which define the configurability of the Part Studio.
|
Boolean |
rejectMicroversionSkew() |
Get If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.
|
ElementsUpdateConfigurationRequest.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
|
ElementsUpdateConfigurationRequest.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
|
ElementsUpdateConfigurationRequest.Builder |
sourceMicroversion(String value) |
Set The document microversion from which the features were extracted
|
public final Map[] configurationParameters()
public final ElementsUpdateConfigurationRequest.Builder configurationParameters(Map[] value)
value - List of configuration parameters, which define the configurability of the Part Studio.public final String serializationVersion()
public final ElementsUpdateConfigurationRequest.Builder serializationVersion(String value)
value - The version of the serialization protocol for featurespublic final String sourceMicroversion()
public final ElementsUpdateConfigurationRequest.Builder sourceMicroversion(String value)
value - The document microversion from which the features were extractedpublic final Boolean rejectMicroversionSkew()
public final ElementsUpdateConfigurationRequest.Builder rejectMicroversionSkew(Boolean value)
value - If set to true and the element has changed since sourceMicroversion, return an HTTP Conflict status.public final ElementsUpdateConfigurationResponse call(String did, String wid, String eid) throws OnshapeException
did - Document IDwid - Workspace IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final ElementsUpdateConfigurationResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.