Class Segment

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

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

    • Segment

      public Segment()
    • Segment

      public Segment(Boolean initWithEmptyList)
  • Method Details

    • startTime

      public Segment startTime(Date startTime)
      The timestamp when this segment began. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getStartTime

      public Date getStartTime()
    • setStartTime

      public void setStartTime(Date startTime)
    • endTime

      public Segment endTime(Date endTime)
      The timestamp when this segment ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getEndTime

      public Date getEndTime()
    • setEndTime

      public void setEndTime(Date endTime)
    • type

      public Segment type(String type)
      The activity taking place for the participant in the segment.
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • howEnded

      public Segment howEnded(String howEnded)
      A description of the event that ended the segment.
    • getHowEnded

      public String getHowEnded()
    • setHowEnded

      public void setHowEnded(String howEnded)
    • disconnectType

      public Segment disconnectType(String disconnectType)
      A description of the event that disconnected the segment
    • getDisconnectType

      public String getDisconnectType()
    • setDisconnectType

      public void setDisconnectType(String disconnectType)
    • 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