public static final class AppElementsCommitTransactionsRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
Boolean |
allowMerge() |
Get If false, return an error in the case of concurrency, even if changes could be merged.
|
AppElementsCommitTransactionsRequest.Builder |
allowMerge(Boolean value) |
Set If false, return an error in the case of concurrency, even if changes could be merged.
|
AppElementsCommitTransactionsResponse |
call(OnshapeDocument document) |
Calls commitTransactions method, Commits transactions (Merges multiple transactions into one microversion.) Either all of the
transactions will be committed in a single microversion or none will be committed if the call
raises an error.
|
AppElementsCommitTransactionsResponse |
call(String did,
String wid) |
Calls commitTransactions method, Commits transactions (Merges multiple transactions into one microversion.) Either all of the
transactions will be committed in a single microversion or none will be committed if the call
raises an error.
|
String |
description() |
Get Description of the change being made, for history tracking
|
AppElementsCommitTransactionsRequest.Builder |
description(String value) |
Set Description of the change being made, for history tracking
|
String[] |
transactionIds() |
Get Ids of all transactions to commit.
|
AppElementsCommitTransactionsRequest.Builder |
transactionIds(String[] value) |
Set Ids of all transactions to commit.
|
public final String description()
public final AppElementsCommitTransactionsRequest.Builder description(String value)
value - Description of the change being made, for history trackingpublic final Boolean allowMerge()
public final AppElementsCommitTransactionsRequest.Builder allowMerge(Boolean value)
value - If false, return an error in the case of concurrency, even if changes could be merged. Default is true.public final String[] transactionIds()
public final AppElementsCommitTransactionsRequest.Builder transactionIds(String[] value)
value - Ids of all transactions to commit.public final AppElementsCommitTransactionsResponse call(String did, String wid) throws OnshapeException
did - Document IDwid - Workspace IDOnshapeException - On HTTP or serialization errorpublic final AppElementsCommitTransactionsResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.