RetentionPolicyAssignment

public class RetentionPolicyAssignment : BoxModel

The retention policy assignment provides a way for admins to apply a retention policy on a per-folder basis, or place a blanket policy over the entire enterprise.

  • Declaration

    Swift

    public private(set) var rawData: [String : Any] { get }
  • Box item type

    Declaration

    Swift

    public var type: String
  • id

    Identifier

    Declaration

    Swift

    public let id: String
  • A mini retention policy object representing the retention policy that has been assigned to this content.

    Declaration

    Swift

    public let retentionPolicy: RetentionPolicy?
  • Content that is under retention. The type can either be folder or enterprise.

    Declaration

    Swift

    public let assignedTo: RetentionPolicyAssignmentItem?
  • A mini user object representing the user that created the retention policy assignment object.

    Declaration

    Swift

    public let assignedBy: User?
  • When the retention policy assignment object was created.

    Declaration

    Swift

    public let assignedAt: Date?
  • The array of metadata field filters, if present

    Declaration

    Swift

    public let filterFields: [MetadataFieldFilter]?
  • Declaration

    Swift

    public required init(json: [String : Any]) throws