Package com.datadog.api.client.v2.api
Class RumReplaySessionsApi
java.lang.Object
com.datadog.api.client.v2.api.RumReplaySessionsApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RumReplaySessionsApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getSegments. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.voidgetSegments(String viewId, String sessionId) Get segments.voidgetSegments(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) Get segments.getSegmentsAsync(String viewId, String sessionId) Get segments.getSegmentsAsync(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) Get segments.getSegmentsWithHttpInfo(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) Get segments for a view.getSegmentsWithHttpInfoAsync(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) Get segments.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
RumReplaySessionsApi
public RumReplaySessionsApi() -
RumReplaySessionsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getSegments
Get segments.- Parameters:
viewId- Unique identifier of the view. (required)sessionId- Unique identifier of the session. (required)- Throws:
ApiException- if fails to make API call
-
getSegmentsAsync
Get segments.- Parameters:
viewId- Unique identifier of the view. (required)sessionId- Unique identifier of the session. (required)- Returns:
- CompletableFuture
-
getSegments
public void getSegments(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) throws ApiException Get segments.- Parameters:
viewId- Unique identifier of the view. (required)sessionId- Unique identifier of the session. (required)parameters- Optional parameters for the request.- Throws:
ApiException- if fails to make API call
-
getSegmentsAsync
public CompletableFuture<Void> getSegmentsAsync(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) Get segments.- Parameters:
viewId- Unique identifier of the view. (required)sessionId- Unique identifier of the session. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture
-
getSegmentsWithHttpInfo
public ApiResponse<Void> getSegmentsWithHttpInfo(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) throws ApiException Get segments for a view.- Parameters:
viewId- Unique identifier of the view. (required)sessionId- Unique identifier of the session. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
getSegmentsWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> getSegmentsWithHttpInfoAsync(String viewId, String sessionId, RumReplaySessionsApi.GetSegmentsOptionalParameters parameters) Get segments.- Parameters:
viewId- Unique identifier of the view. (required)sessionId- Unique identifier of the session. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<Void>>
-