toValue method
Implementation
String toValue() {
switch (this) {
case HistoricalMetricName.contactsQueued:
return 'CONTACTS_QUEUED';
case HistoricalMetricName.contactsHandled:
return 'CONTACTS_HANDLED';
case HistoricalMetricName.contactsAbandoned:
return 'CONTACTS_ABANDONED';
case HistoricalMetricName.contactsConsulted:
return 'CONTACTS_CONSULTED';
case HistoricalMetricName.contactsAgentHungUpFirst:
return 'CONTACTS_AGENT_HUNG_UP_FIRST';
case HistoricalMetricName.contactsHandledIncoming:
return 'CONTACTS_HANDLED_INCOMING';
case HistoricalMetricName.contactsHandledOutbound:
return 'CONTACTS_HANDLED_OUTBOUND';
case HistoricalMetricName.contactsHoldAbandons:
return 'CONTACTS_HOLD_ABANDONS';
case HistoricalMetricName.contactsTransferredIn:
return 'CONTACTS_TRANSFERRED_IN';
case HistoricalMetricName.contactsTransferredOut:
return 'CONTACTS_TRANSFERRED_OUT';
case HistoricalMetricName.contactsTransferredInFromQueue:
return 'CONTACTS_TRANSFERRED_IN_FROM_QUEUE';
case HistoricalMetricName.contactsTransferredOutFromQueue:
return 'CONTACTS_TRANSFERRED_OUT_FROM_QUEUE';
case HistoricalMetricName.contactsMissed:
return 'CONTACTS_MISSED';
case HistoricalMetricName.callbackContactsHandled:
return 'CALLBACK_CONTACTS_HANDLED';
case HistoricalMetricName.apiContactsHandled:
return 'API_CONTACTS_HANDLED';
case HistoricalMetricName.occupancy:
return 'OCCUPANCY';
case HistoricalMetricName.handleTime:
return 'HANDLE_TIME';
case HistoricalMetricName.afterContactWorkTime:
return 'AFTER_CONTACT_WORK_TIME';
case HistoricalMetricName.queuedTime:
return 'QUEUED_TIME';
case HistoricalMetricName.abandonTime:
return 'ABANDON_TIME';
case HistoricalMetricName.queueAnswerTime:
return 'QUEUE_ANSWER_TIME';
case HistoricalMetricName.holdTime:
return 'HOLD_TIME';
case HistoricalMetricName.interactionTime:
return 'INTERACTION_TIME';
case HistoricalMetricName.interactionAndHoldTime:
return 'INTERACTION_AND_HOLD_TIME';
case HistoricalMetricName.serviceLevel:
return 'SERVICE_LEVEL';
}
}