Account

open class Account: NSObject

Represents the authenticated account on Put.io

  • The username of the authenticated account

    Declaration

    Swift

    open var username = ""
  • The email address of the authenticated account

    Declaration

    Swift

    open var email = ""
  • The date the current plan expires

    Declaration

    Swift

    open var planExpirationDate: Date?
  • Subtitle languages selected by the user

    Declaration

    Swift

    open var subtitleLanguages = [String]()
  • The default subtitle language selected by the user

    Declaration

    Swift

    open var defaultSubtitleLanguage: String?
  • Information about the disk

    Declaration

    Swift

    open var diskInfo: DiskInfo?
  • How long until files on the account will be deleted

    Declaration

    Swift

    open var daysUntilFilesDeletion = 0
  • URL to the user’s avatar if it exists

    Declaration

    Swift

    open var avatar = ""