ResponseWithDocumentpublic final class AssembliesCreateTranslationResponse extends AbstractResponseObject implements ResponseWithDocument
| Constructor | Description |
|---|---|
AssembliesCreateTranslationResponse() |
| Modifier and Type | Method | Description |
|---|---|---|
CompletableFuture<AssembliesCreateTranslationResponse> |
asFuture(Onshape onshape) |
Returns a CompletableFuture that will be complete when this process is no longer in an "ACTIVE" state
|
OnshapeDocument |
getDocument() |
Returns an OnshapeDocument object that can be used in subsequent calls to the related document
|
String |
getDocumentId() |
Get The id of the document that contains the translation source
|
String |
getFailureReason() |
Get A string indicating the reason for the failure, if known.
|
String |
getHref() |
Get The URI for accessing this translation
|
String |
getId() |
Get The id of this translation
|
String |
getRequestElementId() |
Get The id of the element being translated
|
String |
getRequestState() |
Get The state of this translation request.
|
String |
getResultDocumentId() |
Get The id of the document containing the translation results, if stored in the document, or with which the externalDataIds are associated
|
String[] |
getResultElementIds() |
Get The ids of the elements containing the translation results, if stored in the document
|
String[] |
getResultExternalDataIds() |
Get The ids of the external data containing the translation results, if not stored in the document
|
String |
getResultWorkspaceId() |
Get The id of the workspace containing the translation results, if stored in the document
|
String |
getVersionId() |
Get The id of the document version that contains the translation source
|
String |
getWorkspaceId() |
Get The id of the document workspace that contains the translation source
|
AssembliesCreateTranslationResponse |
refresh(Onshape onshape) |
Refresh this page of results
|
String |
toString() |
getOtherPropertiespublic final AssembliesCreateTranslationResponse refresh(Onshape onshape) throws OnshapeException
onshape - The Onshape client object.OnshapeException - On HTTP or serialization error.public final CompletableFuture<AssembliesCreateTranslationResponse> asFuture(Onshape onshape)
onshape - The Onshape client object.public final OnshapeDocument getDocument()
getDocument in interface ResponseWithDocumentpublic final String getId()
public final String getHref()
public final String getDocumentId()
public final String getWorkspaceId()
public final String getVersionId()
public final String getRequestElementId()
public final String getRequestState()
public final String getResultDocumentId()
public final String getResultWorkspaceId()
public final String[] getResultElementIds()
public final String[] getResultExternalDataIds()
public final String getFailureReason()
Copyright © 2021. All rights reserved.