GetUploadInfo
public struct GetUploadInfo : PCloudAPIMethod
Fetches the state of an upload session.
-
The identifier of the upload session.
Declaration
Swift
public let uploadId: UInt64 -
Declaration
Swift
public var requiresAuthentication: Bool { get } -
Declaration
Swift
public init(uploadId: UInt64)Parameters
uploadIdAn upload session identifier.
-
Declaration
Swift
public func createCommand() -> Call.Command -
Declaration
Swift
public func createResponseParser() -> ([String : Any]) throws -> Result<UploadInfo, PCloudAPI.Error<Error>> -
Declaration
Swift
public enum Error : Int
View on GitHub
GetUploadInfo Structure Reference