Package com.mypurecloud.sdk.v2.model
Class ExternalMetricDataItem
java.lang.Object
com.mypurecloud.sdk.v2.model.ExternalMetricDataItem
- All Implemented Interfaces:
Serializable
ExternalMetricDataItem
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the metric data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe number of data points.dateOccurred(LocalDate dateOccurred) The date of the metric data.booleangetCount()getType()getValue()inthashCode()The ID of the external metric definitionvoidvoidsetDateOccurred(LocalDate dateOccurred) 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
-
ExternalMetricDataItem
public ExternalMetricDataItem() -
ExternalMetricDataItem
-
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-