FolderLock
public class FolderLock : BoxModel
Folder Lock
-
Locked operations on the folder
See moreDeclaration
Swift
public struct LockedOperations : BoxInnerModel
-
Box item type
Declaration
Swift
public var type: String
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
Identifier
Declaration
Swift
public let id: String
-
The user or group that created the lock.
Declaration
Swift
public let createdBy: User?
-
When the folder lock object was created.
Declaration
Swift
public let createdAt: Date?
-
The (mini) folder object that the lock applies to.
Declaration
Swift
public let folder: Folder?
-
The lock type, value is always “freeze”.
Declaration
Swift
public let lockType: String?
-
The operations that have been locked.
Declaration
Swift
public let lockedOperations: LockedOperations?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.