Class PatchSegment

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

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

    • PatchSegment

      public PatchSegment()
    • PatchSegment

      public PatchSegment(Boolean initWithEmptyList)
  • Method Details

    • isActive

      public PatchSegment isActive(Boolean isActive)
      Whether or not the segment is active.
    • getIsActive

      public Boolean getIsActive()
    • setIsActive

      public void setIsActive(Boolean isActive)
    • displayName

      public PatchSegment displayName(String displayName)
      The display name of the segment.
    • getDisplayName

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • version

      public PatchSegment version(Integer version)
      The version of the segment.
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • description

      public PatchSegment description(String description)
      A description of the segment.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • color

      public PatchSegment color(String color)
      The hexadecimal color value of the segment.
    • getColor

      public String getColor()
    • setColor

      public void setColor(String color)
    • shouldDisplayToAgent

      public PatchSegment shouldDisplayToAgent(Boolean shouldDisplayToAgent)
      Whether or not the segment should be displayed to agent/supervisor users.
    • getShouldDisplayToAgent

      public Boolean getShouldDisplayToAgent()
    • setShouldDisplayToAgent

      public void setShouldDisplayToAgent(Boolean shouldDisplayToAgent)
    • context

      public PatchSegment context(PatchContext context)
      The context of the segment.
    • getContext

      public PatchContext getContext()
    • setContext

      public void setContext(PatchContext context)
    • journey

      public PatchSegment journey(PatchJourney journey)
      The pattern of rules defining the segment.
    • getJourney

      public PatchJourney getJourney()
    • setJourney

      public void setJourney(PatchJourney journey)
    • externalSegment

      public PatchSegment externalSegment(PatchExternalSegment externalSegment)
      Details of an entity corresponding to this segment in an external system.
    • getExternalSegment

      public PatchExternalSegment getExternalSegment()
    • setExternalSegment

      public void setExternalSegment(PatchExternalSegment externalSegment)
    • assignmentExpirationDays

      public PatchSegment assignmentExpirationDays(Integer assignmentExpirationDays)
      Time, in days, from when the segment is assigned until it is automatically unassigned.
    • getAssignmentExpirationDays

      public Integer getAssignmentExpirationDays()
    • setAssignmentExpirationDays

      public void setAssignmentExpirationDays(Integer assignmentExpirationDays)
    • 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