Class SegmentsClient
- java.lang.Object
-
- com.intercom.api.resources.segments.SegmentsClient
-
public class SegmentsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description SegmentsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Segmentfind(FindSegmentRequest request)You can fetch the details of a single segment.Segmentfind(FindSegmentRequest request, RequestOptions requestOptions)You can fetch the details of a single segment.SegmentListlist()You can fetch a list of all segments.SegmentListlist(ListSegmentsRequest request)You can fetch a list of all segments.SegmentListlist(ListSegmentsRequest request, RequestOptions requestOptions)You can fetch a list of all segments.RawSegmentsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
SegmentsClient
public SegmentsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawSegmentsClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public SegmentList list()
You can fetch a list of all segments.
-
list
public SegmentList list(ListSegmentsRequest request)
You can fetch a list of all segments.
-
list
public SegmentList list(ListSegmentsRequest request, RequestOptions requestOptions)
You can fetch a list of all segments.
-
find
public Segment find(FindSegmentRequest request)
You can fetch the details of a single segment.
-
find
public Segment find(FindSegmentRequest request, RequestOptions requestOptions)
You can fetch the details of a single segment.
-
-