Metadata

open class Metadata
extension FileLink.Metadata: CustomStringConvertible

An address to a remote resource in pCloud. Available for a specific time interval.

  • The address of the resource.

    Declaration

    Swift

    public let address: URL
  • When address becomes unreachable.

    Declaration

    Swift

    public let expirationDate: Date
  • A token authenticating the client requesting the file link to the storage server.

    Declaration

    Swift

    public let downloadTag: String
  • Initializes a file link with an address and expiration date.

    Declaration

    Swift

    public init(address: URL, expirationDate: Date, downloadTag: String)
  • Declaration

    Swift

    open var description: String { get }