public static final class AppElementsDownloadBlobSubelementRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
AppElementsDownloadBlobSubelementResponse |
call(OnshapeDocument document,
String bid) |
Calls downloadBlobSubelement method, Download a blob subelement from an app element
|
AppElementsDownloadBlobSubelementResponse |
call(String bid,
String did,
WVM wvmType,
String wvm,
String eid) |
Calls downloadBlobSubelement method, Download a blob subelement from an app element
|
InputStreamWithHeaders |
callToStream(String bid,
String did,
WVM wvmType,
String wvm,
String eid) |
Calls downloadBlobSubelement method, Download a blob subelement from an app element
|
String |
contentDisposition() |
Get If "attachment", includes a Content-Disposition return header with the filename
|
AppElementsDownloadBlobSubelementRequest.Builder |
contentDisposition(String value) |
Set If "attachment", includes a Content-Disposition return header with the filename
|
public final String contentDisposition()
public final AppElementsDownloadBlobSubelementRequest.Builder contentDisposition(String value)
value - If "attachment", includes a Content-Disposition return header with the filenamepublic final AppElementsDownloadBlobSubelementResponse call(String bid, String did, WVM wvmType, String wvm, String eid) throws OnshapeException
bid - Blob subelement IDdid - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP or serialization errorpublic final AppElementsDownloadBlobSubelementResponse call(OnshapeDocument document, String bid) throws OnshapeException
document - Document object from Onshape URL.bid - Blob subelement IDOnshapeException - On HTTP or serialization errorpublic final InputStreamWithHeaders callToStream(String bid, String did, WVM wvmType, String wvm, String eid) throws OnshapeException
bid - Blob subelement IDdid - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDOnshapeException - On HTTP errorCopyright © 2021. All rights reserved.