ProtocolDescriptionSupport
@Generated(value="com.genesyslab.platform.commons.protocol.generator.Generator", date="2021-06-14T15:45:39.509-07:00") public abstract class RequestGetStatistic extends Message
Name | Description |
---|---|
Tenant | The contact center in whose environment the statistic is to be calculated. |
Targets | A list of eligible routing targets. |
Statistic | The statistic to be calculated. |
Name | Description |
---|---|
EventExecutionAck |
Indicates that the request executed successfully; provides information about the results of its execution. |
EventExecutionError |
Indicates that the request was not executed successfully. |
EventExecutionInProgress |
Indicates that URS has accepted the request and started to execute it. |
EventError |
Indicates that the request was unknown to URS, or that some parameters were missing or invalid. |
RequestGetStatistic requestGetStatistic =
RequestGetStatistic.create();
requestGetStatistic.setTenant("TheTenant");
requestGetStatistic.setTargets("TheTargetList");
requestGetStatistic.setStatistic("StatAgentsBusy");
Message ret = protocol.request(requestGetStatistic);
Modifier and Type | Method | Description |
---|---|---|
static RequestGetStatistic |
create() |
Creates instance of RequestGetStatistic with no parameters set.
|
static RequestGetStatistic |
create(java.lang.String tenant,
java.lang.String targets,
java.lang.String statistic) |
Creates instance of RequestGetStatistic with all parameters set.
|
abstract java.lang.Integer |
getReferenceId() |
The reference ID that connects a response to a request;
if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder.
|
abstract java.lang.String |
getStatistic() |
The type of statistic to be associated with a request.
|
abstract java.lang.String |
getTargets() |
A list of eligible routing targets.
|
abstract java.lang.String |
getTenant() |
The contact center in whose environment a request is to be executed.
|
abstract void |
setReferenceId(int referenceId) |
The reference ID that connects a response to a request;
if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder.
|
abstract void |
setReferenceId(java.lang.Integer referenceId) |
The reference ID that connects a response to a request;
if set to 0, it means that the ReferenceId should be assigned by ReferenceBuilder.
|
abstract void |
setStatistic(java.lang.String statistic) |
The type of statistic to be associated with a request.
|
abstract void |
setTargets(java.lang.String targets) |
A list of eligible routing targets.
|
abstract void |
setTenant(java.lang.String tenant) |
The contact center in whose environment a request is to be executed.
|
equals, hashCode, toString, toString
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription
public static final int ID
public static final java.lang.String NAME
public static RequestGetStatistic create()
public static RequestGetStatistic create(java.lang.String tenant, java.lang.String targets, java.lang.String statistic)
tenant
- The contact center in whose environment a request is to be executed.targets
- A list of eligible routing targets.statistic
- The type of statistic to be associated with a request.public abstract java.lang.Integer getReferenceId()
public abstract void setReferenceId(java.lang.Integer referenceId)
public abstract void setReferenceId(int referenceId)
public abstract java.lang.String getTenant()
public abstract void setTenant(java.lang.String tenant)
public abstract java.lang.String getTargets()
public abstract void setTargets(java.lang.String targets)
public abstract java.lang.String getStatistic()
public abstract void setStatistic(java.lang.String statistic)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.