AliyunpanFile

public struct AliyunpanFile : Codable
extension AliyunpanFile: CustomStringConvertible

Undocumented

  • Undocumented

    Declaration

    Swift

    public let drive_id: String
  • Undocumented

    Declaration

    Swift

    public let file_id: String
  • 根目录是 root

    Declaration

    Swift

    public let parent_file_id: String
  • 文件名

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let size: Int64?
  • Undocumented

    Declaration

    Swift

    public let file_extension: String?
  • 文件 hash

    Declaration

    Swift

    public let content_hash: String?
  • Undocumented

    Declaration

    Swift

    public let category: FileCategory?
  • Undocumented

    Declaration

    Swift

    public let type: FileType?
  • Undocumented

    Declaration

    Swift

    public let mime_type: String?
  • 缩略图

    Declaration

    Swift

    public let thumbnail: URL?
  • url

    图片预览图地址、小于 5MB 文件的下载地址。超过5MB 请使用 /getDownloadUrl

    Declaration

    Swift

    public let url: URL?
  • Undocumented

    Declaration

    Swift

    public let created_at: Date?
  • Undocumented

    Declaration

    Swift

    public let updated_at: Date?
  • 播放进度

    Declaration

    Swift

    public let play_cursor: String?
  • 图片信息

    Declaration

    Swift

    public let image_media_metadata: MediaMetadata?
  • 视频信息

    Declaration

    Swift

    public let video_media_metadata: MediaMetadata?
  • 视频预览信息

    Declaration

    Swift

    public let video_preview_metadata: AudioMetaData?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public var description: String { get }
  • 是否文件夹

    Declaration

    Swift

    public var isFolder: Bool { get }
  • 是否同一份文件,仅判断 drive_id、file_id 是否相同

    Declaration

    Swift

    public func isSameFile(_ other: AliyunpanFile) -> Bool
  • Undocumented

    See more

    Declaration

    Swift

    public enum FileCategory : String, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum FileType : String, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Template : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct MediaMetadata : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct AudioMetaData : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CheckNameMode : String, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct PartInfo : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct StreamsInfo : Codable
  • Undocumented

    See more

    Declaration

    Swift

    public struct VideoPreviewPlayInfo : Codable