Package com.mypurecloud.sdk.v2.model
Class JourneySegment
java.lang.Object
com.mypurecloud.sdk.v2.model.JourneySegment
- All Implemented Interfaces:
Serializable
JourneySegment
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe target entity that a segment applies to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignmentExpirationDays(Integer assignmentExpirationDays) Time, in days, from when the segment is assigned until it is automatically unassigned.The hexadecimal color value of the segment.The context of the segment.createdDate(Date createdDate) Timestamp indicating when the segment was created.description(String description) A description of the segment.displayName(String displayName) The display name of the segment.booleanexternalSegment(ExternalSegment externalSegment) Details of an entity corresponding to this segment in an external system.getColor()getId()getScope()inthashCode()The ID of the segment.Whether or not the segment is active.The pattern of rules defining the segment.modifiedDate(Date modifiedDate) Timestamp indicating when the segment was last updated.scope(JourneySegment.ScopeEnum scope) The target entity that a segment applies to.voidsetAssignmentExpirationDays(Integer assignmentExpirationDays) voidvoidsetContext(Context context) voidsetCreatedDate(Date createdDate) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetExternalSegment(ExternalSegment externalSegment) voidvoidsetIsActive(Boolean isActive) voidsetJourney(Journey journey) voidsetModifiedDate(Date modifiedDate) voidsetScope(JourneySegment.ScopeEnum scope) voidsetShouldDisplayToAgent(Boolean shouldDisplayToAgent) voidsetVersion(Integer version) shouldDisplayToAgent(Boolean shouldDisplayToAgent) Whether or not the segment should be displayed to agent/supervisor users.toString()The version of the segment.
-
Constructor Details
-
JourneySegment
public JourneySegment() -
JourneySegment
-
-
Method Details
-
id
The ID of the segment. -
getId
-
setId
-
isActive
Whether or not the segment is active. -
getIsActive
-
setIsActive
-
displayName
The display name of the segment. -
getDisplayName
-
setDisplayName
-
version
The version of the segment. -
getVersion
-
setVersion
-
description
A description of the segment. -
getDescription
-
setDescription
-
color
The hexadecimal color value of the segment. -
getColor
-
setColor
-
scope
The target entity that a segment applies to. -
getScope
-
setScope
-
shouldDisplayToAgent
Whether or not the segment should be displayed to agent/supervisor users. -
getShouldDisplayToAgent
-
setShouldDisplayToAgent
-
context
The context of the segment. -
getContext
-
setContext
-
journey
The pattern of rules defining the segment. -
getJourney
-
setJourney
-
externalSegment
Details of an entity corresponding to this segment in an external system. -
getExternalSegment
-
setExternalSegment
-
assignmentExpirationDays
Time, in days, from when the segment is assigned until it is automatically unassigned. -
getAssignmentExpirationDays
-
setAssignmentExpirationDays
-
getSelfUri
-
createdDate
Timestamp indicating when the segment was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getCreatedDate
-
setCreatedDate
-
modifiedDate
Timestamp indicating when the segment was last updated. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getModifiedDate
-
setModifiedDate
-
equals
-
hashCode
public int hashCode() -
toString
-