Class ActivityCode

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

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

    • ActivityCode

      public ActivityCode()
    • ActivityCode

      public ActivityCode(Boolean initWithEmptyList)
  • Method Details

    • id

      public ActivityCode id(String id)
      The globally unique identifier for the object.
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getSelfUri

      public String getSelfUri()
    • name

      public ActivityCode name(String name)
      The name of the activity code. Default activity codes will be created with an empty name
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isActive

      public ActivityCode isActive(Boolean isActive)
      Whether this activity code is active or has been deleted
    • getIsActive

      public Boolean getIsActive()
    • setIsActive

      public void setIsActive(Boolean isActive)
    • isDefault

      public ActivityCode isDefault(Boolean isDefault)
      Whether this is a default activity code
    • getIsDefault

      public Boolean getIsDefault()
    • setIsDefault

      public void setIsDefault(Boolean isDefault)
    • category

      public ActivityCode category(ActivityCode.CategoryEnum category)
      The activity code's category.
    • getCategory

      public ActivityCode.CategoryEnum getCategory()
    • setCategory

      public void setCategory(ActivityCode.CategoryEnum category)
    • lengthInMinutes

      public ActivityCode lengthInMinutes(Integer lengthInMinutes)
      The default length of the activity in minutes
    • getLengthInMinutes

      public Integer getLengthInMinutes()
    • setLengthInMinutes

      public void setLengthInMinutes(Integer lengthInMinutes)
    • countsAsPaidTime

      public ActivityCode countsAsPaidTime(Boolean countsAsPaidTime)
      Whether an agent is paid while performing this activity
    • getCountsAsPaidTime

      public Boolean getCountsAsPaidTime()
    • setCountsAsPaidTime

      public void setCountsAsPaidTime(Boolean countsAsPaidTime)
    • countsAsWorkTime

      public ActivityCode countsAsWorkTime(Boolean countsAsWorkTime)
      Indicates whether or not the activity should be counted as contiguous work time for calculating daily constraints
    • getCountsAsWorkTime

      public Boolean getCountsAsWorkTime()
    • setCountsAsWorkTime

      public void setCountsAsWorkTime(Boolean countsAsWorkTime)
    • agentTimeOffSelectable

      public ActivityCode agentTimeOffSelectable(Boolean agentTimeOffSelectable)
      Whether an agent can select this activity code when creating or editing a time off request. Null if the activity's category is not time off.
    • getAgentTimeOffSelectable

      public Boolean getAgentTimeOffSelectable()
    • setAgentTimeOffSelectable

      public void setAgentTimeOffSelectable(Boolean agentTimeOffSelectable)
    • metadata

      public ActivityCode metadata(WfmVersionedEntityMetadata metadata)
      Version metadata for the associated management unit's list of activity codes
    • getMetadata

      public WfmVersionedEntityMetadata getMetadata()
    • setMetadata

      public void setMetadata(WfmVersionedEntityMetadata metadata)
    • 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