new module:model/VersionAttributes(name, displayName, versionNumber, extension, theData, obj)
Constructs a new VersionAttributes.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | filename used when synced to local disk |
displayName |
String | displayable name of the version |
versionNumber |
Integer | version number of this version |
extension |
module:model/BaseAttributesExtensionObject | |
theData |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/VersionAttributes | Optional instance to populate. |
- Source:
Members
(static) constructFromObject
Constructs a VersionAttributes 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:
(inner) displayName :String
displayable name of the version
Type:
- String
- Source:
(inner) extension :module:model/BaseAttributesExtensionObject
Type:
- Source:
(inner) fileType :String
file type, only present if this version represents a file
Type:
- String
- Source:
(inner) mimeType :String
mimetype of the version`s content
Type:
- String
- Source:
(inner) name :String
filename used when synced to local disk
Type:
- String
- Source:
(inner) storageSize :Integer
file size in bytes, only present if this version represents a file
Type:
- Integer
- Source:
(inner) versionNumber :Integer
version number of this version
Type:
- Integer
- Source: