public static final class ElementsEncodeConfigurationRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
ElementsEncodeConfigurationResponse |
call(OnshapeDocument document) |
Calls encodeConfiguration method, Encodes a configuration into a string for use in API calls to the target element
|
ElementsEncodeConfigurationResponse |
call(String did,
String eid) |
Calls encodeConfiguration method, Encodes a configuration into a string for use in API calls to the target element
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
ElementsEncodeConfigurationRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
ElementsEncodeConfigurationRequestParameters[] |
parameters() |
Get Array of configuration parameters to be encoded
|
ElementsEncodeConfigurationRequest.Builder |
parameters(ElementsEncodeConfigurationRequestParameters[] value) |
Set Array of configuration parameters to be encoded
|
String |
versionId() |
Get The version of the referenced document.
|
ElementsEncodeConfigurationRequest.Builder |
versionId(String value) |
Set The version of the referenced document.
|
public final ElementsEncodeConfigurationRequestParameters[] parameters()
public final ElementsEncodeConfigurationRequest.Builder parameters(ElementsEncodeConfigurationRequestParameters[] value)
value - Array of configuration parameters to be encodedpublic final String versionId()
public final ElementsEncodeConfigurationRequest.Builder versionId(String value)
value - The version of the referenced document. Meaningful only if specified together with the linkDocumentId query parameter.public final String linkDocumentId()
public final ElementsEncodeConfigurationRequest.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 ElementsEncodeConfigurationResponse call(String did, String eid) throws OnshapeException
did - Document IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final ElementsEncodeConfigurationResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.