Message
public class Message : Mappable
Message Model
-
Message ID
Declaration
Swift
public var id: Int -
Message title
Declaration
Swift
public var title: String? -
Message body
Declaration
Swift
public var body: String? -
Author of message
Declaration
Swift
public var author: Author? -
To determine was read or not
Declaration
Swift
public var isRead: Bool -
Attachements in message
Declaration
Swift
public var attachments: [Attachment]? -
Number of unread replies
Declaration
Swift
public var unreadReplies: Int? -
Created date
Declaration
Swift
public var created_at: Date? -
Last updated date
Declaration
Swift
public var updated_at: Date? -
JSON Mapper
Declaration
Swift
required public init(map: Mapper) throws -
Constructor
Declaration
Swift
public init(id: Int, title: String?, body: String?, author: Author?, attachments: [Attachment]?, unreadReplies: Int, isRead: Bool?, created_at: Date?)
Message Class Reference