public final class TranslationsCreateTranslationRequest extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TranslationsCreateTranslationRequest.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static TranslationsCreateTranslationRequest.Builder |
builder(Onshape onshape) |
|
Boolean |
getAllowFaultyParts() |
Get If not specified or if specified as false, bodies to be imported are examined for validity and any found to be faulty are removed from the import.
|
Boolean |
getCreateComposite() |
Get If the value is specified as true, each part studio contains a single composite part made up of all its topologies.
|
Blob |
getFile() |
Get File to upload
|
Boolean |
getFlattenAssemblies() |
Get If true, remove assembly structure and create only a Part Studio
|
String |
getFormatName() |
Get Name of format into which this file or element should be translated.
|
Boolean |
getImportInBackground() |
Get If storeInDocument is true and formatName is ONSHAPE and the source is a Parasolid file, this specifies the preference as to whether the import should be completed prior to the completion of the request (importInBackground=false) or whether it should be performed asynchronously (importInBackground=true).
|
Boolean |
getNotifyUser() |
Get Whether a user notification should be generated on completion
|
Boolean |
getStoreInDocument() |
Get controls whether the translation is stored as a new element or whether the data is stored as external data (storeInDocument=false).
|
String |
getVersionString() |
Get Version of output format to use (format-dependent)
|
Boolean |
getYAxisIsUp() |
Get If true, treat the model's Y axis as the vertical axis.
|
String |
toString() |
public final Blob getFile()
public final String getFormatName()
public final String getVersionString()
public final Boolean getNotifyUser()
public final Boolean getFlattenAssemblies()
public final Boolean getYAxisIsUp()
public final Boolean getImportInBackground()
public final Boolean getAllowFaultyParts()
public final Boolean getCreateComposite()
public final Boolean getStoreInDocument()
public static final TranslationsCreateTranslationRequest.Builder builder(Onshape onshape)
Copyright © 2021. All rights reserved.