public class EventsApi
extends java.lang.Object
| Constructor and Description |
|---|
EventsApi() |
EventsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
java.io.File |
getEventsData(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version)
Get the event data as multi-line JSON for a given time period.
|
okhttp3.Call |
getEventsDataAsync(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback<java.io.File> _callback)
Get the event data as multi-line JSON for a given time period.
|
okhttp3.Call |
getEventsDataCall(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback _callback)
Build call for getEventsData
|
ApiResponse<java.io.File> |
getEventsDataWithHttpInfo(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version)
Get the event data as multi-line JSON for a given time period.
|
void |
setApiClient(ApiClient apiClient) |
public EventsApi()
public EventsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getEventsDataCall(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback _callback)
throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the event (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | A streaming JSON output in multiline JSON format | - |
public java.io.File getEventsData(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version)
throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the event (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | A streaming JSON output in multiline JSON format | - |
public ApiResponse<java.io.File> getEventsDataWithHttpInfo(java.lang.String orgId, java.lang.String modelId, java.lang.Long startTimestamp, java.lang.Long endTimestamp, java.util.List<SegmentTag> segmentTags, java.lang.String version) throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the event (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | A streaming JSON output in multiline JSON format | - |
public okhttp3.Call getEventsDataAsync(java.lang.String orgId,
java.lang.String modelId,
java.lang.Long startTimestamp,
java.lang.Long endTimestamp,
java.util.List<SegmentTag> segmentTags,
java.lang.String version,
ApiCallback<java.io.File> _callback)
throws ApiException
orgId - Your company's unique organization ID (required)modelId - The unique model ID in your company. The model is created if it doesn't exist already. (required)startTimestamp - Start time exclusive (required)endTimestamp - (required)segmentTags - List of (key, value) pair tags for a segment. Must not contain duplicate values (optional)version - the version of the event (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | A streaming JSON output in multiline JSON format | - |