Class DispatcherAssistantMetadata
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.ai.assistant.rc1.dispatcherassistant.schedulableactivities.task.DispatcherAssistantMetadata
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Class that contains the metadata returned by the Dispatcher Assistant API.
- Since:
- 22.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the processing timeGets the costGets the query usageGets the session costGets the session IDGets the session usageGets the timestampGets the user IDGets the workflow namevoidsetProcessingTime(Long processingTime) Sets the processing timevoidsetQueryCost(Double queryCost) Sets the costvoidsetQueryUsage(Map<String, Long> queryUsage) Sets the query usagevoidsetSessionCost(Double sessionCost) Sets the session costvoidsetSessionId(String sessionId) Sets the session IDvoidsetSessionUsage(Map<String, Long> sessionUsage) Sets the session usagevoidsetTimestamp(ZonedDateTime timestamp) Sets the timestampvoidSets the user IDvoidsetWorkflow(String workflow) Sets the workflow nameMethods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
DispatcherAssistantMetadata
public DispatcherAssistantMetadata()
-
-
Method Details
-
getSessionId
Gets the session ID- Returns:
- the session ID
-
setSessionId
Sets the session ID- Parameters:
sessionId- the session ID
-
getUserId
Gets the user ID- Returns:
- the user ID
-
setUserId
Sets the user ID- Parameters:
userId- the user ID
-
getTimestamp
Gets the timestamp- Returns:
- the timestamp in ISO format
-
setTimestamp
Sets the timestamp- Parameters:
timestamp- the timestamp in ISO format
-
getWorkflow
Gets the workflow name- Returns:
- the workflow name
-
setWorkflow
Sets the workflow name- Parameters:
workflow- the workflow name
-
getQueryCost
Gets the cost- Returns:
- the cost
-
setQueryCost
Sets the cost- Parameters:
queryCost- the cost
-
getProcessingTime
Gets the processing time- Returns:
- the processing time in milliseconds
-
setProcessingTime
Sets the processing time- Parameters:
processingTime- the processing time in milliseconds
-
getQueryUsage
Gets the query usage- Returns:
- the query usage
-
setQueryUsage
Sets the query usage- Parameters:
queryUsage- the query usage
-
getSessionCost
Gets the session cost- Returns:
- the session cost
-
setSessionCost
Sets the session cost- Parameters:
sessionCost- the session cost
-
getSessionUsage
Gets the session usage- Returns:
- the session usage
-
setSessionUsage
Sets the session usage- Parameters:
sessionUsage- the session usage
-