new module:model/JobPayloadItem(type, theData, obj)
Constructs a new JobPayloadItem.
Output description object, depends of the type
Parameters:
| Name | Type | Description |
|---|---|---|
type |
module:model/JobPayloadItem.TypeEnum | The requested output types. Possible values include dwg, fbx, ifc, iges, obj, step, stl, svf, svf2, thumbnail. For a list of supported types, call the GET formats endpoint. |
theData |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/JobPayloadItem | Optional instance to populate. |
- Implements:
- module:model/JobSvfOutputPayload
- module:model/JobSvf2OutputPayload
- module:model/JobThumbnailOutputPayload
- module:model/JobStlOutputPayload
- module:model/JobStepOutputPayload
- module:model/JobIgesOutputPayload
- module:model/JobObjOutputPayload
- module:model/JobDwgOutputPayload
- module:model/JobIfcOutputPayload
- Source:
Members
(static) constructFromObject
Constructs a JobPayloadItem from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data to obj if supplied or a new instance if not.
- Source:
(static, readonly) TypeEnum :String
Allowed values for the type property.
Type:
- String
Properties:
| Name | Type | Description |
|---|---|---|
svf |
String | value: "svf" |
svf2 |
String | value: "svf2" |
thumbnail |
String | value: "thumbnail" |
stl |
String | value: "stl" |
step |
String | value: "step" |
iges |
String | value: "iges" |
obj |
String | value: "obj" |
dwg |
String | value: "dwg" |
ifc |
String | value: "ifc" |
- Source:
(static, readonly) ViewsEnum :String
Allowed values for the views property.
Type:
- String
Properties:
| Name | Type | Description |
|---|---|---|
2d |
String | value: "2d" |
3d |
String | value: "3d" |
- Source:
(inner) advanced :Object
Type:
- Object
- Source:
(inner) type :module:model/JobPayloadItem.TypeEnum
The requested output types. Possible values include dwg, fbx, ifc, iges, obj, step, stl, svf, svf2, thumbnail. For a list of supported types, call the GET formats endpoint.
Type:
- Source:
(inner) views :Array.<module:model/JobPayloadItem.ViewsEnum>
Type:
- Source: