MetadataCascadePolicy
public class MetadataCascadePolicy : BoxModel
A metadata object associated with a file or a folder.
-
Declaration
Swift
public private(set) var rawData: [String : Any]
-
Object type.
Declaration
Swift
public private(set) var type: String
-
Identifier.
Declaration
Swift
public private(set) var id: String
-
The enterprise that owns the policy.
Declaration
Swift
public private(set) var ownerEnterprise: Enterprise?
-
Represent the parent of the policy and the metadata instance to cascade down.
Declaration
Swift
public private(set) var parent: Folder?
-
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?
-
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?
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.