Package com.mypurecloud.sdk.v2.model
Class ExternalMetricDefinitionCreateRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.ExternalMetricDefinitionCreateRequest
- All Implemented Interfaces:
Serializable
ExternalMetricDefinitionCreateRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe default objective type of the External Metric Definitionstatic enumThe unit of the External Metric Definition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultObjectiveType(ExternalMetricDefinitionCreateRequest.DefaultObjectiveTypeEnum defaultObjectiveType) The default objective type of the External Metric DefinitionTrue if the External Metric Definition is enabledbooleangetName()getUnit()inthashCode()The name of the External Metric DefinitionThe decimal precision of the External Metric Definition.voidsetDefaultObjectiveType(ExternalMetricDefinitionCreateRequest.DefaultObjectiveTypeEnum defaultObjectiveType) voidsetEnabled(Boolean enabled) voidvoidsetPrecision(Integer precision) voidvoidsetUnitDefinition(String unitDefinition) toString()The unit of the External Metric DefinitionunitDefinition(String unitDefinition) The unit definition of the External Metric Definition
-
Constructor Details
-
ExternalMetricDefinitionCreateRequest
public ExternalMetricDefinitionCreateRequest() -
ExternalMetricDefinitionCreateRequest
-
-
Method Details
-
name
The name of the External Metric Definition -
getName
-
setName
-
unit
public ExternalMetricDefinitionCreateRequest unit(ExternalMetricDefinitionCreateRequest.UnitEnum unit) The unit of the External Metric Definition -
getUnit
-
setUnit
-
unitDefinition
The unit definition of the External Metric Definition -
getUnitDefinition
-
setUnitDefinition
-
precision
The decimal precision of the External Metric Definition. Must be at least 0 and at most 5 minimum: 0 maximum: 5 -
getPrecision
-
setPrecision
-
defaultObjectiveType
public ExternalMetricDefinitionCreateRequest defaultObjectiveType(ExternalMetricDefinitionCreateRequest.DefaultObjectiveTypeEnum defaultObjectiveType) The default objective type of the External Metric Definition -
getDefaultObjectiveType
-
setDefaultObjectiveType
public void setDefaultObjectiveType(ExternalMetricDefinitionCreateRequest.DefaultObjectiveTypeEnum defaultObjectiveType) -
enabled
True if the External Metric Definition is enabled -
getEnabled
-
setEnabled
-
equals
-
hashCode
public int hashCode() -
toString
-