MetadataCascadePolicy
public class MetadataCascadePolicy : BoxModel
A metadata object associated with a file or a folder.
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
Object type.
Declaration
Swift
public private(set) var type: String { get }
-
Identifier.
Declaration
Swift
public private(set) var id: String { get }
-
The enterprise that owns the policy.
Declaration
Swift
public private(set) var ownerEnterprise: Enterprise? { get }
-
Represent the parent of the policy and the metadata instance to cascade down.
Declaration
Swift
public private(set) var parent: Folder? { get }
-
The scope of the target instance that will be cascaded down. The scope & templateKey together identify the metadata on the folder that is to be cascaded down. Today, only ‘global’ and ‘enterprise’ scopes are supported.
Declaration
Swift
public private(set) var scope: MetadataScope? { get }
-
The template key of the target metadata template to cascade down. The scope & templateKey together identify the metadata on the folder that is to be cascaded down.
Declaration
Swift
public private(set) var templateKey: String? { get }
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.