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

import Foundation
import ObjectMapper

class ParticipantLeave : Mappable{
    
    var method : String = "participantLeave"
    var endChatFlag : Bool?
    var agentId : String?
    var numberOfParticipants : Int?
    var participants : [String]?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        method <- map["method"]
        endChatFlag <- map["endChatFlag"]
        agentId <- map["agentId"]
        numberOfParticipants <- map["numberOfParticipants"]
        participants <- map["participants"]
    }
    
}
