FileVersionRetention

public class FileVersionRetention : BoxModel

File objects in Box, with attributes like who created the file, when it was last modified, and other information.

Properties

  • 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
  • The file version this file version retention was applied to.

    Declaration

    Swift

    public let fileVersion: FileVersion?
  • The file this file version retention was applied to.

    Declaration

    Swift

    public let file: File?
  • When this file version retention object was created.

    Declaration

    Swift

    public let appliedAt: Date?
  • When the retention period expires on this file version retention.

    Declaration

    Swift

    public let dispositionAt: Date?
  • The winning retention policy applied to this file version retention. A file version can have multiple retention policies applied.

    Declaration

    Swift

    public let winningRetentionPolicy: RetentionPolicy?
  • Initializer.

    Throws

    Decoding error.

    Declaration

    Swift

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

    Parameters

    json

    JSON dictionary.