GetFileLink
public struct GetFileLink : PCloudAPIMethod
Generates and returns links to a file. The first link in the return value is considered the best for this client.
-
The unique identifier of the file to get a link to.
Declaration
Swift
public let fileId: UInt64
-
Declaration
Swift
public var requiresAuthentication: Bool { get }
-
Declaration
Swift
public init(fileId: UInt64)
Parameters
fileId
The unique identifier of the file to get a link to.
-
Declaration
Swift
public func createCommand() -> Call.Command
-
Errors specific to generating a link a to a file.
See moreDeclaration
Swift
public enum Error : Int