Options

struct Options

Options to adjust the behavior of this request, including plugin-options

  • Tag: StorageDownloadFileRequestOptions
  • Access level of the storage system. Defaults to public

    • Tag: StorageDownloadFileRequestOptions.accessLevel

    Declaration

    Swift

    public let accessLevel: StorageAccessLevel
  • Target user to apply the action on.

    • Tag: StorageDownloadFileRequestOptions.targetIdentityId

    Declaration

    Swift

    public let targetIdentityId: String?
  • Extra plugin specific options, only used in special circumstances when the existing options do not provide a way to utilize the underlying storage system’s functionality. See plugin documentation for expected key/values

    • Tag: StorageDownloadFileRequestOptions.pluginOptions

    Declaration

    Swift

    public let pluginOptions: Any?
    • Tag: StorageDownloadFileRequestOptions.init

    Declaration

    Swift

    public init(accessLevel: StorageAccessLevel = .guest,
                targetIdentityId: String? = nil,
                pluginOptions: Any? = nil)