com.genesys.workspace.models.targets.DnTarget 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.DnAvailability;
import com.genesys.workspace.models.targets.availability.TargetAvailability;
import com.google.gson.internal.LinkedTreeMap;
public abstract class DnTarget extends Target {
public DnTarget(TargetType type, String name, String number) {
super(type, name, number);
}
@Override
protected TargetAvailability extractAvailability(LinkedTreeMap data) {
Integer waitingCalls = ((Double)data.get("waitingCalls")).intValue();
DnAvailability availability = new DnAvailability(waitingCalls);
return availability;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy