File

open class File : Codable

Represents a File in Moltin

  • id

    The id of this file

    Declaration

    Swift

    public var id: String
  • The type of object

    Declaration

    Swift

    public let type: String
  • The name of this file

    Declaration

    Swift

    public let fileName: String
  • The MIME type of this fiel

    Declaration

    Swift

    public let mimeType: String
  • The file size of this file

    Declaration

    Swift

    public let fileSize: Int
  • Whether this file is public or not

    Declaration

    Swift

    public let `public`: Bool
  • The source link of this file

    Declaration

    Swift

    public let link: [String : String]
  • The external links of this file

    Declaration

    Swift

    public let links: [String : String]
  • The meta information for this file

    Declaration

    Swift

    public let meta: FileMeta