Class AsyncRawSegmentsClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.segments.AsyncRawSegmentsClient
-
public class AsyncRawSegmentsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawSegmentsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<IntercomHttpResponse<SegmentList>>listSegments()You can fetch a list of all segments.java.util.concurrent.CompletableFuture<IntercomHttpResponse<SegmentList>>listSegments(ListSegmentsRequest request)You can fetch a list of all segments.java.util.concurrent.CompletableFuture<IntercomHttpResponse<SegmentList>>listSegments(ListSegmentsRequest request, RequestOptions requestOptions)You can fetch a list of all segments.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Segment>>retrieveSegment(RetrieveSegmentRequest request)You can fetch the details of a single segment.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Segment>>retrieveSegment(RetrieveSegmentRequest request, RequestOptions requestOptions)You can fetch the details of a single segment.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawSegmentsClient
public AsyncRawSegmentsClient(ClientOptions clientOptions)
-
-
Method Detail
-
listSegments
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<SegmentList>> listSegments()
You can fetch a list of all segments.
-
listSegments
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<SegmentList>> listSegments(ListSegmentsRequest request)
You can fetch a list of all segments.
-
listSegments
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<SegmentList>> listSegments(ListSegmentsRequest request, RequestOptions requestOptions)
You can fetch a list of all segments.
-
retrieveSegment
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Segment>> retrieveSegment(RetrieveSegmentRequest request)
You can fetch the details of a single segment.
-
retrieveSegment
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Segment>> retrieveSegment(RetrieveSegmentRequest request, RequestOptions requestOptions)
You can fetch the details of a single segment.
-
-