public static final class AppElementsGetJsonPathsRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsGetJsonPathsResponse |
call(OnshapeDocument document) |
Calls getJsonPaths method, Gets the portions of a JSON tree at a workspace/microversion/version, as specified by JsonPaths
|
AppElementsGetJsonPathsResponse |
call(String did,
WVM wvmType,
String wvm,
String eid) |
Calls getJsonPaths method, Gets the portions of a JSON tree at a workspace/microversion/version, as specified by JsonPaths
|
String |
changeId() |
Get Id of the change at which the JSON should be retrieved Valid only when used with a workspaceId
|
AppElementsGetJsonPathsRequest.Builder |
changeId(String value) |
Set Id of the change at which the JSON should be retrieved Valid only when used with a workspaceId
|
String[] |
paths() |
Get lists of path in the JsonPath format
|
AppElementsGetJsonPathsRequest.Builder |
paths(String[] value) |
Set lists of path in the JsonPath format
|
String |
transactionId() |
Get Id of the transaction in which the JSON should be retrieved Valid only when used with a workspaceId
|
AppElementsGetJsonPathsRequest.Builder |
transactionId(String value) |
Set Id of the transaction in which the JSON should be retrieved Valid only when used with a workspaceId
|
public final String[] paths()
public final AppElementsGetJsonPathsRequest.Builder paths(String[] value)
value - lists of path in the JsonPath formatpublic final String transactionId()
public final AppElementsGetJsonPathsRequest.Builder transactionId(String value)
value - Id of the transaction in which the JSON should be retrieved Valid only when used with a workspaceIdpublic final String changeId()
public final AppElementsGetJsonPathsRequest.Builder changeId(String value)
value - Id of the change at which the JSON should be retrieved Valid only when used with a workspaceIdpublic final AppElementsGetJsonPathsResponse call(String did, WVM wvmType, String wvm, String eid) throws OnshapeException
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 AppElementsGetJsonPathsResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.