diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 3bec741a126..f14b1e8e65a 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -44821,7 +44821,7 @@ components: Protocol (OTLP) over gRPC and HTTP. - **Supported pipeline types:** logs, metrics' + **Supported pipeline types:** logs' properties: grpc_address_key: description: Environment variable name containing the gRPC server address @@ -44851,7 +44851,6 @@ components: type: object x-pipeline-types: - logs - - metrics ObservabilityPipelineOpentelemetrySourceType: default: opentelemetry description: The source type. The value should always be `opentelemetry`. @@ -49127,6 +49126,8 @@ components: x-enum-varnames: - PERMISSIONS Playlist: + description: A single RUM replay playlist resource returned by create, update, + or get operations. properties: data: $ref: '#/components/schemas/PlaylistData' @@ -49134,8 +49135,10 @@ components: - data type: object PlaylistArray: + description: A list of RUM replay playlists returned by a list operation. properties: data: + description: Array of playlist data objects. items: $ref: '#/components/schemas/PlaylistData' type: array @@ -49143,10 +49146,13 @@ components: - data type: object PlaylistData: + description: Data object representing a RUM replay playlist, including its identifier, + type, and attributes. properties: attributes: $ref: '#/components/schemas/PlaylistDataAttributes' id: + description: Unique identifier of the playlist. type: string type: $ref: '#/components/schemas/PlaylistDataType' @@ -49154,39 +49160,53 @@ components: - type type: object PlaylistDataAttributes: + description: Attributes of a RUM replay playlist, including its name, description, + session count, and audit timestamps. properties: created_at: + description: Timestamp when the playlist was created. format: date-time type: string created_by: $ref: '#/components/schemas/PlaylistDataAttributesCreatedBy' description: + description: Optional human-readable description of the playlist's purpose + or contents. type: string name: + description: Human-readable name of the playlist. example: My Playlist type: string session_count: + description: Number of replay sessions currently in the playlist. format: int64 type: integer updated_at: + description: Timestamp when the playlist was last updated. format: date-time type: string required: - name type: object PlaylistDataAttributesCreatedBy: + description: Information about the user who created the playlist. properties: handle: + description: Email handle of the user who created the playlist. example: john.doe@example.com type: string icon: + description: URL or identifier of the user's avatar icon. type: string id: + description: Unique identifier of the user who created the playlist. example: 00000000-0000-0000-0000-000000000001 type: string name: + description: Display name of the user who created the playlist. type: string uuid: + description: UUID of the user who created the playlist. example: 00000000-0000-0000-0000-000000000001 type: string required: @@ -49204,6 +49224,8 @@ components: x-enum-varnames: - RUM_REPLAY_PLAYLIST PlaylistsSession: + description: A single RUM replay session resource as it appears within a playlist + context. properties: data: $ref: '#/components/schemas/PlaylistsSessionData' @@ -49211,8 +49233,10 @@ components: - data type: object PlaylistsSessionArray: + description: A list of RUM replay sessions belonging to a playlist. properties: data: + description: Array of playlist session data objects. items: $ref: '#/components/schemas/PlaylistsSessionData' type: array @@ -49220,10 +49244,13 @@ components: - data type: object PlaylistsSessionData: + description: Data object representing a session within a playlist, including + its identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/PlaylistsSessionDataAttributes' id: + description: Unique identifier of the RUM replay session. type: string type: $ref: '#/components/schemas/ViewershipHistorySessionDataType' @@ -49231,11 +49258,16 @@ components: - type type: object PlaylistsSessionDataAttributes: + description: Attributes of a session within a playlist, including the session + event data and its replay track. properties: session_event: additionalProperties: {} + description: Raw event data associated with the replay session. type: object track: + description: Replay track identifier indicating which recording track the + session belongs to. type: string type: object PostmortemAttachmentRequest: @@ -62932,8 +62964,11 @@ components: - data type: object SessionIdArray: + description: A collection of session identifiers used for bulk add or remove + operations on a playlist. properties: data: + description: Array of session identifier data objects. items: $ref: '#/components/schemas/SessionIdData' type: array @@ -62941,8 +62976,10 @@ components: - data type: object SessionIdData: + description: A session identifier data object used for bulk playlist operations. properties: id: + description: Unique identifier of the RUM replay session. example: 00000000-0000-0000-0000-000000000001 type: string type: @@ -63461,13 +63498,17 @@ components: x-enum-varnames: - SLO_STATUS Snapshot: + description: A single heatmap snapshot resource returned by create or update + operations. properties: data: $ref: '#/components/schemas/SnapshotData' type: object SnapshotArray: + description: A list of heatmap snapshots returned by a list operation. properties: data: + description: Array of heatmap snapshot data objects. items: $ref: '#/components/schemas/SnapshotData' type: array @@ -63475,6 +63516,7 @@ components: - data type: object SnapshotCreateRequest: + description: Request body for creating a heatmap snapshot. properties: data: $ref: '#/components/schemas/SnapshotCreateRequestData' @@ -63482,6 +63524,8 @@ components: - data type: object SnapshotCreateRequestData: + description: Data object for a heatmap snapshot creation request, containing + the resource type and attributes. properties: attributes: $ref: '#/components/schemas/SnapshotCreateRequestDataAttributes' @@ -63491,31 +63535,45 @@ components: - type type: object SnapshotCreateRequestDataAttributes: + description: Attributes for creating a heatmap snapshot, including the view, + session, event, and device context. properties: application_id: + description: Unique identifier of the RUM application. example: aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb type: string device_type: + description: Device type used when capturing the snapshot (e.g., desktop, + mobile, tablet). example: desktop type: string event_id: + description: Unique identifier of the RUM event associated with the snapshot. example: 11111111-2222-3333-4444-555555555555 type: string is_device_type_selected_by_user: + description: Indicates whether the device type was explicitly selected by + the user rather than auto-detected. example: false type: boolean session_id: + description: Unique identifier of the RUM session associated with the snapshot. type: string snapshot_name: + description: Human-readable name for the snapshot. example: My Snapshot type: string start: + description: Offset in milliseconds from the start of the session at which + the snapshot was captured. example: 0 format: int64 type: integer view_id: + description: Unique identifier of the RUM view associated with the snapshot. type: string view_name: + description: URL path or name of the view where the snapshot was captured. example: /home type: string required: @@ -63528,10 +63586,13 @@ components: - is_device_type_selected_by_user type: object SnapshotData: + description: Data object representing a heatmap snapshot, including its identifier, + type, and attributes. properties: attributes: $ref: '#/components/schemas/SnapshotDataAttributes' id: + description: Unique identifier of the heatmap snapshot. readOnly: true type: string type: @@ -63540,50 +63601,71 @@ components: - type type: object SnapshotDataAttributes: + description: Attributes of a heatmap snapshot, including view context, device + information, and audit metadata. properties: application_id: + description: Unique identifier of the RUM application. type: string created_at: + description: Timestamp when the snapshot was created. format: date-time readOnly: true type: string created_by: + description: Display name of the user who created the snapshot. readOnly: true type: string created_by_handle: + description: Email handle of the user who created the snapshot. readOnly: true type: string created_by_user_id: + description: Numeric identifier of the user who created the snapshot. format: int64 readOnly: true type: integer device_type: + description: Device type used when capturing the snapshot (e.g., desktop, + mobile, tablet). type: string event_id: + description: Unique identifier of the RUM event associated with the snapshot. type: string is_device_type_selected_by_user: + description: Indicates whether the device type was explicitly selected by + the user rather than auto-detected. type: boolean modified_at: + description: Timestamp when the snapshot was last modified. format: date-time readOnly: true type: string org_id: + description: Numeric identifier of the organization that owns the snapshot. format: int64 readOnly: true type: integer session_id: + description: Unique identifier of the RUM session associated with the snapshot. type: string snapshot_name: + description: Human-readable name for the snapshot. type: string start: + description: Offset in milliseconds from the start of the session at which + the snapshot was captured. format: int64 type: integer view_id: + description: Unique identifier of the RUM view associated with the snapshot. type: string view_name: + description: URL path or name of the view where the snapshot was captured. type: string type: object SnapshotUpdateRequest: + description: Request body for updating a heatmap snapshot. properties: data: $ref: '#/components/schemas/SnapshotUpdateRequestData' @@ -63591,10 +63673,13 @@ components: - data type: object SnapshotUpdateRequestData: + description: Data object for a heatmap snapshot update request, containing the + resource identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/SnapshotUpdateRequestDataAttributes' id: + description: Unique identifier of the heatmap snapshot to update. example: 00000000-0000-0000-0000-000000000001 type: string type: @@ -63603,20 +63688,29 @@ components: - type type: object SnapshotUpdateRequestDataAttributes: + description: Attributes for updating a heatmap snapshot, including event, session, + and view context. properties: event_id: + description: Unique identifier of the RUM event associated with the snapshot. example: 11111111-2222-3333-4444-555555555555 type: string is_device_type_selected_by_user: + description: Indicates whether the device type was explicitly selected by + the user rather than auto-detected. example: false type: boolean session_id: + description: Unique identifier of the RUM session associated with the snapshot. type: string start: + description: Offset in milliseconds from the start of the session at which + the snapshot was captured. example: 0 format: int64 type: integer view_id: + description: Unique identifier of the RUM view associated with the snapshot. type: string required: - event_id @@ -71641,8 +71735,10 @@ components: - UPDATE - DELETE ViewershipHistorySessionArray: + description: A list of RUM replay sessions from a user's viewership history. properties: data: + description: Array of viewership history session data objects. items: $ref: '#/components/schemas/ViewershipHistorySessionData' type: array @@ -71650,10 +71746,13 @@ components: - data type: object ViewershipHistorySessionData: + description: Data object representing a session in the viewership history, including + its identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/ViewershipHistorySessionDataAttributes' id: + description: Unique identifier of the RUM replay session. type: string type: $ref: '#/components/schemas/ViewershipHistorySessionDataType' @@ -71661,17 +71760,25 @@ components: - type type: object ViewershipHistorySessionDataAttributes: + description: Attributes of a viewership history session entry, capturing when + it was last watched and the associated event data. properties: event_id: + description: Unique identifier of the RUM event associated with the watched + session. type: string last_watched_at: + description: Timestamp when the session was last watched by the user. example: '2026-01-13T17:15:53.208340Z' format: date-time type: string session_event: additionalProperties: {} + description: Raw event data associated with the replay session. type: object track: + description: Replay track identifier indicating which recording track the + session belongs to. type: string required: - last_watched_at @@ -72174,6 +72281,7 @@ components: - X_PATH_INJECTION - XSS Watch: + description: A single RUM replay session watch resource returned by create operations. properties: data: $ref: '#/components/schemas/WatchData' @@ -72181,10 +72289,13 @@ components: - data type: object WatchData: + description: Data object representing a session watch record, including its + identifier, type, and attributes. properties: attributes: $ref: '#/components/schemas/WatchDataAttributes' id: + description: Unique identifier of the watch record. type: string type: $ref: '#/components/schemas/WatchDataType' @@ -72192,16 +72303,23 @@ components: - type type: object WatchDataAttributes: + description: Attributes for recording a session watch event, including the application, + event reference, and timestamp. properties: application_id: + description: Unique identifier of the RUM application containing the session. example: aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb type: string data_source: + description: Data source type indicating the origin of the session data + (e.g., rum or product_analytics). type: string event_id: + description: Unique identifier of the RUM event that was watched. example: 11111111-2222-3333-4444-555555555555 type: string timestamp: + description: Timestamp when the session was watched. example: '2026-01-13T17:15:53.208340Z' format: date-time type: string @@ -72220,8 +72338,10 @@ components: x-enum-varnames: - RUM_REPLAY_WATCH WatcherArray: + description: A list of users who have watched a RUM replay session. properties: data: + description: Array of watcher data objects. items: $ref: '#/components/schemas/WatcherData' type: array @@ -72229,10 +72349,13 @@ components: - data type: object WatcherData: + description: Data object representing a session watcher, including their identifier, + type, and attributes. properties: attributes: $ref: '#/components/schemas/WatcherDataAttributes' id: + description: Unique identifier of the watcher user. type: string type: $ref: '#/components/schemas/WatcherDataType' @@ -72240,19 +72363,26 @@ components: - type type: object WatcherDataAttributes: + description: Attributes of a user who has watched a RUM replay session, including + contact information and watch statistics. properties: handle: + description: Email handle of the user who watched the session. example: john.doe@example.com type: string icon: + description: URL or identifier of the watcher's avatar icon. type: string last_watched_at: + description: Timestamp when the watcher last viewed the session. example: '2026-01-13T17:15:53.208340Z' format: date-time type: string name: + description: Display name of the user who watched the session. type: string watch_count: + description: Total number of times the user has watched the session. example: 0 format: int32 maximum: 2147483647 diff --git a/examples/v2/observability-pipelines/ValidatePipeline_884022323.java b/examples/v2/observability-pipelines/ValidatePipeline_884022323.java deleted file mode 100644 index 75e3efa36de..00000000000 --- a/examples/v2/observability-pipelines/ValidatePipeline_884022323.java +++ /dev/null @@ -1,90 +0,0 @@ -// Validate a metrics pipeline with opentelemetry source returns "OK" response - -import com.datadog.api.client.ApiClient; -import com.datadog.api.client.ApiException; -import com.datadog.api.client.v2.api.ObservabilityPipelinesApi; -import com.datadog.api.client.v2.model.ObservabilityPipelineConfig; -import com.datadog.api.client.v2.model.ObservabilityPipelineConfigDestinationItem; -import com.datadog.api.client.v2.model.ObservabilityPipelineConfigPipelineType; -import com.datadog.api.client.v2.model.ObservabilityPipelineConfigProcessorGroup; -import com.datadog.api.client.v2.model.ObservabilityPipelineConfigProcessorItem; -import com.datadog.api.client.v2.model.ObservabilityPipelineConfigSourceItem; -import com.datadog.api.client.v2.model.ObservabilityPipelineDataAttributes; -import com.datadog.api.client.v2.model.ObservabilityPipelineDatadogMetricsDestination; -import com.datadog.api.client.v2.model.ObservabilityPipelineDatadogMetricsDestinationType; -import com.datadog.api.client.v2.model.ObservabilityPipelineFilterProcessor; -import com.datadog.api.client.v2.model.ObservabilityPipelineFilterProcessorType; -import com.datadog.api.client.v2.model.ObservabilityPipelineOpentelemetrySource; -import com.datadog.api.client.v2.model.ObservabilityPipelineOpentelemetrySourceType; -import com.datadog.api.client.v2.model.ObservabilityPipelineSpec; -import com.datadog.api.client.v2.model.ObservabilityPipelineSpecData; -import com.datadog.api.client.v2.model.ValidationResponse; -import java.util.Collections; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = ApiClient.getDefaultApiClient(); - ObservabilityPipelinesApi apiInstance = new ObservabilityPipelinesApi(defaultClient); - - ObservabilityPipelineSpec body = - new ObservabilityPipelineSpec() - .data( - new ObservabilityPipelineSpecData() - .attributes( - new ObservabilityPipelineDataAttributes() - .config( - new ObservabilityPipelineConfig() - .pipelineType(ObservabilityPipelineConfigPipelineType.METRICS) - .destinations( - Collections.singletonList( - new ObservabilityPipelineConfigDestinationItem( - new ObservabilityPipelineDatadogMetricsDestination() - .id("datadog-metrics-destination") - .inputs( - Collections.singletonList( - "my-processor-group")) - .type( - ObservabilityPipelineDatadogMetricsDestinationType - .DATADOG_METRICS)))) - .processorGroups( - Collections.singletonList( - new ObservabilityPipelineConfigProcessorGroup() - .enabled(true) - .id("my-processor-group") - .include("*") - .inputs( - Collections.singletonList( - "opentelemetry-source")) - .processors( - Collections.singletonList( - new ObservabilityPipelineConfigProcessorItem( - new ObservabilityPipelineFilterProcessor() - .enabled(true) - .id("filter-processor") - .include("env:production") - .type( - ObservabilityPipelineFilterProcessorType - .FILTER)))))) - .sources( - Collections.singletonList( - new ObservabilityPipelineConfigSourceItem( - new ObservabilityPipelineOpentelemetrySource() - .id("opentelemetry-source") - .type( - ObservabilityPipelineOpentelemetrySourceType - .OPENTELEMETRY))))) - .name("Metrics OTel Pipeline")) - .type("pipelines")); - - try { - ValidationResponse result = apiInstance.validatePipeline(body); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObservabilityPipelinesApi#validatePipeline"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} diff --git a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineOpentelemetrySource.java b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineOpentelemetrySource.java index 221238d464d..2964bc439bb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineOpentelemetrySource.java +++ b/src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineOpentelemetrySource.java @@ -21,7 +21,7 @@ * The opentelemetry source receives telemetry data using the OpenTelemetry Protocol * (OTLP) over gRPC and HTTP. * - *

Supported pipeline types: logs, metrics + *

Supported pipeline types: logs */ @JsonPropertyOrder({ ObservabilityPipelineOpentelemetrySource.JSON_PROPERTY_GRPC_ADDRESS_KEY, diff --git a/src/main/java/com/datadog/api/client/v2/model/Playlist.java b/src/main/java/com/datadog/api/client/v2/model/Playlist.java index 3555f38ea0d..09ca7471394 100644 --- a/src/main/java/com/datadog/api/client/v2/model/Playlist.java +++ b/src/main/java/com/datadog/api/client/v2/model/Playlist.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A single RUM replay playlist resource returned by create, update, or get operations. */ @JsonPropertyOrder({Playlist.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -41,7 +41,7 @@ public Playlist data(PlaylistData data) { } /** - * Getdata + * Data object representing a RUM replay playlist, including its identifier, type, and attributes. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistArray.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistArray.java index 7771d36f76e..7eb8e4a35d0 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistArray.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A list of RUM replay playlists returned by a list operation. */ @JsonPropertyOrder({PlaylistArray.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -51,7 +51,7 @@ public PlaylistArray addDataItem(PlaylistData dataItem) { } /** - * Getdata + * Array of playlist data objects. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistData.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistData.java index c06c8574993..195b45dfe96 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistData.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistData.java @@ -17,7 +17,9 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Data object representing a RUM replay playlist, including its identifier, type, and attributes. + */ @JsonPropertyOrder({ PlaylistData.JSON_PROPERTY_ATTRIBUTES, PlaylistData.JSON_PROPERTY_ID, @@ -52,7 +54,8 @@ public PlaylistData attributes(PlaylistDataAttributes attributes) { } /** - * Getattributes + * Attributes of a RUM replay playlist, including its name, description, session count, and audit + * timestamps. * * @return attributes */ @@ -73,7 +76,7 @@ public PlaylistData id(String id) { } /** - * Getid + * Unique identifier of the playlist. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributes.java index 9301269572b..f8e0aad503d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributes.java @@ -18,7 +18,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes of a RUM replay playlist, including its name, description, session count, and audit + * timestamps. + */ @JsonPropertyOrder({ PlaylistDataAttributes.JSON_PROPERTY_CREATED_AT, PlaylistDataAttributes.JSON_PROPERTY_CREATED_BY, @@ -63,7 +66,7 @@ public PlaylistDataAttributes createdAt(OffsetDateTime createdAt) { } /** - * GetcreatedAt + * Timestamp when the playlist was created. * * @return createdAt */ @@ -85,7 +88,7 @@ public PlaylistDataAttributes createdBy(PlaylistDataAttributesCreatedBy createdB } /** - * GetcreatedBy + * Information about the user who created the playlist. * * @return createdBy */ @@ -106,7 +109,7 @@ public PlaylistDataAttributes description(String description) { } /** - * Getdescription + * Optional human-readable description of the playlist's purpose or contents. * * @return description */ @@ -127,7 +130,7 @@ public PlaylistDataAttributes name(String name) { } /** - * Getname + * Human-readable name of the playlist. * * @return name */ @@ -147,7 +150,7 @@ public PlaylistDataAttributes sessionCount(Long sessionCount) { } /** - * GetsessionCount + * Number of replay sessions currently in the playlist. * * @return sessionCount */ @@ -168,7 +171,7 @@ public PlaylistDataAttributes updatedAt(OffsetDateTime updatedAt) { } /** - * GetupdatedAt + * Timestamp when the playlist was last updated. * * @return updatedAt */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributesCreatedBy.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributesCreatedBy.java index e0615f8f9bc..39c5f67d017 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributesCreatedBy.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistDataAttributesCreatedBy.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** Information about the user who created the playlist. */ @JsonPropertyOrder({ PlaylistDataAttributesCreatedBy.JSON_PROPERTY_HANDLE, PlaylistDataAttributesCreatedBy.JSON_PROPERTY_ICON, @@ -62,7 +62,7 @@ public PlaylistDataAttributesCreatedBy handle(String handle) { } /** - * Gethandle + * Email handle of the user who created the playlist. * * @return handle */ @@ -82,7 +82,7 @@ public PlaylistDataAttributesCreatedBy icon(String icon) { } /** - * Geticon + * URL or identifier of the user's avatar icon. * * @return icon */ @@ -103,7 +103,7 @@ public PlaylistDataAttributesCreatedBy id(String id) { } /** - * Getid + * Unique identifier of the user who created the playlist. * * @return id */ @@ -123,7 +123,7 @@ public PlaylistDataAttributesCreatedBy name(String name) { } /** - * Getname + * Display name of the user who created the playlist. * * @return name */ @@ -144,7 +144,7 @@ public PlaylistDataAttributesCreatedBy uuid(String uuid) { } /** - * Getuuid + * UUID of the user who created the playlist. * * @return uuid */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSession.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSession.java index 0e16db75edf..d53823778d6 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSession.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSession.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A single RUM replay session resource as it appears within a playlist context. */ @JsonPropertyOrder({PlaylistsSession.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -42,7 +42,8 @@ public PlaylistsSession data(PlaylistsSessionData data) { } /** - * Getdata + * Data object representing a session within a playlist, including its identifier, type, and + * attributes. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionArray.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionArray.java index 18c1d418d09..3e4d92cad95 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionArray.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A list of RUM replay sessions belonging to a playlist. */ @JsonPropertyOrder({PlaylistsSessionArray.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -51,7 +51,7 @@ public PlaylistsSessionArray addDataItem(PlaylistsSessionData dataItem) { } /** - * Getdata + * Array of playlist session data objects. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionData.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionData.java index e5f9d34f4d0..88f84a2af4c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionData.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionData.java @@ -17,7 +17,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Data object representing a session within a playlist, including its identifier, type, and + * attributes. + */ @JsonPropertyOrder({ PlaylistsSessionData.JSON_PROPERTY_ATTRIBUTES, PlaylistsSessionData.JSON_PROPERTY_ID, @@ -54,7 +57,8 @@ public PlaylistsSessionData attributes(PlaylistsSessionDataAttributes attributes } /** - * Getattributes + * Attributes of a session within a playlist, including the session event data and its replay + * track. * * @return attributes */ @@ -75,7 +79,7 @@ public PlaylistsSessionData id(String id) { } /** - * Getid + * Unique identifier of the RUM replay session. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionDataAttributes.java index 026a5f00858..a78f7b2ecc5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistsSessionDataAttributes.java @@ -16,7 +16,9 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes of a session within a playlist, including the session event data and its replay track. + */ @JsonPropertyOrder({ PlaylistsSessionDataAttributes.JSON_PROPERTY_SESSION_EVENT, PlaylistsSessionDataAttributes.JSON_PROPERTY_TRACK @@ -45,7 +47,7 @@ public PlaylistsSessionDataAttributes putSessionEventItem(String key, Object ses } /** - * GetsessionEvent + * Raw event data associated with the replay session. * * @return sessionEvent */ @@ -66,7 +68,7 @@ public PlaylistsSessionDataAttributes track(String track) { } /** - * Gettrack + * Replay track identifier indicating which recording track the session belongs to. * * @return track */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SessionIdArray.java b/src/main/java/com/datadog/api/client/v2/model/SessionIdArray.java index fe887ef862e..1765efe9d8a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SessionIdArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/SessionIdArray.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A collection of session identifiers used for bulk add or remove operations on a playlist. */ @JsonPropertyOrder({SessionIdArray.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -51,7 +51,7 @@ public SessionIdArray addDataItem(SessionIdData dataItem) { } /** - * Getdata + * Array of session identifier data objects. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SessionIdData.java b/src/main/java/com/datadog/api/client/v2/model/SessionIdData.java index 1bed5e3db2e..668e13f4ae2 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SessionIdData.java +++ b/src/main/java/com/datadog/api/client/v2/model/SessionIdData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A session identifier data object used for bulk playlist operations. */ @JsonPropertyOrder({SessionIdData.JSON_PROPERTY_ID, SessionIdData.JSON_PROPERTY_TYPE}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -46,7 +46,7 @@ public SessionIdData id(String id) { } /** - * Getid + * Unique identifier of the RUM replay session. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/Snapshot.java b/src/main/java/com/datadog/api/client/v2/model/Snapshot.java index 24341bf283b..eff208489a9 100644 --- a/src/main/java/com/datadog/api/client/v2/model/Snapshot.java +++ b/src/main/java/com/datadog/api/client/v2/model/Snapshot.java @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A single heatmap snapshot resource returned by create or update operations. */ @JsonPropertyOrder({Snapshot.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -32,7 +32,7 @@ public Snapshot data(SnapshotData data) { } /** - * Getdata + * Data object representing a heatmap snapshot, including its identifier, type, and attributes. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotArray.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotArray.java index 4c50c075bcd..a66ff12c941 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotArray.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A list of heatmap snapshots returned by a list operation. */ @JsonPropertyOrder({SnapshotArray.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -51,7 +51,7 @@ public SnapshotArray addDataItem(SnapshotData dataItem) { } /** - * Getdata + * Array of heatmap snapshot data objects. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequest.java index 2a517c585cf..b737fe27f02 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequest.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** Request body for creating a heatmap snapshot. */ @JsonPropertyOrder({SnapshotCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -42,7 +42,8 @@ public SnapshotCreateRequest data(SnapshotCreateRequestData data) { } /** - * Getdata + * Data object for a heatmap snapshot creation request, containing the resource type and + * attributes. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestData.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestData.java index ad9730f9cc6..760ae703af2 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestData.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestData.java @@ -17,7 +17,9 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Data object for a heatmap snapshot creation request, containing the resource type and attributes. + */ @JsonPropertyOrder({ SnapshotCreateRequestData.JSON_PROPERTY_ATTRIBUTES, SnapshotCreateRequestData.JSON_PROPERTY_TYPE @@ -49,7 +51,8 @@ public SnapshotCreateRequestData attributes(SnapshotCreateRequestDataAttributes } /** - * Getattributes + * Attributes for creating a heatmap snapshot, including the view, session, event, and device + * context. * * @return attributes */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestDataAttributes.java index 4b14cbe7f4a..e8474379adf 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotCreateRequestDataAttributes.java @@ -17,7 +17,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes for creating a heatmap snapshot, including the view, session, event, and device + * context. + */ @JsonPropertyOrder({ SnapshotCreateRequestDataAttributes.JSON_PROPERTY_APPLICATION_ID, SnapshotCreateRequestDataAttributes.JSON_PROPERTY_DEVICE_TYPE, @@ -88,7 +91,7 @@ public SnapshotCreateRequestDataAttributes applicationId(String applicationId) { } /** - * GetapplicationId + * Unique identifier of the RUM application. * * @return applicationId */ @@ -108,7 +111,7 @@ public SnapshotCreateRequestDataAttributes deviceType(String deviceType) { } /** - * GetdeviceType + * Device type used when capturing the snapshot (e.g., desktop, mobile, tablet). * * @return deviceType */ @@ -128,7 +131,7 @@ public SnapshotCreateRequestDataAttributes eventId(String eventId) { } /** - * GeteventId + * Unique identifier of the RUM event associated with the snapshot. * * @return eventId */ @@ -149,7 +152,8 @@ public SnapshotCreateRequestDataAttributes isDeviceTypeSelectedByUser( } /** - * GetisDeviceTypeSelectedByUser + * Indicates whether the device type was explicitly selected by the user rather than + * auto-detected. * * @return isDeviceTypeSelectedByUser */ @@ -169,7 +173,7 @@ public SnapshotCreateRequestDataAttributes sessionId(String sessionId) { } /** - * GetsessionId + * Unique identifier of the RUM session associated with the snapshot. * * @return sessionId */ @@ -190,7 +194,7 @@ public SnapshotCreateRequestDataAttributes snapshotName(String snapshotName) { } /** - * GetsnapshotName + * Human-readable name for the snapshot. * * @return snapshotName */ @@ -210,7 +214,7 @@ public SnapshotCreateRequestDataAttributes start(Long start) { } /** - * Getstart + * Offset in milliseconds from the start of the session at which the snapshot was captured. * * @return start */ @@ -230,7 +234,7 @@ public SnapshotCreateRequestDataAttributes viewId(String viewId) { } /** - * GetviewId + * Unique identifier of the RUM view associated with the snapshot. * * @return viewId */ @@ -251,7 +255,7 @@ public SnapshotCreateRequestDataAttributes viewName(String viewName) { } /** - * GetviewName + * URL path or name of the view where the snapshot was captured. * * @return viewName */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotData.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotData.java index 5f1d553c6e5..8cbc5ff144e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotData.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** Data object representing a heatmap snapshot, including its identifier, type, and attributes. */ @JsonPropertyOrder({ SnapshotData.JSON_PROPERTY_ATTRIBUTES, SnapshotData.JSON_PROPERTY_ID, @@ -53,7 +53,8 @@ public SnapshotData attributes(SnapshotDataAttributes attributes) { } /** - * Getattributes + * Attributes of a heatmap snapshot, including view context, device information, and audit + * metadata. * * @return attributes */ @@ -69,7 +70,7 @@ public void setAttributes(SnapshotDataAttributes attributes) { } /** - * Getid + * Unique identifier of the heatmap snapshot. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotDataAttributes.java index bccfce805ca..a9fc10d5666 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotDataAttributes.java @@ -17,7 +17,9 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes of a heatmap snapshot, including view context, device information, and audit metadata. + */ @JsonPropertyOrder({ SnapshotDataAttributes.JSON_PROPERTY_APPLICATION_ID, SnapshotDataAttributes.JSON_PROPERTY_CREATED_AT, @@ -91,7 +93,7 @@ public SnapshotDataAttributes applicationId(String applicationId) { } /** - * GetapplicationId + * Unique identifier of the RUM application. * * @return applicationId */ @@ -107,7 +109,7 @@ public void setApplicationId(String applicationId) { } /** - * GetcreatedAt + * Timestamp when the snapshot was created. * * @return createdAt */ @@ -119,7 +121,7 @@ public OffsetDateTime getCreatedAt() { } /** - * GetcreatedBy + * Display name of the user who created the snapshot. * * @return createdBy */ @@ -131,7 +133,7 @@ public String getCreatedBy() { } /** - * GetcreatedByHandle + * Email handle of the user who created the snapshot. * * @return createdByHandle */ @@ -143,7 +145,7 @@ public String getCreatedByHandle() { } /** - * GetcreatedByUserId + * Numeric identifier of the user who created the snapshot. * * @return createdByUserId */ @@ -160,7 +162,7 @@ public SnapshotDataAttributes deviceType(String deviceType) { } /** - * GetdeviceType + * Device type used when capturing the snapshot (e.g., desktop, mobile, tablet). * * @return deviceType */ @@ -181,7 +183,7 @@ public SnapshotDataAttributes eventId(String eventId) { } /** - * GeteventId + * Unique identifier of the RUM event associated with the snapshot. * * @return eventId */ @@ -202,7 +204,8 @@ public SnapshotDataAttributes isDeviceTypeSelectedByUser(Boolean isDeviceTypeSel } /** - * GetisDeviceTypeSelectedByUser + * Indicates whether the device type was explicitly selected by the user rather than + * auto-detected. * * @return isDeviceTypeSelectedByUser */ @@ -218,7 +221,7 @@ public void setIsDeviceTypeSelectedByUser(Boolean isDeviceTypeSelectedByUser) { } /** - * GetmodifiedAt + * Timestamp when the snapshot was last modified. * * @return modifiedAt */ @@ -230,7 +233,7 @@ public OffsetDateTime getModifiedAt() { } /** - * GetorgId + * Numeric identifier of the organization that owns the snapshot. * * @return orgId */ @@ -247,7 +250,7 @@ public SnapshotDataAttributes sessionId(String sessionId) { } /** - * GetsessionId + * Unique identifier of the RUM session associated with the snapshot. * * @return sessionId */ @@ -268,7 +271,7 @@ public SnapshotDataAttributes snapshotName(String snapshotName) { } /** - * GetsnapshotName + * Human-readable name for the snapshot. * * @return snapshotName */ @@ -289,7 +292,7 @@ public SnapshotDataAttributes start(Long start) { } /** - * Getstart + * Offset in milliseconds from the start of the session at which the snapshot was captured. * * @return start */ @@ -310,7 +313,7 @@ public SnapshotDataAttributes viewId(String viewId) { } /** - * GetviewId + * Unique identifier of the RUM view associated with the snapshot. * * @return viewId */ @@ -331,7 +334,7 @@ public SnapshotDataAttributes viewName(String viewName) { } /** - * GetviewName + * URL path or name of the view where the snapshot was captured. * * @return viewName */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequest.java index 21784b0f2ae..d186847b8b9 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequest.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** Request body for updating a heatmap snapshot. */ @JsonPropertyOrder({SnapshotUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -42,7 +42,8 @@ public SnapshotUpdateRequest data(SnapshotUpdateRequestData data) { } /** - * Getdata + * Data object for a heatmap snapshot update request, containing the resource identifier, type, + * and attributes. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestData.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestData.java index 67389881cfc..07c008df33c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestData.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestData.java @@ -17,7 +17,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Data object for a heatmap snapshot update request, containing the resource identifier, type, and + * attributes. + */ @JsonPropertyOrder({ SnapshotUpdateRequestData.JSON_PROPERTY_ATTRIBUTES, SnapshotUpdateRequestData.JSON_PROPERTY_ID, @@ -53,7 +56,7 @@ public SnapshotUpdateRequestData attributes(SnapshotUpdateRequestDataAttributes } /** - * Getattributes + * Attributes for updating a heatmap snapshot, including event, session, and view context. * * @return attributes */ @@ -74,7 +77,7 @@ public SnapshotUpdateRequestData id(String id) { } /** - * Getid + * Unique identifier of the heatmap snapshot to update. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestDataAttributes.java index d9a1ba4fa50..398febf2898 100644 --- a/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/SnapshotUpdateRequestDataAttributes.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** Attributes for updating a heatmap snapshot, including event, session, and view context. */ @JsonPropertyOrder({ SnapshotUpdateRequestDataAttributes.JSON_PROPERTY_EVENT_ID, SnapshotUpdateRequestDataAttributes.JSON_PROPERTY_IS_DEVICE_TYPE_SELECTED_BY_USER, @@ -64,7 +64,7 @@ public SnapshotUpdateRequestDataAttributes eventId(String eventId) { } /** - * GeteventId + * Unique identifier of the RUM event associated with the snapshot. * * @return eventId */ @@ -85,7 +85,8 @@ public SnapshotUpdateRequestDataAttributes isDeviceTypeSelectedByUser( } /** - * GetisDeviceTypeSelectedByUser + * Indicates whether the device type was explicitly selected by the user rather than + * auto-detected. * * @return isDeviceTypeSelectedByUser */ @@ -105,7 +106,7 @@ public SnapshotUpdateRequestDataAttributes sessionId(String sessionId) { } /** - * GetsessionId + * Unique identifier of the RUM session associated with the snapshot. * * @return sessionId */ @@ -126,7 +127,7 @@ public SnapshotUpdateRequestDataAttributes start(Long start) { } /** - * Getstart + * Offset in milliseconds from the start of the session at which the snapshot was captured. * * @return start */ @@ -146,7 +147,7 @@ public SnapshotUpdateRequestDataAttributes viewId(String viewId) { } /** - * GetviewId + * Unique identifier of the RUM view associated with the snapshot. * * @return viewId */ diff --git a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionArray.java b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionArray.java index b2d100f4021..7f1a22990c3 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionArray.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A list of RUM replay sessions from a user's viewership history. */ @JsonPropertyOrder({ViewershipHistorySessionArray.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -52,7 +52,7 @@ public ViewershipHistorySessionArray addDataItem(ViewershipHistorySessionData da } /** - * Getdata + * Array of viewership history session data objects. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionData.java b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionData.java index 7a0e2255cc0..087ac29d4ec 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionData.java +++ b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionData.java @@ -17,7 +17,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Data object representing a session in the viewership history, including its identifier, type, and + * attributes. + */ @JsonPropertyOrder({ ViewershipHistorySessionData.JSON_PROPERTY_ATTRIBUTES, ViewershipHistorySessionData.JSON_PROPERTY_ID, @@ -55,7 +58,8 @@ public ViewershipHistorySessionData attributes( } /** - * Getattributes + * Attributes of a viewership history session entry, capturing when it was last watched and the + * associated event data. * * @return attributes */ @@ -76,7 +80,7 @@ public ViewershipHistorySessionData id(String id) { } /** - * Getid + * Unique identifier of the RUM replay session. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataAttributes.java index 745e63590f9..51652775d50 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataAttributes.java @@ -18,7 +18,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes of a viewership history session entry, capturing when it was last watched and the + * associated event data. + */ @JsonPropertyOrder({ ViewershipHistorySessionDataAttributes.JSON_PROPERTY_EVENT_ID, ViewershipHistorySessionDataAttributes.JSON_PROPERTY_LAST_WATCHED_AT, @@ -56,7 +59,7 @@ public ViewershipHistorySessionDataAttributes eventId(String eventId) { } /** - * GeteventId + * Unique identifier of the RUM event associated with the watched session. * * @return eventId */ @@ -77,7 +80,7 @@ public ViewershipHistorySessionDataAttributes lastWatchedAt(OffsetDateTime lastW } /** - * GetlastWatchedAt + * Timestamp when the session was last watched by the user. * * @return lastWatchedAt */ @@ -106,7 +109,7 @@ public ViewershipHistorySessionDataAttributes putSessionEventItem( } /** - * GetsessionEvent + * Raw event data associated with the replay session. * * @return sessionEvent */ @@ -127,7 +130,7 @@ public ViewershipHistorySessionDataAttributes track(String track) { } /** - * Gettrack + * Replay track identifier indicating which recording track the session belongs to. * * @return track */ diff --git a/src/main/java/com/datadog/api/client/v2/model/Watch.java b/src/main/java/com/datadog/api/client/v2/model/Watch.java index 2d81bf83481..a2eb136aa9b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/Watch.java +++ b/src/main/java/com/datadog/api/client/v2/model/Watch.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A single RUM replay session watch resource returned by create operations. */ @JsonPropertyOrder({Watch.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -41,7 +41,8 @@ public Watch data(WatchData data) { } /** - * Getdata + * Data object representing a session watch record, including its identifier, type, and + * attributes. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatchData.java b/src/main/java/com/datadog/api/client/v2/model/WatchData.java index ac7eb13cb7d..a0aea63df17 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatchData.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatchData.java @@ -17,7 +17,9 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Data object representing a session watch record, including its identifier, type, and attributes. + */ @JsonPropertyOrder({ WatchData.JSON_PROPERTY_ATTRIBUTES, WatchData.JSON_PROPERTY_ID, @@ -51,7 +53,8 @@ public WatchData attributes(WatchDataAttributes attributes) { } /** - * Getattributes + * Attributes for recording a session watch event, including the application, event reference, and + * timestamp. * * @return attributes */ @@ -72,7 +75,7 @@ public WatchData id(String id) { } /** - * Getid + * Unique identifier of the watch record. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatchDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/WatchDataAttributes.java index 6ca4be1cb0b..08120f303db 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatchDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatchDataAttributes.java @@ -18,7 +18,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes for recording a session watch event, including the application, event reference, and + * timestamp. + */ @JsonPropertyOrder({ WatchDataAttributes.JSON_PROPERTY_APPLICATION_ID, WatchDataAttributes.JSON_PROPERTY_DATA_SOURCE, @@ -59,7 +62,7 @@ public WatchDataAttributes applicationId(String applicationId) { } /** - * GetapplicationId + * Unique identifier of the RUM application containing the session. * * @return applicationId */ @@ -79,7 +82,7 @@ public WatchDataAttributes dataSource(String dataSource) { } /** - * GetdataSource + * Data source type indicating the origin of the session data (e.g., rum or product_analytics). * * @return dataSource */ @@ -100,7 +103,7 @@ public WatchDataAttributes eventId(String eventId) { } /** - * GeteventId + * Unique identifier of the RUM event that was watched. * * @return eventId */ @@ -120,7 +123,7 @@ public WatchDataAttributes timestamp(OffsetDateTime timestamp) { } /** - * Gettimestamp + * Timestamp when the session was watched. * * @return timestamp */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatcherArray.java b/src/main/java/com/datadog/api/client/v2/model/WatcherArray.java index d723fa0e2c0..9eb3cd4e29c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatcherArray.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatcherArray.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** A list of users who have watched a RUM replay session. */ @JsonPropertyOrder({WatcherArray.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -51,7 +51,7 @@ public WatcherArray addDataItem(WatcherData dataItem) { } /** - * Getdata + * Array of watcher data objects. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatcherData.java b/src/main/java/com/datadog/api/client/v2/model/WatcherData.java index 146d440cce4..e63ec6043e8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatcherData.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatcherData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** */ +/** Data object representing a session watcher, including their identifier, type, and attributes. */ @JsonPropertyOrder({ WatcherData.JSON_PROPERTY_ATTRIBUTES, WatcherData.JSON_PROPERTY_ID, @@ -52,7 +52,8 @@ public WatcherData attributes(WatcherDataAttributes attributes) { } /** - * Getattributes + * Attributes of a user who has watched a RUM replay session, including contact information and + * watch statistics. * * @return attributes */ @@ -73,7 +74,7 @@ public WatcherData id(String id) { } /** - * Getid + * Unique identifier of the watcher user. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatcherDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/WatcherDataAttributes.java index 2eb5db07a55..49bc662be61 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatcherDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatcherDataAttributes.java @@ -18,7 +18,10 @@ import java.util.Map; import java.util.Objects; -/** */ +/** + * Attributes of a user who has watched a RUM replay session, including contact information and + * watch statistics. + */ @JsonPropertyOrder({ WatcherDataAttributes.JSON_PROPERTY_HANDLE, WatcherDataAttributes.JSON_PROPERTY_ICON, @@ -64,7 +67,7 @@ public WatcherDataAttributes handle(String handle) { } /** - * Gethandle + * Email handle of the user who watched the session. * * @return handle */ @@ -84,7 +87,7 @@ public WatcherDataAttributes icon(String icon) { } /** - * Geticon + * URL or identifier of the watcher's avatar icon. * * @return icon */ @@ -105,7 +108,7 @@ public WatcherDataAttributes lastWatchedAt(OffsetDateTime lastWatchedAt) { } /** - * GetlastWatchedAt + * Timestamp when the watcher last viewed the session. * * @return lastWatchedAt */ @@ -125,7 +128,7 @@ public WatcherDataAttributes name(String name) { } /** - * Getname + * Display name of the user who watched the session. * * @return name */ @@ -146,7 +149,7 @@ public WatcherDataAttributes watchCount(Integer watchCount) { } /** - * GetwatchCount maximum: 2147483647 + * Total number of times the user has watched the session. maximum: 2147483647 * * @return watchCount */ diff --git a/src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.freeze deleted file mode 100644 index 9218d08a363..00000000000 --- a/src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.freeze +++ /dev/null @@ -1 +0,0 @@ -2026-03-10T16:11:47.487Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.json deleted file mode 100644 index fd26d952407..00000000000 --- a/src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "httpRequest": { - "body": { - "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"config\":{\"destinations\":[{\"id\":\"datadog-metrics-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_metrics\"}],\"pipeline_type\":\"metrics\",\"processor_groups\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"*\",\"inputs\":[\"opentelemetry-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"env:production\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"opentelemetry-source\",\"type\":\"opentelemetry\"}]},\"name\":\"Metrics OTel Pipeline\"},\"type\":\"pipelines\"}}" - }, - "headers": {}, - "method": "POST", - "path": "/api/v2/obs-pipelines/pipelines/validate", - "keepAlive": false, - "secure": true - }, - "httpResponse": { - "body": "{\"errors\":[]}\n", - "headers": { - "Content-Type": [ - "application/vnd.api+json" - ] - }, - "statusCode": 200, - "reasonPhrase": "OK" - }, - "times": { - "remainingTimes": 1 - }, - "timeToLive": { - "unlimited": true - }, - "id": "fd62c635-471a-b911-f21d-26a9cd87afdc" - } -] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature b/src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature index e272303955a..bf90c06c139 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature @@ -149,14 +149,6 @@ Feature: Observability Pipelines And the response "data.attributes.config.destinations" has length 1 And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id" - @team:DataDog/observability-pipelines - Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response - Given new "ValidatePipeline" request - And body with value {"data": {"attributes": {"config": {"pipeline_type": "metrics", "destinations": [{"id": "datadog-metrics-destination", "inputs": ["my-processor-group"], "type": "datadog_metrics"}], "processor_groups": [{"enabled": true, "id": "my-processor-group", "include": "*", "inputs": ["opentelemetry-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "env:production", "type": "filter"}]}], "sources": [{"id": "opentelemetry-source", "type": "opentelemetry"}]}, "name": "Metrics OTel Pipeline"}, "type": "pipelines"}} - When the request is sent - Then the response status is 200 OK - And the response "errors" has length 0 - @team:DataDog/observability-pipelines Scenario: Validate an observability pipeline returns "Bad Request" response Given new "ValidatePipeline" request