public static final class AppElementsDeleteContentRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsDeleteContentResponse |
call(OnshapeDocument document,
String sid) |
Calls deleteContent method, Deletes a sub-element of an application element
|
AppElementsDeleteContentResponse |
call(String sid,
String did,
WVM wvmType,
String wvm,
String eid) |
Calls deleteContent method, Deletes a sub-element of an application element
|
String |
description() |
Get Description of the deletion operation for history
|
AppElementsDeleteContentRequest.Builder |
description(String value) |
Set Description of the deletion operation for history
|
String |
parentChangeId() |
Get Id of the last change made by this application to this element
|
AppElementsDeleteContentRequest.Builder |
parentChangeId(String value) |
Set Id of the last change made by this application to this element
|
String |
transactionId() |
Get Id of the transaction to commit
|
AppElementsDeleteContentRequest.Builder |
transactionId(String value) |
Set Id of the transaction to commit
|
public final String parentChangeId()
public final AppElementsDeleteContentRequest.Builder parentChangeId(String value)
value - Id of the last change made by this application to this elementpublic final String transactionId()
public final AppElementsDeleteContentRequest.Builder transactionId(String value)
value - Id of the transaction to commitpublic final String description()
public final AppElementsDeleteContentRequest.Builder description(String value)
value - Description of the deletion operation for historypublic final AppElementsDeleteContentResponse call(String sid, String did, WVM wvmType, String wvm, String eid) throws OnshapeException
sid - The id of the subelement to be deleted. URL-encode if neededdid - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AppElementsDeleteContentResponse call(OnshapeDocument document, String sid) throws OnshapeException
document - Document object from Onshape URL.sid - The id of the subelement to be deleted. URL-encode if neededOnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.