//
//  NewMessage.swift
//  Chat Application 1.1
//
//  Created by Avaya on 27/09/2016.
//  Copyright © 2016 Avaya. All rights reserved.
//

import Foundation
import ObjectMapper

class NewMessage: Mappable{
    
    
    var displayName: String?
    var message : String?
    var timestamp : String?
    var method : String?
    
    
    required init?(map: Map) {
        
    }
    func mapping(map: Map) {
    
        
        displayName <- map["displayName"]
        method       <- map["method"]
        message      <- map["message"]
        timestamp   <- map["timestamp"]
        
    }
}


