FileVersion
public class FileVersion : BoxModel
Specific version of a file.
-
The ID of the file version object
Declaration
Swift
public let id: String
-
The SHA-1 hash of the file.
Declaration
Swift
public let sha1: String?
-
The name of the file version
Declaration
Swift
public let name: String?
-
Size of the file version in bytes
Declaration
Swift
public let size: Int64?
-
When the file version object was created
Declaration
Swift
public let createdAt: Date?
-
When the file version object was last updated
Declaration
Swift
public let modifiedAt: Date?
-
The user who last updated the file version
Declaration
Swift
public let modifiedBy: User?
-
When the file version object was trashed.
Declaration
Swift
public let trashedAt: Date?
-
When the file version object was purged.
Declaration
Swift
public let purgedAt: Date?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.