Class CreateMetric

java.lang.Object
com.mypurecloud.sdk.v2.model.CreateMetric
All Implemented Interfaces:
Serializable

public class CreateMetric extends Object implements Serializable
CreateMetric
See Also:
  • Constructor Details

    • CreateMetric

      public CreateMetric()
    • CreateMetric

      public CreateMetric(Boolean initWithEmptyList)
  • Method Details

    • metricDefinitionId

      public CreateMetric metricDefinitionId(String metricDefinitionId)
      The id of associated metric definition
    • getMetricDefinitionId

      public String getMetricDefinitionId()
    • setMetricDefinitionId

      public void setMetricDefinitionId(String metricDefinitionId)
    • externalMetricDefinitionId

      public CreateMetric externalMetricDefinitionId(String externalMetricDefinitionId)
      The id of associated external metric definition
    • getExternalMetricDefinitionId

      public String getExternalMetricDefinitionId()
    • setExternalMetricDefinitionId

      public void setExternalMetricDefinitionId(String externalMetricDefinitionId)
    • objective

      public CreateMetric objective(CreateObjective objective)
      Associated objective for this metric
    • getObjective

      public CreateObjective getObjective()
    • setObjective

      public void setObjective(CreateObjective objective)
    • performanceProfileId

      public CreateMetric performanceProfileId(String performanceProfileId)
      Performance profile id of this metric
    • getPerformanceProfileId

      public String getPerformanceProfileId()
    • setPerformanceProfileId

      public void setPerformanceProfileId(String performanceProfileId)
    • name

      public CreateMetric name(String name)
      The name of this metric
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • precision

      public CreateMetric precision(Integer precision)
      The precision of the metric, must be between 0 and 5
    • getPrecision

      public Integer getPrecision()
    • setPrecision

      public void setPrecision(Integer precision)
    • timeDisplayUnit

      public CreateMetric timeDisplayUnit(CreateMetric.TimeDisplayUnitEnum timeDisplayUnit)
      The time unit in which the metric should be displayed -- this parameter is ignored when displaying non-time values
    • getTimeDisplayUnit

      public CreateMetric.TimeDisplayUnitEnum getTimeDisplayUnit()
    • setTimeDisplayUnit

      public void setTimeDisplayUnit(CreateMetric.TimeDisplayUnitEnum timeDisplayUnit)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object