Package com.mypurecloud.sdk.v2.model
Class CreateMetric
java.lang.Object
com.mypurecloud.sdk.v2.model.CreateMetric
- All Implemented Interfaces:
Serializable
CreateMetric
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe time unit in which the metric should be displayed -- this parameter is ignored when displaying non-time values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexternalMetricDefinitionId(String externalMetricDefinitionId) The id of associated external metric definitiongetName()inthashCode()metricDefinitionId(String metricDefinitionId) The id of associated metric definitionThe name of this metricobjective(CreateObjective objective) Associated objective for this metricperformanceProfileId(String performanceProfileId) Performance profile id of this metricThe precision of the metric, must be between 0 and 5voidsetExternalMetricDefinitionId(String externalMetricDefinitionId) voidsetMetricDefinitionId(String metricDefinitionId) voidvoidsetObjective(CreateObjective objective) voidsetPerformanceProfileId(String performanceProfileId) voidsetPrecision(Integer precision) voidsetTimeDisplayUnit(CreateMetric.TimeDisplayUnitEnum timeDisplayUnit) timeDisplayUnit(CreateMetric.TimeDisplayUnitEnum timeDisplayUnit) The time unit in which the metric should be displayed -- this parameter is ignored when displaying non-time valuestoString()
-
Constructor Details
-
CreateMetric
public CreateMetric() -
CreateMetric
-
-
Method Details
-
metricDefinitionId
The id of associated metric definition -
getMetricDefinitionId
-
setMetricDefinitionId
-
externalMetricDefinitionId
The id of associated external metric definition -
getExternalMetricDefinitionId
-
setExternalMetricDefinitionId
-
objective
Associated objective for this metric -
getObjective
-
setObjective
-
performanceProfileId
Performance profile id of this metric -
getPerformanceProfileId
-
setPerformanceProfileId
-
name
The name of this metric -
getName
-
setName
-
precision
The precision of the metric, must be between 0 and 5 -
getPrecision
-
setPrecision
-
timeDisplayUnit
The time unit in which the metric should be displayed -- this parameter is ignored when displaying non-time values -
getTimeDisplayUnit
-
setTimeDisplayUnit
-
equals
-
hashCode
public int hashCode() -
toString
-