Class SegmentList

java.lang.Object
com.intercom.api.types.SegmentList

public final class SegmentList extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      The type of the object
    • getSegments

      public List<Segment> getSegments()
      Returns:
      A list of Segment objects
    • getPages

      public Optional<Map<String,Object>> getPages()
      Returns:
      A pagination object, which may be empty, indicating no further pages to fetch.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static SegmentList.Builder builder()