Watermark
public class Watermark : BoxModel
Watermark object labels folders and files to be protected by watermarks, which will show on file previews. Watermarks can be applied to folders and files independently.
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
Key for watermark data JSON object
Declaration
Swift
public static let resourceKey: String
-
Key for imprint data in JSON object
Declaration
Swift
public static let imprintKey: String
-
Default imprint text
Declaration
Swift
public static let defaultImprint: String
-
The time this watermark was created.
Declaration
Swift
public let createdAt: Date?
-
The time this watermark was last modified.
Declaration
Swift
public let modifiedAt: Date?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.