public static final class AppElementsCreateElementRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsCreateElementResponse |
call(OnshapeDocument document) |
Calls createElement method, Create an app element
|
AppElementsCreateElementResponse |
call(String did,
String wid) |
Calls createElement method, Create an app element
|
String |
description() |
Get Description of the change being made, for history tracking
|
AppElementsCreateElementRequest.Builder |
description(String value) |
Set Description of the change being made, for history tracking
|
String |
formatId() |
Get The format id for the application element
|
AppElementsCreateElementRequest.Builder |
formatId(String value) |
Set The format id for the application element
|
Map |
jsonTree() |
Get The initial json tree in the element.
|
AppElementsCreateElementRequest.Builder |
jsonTree(Map value) |
Set The initial json tree in the element.
|
AppElementsCreateElementRequestLocation |
location() |
Get Location at which element should be inserted.
|
AppElementsCreateElementRequest.Builder |
location(AppElementsCreateElementRequestLocation value) |
Set Location at which element should be inserted.
|
String |
name() |
Get Requested app-element name
|
AppElementsCreateElementRequest.Builder |
name(String value) |
Set Requested app-element name
|
AppElementsCreateElementRequestSubelements[] |
subelements() |
Get Initial list of sub-element contents
|
AppElementsCreateElementRequest.Builder |
subelements(AppElementsCreateElementRequestSubelements[] value) |
Set Initial list of sub-element contents
|
public final String formatId()
public final AppElementsCreateElementRequest.Builder formatId(String value)
value - The format id for the application elementpublic final String name()
public final AppElementsCreateElementRequest.Builder name(String value)
value - Requested app-element namepublic final String description()
public final AppElementsCreateElementRequest.Builder description(String value)
value - Description of the change being made, for history trackingpublic final AppElementsCreateElementRequestSubelements[] subelements()
public final AppElementsCreateElementRequest.Builder subelements(AppElementsCreateElementRequestSubelements[] value)
value - Initial list of sub-element contentspublic final Map jsonTree()
public final AppElementsCreateElementRequest.Builder jsonTree(Map value)
value - The initial json tree in the element.public final AppElementsCreateElementRequestLocation location()
public final AppElementsCreateElementRequest.Builder location(AppElementsCreateElementRequestLocation value)
value - Location at which element should be inserted.public final AppElementsCreateElementResponse call(String did, String wid) throws OnshapeException
did - Document IDwid - Workspace IDOnshapeException - On HTTP or serialization errorpublic final AppElementsCreateElementResponse call(OnshapeDocument document) throws OnshapeException
document - Document object from Onshape URL.OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.