//
//  Metrics.swift
//  Chat Application 1.1
//
//  Created by Avaya on 12/10/2016.
//  Copyright © 2016 Avaya. All rights reserved.
//

import Foundation
import ObjectMapper

class Metrics: Mappable{
    
    
    var resourceReadyCount,resourceBusyCount,processingWorkCount,completedWorkCount,ewt,waitingWorkCount,rollingASA,oldestWorkWaiting,resourceStaffedCount,serviceOccupancy: String?
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        resourceReadyCount <- map["ResourceReadyCount"]
        resourceBusyCount <- map["ResourceBusyCount"]
        processingWorkCount <- map["ProcessingWorkCount"]
        completedWorkCount <- map["CompletedWorkCount"]
        ewt <- map["EWT"]
        waitingWorkCount <- map["WaitingWorkCount"]
        rollingASA <- map["RollingASA"]
        oldestWorkWaiting <- map["OldestWorkWaiting"]
        resourceStaffedCount <- map["ResourceStaffedCount"]
        serviceOccupancy <- map["ServiceOccupancy"]
    }
}
