Class JourneySegmentRequest

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

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

    • JourneySegmentRequest

      public JourneySegmentRequest()
    • JourneySegmentRequest

      public JourneySegmentRequest(Boolean initWithEmptyList)
  • Method Details

    • isActive

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

      public Boolean getIsActive()
    • setIsActive

      public void setIsActive(Boolean isActive)
    • displayName

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

      public String getDisplayName()
    • setDisplayName

      public void setDisplayName(String displayName)
    • version

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

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • description

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

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • color

      public JourneySegmentRequest color(String color)
      The hexadecimal color value of the segment. Defaults if not provided.
    • getColor

      public String getColor()
    • setColor

      public void setColor(String color)
    • shouldDisplayToAgent

      public JourneySegmentRequest 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 JourneySegmentRequest context(RequestContext context)
      The context of the segment. Defaults if not provided.
    • getContext

      public RequestContext getContext()
    • setContext

      public void setContext(RequestContext context)
    • journey

      public JourneySegmentRequest journey(RequestJourney journey)
      The pattern of rules defining the segment. Defaults if not provided.
    • getJourney

      public RequestJourney getJourney()
    • setJourney

      public void setJourney(RequestJourney journey)
    • externalSegment

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

      public RequestExternalSegment getExternalSegment()
    • setExternalSegment

      public void setExternalSegment(RequestExternalSegment externalSegment)
    • assignmentExpirationDays

      public JourneySegmentRequest 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