com.genesys.workspace.models.targets.AgentGroupTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workspace Show documentation
Show all versions of workspace Show documentation
A Java library to interface to Genesys Workspace public API
package com.genesys.workspace.models.targets;
import com.genesys.workspace.models.targets.availability.AgentGroupAvailability;
import com.genesys.workspace.models.targets.availability.TargetAvailability;
import com.google.gson.internal.LinkedTreeMap;
public class AgentGroupTarget extends Target {
public AgentGroupTarget(String name, String number) {
super(TargetType.AGENT_GROUP, name, number);
}
@Override
protected TargetAvailability extractAvailability(LinkedTreeMap data) {
Integer readyAgents = ((Double)data.get("readyAgents")).intValue();
AgentGroupAvailability availability = new AgentGroupAvailability(readyAgents);
return availability;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy