RemoteFile

public struct RemoteFile

Data struct for a remote file.

Since

1.4.0
  • A data type represents a thumbnail file.

    Since

    1.4.0
    See more

    Declaration

    Swift

    public struct Thumbnail
  • The display name of file.

    Declaration

    Swift

    public internal(set) var displayName: String?
  • The mimeType of file.

    Declaration

    Swift

    public internal(set) var mimeType: String?
  • The size in bytes of file.

    Declaration

    Swift

    public internal(set) var size: UInt64?
  • The thumbnail object of file.

    Declaration

    Swift

    public internal(set) var thumbnail: RemoteFile.Thumbnail?
  • File constructor.

    Note

    for internal use only.

    Declaration

    Swift

    public init?(map: Map)
  • File mapping from JSON.

    Note

    for internal use only.

    Declaration

    Swift

    public mutating func mapping(map: Map)