Item

public struct Item
  • Tag: StorageListResultItem
  • key

    The unique identifier of the object in storage.

    • Tag: StorageListResultItem.key

    Declaration

    Swift

    public let key: String
  • Size in bytes of the object

    • Tag: StorageListResultItem.size

    Declaration

    Swift

    public let size: Int?
  • The date the Object was Last Modified

    • Tag: StorageListResultItem.lastModified

    Declaration

    Swift

    public let lastModified: Date?
  • The entity tag is an MD5 hash of the object. ETag reflects only changes to the contents of an object, not its metadata.

    • Tag: StorageListResultItem.eTag

    Declaration

    Swift

    public let eTag: String?
  • Additional results specific to the plugin.

    • Tag: StorageListResultItem.pluginResults

    Declaration

    Swift

    public let pluginResults: Any?
  • This is meant to be called by plugins implementing StorageCategoryBehavior.list.

    • Tag: StorageListResultItem.init

    Declaration

    Swift

    public init(key: String,
                size: Int? = nil,
                eTag: String? = nil,
                lastModified: Date? = nil,
                pluginResults: Any? = nil)