FileVersion
public class FileVersion : BoxModel
Specific version of a file.
-
Box item type
Declaration
Swift
public var type: String -
Declaration
Swift
public private(set) var rawData: [String : Any]
-
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? -
The user who trashed the file version.
Declaration
Swift
public let trashedBy: User? -
When the file version object was purged.
Declaration
Swift
public let purgedAt: Date? -
When the file version object was restored.
Declaration
Swift
public let restoredAt: Date? -
The user who restored the file version.
Declaration
Swift
public let restoredBy: User? -
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throwsParameters
jsonJSON dictionary.
FileVersion Class Reference