Package com.mypurecloud.sdk.v2.model
Class ExternalMetricDataUnprocessedItem
java.lang.Object
com.mypurecloud.sdk.v2.model.ExternalMetricDataUnprocessedItem
- All Implemented Interfaces:
Serializable
ExternalMetricDataUnprocessedItem
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the metric data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe error codeThe number of data points.dateOccurred(LocalDate dateOccurred) The date of the metric data.booleangetCode()getCount()getType()getValue()inthashCode()The error messageThe ID of the external metric definitionvoidvoidvoidsetDateOccurred(LocalDate dateOccurred) voidsetMessage(String message) voidsetMetricId(String metricId) voidvoidsetUserEmail(String userEmail) voidvoidsetValue(BigDecimal value) toString()The type of the metric data.The user main email used in user's GenesysCloud account.The user ID.value(BigDecimal value) The value of the metric data.
-
Constructor Details
-
ExternalMetricDataUnprocessedItem
public ExternalMetricDataUnprocessedItem() -
ExternalMetricDataUnprocessedItem
-
-
Method Details
-
userId
The user ID. Must provide either userId or userEmail, but not both. -
getUserId
-
setUserId
-
userEmail
The user main email used in user's GenesysCloud account. Must provide either userId or userEmail, but not both. -
getUserEmail
-
setUserEmail
-
metricId
The ID of the external metric definition -
getMetricId
-
setMetricId
-
dateOccurred
The date of the metric data. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getDateOccurred
-
setDateOccurred
-
value
The value of the metric data. When value is null, the metric data will be deleted. -
getValue
-
setValue
-
count
The number of data points. The default value is 0 when type is Cumulative and the metric data already exists, otherwise 1. When total count reaches 0, the metric data will be deleted. -
getCount
-
setCount
-
type
The type of the metric data. The default value is Total. -
getType
-
setType
-
message
The error message -
getMessage
-
setMessage
-
code
The error code -
getCode
-
setCode
-
equals
-
hashCode
public int hashCode() -
toString
-