CreateSharedLinkArg

open class CreateSharedLinkArg : CustomStringConvertible

The CreateSharedLinkArg struct

  • The path to share.

    Declaration

    Swift

    public let path: String
  • Whether to return a shortened URL.

    Declaration

    Swift

    public let shortUrl: Bool
  • If it’s okay to share a path that does not yet exist, set this to either file in PendingUploadMode or folder in PendingUploadMode to indicate whether to assume it’s a file or folder.

    Declaration

    Swift

    public let pendingUpload: Sharing.PendingUploadMode?
  • Declaration

    Swift

    open var description: String { get }