Package com.mypurecloud.sdk.v2.model
Class JourneySegmentRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.JourneySegmentRequest
- All Implemented Interfaces:
Serializable
JourneySegmentRequest
- 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.context(RequestContext context) The context of the segment.description(String description) A description of the segment.displayName(String displayName) The display name of the segment.booleanexternalSegment(RequestExternalSegment externalSegment) Details of an entity corresponding to this segment in an external system.getColor()getScope()inthashCode()Whether or not the segment is active.journey(RequestJourney journey) The pattern of rules defining the segment.The target entity that a segment applies to.voidsetAssignmentExpirationDays(Integer assignmentExpirationDays) voidvoidsetContext(RequestContext context) voidsetDescription(String description) voidsetDisplayName(String displayName) voidsetExternalSegment(RequestExternalSegment externalSegment) voidsetIsActive(Boolean isActive) voidsetJourney(RequestJourney journey) voidvoidsetShouldDisplayToAgent(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
-
JourneySegmentRequest
public JourneySegmentRequest()
-
-
Method Details
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-