public static final class ElementsDecodeConfigurationStringRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ElementsDecodeConfigurationStringResponse |
call(OnshapeDocument document,
String cid) |
Calls decodeConfigurationString method, Converts a configuration string or configuration id into parameter map form.
|
ElementsDecodeConfigurationStringResponse |
call(String cid,
String did,
WVM wvmType,
String wvm,
String eid) |
Calls decodeConfigurationString method, Converts a configuration string or configuration id into parameter map form.
|
Boolean |
configurationIsId() |
Get If true, the cid parameter should be interpreted as a configurationId rather than an encoded configuration, in which case the wvmid must be a version or microversion and the configurationId must be obtained from that version or microversion.
|
ElementsDecodeConfigurationStringRequest.Builder |
configurationIsId(Boolean value) |
Set If true, the cid parameter should be interpreted as a configurationId rather than an encoded configuration, in which case the wvmid must be a version or microversion and the configurationId must be obtained from that version or microversion.
|
Boolean |
includeDisplay() |
Get If true, additional data is returned for user-viewable information
|
ElementsDecodeConfigurationStringRequest.Builder |
includeDisplay(Boolean value) |
Set If true, additional data is returned for user-viewable information
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
ElementsDecodeConfigurationStringRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
public final Boolean includeDisplay()
public final ElementsDecodeConfigurationStringRequest.Builder includeDisplay(Boolean value)
value - If true, additional data is returned for user-viewable informationpublic final Boolean configurationIsId()
public final ElementsDecodeConfigurationStringRequest.Builder configurationIsId(Boolean value)
value - If true, the cid parameter should be interpreted as a configurationId rather than an encoded configuration, in which case the wvmid must be a version or microversion and the configurationId must be obtained from that version or microversion.public final String linkDocumentId()
public final ElementsDecodeConfigurationStringRequest.Builder linkDocumentId(String value)
value - Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter.public final ElementsDecodeConfigurationStringResponse call(String cid, String did, WVM wvmType, String wvm, String eid) throws OnshapeException
cid - configuration string or configuration id to decode (must be url-encoded).did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final ElementsDecodeConfigurationStringResponse call(OnshapeDocument document, String cid) throws OnshapeException
document - Document object from Onshape URL.cid - configuration string or configuration id to decode (must be url-encoded).OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.